Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 02:17:56 +0200 (IST)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23670: NEW PORT: sysutils/p5-Unix-Syslog
Message-ID:  <200012200017.eBK0HuQ08585@alchemy.oven.org>
Resent-Message-ID: <200012200020.eBK0K5897920@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23670
>Category:       ports
>Synopsis:       sysutils/p5-Unix-Syslog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 19 16:20:05 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:


>Description:

This is a perl module for logging to the machine's syslogd.
I need it for the upcoming amavis-perl antivirus for sendmail
(and other MTAa)

>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-Unix-Syslog
#	p5-Unix-Syslog/Makefile
#	p5-Unix-Syslog/distinfo
#	p5-Unix-Syslog/pkg-plist
#	p5-Unix-Syslog/pkg-comment
#	p5-Unix-Syslog/pkg-descr
#
echo c - p5-Unix-Syslog
mkdir -p p5-Unix-Syslog > /dev/null 2>&1
echo x - p5-Unix-Syslog/Makefile
sed 's/^X//' >p5-Unix-Syslog/Makefile << 'END-of-p5-Unix-Syslog/Makefile'
X# New ports collection makefile for:	p5-Unix-Syslog
X# Date created:				Dec 20 2000
X# Whom:	      				Roman Shterenzon <roman@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Unix-Syslog
XPORTVERSION=	0.94
XCATEGORIES=	sysutils perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Unix
XPKGNAMEPREFIX=	p5-
XDISTNAME=	Syslog-${PORTVERSION}
X
XMAINTAINER=	roman@xpert.com
X
XUSE_PERL5=	YES
X
XMAN3=		Unix::Syslog.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-Unix-Syslog/Makefile
echo x - p5-Unix-Syslog/distinfo
sed 's/^X//' >p5-Unix-Syslog/distinfo << 'END-of-p5-Unix-Syslog/distinfo'
XMD5 (Syslog-0.94.tar.gz) = 4575cf5482121d0ed626fa6ea73f1ffe
END-of-p5-Unix-Syslog/distinfo
echo x - p5-Unix-Syslog/pkg-plist
sed 's/^X//' >p5-Unix-Syslog/pkg-plist << 'END-of-p5-Unix-Syslog/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Unix/Syslog.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix/Syslog/Syslog.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix/Syslog/Syslog.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix/Syslog/autosplit.ix
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix/Syslog/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix/Syslog
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Unix 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Unix 2>/dev/null || true
END-of-p5-Unix-Syslog/pkg-plist
echo x - p5-Unix-Syslog/pkg-comment
sed 's/^X//' >p5-Unix-Syslog/pkg-comment << 'END-of-p5-Unix-Syslog/pkg-comment'
XPerl5 module which uses syslogd to log events
END-of-p5-Unix-Syslog/pkg-comment
echo x - p5-Unix-Syslog/pkg-descr
sed 's/^X//' >p5-Unix-Syslog/pkg-descr << 'END-of-p5-Unix-Syslog/pkg-descr'
XThis Module provides access to the system logger available on most
XUNIX system via Perl's XSUBs (Perl's C interface).
X
XThis package uses system specific functions. Programs that uses this
Xpackage may not be portable in any case. If you plan to write portable
Xcode using this package, please consult the manuals of the systems you
Xwish to run the software on. Then modify your program accordingly.
X
XThis module is better than Sys::Syslog in several things:
X  o   LOG_PERROR works.
X
X  o   works with perl -Tw without warnings and problems due to
X      tainted data as it is the case for Sys::Syslog in some
X      special applications. [Especially when running a script
X      as root]
X
XHowever, Unix::Syslog only logs to your local syslog daemon which in
Xturn may be configured to distribute the message over the network.
X
XRoman Shterenzon <roman@xpert.com>
END-of-p5-Unix-Syslog/pkg-descr
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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