summaryrefslogtreecommitdiff
path: root/sysutils/sarah
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-03-13 19:49:01 +0000
committerzuntum <zuntum>2001-03-13 19:49:01 +0000
commit67c3684afc2d96adf0bd92b3b44dc182b52e4ae2 (patch)
tree51a1fa8c3dc43d2af1708c50b98ea05bff1dd770 /sysutils/sarah
parent9eb726b9ebbb2873b74df3ebb998da4be98b5309 (diff)
downloadpkgsrc-67c3684afc2d96adf0bd92b3b44dc182b52e4ae2.tar.gz
Initial import of sarah 0.4b provided in pkg/12015 by me.
Sarah is a program which is used to trim, rotate, archive and delete log files. It is meant to run periodically out of cron, determining what to do based on a configuration file.
Diffstat (limited to 'sysutils/sarah')
-rw-r--r--sysutils/sarah/Makefile33
-rw-r--r--sysutils/sarah/files/md53
-rw-r--r--sysutils/sarah/pkg/DESCR3
-rw-r--r--sysutils/sarah/pkg/PLIST8
4 files changed, 47 insertions, 0 deletions
diff --git a/sysutils/sarah/Makefile b/sysutils/sarah/Makefile
new file mode 100644
index 00000000000..673525483e2
--- /dev/null
+++ b/sysutils/sarah/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/13 19:49:01 zuntum Exp $
+
+DISTNAME= sarah-0.4b
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.conundrum.com/pub/sarah/
+
+MAINTAINER= zuntum@netbsd.org
+COMMENT= Syslog automated Rotation and Archive Handler
+
+USE_PERL5= YES
+NO_BUILD= YES
+
+do-configure:
+ ${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
+ ${SED} -e "s,/usr/local,${PREFIX},g" \
+ -e "s,syslog.pid,syslogd.pid,g" \
+ ${WRKSRC}/sarah.1 > ${WRKSRC}/sarah.1.done
+ ${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_DATA_DIR} ${PREFIX}/share/doc/sarah
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGES \
+ ${PREFIX}/share/doc/sarah
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/sarah/files/md5 b/sysutils/sarah/files/md5
new file mode 100644
index 00000000000..77df1a8a392
--- /dev/null
+++ b/sysutils/sarah/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/13 19:49:01 zuntum Exp $
+
+MD5 (sarah-0.4b.tar.gz) = 098d647c0af7370a028b4da1be7e9e50
diff --git a/sysutils/sarah/pkg/DESCR b/sysutils/sarah/pkg/DESCR
new file mode 100644
index 00000000000..d548c6244dc
--- /dev/null
+++ b/sysutils/sarah/pkg/DESCR
@@ -0,0 +1,3 @@
+Sarah is a program which is used to trim, rotate, archive and delete log
+files. It is meant to run periodically out of cron, determining what to do
+based on a configuration file.
diff --git a/sysutils/sarah/pkg/PLIST b/sysutils/sarah/pkg/PLIST
new file mode 100644
index 00000000000..09655bab005
--- /dev/null
+++ b/sysutils/sarah/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/13 19:49:01 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/13 19:49:01 zuntum Exp $
+bin/sarah
+etc/sarah.conf.sample
+man/man1/sarah.1
+share/doc/sarah/CHANGES
+share/doc/sarah/README
+@dirrm share/doc/sarah