summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-07 13:12:53 +0000
committernia <nia@pkgsrc.org>2019-09-07 13:12:53 +0000
commit5e328b64dfdf4bf661fbd39e8d0527a81e6372e5 (patch)
treeca8e3a07f19c7d7842248dad08bd23ad74c6b335 /net
parente35867783e982bc52490cdf93c2bf2ac94d392d0 (diff)
downloadpkgsrc-5e328b64dfdf4bf661fbd39e8d0527a81e6372e5.tar.gz
bftpd: Update to 5.2
Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.2 - Make sure we do not send extra newline when DENY message is sent to the client. - Fixed some build dependencies in the Makefile so fresh build is triggered by updating config.h. Change provided by Vemake.
Diffstat (limited to 'net')
-rw-r--r--net/bftpd/Makefile13
-rw-r--r--net/bftpd/distinfo11
-rw-r--r--net/bftpd/patches/patch-aa26
3 files changed, 14 insertions, 36 deletions
diff --git a/net/bftpd/Makefile b/net/bftpd/Makefile
index 40aec73c39a..ce11a9976ab 100644
--- a/net/bftpd/Makefile
+++ b/net/bftpd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2019/06/22 12:53:47 nia Exp $
+# $NetBSD: Makefile,v 1.20 2019/09/07 13:12:53 nia Exp $
#
-DISTNAME= bftpd-5.1
+DISTNAME= bftpd-5.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
@@ -13,11 +13,11 @@ LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
WRKSRC= ${WRKDIR}/bftpd
-CONFIGURE_ARGS+=--enable-libz
-
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
@@ -32,5 +32,10 @@ INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
BUILD_DEFS+= VARBASE
+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/net/bftpd/distinfo b/net/bftpd/distinfo
index d2e8fd0c4ae..201ee30fbd7 100644
--- a/net/bftpd/distinfo
+++ b/net/bftpd/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.11 2019/06/22 12:53:47 nia Exp $
+$NetBSD: distinfo,v 1.12 2019/09/07 13:12:53 nia Exp $
-SHA1 (bftpd-5.1.tar.gz) = dd8924e9b6dec4810c4444be9c13781578590d74
-RMD160 (bftpd-5.1.tar.gz) = f9692c472444772c64d72dff3d3508bde712cc31
-SHA512 (bftpd-5.1.tar.gz) = eb0e8eb24c033c3e8b592cce071639544e37d8ae37e1e29e6f2590e3c0ed25c91cdc554d40066fd2d09aa8ece50a27f054d7103dc1e652af78f576796f574ac1
-Size (bftpd-5.1.tar.gz) = 165928 bytes
-SHA1 (patch-aa) = 3b4444d79533fd8b2ec7bc99eb53c34ca2113350
+SHA1 (bftpd-5.2.tar.gz) = 2f65baccf715a18f98c1ee04a68857432365bc29
+RMD160 (bftpd-5.2.tar.gz) = cf044193590914803a2cee86737fb677c4dbd636
+SHA512 (bftpd-5.2.tar.gz) = 2f0575e84ad198854d6457357bbddb8132276730431fcb4e2ef13d06f478bb2b100af6ef190ad9fb7b36898f14eeaf5884c8bd9f4cfff3c00af10247f7573f42
+Size (bftpd-5.2.tar.gz) = 166047 bytes
diff --git a/net/bftpd/patches/patch-aa b/net/bftpd/patches/patch-aa
deleted file mode 100644
index dbe842f5e43..00000000000
--- a/net/bftpd/patches/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2013/06/01 12:13:04 shattered Exp $
-
---- Makefile.in.orig 2012-02-20 00:49:26.000000000 +0000
-+++ Makefile.in
-@@ -26,18 +26,9 @@ bftpd: $(OBJS)
- $(OBJS): $(HEADERS) Makefile
-
- install: all
-- mkdir -p $(DESTDIR)/$(prefix)/sbin
-- $(INSTALL) -g 0 -m 700 -o 0 bftpd $(DESTDIR)/$(prefix)/sbin
-- mkdir -p $(DESTDIR)/$(mandir)/man8
-- $(INSTALL) -g 0 -m 644 -o 0 bftpd.8 $(DESTDIR)/$(mandir)/man8
-- mkdir -p $(DESTDIR)/$(prefix)/etc
-- [ -f $(DESTDIR)/$(prefix)/etc/bftpd.conf ] || \
-- $(INSTALL) -g 0 -m 600 -o 0 bftpd.conf $(DESTDIR)/$(prefix)/etc
-- mkdir -p $(DESTDIR)/$(prefix)/var/log
-- touch $(DESTDIR)/$(prefix)/var/log/bftpd.log
-- chmod 644 $(DESTDIR)/$(prefix)/var/log/bftpd.log
-- mkdir -p $(DESTDIR)/$(prefix)/var/run/bftpd
-- chmod 755 $(DESTDIR)/$(prefix)/var/run/bftpd
-+ $(INSTALL) -m 700 bftpd $(DESTDIR)/$(prefix)/sbin
-+ $(INSTALL) -m 644 bftpd.8 $(DESTDIR)/$(mandir)/man8
-+ $(INSTALL) -m 600 bftpd.conf $(DESTDIR)/$(prefix)/share/examples/bftpd
-
- clean distclean:
- rm -f *~ $(OBJS) bftpd mksources.finished config.cache