pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
net/bftpd: Update to version 6.6
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Wed Jun 10 18:22:16 2026 +0200
Changeset: acf5ecab2baca0801b899ed132cc232f55c71352
Modified Files:
Makefile
Added Files:
bftpd/COMMIT_MSG
bftpd/DESCR
bftpd/Makefile
bftpd/PLIST
bftpd/distinfo
Log Message:
net/bftpd: Update to version 6.6
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=acf5ecab2baca0801b899ed132cc232f55c71352
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
bftpd/COMMIT_MSG | 33 +++++++++++++++++++++++++++++++++
bftpd/DESCR | 11 +++++++++++
bftpd/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++
bftpd/PLIST | 4 ++++
bftpd/distinfo | 5 +++++
6 files changed, 101 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index c547ec208d..c7d0c359e1 100644
--- a/Makefile
+++ b/Makefile
@@ -324,6 +324,7 @@ SUBDIR+= beignet
SUBDIR+= belle-sip
SUBDIR+= bertini
SUBDIR+= bfgminer
+SUBDIR+= bftpd
SUBDIR+= biblesync
SUBDIR+= bicon
SUBDIR+= bifrost
diff --git a/bftpd/COMMIT_MSG b/bftpd/COMMIT_MSG
new file mode 100644
index 0000000000..3d364b9da1
--- /dev/null
+++ b/bftpd/COMMIT_MSG
@@ -0,0 +1,33 @@
+net/bftpd: Update to version 6.6
+
+Jesse Smith <jessefrgsmith%yahoo.ca@localhost> -> 6.6
+ - Add "211 End" reponse to SITE command's output to
+ make sure some FTP clients do not hang while waiting for additional
+ lines.
+
+ - Remove check for working GCC as it no longer works with modern versions of
+ GCC. Now we just check for a compiler and assume it can create binary files.
+
+
+Jesse Smith <jessefrgsmith%yahoo.ca@localhost> -> 6.5
+ - Fixed possible denial of service attack where child
+ file descriptors are not cleaned up by the parent quickly enough.
+ Fix provided by Alexander Trifa.
+
+Jesse Smith <jessefrgsmith%yahoo.ca@localhost> -> 6.4
+ - Directory listings are now shown in alphabetical order.
+ Permissions on files are more accurate.
+ Patch provided by Karl Tark.
+
+Jesse Smith <jessefrgsmith%yahoo.ca@localhost> -> 6.3
+ - Implemented the MLST and MSLD functions for sending file and
+ directory information in machine-readable format.
+ Requested by Daneil Bedrenko for VLC mobile app.
+
+
+Jesse Smith <jessefrgsmith%yahoo.ca@localhost> -> 6.2
+ - When Bftpd is run with the -n flag (no configuration file)
+ default ratio settings prevented files from downloading.
+ Samuel Hsu has patched Bftpd to assume no ratio ("") is
+ treated the same as "none" or no restrictions.
+ This was fixed prior (in 5.6) and reverted. Re-adding it.
diff --git a/bftpd/DESCR b/bftpd/DESCR
new file mode 100644
index 0000000000..28bc37759f
--- /dev/null
+++ b/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/bftpd/Makefile b/bftpd/Makefile
new file mode 100644
index 0000000000..64b6d09882
--- /dev/null
+++ b/bftpd/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.31 2025/11/17 11:01:11 wiz Exp $
+
+DISTNAME= bftpd-6.6
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
+
+MAINTAINER= drixter%e-utp.net@localhost
+HOMEPAGE= https://bftpd.sourceforge.net/
+COMMENT= Small and fast FTP server
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= YES
+USE_TOOLS+= gmake
+
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+
+WRKSRC= ${WRKDIR}/bftpd
+
+CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \
+ ${PKG_SYSCONFDIR}/bftpd.conf
+
+CONFIGURE_ARGS+= --enable-libz
+
+SUBST_CLASSES+= varbase
+SUBST_STAGE.varbase= post-configure
+SUBST_FILES.varbase= bftpd.conf
+SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g'
+
+SUBST_CLASSES+= sysconf
+SUBST_STAGE.sysconf= post-configure
+SUBST_FILES.sysconf= mypaths.h bftpd.8
+SUBST_SED.sysconf= -e 's|PREFIX"/etc/|"${PKG_SYSCONFDIR}/|g'
+SUBST_SED.sysconf+= -e 's|normally /etc/|normally ${PKG_SYSCONFDIR}/|g'
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
+
+BUILD_DEFS+= VARBASE
+
+OWN_DIRS+= ${VARBASE}/run/bftpd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bftpd ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/bftpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${DESTDIR}${PREFIX}/share/examples/bftpd
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/bftpd/PLIST b/bftpd/PLIST
new file mode 100644
index 0000000000..5429ece7dd
--- /dev/null
+++ b/bftpd/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:09:22 joerg Exp $
+man/man8/bftpd.8
+sbin/bftpd
+share/examples/bftpd/bftpd.conf
diff --git a/bftpd/distinfo b/bftpd/distinfo
new file mode 100644
index 0000000000..9bf4cc7c00
--- /dev/null
+++ b/bftpd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.20 2022/12/03 10:41:15 nros Exp $
+
+BLAKE2s (bftpd-6.6.tar.gz) = 61cb194cac1106d0a6f52d7ff48680bfdc6c1caf89a00b49c7a961917a0d84ae
+SHA512 (bftpd-6.6.tar.gz) = a062acabf5f84a6a7043c75ca832f3c70271a8888b5eb9e9850f73d3e691301603af197a468c2060913ec39f3ea8b7eaaf3d1ed5ac21ec08c639dc77a7dcf8c2
+Size (bftpd-6.6.tar.gz) = 175241 bytes
Home |
Main Index |
Thread Index |
Old Index