aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:31:09 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:31:09 +0000
commit951fc680a1c72269c5ac3eedf298138c76ec7e56 (patch)
tree2aedf41f8ab34caa306ed56b2c7e001c74ea1f69 /ftp
parent4b4ecf4cad7a6f8f95c1b158192329859bcaaca5 (diff)
downloadports-951fc680a1c72269c5ac3eedf298138c76ec7e56.tar.gz
ports-951fc680a1c72269c5ac3eedf298138c76ec7e56.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/twoftpd/Makefile15
-rw-r--r--ftp/twoftpd/distinfo2
-rw-r--r--ftp/twoftpd/pkg-plist1
3 files changed, 15 insertions, 3 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile
index b8675124f5ac..ab5d3e07c4b3 100644
--- a/ftp/twoftpd/Makefile
+++ b/ftp/twoftpd/Makefile
@@ -6,16 +6,27 @@
#
PORTNAME= twoftpd
-PORTVERSION= 1.15
+PORTVERSION= 1.17
CATEGORIES= ftp
MASTER_SITES= http://untroubled.org/twoftpd/
MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= A simple, secure, efficient FTP server
+BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-str.a:${PORTSDIR}/devel/bglibs
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_REINPLACE= yes
+
MAN1= twoftpd-auth.1 twoftpd-xfer.1
-BIN= twoftpd-anon twoftpd-anon-conf twoftpd-auth twoftpd-conf twoftpd-xfer
+BIN= twoftpd-anon twoftpd-anon-conf twoftpd-auth \
+ twoftpd-bind-port twoftpd-conf twoftpd-xfer
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,/usr/local/bglibs/,${LOCALBASE}/,' \
+ ${WRKSRC}/conf-bgincs ${WRKSRC}/conf-bglibs
+ ${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' ${WRKSRC}/conf-bin
do-install:
.for FILE in ${MAN1}
diff --git a/ftp/twoftpd/distinfo b/ftp/twoftpd/distinfo
index 0cb0ded3d582..d1c7f6f1f4b7 100644
--- a/ftp/twoftpd/distinfo
+++ b/ftp/twoftpd/distinfo
@@ -1 +1 @@
-MD5 (twoftpd-1.15.tar.gz) = 1a247c51f3b99ca1414ad39d02d3728f
+MD5 (twoftpd-1.17.tar.gz) = 818e12c71cee805d49fc732757358806
diff --git a/ftp/twoftpd/pkg-plist b/ftp/twoftpd/pkg-plist
index f31d866abbe9..bbd17907cfb3 100644
--- a/ftp/twoftpd/pkg-plist
+++ b/ftp/twoftpd/pkg-plist
@@ -1,5 +1,6 @@
sbin/twoftpd-anon
sbin/twoftpd-anon-conf
sbin/twoftpd-auth
+sbin/twoftpd-bind-port
sbin/twoftpd-conf
sbin/twoftpd-xfer