svn commit: r397532 - in head/sysutils: . p5-Log-Syslog-Fast

Matthew Seaman matthew at FreeBSD.org
Tue Sep 22 09:54:39 UTC 2015


Author: matthew
Date: Tue Sep 22 09:54:37 2015
New Revision: 397532
URL: https://svnweb.freebsd.org/changeset/ports/397532

Log:
  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/

Added:
  head/sysutils/p5-Log-Syslog-Fast/
  head/sysutils/p5-Log-Syslog-Fast/Makefile   (contents, props changed)
  head/sysutils/p5-Log-Syslog-Fast/distinfo   (contents, props changed)
  head/sysutils/p5-Log-Syslog-Fast/pkg-descr   (contents, props changed)
  head/sysutils/p5-Log-Syslog-Fast/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Sep 22 09:52:35 2015	(r397531)
+++ head/sysutils/Makefile	Tue Sep 22 09:54:37 2015	(r397532)
@@ -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

Added: head/sysutils/p5-Log-Syslog-Fast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Log-Syslog-Fast/Makefile	Tue Sep 22 09:54:37 2015	(r397532)
@@ -0,0 +1,30 @@
+# Created by: Matthew Seaman <matthew at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Log-Syslog-Fast
+PORTVERSION=	0.65
+CATEGORIES=	sysutils perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	matthew at 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>

Added: head/sysutils/p5-Log-Syslog-Fast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Log-Syslog-Fast/distinfo	Tue Sep 22 09:54:37 2015	(r397532)
@@ -0,0 +1,2 @@
+SHA256 (Log-Syslog-Fast-0.65.tar.gz) = 3a8a5c64a0314ae90278fb86afcfc1121b89a80e1444ad6f7bf4acb34929363a
+SIZE (Log-Syslog-Fast-0.65.tar.gz) = 33137

Added: head/sysutils/p5-Log-Syslog-Fast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Log-Syslog-Fast/pkg-descr	Tue Sep 22 09:54:37 2015	(r397532)
@@ -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/

Added: head/sysutils/p5-Log-Syslog-Fast/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-Log-Syslog-Fast/pkg-plist	Tue Sep 22 09:54:37 2015	(r397532)
@@ -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


More information about the svn-ports-all mailing list