diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-02 22:26:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-02 22:26:11 +0000 |
commit | e86e23f7005b00f5b49c2c7e7132f6eb60286b07 (patch) | |
tree | 64826f1924e03c7f5e3d80823e7297ad7db5b6a1 /sysutils | |
parent | - Add WITHOUT_NLS knob to supress installation of translation files (diff) |
Add savelogs, a flexible and robust log file archival system.
PR: ports/66131
Submitted by: <ports@c0decafe.net>
Notes
Notes:
svn path=/head/; revision=108218
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/savelogs/Makefile | 29 | ||||
-rw-r--r-- | sysutils/savelogs/distinfo | 2 | ||||
-rw-r--r-- | sysutils/savelogs/pkg-descr | 15 | ||||
-rw-r--r-- | sysutils/savelogs/pkg-plist | 8 |
5 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 25cef61b44c7..36b33c2cc41c 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 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%% |