pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bftpd Move /var/log/bftpd.log and /var/run/bftpd c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70a157c9390c
branches:  trunk
changeset: 544109:70a157c9390c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 10 15:52:03 2008 +0000

description:
Move /var/log/bftpd.log and /var/run/bftpd creation to install time.
Bump revision.

diffstat:

 net/bftpd/INSTALL          |  9 +++++++++
 net/bftpd/Makefile         |  3 ++-
 net/bftpd/distinfo         |  4 ++--
 net/bftpd/patches/patch-aa |  9 ++-------
 4 files changed, 15 insertions(+), 10 deletions(-)

diffs (69 lines):

diff -r a921bd8f8f14 -r 70a157c9390c net/bftpd/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bftpd/INSTALL Thu Jul 10 15:52:03 2008 +0000
@@ -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 -r a921bd8f8f14 -r 70a157c9390c net/bftpd/Makefile
--- a/net/bftpd/Makefile        Thu Jul 10 15:29:29 2008 +0000
+++ b/net/bftpd/Makefile        Thu Jul 10 15:52:03 2008 +0000
@@ -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 -r a921bd8f8f14 -r 70a157c9390c net/bftpd/distinfo
--- a/net/bftpd/distinfo        Thu Jul 10 15:29:29 2008 +0000
+++ b/net/bftpd/distinfo        Thu Jul 10 15:52:03 2008 +0000
@@ -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 -r a921bd8f8f14 -r 70a157c9390c net/bftpd/patches/patch-aa
--- a/net/bftpd/patches/patch-aa        Thu Jul 10 15:29:29 2008 +0000
+++ b/net/bftpd/patches/patch-aa        Thu Jul 10 15:52:03 2008 +0000
@@ -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 @@
  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 @@
 +      $(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



Home | Main Index | Thread Index | Old Index