aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-08 07:24:24 +0800
committerwill <will@FreeBSD.org>2001-04-08 07:24:24 +0800
commitdb7d07fd669931ba932b0653c41a15cac3c536d1 (patch)
treed384977f23dc4a53b8945ad51049e5748ca1e050
parent0e1ea0ff42e90bd06efbc3cdd2cf979aefa7fb23 (diff)
downloadfreebsd-ports-gnome-db7d07fd669931ba932b0653c41a15cac3c536d1.tar.gz
freebsd-ports-gnome-db7d07fd669931ba932b0653c41a15cac3c536d1.tar.zst
freebsd-ports-gnome-db7d07fd669931ba932b0653c41a15cac3c536d1.zip
Add bftpd 1.0.18, a very configurable FTP server that can do chroot
easily.
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/bftpd/Makefile25
-rw-r--r--ftp/bftpd/distinfo1
-rw-r--r--ftp/bftpd/pkg-comment1
-rw-r--r--ftp/bftpd/pkg-descr20
-rw-r--r--ftp/bftpd/pkg-plist3
6 files changed, 51 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index a0ac4be4be2a..1b01490d80c5 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -3,6 +3,7 @@
SUBDIR += IglooFTP
SUBDIR += axyftp
+ SUBDIR += bftpd
SUBDIR += caitoo
SUBDIR += cftp
SUBDIR += curl
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
new file mode 100644
index 000000000000..f35176b15624
--- /dev/null
+++ b/ftp/bftpd/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: bftpd
+# Date created: 7 April 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= bftpd
+PORTVERSION= 1.0.18
+CATEGORIES= ftp
+MASTER_SITES= http://www.bftpd.f2s.com/downloads/src/
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+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; \
+ 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
+
+.include <bsd.port.mk>
diff --git a/ftp/bftpd/distinfo b/ftp/bftpd/distinfo
new file mode 100644
index 000000000000..52df2f3329f4
--- /dev/null
+++ b/ftp/bftpd/distinfo
@@ -0,0 +1 @@
+MD5 (bftpd-1.0.18.tar.gz) = fc73794898fc1f1eb8119eafa69338b1
diff --git a/ftp/bftpd/pkg-comment b/ftp/bftpd/pkg-comment
new file mode 100644
index 000000000000..ed3863250d91
--- /dev/null
+++ b/ftp/bftpd/pkg-comment
@@ -0,0 +1 @@
+Very configurable FTP server that can do chroot easily
diff --git a/ftp/bftpd/pkg-descr b/ftp/bftpd/pkg-descr
new file mode 100644
index 000000000000..24255e37a0a6
--- /dev/null
+++ b/ftp/bftpd/pkg-descr
@@ -0,0 +1,20 @@
+bftpd is an FTP server for Linux, BSD/OS, FreeBSD, Solaris, DG-UX
+and Tru64. It runs either with inetd or standalone.
+
+It tries to be very configurable while being fast and small. You
+can make defaults for each configuration option, and then override
+these defaults in user-specific structures. Support for
+directory-specific options is planned.
+
+Features of bftpd include:
+ * Easy configuration
+ * Speed
+ * 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
+ * Logging to wtmp and to a config file
+ * PAM and passwd/shadow support
+ * Support for SITE CHOWN/CHMOD
+
+WWW: http://www.bftpd.org/
diff --git a/ftp/bftpd/pkg-plist b/ftp/bftpd/pkg-plist
new file mode 100644
index 000000000000..9f56ead434df
--- /dev/null
+++ b/ftp/bftpd/pkg-plist
@@ -0,0 +1,3 @@
+@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