Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2015 16:07:06 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375933 - in head/devel: . p5-File-Write-Rotate
Message-ID:  <201501011607.t01G76fV001497@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan  1 16:07:05 2015
New Revision: 375933
URL: https://svnweb.freebsd.org/changeset/ports/375933
QAT: https://qat.redports.org/buildarchive/r375933/

Log:
  - Add p5-File-Write-Rotate 0.25
  
  File::Write::Rotate can be used to write to file, usually for logging, that can
  rotate itself. File will be opened in append mode. Locking will be done to avoid
  conflict when there are multiple writers. Rotation can be done by size (after a
  certain size is reached), by time (daily/monthly/yearly), or both.
  
  WWW: http://search.cpan.org/dist/File-Write-Rotate/

Added:
  head/devel/p5-File-Write-Rotate/
  head/devel/p5-File-Write-Rotate/Makefile   (contents, props changed)
  head/devel/p5-File-Write-Rotate/distinfo   (contents, props changed)
  head/devel/p5-File-Write-Rotate/pkg-descr   (contents, props changed)
  head/devel/p5-File-Write-Rotate/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jan  1 16:06:24 2015	(r375932)
+++ head/devel/Makefile	Thu Jan  1 16:07:05 2015	(r375933)
@@ -2109,6 +2109,7 @@
     SUBDIR += p5-File-Touch
     SUBDIR += p5-File-Type
     SUBDIR += p5-File-Util
+    SUBDIR += p5-File-Write-Rotate
     SUBDIR += p5-File-chdir
     SUBDIR += p5-File-chmod
     SUBDIR += p5-File-pushd

Added: head/devel/p5-File-Write-Rotate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-Write-Rotate/Makefile	Thu Jan  1 16:07:05 2015	(r375933)
@@ -0,0 +1,28 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	File-Write-Rotate
+PORTVERSION=	0.25
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Write to files that archive/rotate themselves
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-File-Flock-Retry>=0:${PORTSDIR}/devel/p5-File-Flock-Retry \
+		p5-Proc-PID-File>=0:${PORTSDIR}/devel/p5-Proc-PID-File \
+		p5-Taint-Runtime>=0.03:${PORTSDIR}/devel/p5-Taint-Runtime
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-File-Slurp-Tiny>=0:${PORTSDIR}/devel/p5-File-Slurp-Tiny \
+		p5-File-chdir>=0:${PORTSDIR}/devel/p5-File-chdir \
+		p5-Test-Exception>=0.31:${PORTSDIR}/devel/p5-Test-Exception \
+		p5-Test-Warnings>=0.014:${PORTSDIR}/devel/p5-Test-Warnings
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/devel/p5-File-Write-Rotate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-Write-Rotate/distinfo	Thu Jan  1 16:07:05 2015	(r375933)
@@ -0,0 +1,2 @@
+SHA256 (File-Write-Rotate-0.25.tar.gz) = 35aebb9aaeacf8bd2395d49734e99181fa27df41dcbe94140579ebbd2b3fa0d3
+SIZE (File-Write-Rotate-0.25.tar.gz) = 26461

Added: head/devel/p5-File-Write-Rotate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-Write-Rotate/pkg-descr	Thu Jan  1 16:07:05 2015	(r375933)
@@ -0,0 +1,6 @@
+File::Write::Rotate can be used to write to file, usually for logging, that can
+rotate itself. File will be opened in append mode. Locking will be done to avoid
+conflict when there are multiple writers. Rotation can be done by size (after a
+certain size is reached), by time (daily/monthly/yearly), or both.
+
+WWW: http://search.cpan.org/dist/File-Write-Rotate/

Added: head/devel/p5-File-Write-Rotate/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-File-Write-Rotate/pkg-plist	Thu Jan  1 16:07:05 2015	(r375933)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/File/Write/Rotate.pm
+%%PERL5_MAN3%%/File::Write::Rotate.3.gz



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