- Update to 1.6

- Fix maintainer address
- Minor tweaks

PR:	   	ports/110308
Submitted by:	Beech Rintoul <beech@alaskaparadise.com> (maintainer)
This commit is contained in:
Andrew Pantyukhin 2007-03-25 10:45:35 +00:00
parent 73d2332668
commit ac16320f8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188270
3 changed files with 15 additions and 28 deletions

View File

@ -6,35 +6,34 @@
#
PORTNAME= bftpd
PORTVERSION= 1.5
PORTVERSION= 1.6
CATEGORIES= ftp
MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/ \
http://www.alaskaparadise.com/freebsd/
MASTER_SITES= SF
MAINTAINER= beech@alaskaparadise.org
MAINTAINER= beech@alaskaparadise.com
COMMENT= Very configurable FTP server that can do chroot easily
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-pam
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample
MAN8= bftpd.8
PORTDOCS= en pl
post-patch:
@${REINPLACE_CMD} -e "s@chmod 644 /var@#chmod 644 /var@g; \
s@touch /var@#touch /var@g; \
s@DESTDIR)/etc@prefix)/etc@g; \
s@bftpd.conf @bftpd.conf.sample @g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
@${REINPLACE_CMD} -e "s@-ldl@@" ${WRKSRC}/configure
@${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample
@${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
post-install:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${PREFIX}/etc/bftpd.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/en/bftpddoc-en.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/en/*.html ${DOCSDIR}
${INSTALL} -d ${DOCSDIR}/
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (bftpd-1.5.tar.gz) = 52930d87091ea68184bf575ba37f11b1
SHA256 (bftpd-1.5.tar.gz) = 10ebf1eeb36d01449070b632637f2b0ddeb6c0601636e95fcb165beb0398eb3b
SIZE (bftpd-1.5.tar.gz) = 96051
MD5 (bftpd-1.6.tar.gz) = 203ebbe285857a4b001d4a9872cffce4
SHA256 (bftpd-1.6.tar.gz) = abbb20380f7ca4606e0e7d7586ad74d457b637839d560502e9547d8e91a2c986
SIZE (bftpd-1.6.tar.gz) = 112303

View File

@ -1,12 +0,0 @@
@unexec if cmp -s %D/etc/bftpd.conf %D/etc/bftpd.conf.sample; then rm -f %D/etc/bftpd.conf; fi
etc/bftpd.conf.sample
sbin/bftpd
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-1.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-2.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-3.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-4.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-5.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en-6.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en.html
%%PORTDOCS%%%%DOCSDIR%%/bftpddoc-en.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%