From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 30 20:00:58 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12AB716A4FC for ; Fri, 30 Apr 2004 20:00:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6ADD43D53 for ; Fri, 30 Apr 2004 20:00:46 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4130kFJ091681 for ; Fri, 30 Apr 2004 20:00:46 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4130kdu091680; Fri, 30 Apr 2004 20:00:46 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 30 Apr 2004 20:00:46 -0700 (PDT) Resent-Message-Id: <200405010300.i4130kdu091680@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "ports@c0decafe.net" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91BA416A4CE for ; Fri, 30 Apr 2004 19:53:34 -0700 (PDT) Received: from shell2.snagged.net (shell2.snagged.net [64.71.139.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D1643D45 for ; Fri, 30 Apr 2004 19:53:33 -0700 (PDT) (envelope-from ryan@shell2.snagged.net) Received: from shell2.snagged.net (ryan@localhost [127.0.0.1]) by shell2.snagged.net (8.12.10/8.12.10) with ESMTP id i412stn8019794 for ; Fri, 30 Apr 2004 19:54:55 -0700 (PDT) (envelope-from ryan@shell2.snagged.net) Received: (from ryan@localhost) by shell2.snagged.net (8.12.10/8.12.10/Submit) id i412st3j019793; Fri, 30 Apr 2004 19:54:55 -0700 (PDT) (envelope-from ryan) Message-Id: <200405010254.i412st3j019793@shell2.snagged.net> Date: Fri, 30 Apr 2004 19:54:55 -0700 (PDT) From: "ports@c0decafe.net" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/66131: [NEW PORT] sysutils/savelogs: Save log files in a nice way X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 03:00:58 -0000 >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 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 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 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 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: