diff options
author | chinsan <chinsan@FreeBSD.org> | 2008-05-19 01:47:38 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2008-05-19 01:47:38 +0800 |
commit | a1e525ec15d7032f7a7ae9ecab520df086d2ccaa (patch) | |
tree | 04c0774d5b60c5a8cf16b2bad1378ebeb29c0414 | |
parent | 3b34fc1c632c29b891f4baa0d689539e0f8fe58d (diff) | |
download | freebsd-ports-gnome-a1e525ec15d7032f7a7ae9ecab520df086d2ccaa.tar.gz freebsd-ports-gnome-a1e525ec15d7032f7a7ae9ecab520df086d2ccaa.tar.zst freebsd-ports-gnome-a1e525ec15d7032f7a7ae9ecab520df086d2ccaa.zip |
Archive the log files monthly.
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-arclog/Makefile | 33 | ||||
-rw-r--r-- | sysutils/p5-arclog/distinfo | 3 | ||||
-rw-r--r-- | sysutils/p5-arclog/pkg-descr | 12 |
4 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 7d76e27b8e19..5a2e900bd275 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -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 diff --git a/sysutils/p5-arclog/Makefile b/sysutils/p5-arclog/Makefile new file mode 100644 index 000000000000..c49722743bf9 --- /dev/null +++ b/sysutils/p5-arclog/Makefile @@ -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> diff --git a/sysutils/p5-arclog/distinfo b/sysutils/p5-arclog/distinfo new file mode 100644 index 000000000000..aa76be4beea3 --- /dev/null +++ b/sysutils/p5-arclog/distinfo @@ -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 diff --git a/sysutils/p5-arclog/pkg-descr b/sysutils/p5-arclog/pkg-descr new file mode 100644 index 000000000000..f4b8b43e3832 --- /dev/null +++ b/sysutils/p5-arclog/pkg-descr @@ -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/ |