summaryrefslogtreecommitdiff
path: root/sysutils/sarah
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-10-31 18:11:25 +0000
committerzuntum <zuntum>2001-10-31 18:11:25 +0000
commitbc9e569a7b850ed844f5908d6d701796ce4cd1f0 (patch)
tree632164a139a3497d20153a9933d3e7447fcce219 /sysutils/sarah
parent8750de78de700de1cf4f1c439ab873f82f939c79 (diff)
downloadpkgsrc-bc9e569a7b850ed844f5908d6d701796ce4cd1f0.tar.gz
o use REPLACE_PERL
o move sarah.conf.sample from ${PREFIX}/etc to ${PREFIX}/share/examples/sarah Update sarah to 0.7b Changes: v 0.7b 2001/10/01 * all directives may now be specified within an OPTIONS{} block to set defaults * when both '-c' and '-V' options are used, sarah will dump interpreted config file(s) to STDOUT * fixed archive rotation bug: a regex to match file.log.xx would also match myfile.log.xx, causing rotation of file.log to fail v 0.6b 2001/02/09 * added INDEX command to allow date-based archive naming * added quiet mode (-q argument) v 0.5b 2001/01/04 * fixed timing bug -- DATE based log rotations would fail if the minute changed during the run
Diffstat (limited to 'sysutils/sarah')
-rw-r--r--sysutils/sarah/Makefile19
-rw-r--r--sysutils/sarah/distinfo6
-rw-r--r--sysutils/sarah/pkg/PLIST6
3 files changed, 15 insertions, 16 deletions
diff --git a/sysutils/sarah/Makefile b/sysutils/sarah/Makefile
index efef71aadb6..94342acd1ae 100644
--- a/sysutils/sarah/Makefile
+++ b/sysutils/sarah/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2001/06/11 04:59:58 jtb Exp $
+# $NetBSD: Makefile,v 1.4 2001/10/31 18:11:25 zuntum Exp $
-DISTNAME= sarah-0.4b
+DISTNAME= sarah-0.7b
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
@@ -15,11 +15,11 @@ NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
USE_PERL5= YES
+REPLACE_PERL= sarah
NO_BUILD= YES
-do-configure:
+post-patch:
${SED} -e "s,/usr/local,${PREFIX},g" \
- -e "s,/usr/bin/perl,${LOCALBASE}/bin/perl,g" \
-e "s,syslog.pid,syslogd.pid,g" \
${WRKSRC}/sarah > ${WRKSRC}/sarah.done
${MV} ${WRKSRC}/sarah.done ${WRKSRC}/sarah
@@ -29,12 +29,11 @@ do-configure:
${MV} ${WRKSRC}/sarah.1.done ${WRKSRC}/sarah.1
do-install:
- cd ${WRKSRC} && \
- ${INSTALL_SCRIPT} sarah ${PREFIX}/bin && \
- ${INSTALL_DATA} sarah.conf.sample ${PREFIX}/etc && \
- ${INSTALL_MAN} sarah.1 ${PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/sarah ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sarah
+ ${INSTALL_DATA} ${WRKSRC}/sarah.conf.sample ${PREFIX}/share/examples/sarah
+ ${INSTALL_MAN} ${WRKSRC}/sarah.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sarah
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGES \
- ${PREFIX}/share/doc/sarah
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sarah
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/sarah/distinfo b/sysutils/sarah/distinfo
index 7180249368c..6ce928d402f 100644
--- a/sysutils/sarah/distinfo
+++ b/sysutils/sarah/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:29:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/10/31 18:11:25 zuntum Exp $
-SHA1 (sarah-0.4b.tar.gz) = fc6292729b856b1614f1e85677577b610814b716
-Size (sarah-0.4b.tar.gz) = 21290 bytes
+SHA1 (sarah-0.7b.tar.gz) = e0043c212f73465ffac26c431cf23d5026b6a73b
+Size (sarah-0.7b.tar.gz) = 24617 bytes
diff --git a/sysutils/sarah/pkg/PLIST b/sysutils/sarah/pkg/PLIST
index 8e1d9bf9c24..7944ab7d04d 100644
--- a/sysutils/sarah/pkg/PLIST
+++ b/sysutils/sarah/pkg/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2001/03/13 19:52:31 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.3 2001/10/31 18:11:25 zuntum Exp $
bin/sarah
-etc/sarah.conf.sample
man/man1/sarah.1
-share/doc/sarah/CHANGES
share/doc/sarah/README
+share/examples/sarah/sarah.conf.sample
@dirrm share/doc/sarah
+@dirrm share/examples/sarah