summaryrefslogtreecommitdiffstats
path: root/ftp/bftpd
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-07-07 05:32:43 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-07-07 05:32:43 +0000
commit08632cd2b4c525ba28ac0d996aad2004ecc80120 (patch)
tree208217f1f254cfd726957df6d29005547a231948 /ftp/bftpd
parentb36f1ff6a2334ed4231397f7f53cf88ade975acd (diff)
downloadFreeBSD-ports-08632cd2b4c525ba28ac0d996aad2004ecc80120.zip
FreeBSD-ports-08632cd2b4c525ba28ac0d996aad2004ecc80120.tar.gz
Update to 1.0.21
Give petef@databits.net maintainership PR: 28782 Submitted by: petef@databits.net
Diffstat (limited to 'ftp/bftpd')
-rw-r--r--ftp/bftpd/Makefile22
-rw-r--r--ftp/bftpd/distinfo2
-rw-r--r--ftp/bftpd/pkg-descr7
-rw-r--r--ftp/bftpd/pkg-plist2
4 files changed, 23 insertions, 10 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index 1abbfa1..bf10d6f 100644
--- a/ftp/bftpd/Makefile
+++ b/ftp/bftpd/Makefile
@@ -6,22 +6,30 @@
#
PORTNAME= bftpd
-PORTVERSION= 1.0.18
-PORTREVISION= 1
+PORTVERSION= 1.0.21
CATEGORIES= ftp
MASTER_SITES= http://www.bftpd.f2s.com/downloads/src/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= petef@databits.net
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-pam
+
MAN8= bftpd.8
-pre-configure:
- ${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@g" ${WRKSRC}/commands.c
- ${PERL} -pi -e "s@chmod 644 /var@#chmod 644 /var@g; \
+post-patch:
+ @${PERL} -pi -e "s@<wait.h>@<sys/wait.h>@g" ${WRKSRC}/commands.c
+ @${PERL} -pi -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
- ${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample
+ @${PERL} -pi -e "s@-ldl@@" ${WRKSRC}/configure
+ @${CP} ${WRKSRC}/bftpd.conf ${WRKSRC}/bftpd.conf.sample
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/bftpd
+ ${INSTALL_DATA} ${WRKSRC}/doc/bftpddoc.txt ${PREFIX}/share/doc/bftpd
+.endif
.include <bsd.port.mk>
diff --git a/ftp/bftpd/distinfo b/ftp/bftpd/distinfo
index 52df2f3..bc8c415 100644
--- a/ftp/bftpd/distinfo
+++ b/ftp/bftpd/distinfo
@@ -1 +1 @@
-MD5 (bftpd-1.0.18.tar.gz) = fc73794898fc1f1eb8119eafa69338b1
+MD5 (bftpd-1.0.21.tar.gz) = a0a438bb5c90cd9852db489c5a4c2448
diff --git a/ftp/bftpd/pkg-descr b/ftp/bftpd/pkg-descr
index 24255e3..8a41711 100644
--- a/ftp/bftpd/pkg-descr
+++ b/ftp/bftpd/pkg-descr
@@ -12,9 +12,12 @@ Features of bftpd include:
* Support for most RFC FTP commands
* tar.gz on-the-fly compression/archiving
* Security with chroot without special setup
- * No need for filessh, ls...) in a chroot environment
+ * No need for files (sh, ls...) in a chroot environment
* Logging to wtmp and to a config file
- * PAM and passwd/shadow support
+ * PAM support
* Support for SITE CHOWN/CHMOD
WWW: http://www.bftpd.org/
+
+- Pete
+petef@databits.net
diff --git a/ftp/bftpd/pkg-plist b/ftp/bftpd/pkg-plist
index 9f56ead..4e1201d 100644
--- a/ftp/bftpd/pkg-plist
+++ b/ftp/bftpd/pkg-plist
@@ -1,3 +1,5 @@
@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%%share/doc/bftpd/bftpddoc.txt
+%%PORTDOCS%%@dirrm share/doc/bftpd
OpenPOWER on IntegriCloud