ports/108733: New port: devel/p5-Log-Dispatch-FileShared output class for logging to shared files
Craig Manley
cmanley at xs4all.nl
Sat Feb 3 21:10:18 UTC 2007
>Number: 108733
>Category: ports
>Synopsis: New port: devel/p5-Log-Dispatch-FileShared output class for logging to shared files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 03 21:10:17 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Craig Manley
>Release: FreeBSD 6.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD hfx.xs4all.nl 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #1: Sun Sep 3 17:08:38 CEST 2006 root at hfx.xs4all.nl:/usr/obj/usr/src/sys/HFX amd64
>Description:
This module provides an output class for logging to shared files under the Log::Dispatch system.
Log messages are written using the flock file locking mechanism on a per write basis which means
that this module is suitable for sharing a log file in a multitasking environment.
>How-To-Repeat:
>Fix:
# 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:
#
# p5-Log-Dispatch-FileShared/
# p5-Log-Dispatch-FileShared/distinfo
# p5-Log-Dispatch-FileShared/Makefile
# p5-Log-Dispatch-FileShared/pkg-descr
# p5-Log-Dispatch-FileShared/pkg-plist
#
echo c - p5-Log-Dispatch-FileShared/
mkdir -p p5-Log-Dispatch-FileShared/ > /dev/null 2>&1
echo x - p5-Log-Dispatch-FileShared/distinfo
sed 's/^X//' >p5-Log-Dispatch-FileShared/distinfo << 'END-of-p5-Log-Dispatch-FileShared/distinfo'
XMD5 (Log-Dispatch-FileShared-1.02.tar.gz) = 85158f7590dc0fb421aa3ee074a33be1
XSHA256 (Log-Dispatch-FileShared-1.02.tar.gz) = 1524492fde99d45bf6d8f782df8f0561f4c889c753a2cff18b61e282d03a2dc1
XSIZE (Log-Dispatch-FileShared-1.02.tar.gz) = 7975
END-of-p5-Log-Dispatch-FileShared/distinfo
echo x - p5-Log-Dispatch-FileShared/Makefile
sed 's/^X//' >p5-Log-Dispatch-FileShared/Makefile << 'END-of-p5-Log-Dispatch-FileShared/Makefile'
X# New ports collection makefile for: Log-Dispatch-FileShared
X# Date created: 3 February 2007
X# Whom: Craig Manley
X#
X# $FreeBSD$
X#
X
XPORTNAME= Log-Dispatch-FileShared
XPORTVERSION= 1.02
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Log
XPKGNAMEPREFIX= p5-
X
XMAINTAINER=perl at FreeBSD.org
XCOMMENT=A Log::Dispatch output class for logging to shared files
X
XBUILD_DEPENDS= ${SITE_PERL}/Log/Dispatch.pm:${PORTSDIR}/devel/p5-Log-Dispatch \
X ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
X ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XPERL_CONFIGURE= yes
X
XMAN3= Log::Dispatch::FileShared.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Log-Dispatch-FileShared/Makefile
echo x - p5-Log-Dispatch-FileShared/pkg-descr
sed 's/^X//' >p5-Log-Dispatch-FileShared/pkg-descr << 'END-of-p5-Log-Dispatch-FileShared/pkg-descr'
XLog::Dispatch::FileShared is an output class for logging to shared files
Xunder the Log::Dispatch system.
X
XLog messages are written using the flock file locking mechanism on a
Xper write basis which means that this module is suitable for sharing a
Xlog file in a multitasking environment.
X
XWWW: http://search.cpan.org/dist/Log-Dispatch-FileShared/
END-of-p5-Log-Dispatch-FileShared/pkg-descr
echo x - p5-Log-Dispatch-FileShared/pkg-plist
sed 's/^X//' >p5-Log-Dispatch-FileShared/pkg-plist << 'END-of-p5-Log-Dispatch-FileShared/pkg-plist'
X%%SITE_PERL%%/Log/Dispatch/FileShared.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch/FileShared/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch/FileShared
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log/Dispatch
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Log
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Log/Dispatch
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Log
END-of-p5-Log-Dispatch-FileShared/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list