aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-Log-Syslog-Fast
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2015-09-22 17:54:37 +0800
committermatthew <matthew@FreeBSD.org>2015-09-22 17:54:37 +0800
commit81c4dcaed0d44cb1389f818a8a2d86d0b9fd407d (patch)
tree07b6abe9593b700d92b409dc543f3e5a27827a1d /sysutils/p5-Log-Syslog-Fast
parent0b7a3d09700fd51067cd6b752f75a3c7d4d59c72 (diff)
downloadfreebsd-ports-gnome-81c4dcaed0d44cb1389f818a8a2d86d0b9fd407d.tar.gz
freebsd-ports-gnome-81c4dcaed0d44cb1389f818a8a2d86d0b9fd407d.tar.zst
freebsd-ports-gnome-81c4dcaed0d44cb1389f818a8a2d86d0b9fd407d.zip
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/
Diffstat (limited to 'sysutils/p5-Log-Syslog-Fast')
-rw-r--r--sysutils/p5-Log-Syslog-Fast/Makefile30
-rw-r--r--sysutils/p5-Log-Syslog-Fast/distinfo2
-rw-r--r--sysutils/p5-Log-Syslog-Fast/pkg-descr8
-rw-r--r--sysutils/p5-Log-Syslog-Fast/pkg-plist8
4 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/p5-Log-Syslog-Fast/Makefile b/sysutils/p5-Log-Syslog-Fast/Makefile
new file mode 100644
index 000000000000..511c03f42f17
--- /dev/null
+++ b/sysutils/p5-Log-Syslog-Fast/Makefile
@@ -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>
diff --git a/sysutils/p5-Log-Syslog-Fast/distinfo b/sysutils/p5-Log-Syslog-Fast/distinfo
new file mode 100644
index 000000000000..bccbc7d6e119
--- /dev/null
+++ b/sysutils/p5-Log-Syslog-Fast/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Log-Syslog-Fast-0.65.tar.gz) = 3a8a5c64a0314ae90278fb86afcfc1121b89a80e1444ad6f7bf4acb34929363a
+SIZE (Log-Syslog-Fast-0.65.tar.gz) = 33137
diff --git a/sysutils/p5-Log-Syslog-Fast/pkg-descr b/sysutils/p5-Log-Syslog-Fast/pkg-descr
new file mode 100644
index 000000000000..a61be2fc2d74
--- /dev/null
+++ b/sysutils/p5-Log-Syslog-Fast/pkg-descr
@@ -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/
diff --git a/sysutils/p5-Log-Syslog-Fast/pkg-plist b/sysutils/p5-Log-Syslog-Fast/pkg-plist
new file mode 100644
index 000000000000..da023ae6683e
--- /dev/null
+++ b/sysutils/p5-Log-Syslog-Fast/pkg-plist
@@ -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