aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-03 06:26:11 +0800
committerpav <pav@FreeBSD.org>2004-05-03 06:26:11 +0800
commit28086bcb9c6525dc96252268e6f240578c0db025 (patch)
treecefb85bed305fe520d9cfc548dc71064ca58d702 /sysutils
parent2815299c06710766cf1ff32cc17bd2f78a4a584f (diff)
downloadfreebsd-ports-graphics-28086bcb9c6525dc96252268e6f240578c0db025.tar.gz
freebsd-ports-graphics-28086bcb9c6525dc96252268e6f240578c0db025.tar.zst
freebsd-ports-graphics-28086bcb9c6525dc96252268e6f240578c0db025.zip
Add savelogs, a flexible and robust log file archival system.
PR: ports/66131 Submitted by: <ports@c0decafe.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-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
5 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 25cef61b44c..36b33c2cc41 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -324,6 +324,7 @@
SUBDIR += safecat
SUBDIR += samefile
SUBDIR += sarah
+ SUBDIR += savelogs
SUBDIR += sb16config
SUBDIR += sbniconfig
SUBDIR += scan_ffs
diff --git a/sysutils/savelogs/Makefile b/sysutils/savelogs/Makefile
new file mode 100644
index 00000000000..41d2b2ed69b
--- /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 00000000000..8f0297deb69
--- /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 00000000000..804d1764665
--- /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 00000000000..ef0602e592b
--- /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%%