summaryrefslogtreecommitdiff
path: root/net/bftpd
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-06-12 08:10:52 +0000
committernia <nia@pkgsrc.org>2021-06-12 08:10:52 +0000
commit9122c551732e0fc8441428e2eddd840854352172 (patch)
tree25df6fc9443a322d3396edaba7a9df4bc2881b97 /net/bftpd
parent83d96cf489e8bde396328ac300e0846a2491acef (diff)
downloadpkgsrc-9122c551732e0fc8441428e2eddd840854352172.tar.gz
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.
Diffstat (limited to 'net/bftpd')
-rw-r--r--net/bftpd/INSTALL9
-rw-r--r--net/bftpd/Makefile6
-rw-r--r--net/bftpd/distinfo10
3 files changed, 9 insertions, 16 deletions
diff --git a/net/bftpd/INSTALL b/net/bftpd/INSTALL
deleted file mode 100644
index d2aaafc798d..00000000000
--- a/net/bftpd/INSTALL
+++ /dev/null
@@ -1,9 +0,0 @@
-# $NetBSD: INSTALL,v 1.1 2008/07/10 15:52:03 joerg Exp $
-
-case ${STAGE} in
-POST-INSTALL)
- @MKDIR@ @VARBASE@/log
- @TOUCH@ @VARBASE@/log/bftpd.log
- @MKDIR@ @VARBASE@/run/bftpd
- ;;
-esac
diff --git a/net/bftpd/Makefile b/net/bftpd/Makefile
index ee53f3fc8fe..df2d47f044d 100644
--- a/net/bftpd/Makefile
+++ b/net/bftpd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2021/05/14 13:16:53 nia Exp $
+# $NetBSD: Makefile,v 1.28 2021/06/12 08:10:52 nia Exp $
-DISTNAME= bftpd-5.6
+DISTNAME= bftpd-5.7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
@@ -36,6 +36,8 @@ 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
diff --git a/net/bftpd/distinfo b/net/bftpd/distinfo
index dfb6e214487..966f3225128 100644
--- a/net/bftpd/distinfo
+++ b/net/bftpd/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2020/08/10 13:49:15 nia Exp $
+$NetBSD: distinfo,v 1.16 2021/06/12 08:10:52 nia Exp $
-SHA1 (bftpd-5.6.tar.gz) = afbfc7ed0e44a933022a1f861e37b6c89836d53c
-RMD160 (bftpd-5.6.tar.gz) = c1ae03ae74e81a388cff88c232ccf867908e4a90
-SHA512 (bftpd-5.6.tar.gz) = 9904403f22760be328d6a6c84b0b1950656d7695f0d48bff8f7f360ecefcc018452d3571293c9e47961c226ded531d3028667a435ea80727b58c6b354865455a
-Size (bftpd-5.6.tar.gz) = 167552 bytes
+SHA1 (bftpd-5.7.tar.gz) = ff78e59f13aa55c42a6dc0a777933383211235b1
+RMD160 (bftpd-5.7.tar.gz) = 3a532995f02a8484c0f1cf4d216f51200572d4e1
+SHA512 (bftpd-5.7.tar.gz) = 8d3cb5e2830abe10f4f38e4e1dce27da8b6ff6224fa3fd89db7b182917ff734aa5761563dc22eb04fcba4195404c205593ab40d4ac3f08d8284c8e15c4731879
+Size (bftpd-5.7.tar.gz) = 167174 bytes