diff options
author | jmmv <jmmv> | 2003-06-02 13:13:15 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-06-02 13:13:15 +0000 |
commit | d19f5ad8756cfd3828b6e9414e4e4137f9a5edd2 (patch) | |
tree | d47109ccb3febb07c63300ea25e8eb55ff96b409 | |
parent | 66b6c4a329c6476d9c104ec21e0859fd7dee9615 (diff) | |
download | pkgsrc-d19f5ad8756cfd3828b6e9414e4e4137f9a5edd2.tar.gz |
Initial import of bftpd, version 1.0.24:
bftpd is a FTP server that tries to be very configurable while being fast and
small. Its features 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 extra files (sh, ls..) in a chroot environment.
* Logging to wtmp and to logfile or syslog.
* PAM and passwd/shadow support.
* Support for SITE CHOWN/CHMOD.
Package provided by virtus@wanadoo.nl in pkgsrc-wip with several changes by me.
-rw-r--r-- | net/bftpd/DESCR | 11 | ||||
-rw-r--r-- | net/bftpd/Makefile | 23 | ||||
-rw-r--r-- | net/bftpd/PLIST | 5 | ||||
-rw-r--r-- | net/bftpd/distinfo | 6 | ||||
-rw-r--r-- | net/bftpd/patches/patch-aa | 22 | ||||
-rw-r--r-- | net/bftpd/patches/patch-ab | 9 |
6 files changed, 76 insertions, 0 deletions
diff --git a/net/bftpd/DESCR b/net/bftpd/DESCR new file mode 100644 index 00000000000..28bc37759fa --- /dev/null +++ b/net/bftpd/DESCR @@ -0,0 +1,11 @@ +bftpd is a FTP server that tries to be very configurable while being fast and +small. Its features 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 extra files (sh, ls..) in a chroot environment. +* Logging to wtmp and to logfile or syslog. +* PAM and passwd/shadow support. +* Support for SITE CHOWN/CHMOD. diff --git a/net/bftpd/Makefile b/net/bftpd/Makefile new file mode 100644 index 00000000000..4f457bb7fff --- /dev/null +++ b/net/bftpd/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/02 13:13:15 jmmv Exp $ +# + +DISTNAME= bftpd-1.0.24 +CATEGORIES= net +MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/ + +MAINTAINER= virtus@wanadoo.nl +HOMEPAGE= http://www.bftpd.org/ +COMMENT= Small and fast FTP server + +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES +GNU_CONFIGURE= YES + +CFLAGS+= -DPATH_BFTPD_CONF=\"\\\"${PKG_SYSCONFDIR}/bftpd.conf\\\"\" +CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \ + ${PKG_SYSCONFDIR}/bftpd.conf + +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bftpd + +.include "../../mk/bsd.pkg.mk" diff --git a/net/bftpd/PLIST b/net/bftpd/PLIST new file mode 100644 index 00000000000..fa6b76dcb4b --- /dev/null +++ b/net/bftpd/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/02 13:13:15 jmmv Exp $ +man/man8/bftpd.8 +sbin/bftpd +share/examples/bftpd/bftpd.conf +@dirrm share/examples/bftpd diff --git a/net/bftpd/distinfo b/net/bftpd/distinfo new file mode 100644 index 00000000000..598436fcdc4 --- /dev/null +++ b/net/bftpd/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/02 13:13:15 jmmv Exp $ + +SHA1 (bftpd-1.0.24.tar.gz) = 4a047778e9435fc9221d02c1093f040186bb88d7 +Size (bftpd-1.0.24.tar.gz) = 75995 bytes +SHA1 (patch-aa) = 3f02301b2ca9290dd7188b39859877f11108b001 +SHA1 (patch-ab) = faef48266dd0fb7b095738207be2b26ee34e9359 diff --git a/net/bftpd/patches/patch-aa b/net/bftpd/patches/patch-aa new file mode 100644 index 00000000000..20bda865809 --- /dev/null +++ b/net/bftpd/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/06/02 13:13:15 jmmv Exp $ + +--- Makefile.in.orig 2003-06-02 14:23:34.000000000 +0200 ++++ Makefile.in +@@ -4,6 +4,7 @@ INSTALL=@INSTALL@ + CFLAGS=@CFLAGS@ @DEFS@ -Wall -I. -DVERSION=\"$(VERSION)\" @DEBUG@ + LIBS=@LIBS@ + prefix=@prefix@ ++datadir=@datadir@ + mandir=@mandir@ + sbindir=@sbindir@ + DESTDIR= +@@ -28,8 +29,7 @@ $(OBJS): $(HEADERS) Makefile + install: all + $(INSTALL) -g 0 -m 700 -o 0 bftpd $(DESTDIR)/$(prefix)/sbin + $(INSTALL) -g 0 -m 644 -o 0 bftpd.8 $(DESTDIR)/$(mandir)/man8 +- [ -f $(DESTDIR)/etc/bftpd.conf ] || \ +- $(INSTALL) -g 0 -m 600 -o 0 bftpd.conf $(DESTDIR)/etc ++ $(INSTALL) -g 0 -m 600 -o 0 bftpd.conf $(DESTDIR)/$(datadir)/examples/bftpd + touch /var/log/bftpd.log + chmod 644 /var/log/bftpd.log + mkdir -p /var/run/bftpd diff --git a/net/bftpd/patches/patch-ab b/net/bftpd/patches/patch-ab new file mode 100644 index 00000000000..7e09d7c60fa --- /dev/null +++ b/net/bftpd/patches/patch-ab @@ -0,0 +1,9 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/06/02 13:13:15 jmmv Exp $ + +--- mypaths.h.orig 2003-05-09 23:47:48.000000000 +0200 ++++ mypaths.h +@@ -1,2 +1,4 @@ ++#ifndef PATH_BFTPD_CONF + #define PATH_BFTPD_CONF "/etc/bftpd.conf" ++#endif + #define PATH_STATUSLOG "/dev/null" |