aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-03-25 10:45:35 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-03-25 10:45:35 +0000
commitac16320f8e7bbdc33c3a7c7f85b561a7e2c25c9f (patch)
tree35e0ffa7f27aaf99f0ae4dd2fdcf6847f55b5dc6 /ftp
parent73d2332668981deb5f97440f770db4384020d9ab (diff)
downloadports-ac16320f8e7bbdc33c3a7c7f85b561a7e2c25c9f.tar.gz
ports-ac16320f8e7bbdc33c3a7c7f85b561a7e2c25c9f.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/bftpd/Makefile25
-rw-r--r--ftp/bftpd/distinfo6
-rw-r--r--ftp/bftpd/pkg-plist12
3 files changed, 15 insertions, 28 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index 69158eb8dee7..f289478a859b 100644
--- a/ftp/bftpd/Makefile
+++ b/ftp/bftpd/Makefile
@@ -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>
diff --git a/ftp/bftpd/distinfo b/ftp/bftpd/distinfo
index 03a315ccc766..f6e16259bc78 100644
--- a/ftp/bftpd/distinfo
+++ b/ftp/bftpd/distinfo
@@ -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
diff --git a/ftp/bftpd/pkg-plist b/ftp/bftpd/pkg-plist
deleted file mode 100644
index b67f523c0771..000000000000
--- a/ftp/bftpd/pkg-plist
+++ /dev/null
@@ -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%%