aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/savelogs
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/savelogs')
-rw-r--r--sysutils/savelogs/Makefile29
-rw-r--r--sysutils/savelogs/distinfo2
-rw-r--r--sysutils/savelogs/pkg-descr15
-rw-r--r--sysutils/savelogs/pkg-plist8
4 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/savelogs/Makefile b/sysutils/savelogs/Makefile
new file mode 100644
index 000000000000..41d2b2ed69ba
--- /dev/null
+++ b/sysutils/savelogs/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: savelogs
+# Date created: 2004-04-29
+# Whom: ports@c0decafe.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= savelogs
+PORTVERSION= 1.66
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/S/SC/SCOTTW/
+
+MAINTAINER= ports@c0decafe.net
+COMMENT= Save log files in a nice way
+
+PERL_CONFIGURE= YES
+MAN1= rotation.1 savelogs.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
+.endif
+ ${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
+
+.include <bsd.port.mk>
diff --git a/sysutils/savelogs/distinfo b/sysutils/savelogs/distinfo
new file mode 100644
index 000000000000..8f0297deb691
--- /dev/null
+++ b/sysutils/savelogs/distinfo
@@ -0,0 +1,2 @@
+MD5 (savelogs-1.66.tar.gz) = 63f748dc3891c75c226dc0ff6d151ffc
+SIZE (savelogs-1.66.tar.gz) = 103018
diff --git a/sysutils/savelogs/pkg-descr b/sysutils/savelogs/pkg-descr
new file mode 100644
index 000000000000..804d1764665e
--- /dev/null
+++ b/sysutils/savelogs/pkg-descr
@@ -0,0 +1,15 @@
+savelogs is a flexible and robust log file archival system. Its
+logic is simple: move (rename) the log file, filter data from
+the log file, store the log file in an archive (via tar or
+gtar), and compress the archive (via gzip or compress). After
+successful compression, the original log file is deleted.
+
+All of the above phases are optional. This means that you may
+simply delete files if you wish. Or you may simply compress
+existing log files. Or you may move files and add them to a tar
+file but leave the tar file uncompressed, etc. You pick ;o)
+
+savelogs has many options yet retains a high degree of dwimitude.
+
+Author: Scott Wiersdorf <scott@perlcode.org>
+WWW: http://search.cpan.org/~scottw/
diff --git a/sysutils/savelogs/pkg-plist b/sysutils/savelogs/pkg-plist
new file mode 100644
index 000000000000..ef0602e592b1
--- /dev/null
+++ b/sysutils/savelogs/pkg-plist
@@ -0,0 +1,8 @@
+bin/savelogs
+etc/savelogs.conf.sample
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%EXAMPLESDIR%%/savelogs.conf.lint
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%