Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2004 19:54:55 -0700 (PDT)
From:      "ports@c0decafe.net" <ports@c0decafe.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66131: [NEW PORT] sysutils/savelogs: Save log files in a nice way
Message-ID:  <200405010254.i412st3j019793@shell2.snagged.net>
Resent-Message-ID: <200405010300.i4130kdu091680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66131
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/savelogs: Save log files in a nice way
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 30 20:00:46 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     ports@c0decafe.net
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD atlantis.local 4.9-STABLE FreeBSD 4.9-STABLE #4: Thu Mar 18 16:53:56 GST 2004
>Description:
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/

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- savelogs-1.66.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	savelogs
#	savelogs/pkg-descr
#	savelogs/Makefile
#	savelogs/pkg-plist
#	savelogs/distinfo
#
echo c - savelogs
mkdir -p savelogs > /dev/null 2>&1
echo x - savelogs/pkg-descr
sed 's/^X//' >savelogs/pkg-descr << 'END-of-savelogs/pkg-descr'
Xsavelogs is a flexible and robust log file archival system. Its
Xlogic is simple: move (rename) the log file, filter data from
Xthe log file, store the log file in an archive (via tar or
Xgtar), and compress the archive (via gzip or compress). After
Xsuccessful compression, the original log file is deleted.
X
XAll of the above phases are optional. This means that you may
Xsimply delete files if you wish. Or you may simply compress
Xexisting log files. Or you may move files and add them to a tar
Xfile but leave the tar file uncompressed, etc. You pick ;o)
X
Xsavelogs has many options yet retains a high degree of dwimitude.
X
XAuthor: Scott Wiersdorf <scott@perlcode.org>	
XWWW:	http://search.cpan.org/~scottw/
END-of-savelogs/pkg-descr
echo x - savelogs/Makefile
sed 's/^X//' >savelogs/Makefile << 'END-of-savelogs/Makefile'
X# New ports collection makefile for:	savelogs
X# Date created:		2004-04-29
X# Whom:			ports@c0decafe.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	savelogs
XPORTVERSION=	1.66
XCATEGORIES=	sysutils perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/S/SC/SCOTTW/
X
XMAINTAINER=	ports@c0decafe.net
XCOMMENT=	Save log files in a nice way
X
XPERL_CONFIGURE=	YES
XMAN1=	rotation.1 savelogs.1
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
X.endif
X	${INSTALL_MAN} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
X
X.include <bsd.port.post.mk>
END-of-savelogs/Makefile
echo x - savelogs/pkg-plist
sed 's/^X//' >savelogs/pkg-plist << 'END-of-savelogs/pkg-plist'
Xbin/savelogs
Xetc/savelogs.conf.sample
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/savelogs
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTDOCS%%%%EXAMPLESDIR%%/savelogs.conf.lint
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
END-of-savelogs/pkg-plist
echo x - savelogs/distinfo
sed 's/^X//' >savelogs/distinfo << 'END-of-savelogs/distinfo'
XMD5 (savelogs-1.66.tar.gz) = 63f748dc3891c75c226dc0ff6d151ffc
XSIZE (savelogs-1.66.tar.gz) = 103018
END-of-savelogs/distinfo
exit
--- savelogs-1.66.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405010254.i412st3j019793>