aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
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