aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/twoftpd
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-13 18:31:09 +0800
committeredwin <edwin@FreeBSD.org>2003-04-13 18:31:09 +0800
commit75daaa0dfb724f812a8cd119a8c5af5866d95e53 (patch)
tree09e91e8b04aa6a0919b94c6c260bf2408362343d /ftp/twoftpd
parent60ac3e512ad087d797940b72c29b1f98e6792d22 (diff)
downloadfreebsd-ports-gnome-75daaa0dfb724f812a8cd119a8c5af5866d95e53.tar.gz
freebsd-ports-gnome-75daaa0dfb724f812a8cd119a8c5af5866d95e53.tar.zst
freebsd-ports-gnome-75daaa0dfb724f812a8cd119a8c5af5866d95e53.zip
Maintainer Update Port: ftp/twoftpd
Upgrade to 1.17. PR: ports/50857 Submitted by: Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
Diffstat (limited to 'ftp/twoftpd')
-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