Sat Jun 12 08:10:52 2021 UTC ()
bftpd: Update to 5.7

This file contains all major changes made during the development of bftpd.
The uppermost change is the newest one.

Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.7
	- A malicious client could cause a buffer overflow with
	  a lot of EPSV commands sent in a row. We now close
	  the pasv socket before each new use to avoid accumulating
	  more than 1023.
	  Thanks to Shisong Qin for reporting this issue and suggesting
	  a fix.


(nia)
diff -r1.1 -r0 pkgsrc/net/bftpd/INSTALL
diff -r1.27 -r1.28 pkgsrc/net/bftpd/Makefile
diff -r1.15 -r1.16 pkgsrc/net/bftpd/distinfo

File Deleted: pkgsrc/net/bftpd/Attic/INSTALL

cvs diff -r1.27 -r1.28 pkgsrc/net/bftpd/Makefile (expand / switch to unified diff)

--- pkgsrc/net/bftpd/Makefile 2021/05/14 13:16:53 1.27
+++ pkgsrc/net/bftpd/Makefile 2021/06/12 08:10:52 1.28
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.27 2021/05/14 13:16:53 nia Exp $ 1# $NetBSD: Makefile,v 1.28 2021/06/12 08:10:52 nia Exp $
2 2
3DISTNAME= bftpd-5.6 3DISTNAME= bftpd-5.7
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://bftpd.sourceforge.net/ 8HOMEPAGE= http://bftpd.sourceforge.net/
9COMMENT= Small and fast FTP server 9COMMENT= Small and fast FTP server
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12GNU_CONFIGURE= YES 12GNU_CONFIGURE= YES
13USE_TOOLS+= gmake 13USE_TOOLS+= gmake
14 14
15MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} 15MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
16 16
@@ -26,20 +26,22 @@ SUBST_STAGE.varbase= post-configure @@ -26,20 +26,22 @@ SUBST_STAGE.varbase= post-configure
26SUBST_FILES.varbase= bftpd.conf 26SUBST_FILES.varbase= bftpd.conf
27SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g' 27SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g'
28 28
29SUBST_CLASSES+= sysconf 29SUBST_CLASSES+= sysconf
30SUBST_STAGE.sysconf= post-configure 30SUBST_STAGE.sysconf= post-configure
31SUBST_FILES.sysconf= mypaths.h bftpd.8 31SUBST_FILES.sysconf= mypaths.h bftpd.8
32SUBST_SED.sysconf= -e 's|PREFIX"/etc/|"${PKG_SYSCONFDIR}/|g' 32SUBST_SED.sysconf= -e 's|PREFIX"/etc/|"${PKG_SYSCONFDIR}/|g'
33SUBST_SED.sysconf+= -e 's|normally /etc/|normally ${PKG_SYSCONFDIR}/|g' 33SUBST_SED.sysconf+= -e 's|normally /etc/|normally ${PKG_SYSCONFDIR}/|g'
34 34
35INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd 35INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
36 36
37BUILD_DEFS+= VARBASE 37BUILD_DEFS+= VARBASE
38 38
 39OWN_DIRS+= ${VARBASE}/run/bftpd
 40
39do-install: 41do-install:
40 ${INSTALL_PROGRAM} ${WRKSRC}/bftpd ${DESTDIR}${PREFIX}/sbin 42 ${INSTALL_PROGRAM} ${WRKSRC}/bftpd ${DESTDIR}${PREFIX}/sbin
41 ${INSTALL_MAN} ${WRKSRC}/bftpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 43 ${INSTALL_MAN} ${WRKSRC}/bftpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
42 ${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${DESTDIR}${PREFIX}/share/examples/bftpd 44 ${INSTALL_DATA} ${WRKSRC}/bftpd.conf ${DESTDIR}${PREFIX}/share/examples/bftpd
43 45
44.include "../../devel/zlib/buildlink3.mk" 46.include "../../devel/zlib/buildlink3.mk"
45.include "../../mk/bsd.pkg.mk" 47.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/net/bftpd/distinfo (expand / switch to unified diff)

--- pkgsrc/net/bftpd/distinfo 2020/08/10 13:49:15 1.15
+++ pkgsrc/net/bftpd/distinfo 2021/06/12 08:10:52 1.16
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.15 2020/08/10 13:49:15 nia Exp $ 1$NetBSD: distinfo,v 1.16 2021/06/12 08:10:52 nia Exp $
2 2
3SHA1 (bftpd-5.6.tar.gz) = afbfc7ed0e44a933022a1f861e37b6c89836d53c 3SHA1 (bftpd-5.7.tar.gz) = ff78e59f13aa55c42a6dc0a777933383211235b1
4RMD160 (bftpd-5.6.tar.gz) = c1ae03ae74e81a388cff88c232ccf867908e4a90 4RMD160 (bftpd-5.7.tar.gz) = 3a532995f02a8484c0f1cf4d216f51200572d4e1
5SHA512 (bftpd-5.6.tar.gz) = 9904403f22760be328d6a6c84b0b1950656d7695f0d48bff8f7f360ecefcc018452d3571293c9e47961c226ded531d3028667a435ea80727b58c6b354865455a 5SHA512 (bftpd-5.7.tar.gz) = 8d3cb5e2830abe10f4f38e4e1dce27da8b6ff6224fa3fd89db7b182917ff734aa5761563dc22eb04fcba4195404c205593ab40d4ac3f08d8284c8e15c4731879
6Size (bftpd-5.6.tar.gz) = 167552 bytes 6Size (bftpd-5.7.tar.gz) = 167174 bytes