summaryrefslogtreecommitdiff
path: root/net/bftpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-10 15:52:03 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-10 15:52:03 +0000
commit688377a8f904dfd011498a22b5565eaa4cec43a4 (patch)
tree627b3f82e22555b6283a4cc1cc891806e939e105 /net/bftpd
parent8c61e20326995d7d8f224b2c9b224ebaeb2374ba (diff)
downloadpkgsrc-688377a8f904dfd011498a22b5565eaa4cec43a4.tar.gz
Move /var/log/bftpd.log and /var/run/bftpd creation to install time.
Bump revision.
Diffstat (limited to 'net/bftpd')
-rw-r--r--net/bftpd/INSTALL9
-rw-r--r--net/bftpd/Makefile3
-rw-r--r--net/bftpd/distinfo4
-rw-r--r--net/bftpd/patches/patch-aa9
4 files changed, 15 insertions, 10 deletions
diff --git a/net/bftpd/INSTALL b/net/bftpd/INSTALL
new file mode 100644
index 00000000000..d2aaafc798d
--- /dev/null
+++ b/net/bftpd/INSTALL
@@ -0,0 +1,9 @@
+# $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 b5effc111d1..3e1fb877756 100644
--- a/net/bftpd/Makefile
+++ b/net/bftpd/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2007/12/20 14:08:34 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/07/10 15:52:03 joerg Exp $
#
DISTNAME= bftpd-1.0.24
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/
diff --git a/net/bftpd/distinfo b/net/bftpd/distinfo
index 1299dda8bc0..f0b7ac8dd4b 100644
--- a/net/bftpd/distinfo
+++ b/net/bftpd/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:13:42 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/07/10 15:52:03 joerg Exp $
SHA1 (bftpd-1.0.24.tar.gz) = 4a047778e9435fc9221d02c1093f040186bb88d7
RMD160 (bftpd-1.0.24.tar.gz) = 6eb162a5d692c5df2811c24fd07d40193e77d095
Size (bftpd-1.0.24.tar.gz) = 75995 bytes
-SHA1 (patch-aa) = e8114ee69380fcf1d765abe8fadfba2b2d4ee248
+SHA1 (patch-aa) = 5ddab875688e1c2b7ba82171a3a776503ffd7af7
SHA1 (patch-ab) = faef48266dd0fb7b095738207be2b26ee34e9359
diff --git a/net/bftpd/patches/patch-aa b/net/bftpd/patches/patch-aa
index 553ba46f15c..00d133f48e9 100644
--- a/net/bftpd/patches/patch-aa
+++ b/net/bftpd/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/12/11 08:25:48 minskim Exp $
+$NetBSD: patch-aa,v 1.3 2008/07/10 15:52:03 joerg Exp $
--- Makefile.in.orig 2003-05-09 16:47:48.000000000 -0500
+++ Makefile.in
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.2 2004/12/11 08:25:48 minskim Exp $
mandir=@mandir@
sbindir=@sbindir@
DESTDIR=
-@@ -26,14 +27,14 @@ bftpd: $(OBJS)
+@@ -26,14 +27,9 @@ bftpd: $(OBJS)
$(OBJS): $(HEADERS) Makefile
install: all
@@ -25,11 +25,6 @@ $NetBSD: patch-aa,v 1.2 2004/12/11 08:25:48 minskim Exp $
+ $(INSTALL) -m 700 bftpd $(DESTDIR)/$(prefix)/sbin
+ $(INSTALL) -m 644 bftpd.8 $(DESTDIR)/$(mandir)/man8
+ $(INSTALL) -m 600 bftpd.conf $(DESTDIR)/$(datadir)/examples/bftpd
-+ mkdir -p ${VARBASE}/log
-+ touch ${VARBASE}/log/bftpd.log
-+ chmod 644 ${VARBASE}/log/bftpd.log
-+ mkdir -p ${VARBASE}/run/bftpd
-+ chmod 755 ${VARBASE}/run/bftpd
clean distclean:
rm -f *~ $(OBJS) bftpd mksources.finished