This module sends syslog messages over a network socket. It works like

Sys::Syslog in setlogsock's 'udp', 'tcp', or 'unix' modes, but without
the significant CPU overhead of that module when used for high-volume
logging. Use of this specialized module is only recommended if 1) you
must use network syslog as a messaging transport but 2) need to
minimize the time spent in the logger.

WWW: http://search.cpan.org/dist/Log-Syslog-Fast/
This commit is contained in:
Matthew Seaman 2015-09-22 09:54:37 +00:00
parent f352bbadad
commit 5ef0c8a132
5 changed files with 49 additions and 0 deletions

View file

@ -627,6 +627,7 @@
SUBDIR += p5-Lchown
SUBDIR += p5-Linux-Cpuinfo
SUBDIR += p5-Log-Syslog-Constants
SUBDIR += p5-Log-Syslog-Fast
SUBDIR += p5-MogileFS-Client
SUBDIR += p5-MogileFS-Network
SUBDIR += p5-MogileFS-Server

View file

@ -0,0 +1,30 @@
# Created by: Matthew Seaman <matthew@FreeBSD.org>
# $FreeBSD$
PORTNAME= Log-Syslog-Fast
PORTVERSION= 0.65
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= matthew@FreeBSD.org
COMMENT= Send syslog messages over TCP, UDP, or UNIX sockets
RUN_DEPENDS= p5-IO-Socket-IP>=0.19:net/p5-IO-Socket-IP \
p5-Log-Syslog-Constants>-1.01:sysutils/p5-Log-Syslog-Constants
BUILD_DEPENDS= p5-IO-Socket-IP>=0.19:net/p5-IO-Socket-IP \
p5-Log-Syslog-Constants>-1.01:sysutils/p5-Log-Syslog-Constants
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Log/Syslog/Fast/Fast.so
# Note: the regression tests for this module depend on receiving an
# ICMP 'port unreachable' message for several of the UDP transmission
# tests. These won't return the expected output if you have sysctl
# net.inet.udp.blackhole set to 1, and they'll quite likely be
# confused by a some common firewall configurations.
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Log-Syslog-Fast-0.65.tar.gz) = 3a8a5c64a0314ae90278fb86afcfc1121b89a80e1444ad6f7bf4acb34929363a
SIZE (Log-Syslog-Fast-0.65.tar.gz) = 33137

View file

@ -0,0 +1,8 @@
This module sends syslog messages over a network socket. It works like
Sys::Syslog in setlogsock's 'udp', 'tcp', or 'unix' modes, but without
the significant CPU overhead of that module when used for high-volume
logging. Use of this specialized module is only recommended if 1) you
must use network syslog as a messaging transport but 2) need to
minimize the time spent in the logger.
WWW: http://search.cpan.org/dist/Log-Syslog-Fast/

View file

@ -0,0 +1,8 @@
%%SITE_ARCH%%/Log/Syslog/Fast.pm
%%SITE_ARCH%%/Log/Syslog/Fast/Constants.pm
%%SITE_ARCH%%/Log/Syslog/Fast/PP.pm
%%SITE_ARCH%%/Log/Syslog/Fast/Simple.pm
%%SITE_ARCH%%/auto/Log/Syslog/Fast/Fast.so
%%PERL5_MAN3%%/Log::Syslog::Fast.3.gz
%%PERL5_MAN3%%/Log::Syslog::Fast::PP.3.gz
%%PERL5_MAN3%%/Log::Syslog::Fast::Simple.3.gz