summaryrefslogtreecommitdiffstats
path: root/ftp/twoftpd/Makefile
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-02-22 09:25:05 +0000
committersergei <sergei@FreeBSD.org>2005-02-22 09:25:05 +0000
commit9978b3b508d49b285b8d84af945bad8d3e9d4834 (patch)
tree51fb76f0ec103d4c500422dfa7f08c36ab105731 /ftp/twoftpd/Makefile
parenta8dace999800a5ddadbdcfea6401cc3916e34676 (diff)
downloadFreeBSD-ports-9978b3b508d49b285b8d84af945bad8d3e9d4834.zip
FreeBSD-ports-9978b3b508d49b285b8d84af945bad8d3e9d4834.tar.gz
- Update to 1.20
- Patch statmod.c into using 'tm.tm_gmtoff' instead of unknown global 'timezone' symbol (Linux specific?) [1] Patch submitted upstream and hopefully will be integrated shortly Obtained from: Dale Woolridge on bgware mailing list
Diffstat (limited to 'ftp/twoftpd/Makefile')
-rw-r--r--ftp/twoftpd/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/ftp/twoftpd/Makefile b/ftp/twoftpd/Makefile
index 6f938b9..e5e5d50 100644
--- a/ftp/twoftpd/Makefile
+++ b/ftp/twoftpd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= twoftpd
-PORTVERSION= 1.17
-PORTREVISION= 2
+PORTVERSION= 1.20
CATEGORIES= ftp
MASTER_SITES= http://untroubled.org/${PORTNAME}/
@@ -17,11 +16,16 @@ COMMENT= A simple, secure, efficient FTP server
BUILD_DEPENDS= ${LOCALBASE}/lib/libbg-unix.a:${PORTSDIR}/devel/bglibs \
${LOCALBASE}/lib/libcvm-client.a:${PORTSDIR}/security/cvm
+USE_REINPLACE= yes
+
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS?= -s
DOCS= NEWS README TODO
-MAN1= twoftpd-auth.1 twoftpd-xfer.1
+MAN1= twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
+
+do-patch:
+ ${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
OpenPOWER on IntegriCloud