Archive the log files monthly.

This commit is contained in:
Chin-San Huang 2008-05-18 17:47:38 +00:00
parent e4127ee44d
commit b23c73c68d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213289
4 changed files with 49 additions and 0 deletions

View file

@ -510,6 +510,7 @@
SUBDIR += p5-Unix-Processors
SUBDIR += p5-Unix-Syslog
SUBDIR += p5-User
SUBDIR += p5-arclog
SUBDIR += p5-mogilefs-server
SUBDIR += paicc
SUBDIR += pax-utils

View file

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-arclog
# Date created: 2008/05/18
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= arclog
PORTVERSION= 3.04
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= chinsan@FreeBSD.org
COMMENT= Archive the log files monthly
BUILD_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \
p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib \
p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN1= arclog.1
PLIST_FILES= bin/arclog \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (arclog-3.04.tar.gz) = d7e44508f8ba8cd1a4b27270231d0c83
SHA256 (arclog-3.04.tar.gz) = f5fb976c2a8d47a61e7d6d7da5a7400a26bcde5da8adc894d8d0e03127c11f1e
SIZE (arclog-3.04.tar.gz) = 98050

View file

@ -0,0 +1,12 @@
arclog archives the log files monthly. It strips off log entries that
belongs to previous months, and then compresses and saves them to archived
files named logfile.yyyymm.gz.
Currently, arclog supports Apache access log, Syslog, NTP, Apache 1 SSL
engine log and my own bracketed, modified ISO date/time log file formats,
and gzip and bzip2 compression methods. Several software projects log (or
can log) in a format compatible with the Apache access log, like CUPS,
ProFTPD, Pure-FTPd... etc., and arclog can archive their Apache-like log
files, too.
WWW: http://search.cpan.org/dist/arclog/