1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- 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
This commit is contained in:
Sergei Kolobov 2005-02-22 09:25:05 +00:00
parent b29825f9a6
commit 58b428f22e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129534
3 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -1,2 +1,2 @@
MD5 (twoftpd-1.17.tar.gz) = 818e12c71cee805d49fc732757358806
SIZE (twoftpd-1.17.tar.gz) = 56755
MD5 (twoftpd-1.20.tar.gz) = 6d51df0bf58e694fa92bc8e94228ed5b
SIZE (twoftpd-1.20.tar.gz) = 57840

View File

@ -4,6 +4,8 @@ bin/twoftpd-anon-conf
bin/twoftpd-auth
bin/twoftpd-bind-port
bin/twoftpd-conf
bin/twoftpd-drop
bin/twoftpd-switch
bin/twoftpd-xfer
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README