Add savelogs, a flexible and robust log file archival system.

PR:		ports/66131
Submitted by:	<ports@c0decafe.net>
This commit is contained in:
Pav Lucistnik 2004-05-02 22:26:11 +00:00
parent afa49164ca
commit e86e23f700
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108218
5 changed files with 55 additions and 0 deletions

View file

@ -324,6 +324,7 @@
SUBDIR += safecat
SUBDIR += samefile
SUBDIR += sarah
SUBDIR += savelogs
SUBDIR += sb16config
SUBDIR += sbniconfig
SUBDIR += scan_ffs

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (savelogs-1.66.tar.gz) = 63f748dc3891c75c226dc0ff6d151ffc
SIZE (savelogs-1.66.tar.gz) = 103018

View file

@ -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/

View file

@ -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%%