aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-01-06 23:12:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-01-06 23:12:02 +0800
commit63ae9d112cb65aaf24ec3f8c4d36a6b668eb025e (patch)
treef7990a836d6a7182eb89db1e3b9998902fd0d680 /net-mgmt
parentd6a524a9752ec8782a24258f884d7be8ca39d90a (diff)
downloadfreebsd-ports-gnome-63ae9d112cb65aaf24ec3f8c4d36a6b668eb025e.tar.gz
freebsd-ports-gnome-63ae9d112cb65aaf24ec3f8c4d36a6b668eb025e.tar.zst
freebsd-ports-gnome-63ae9d112cb65aaf24ec3f8c4d36a6b668eb025e.zip
- Add p5-Net-SNMPTrapd 0.12
- While I'm here, add LICENSE The Net::SNMPTrapd module implements an SNMP Trap Listener. WWW: http://search.cpan.org/dist/Net-SNMPTrapd/ PR: ports/185418 Submitted by: Hung-Yi Chen <gaod@hychen.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Net-SNMPTrapd/Makefile23
-rw-r--r--net-mgmt/p5-Net-SNMPTrapd/distinfo2
-rw-r--r--net-mgmt/p5-Net-SNMPTrapd/pkg-descr3
-rw-r--r--net-mgmt/p5-Net-SNMPTrapd/pkg-plist7
5 files changed, 36 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 460ba9b3616d..1d4b11293395 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -228,6 +228,7 @@
SUBDIR += p5-Net-Netmask
SUBDIR += p5-Net-SNMP
SUBDIR += p5-Net-SNMP-Util
+ SUBDIR += p5-Net-SNMPTrapd
SUBDIR += p5-Net-Telnet-Cisco-IOS
SUBDIR += p5-NetAddr-IP
SUBDIR += p5-NetAddr-IP-Lite
diff --git a/net-mgmt/p5-Net-SNMPTrapd/Makefile b/net-mgmt/p5-Net-SNMPTrapd/Makefile
new file mode 100644
index 000000000000..c2c0e2f262e8
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMPTrapd/Makefile
@@ -0,0 +1,23 @@
+# Created by: Hung-Yi Chen <gaod@hychen.org>
+# $FreeBSD$
+
+PORTNAME= Net-SNMPTrapd
+PORTVERSION= 0.12
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gaod@hychen.org
+COMMENT= SNMP Trap Listener in Perl
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Convert-ASN1>=0.22:${PORTSDIR}/converters/p5-Convert-ASN1 \
+ p5-IO-Socket-IP>=0:${PORTSDIR}/net/p5-IO-Socket-IP
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Net-SNMPTrapd/distinfo b/net-mgmt/p5-Net-SNMPTrapd/distinfo
new file mode 100644
index 000000000000..fb8885b6f096
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMPTrapd/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-SNMPTrapd-0.12.tar.gz) = c3ce863618583153b1133168b8c809501bcf7111236b35447e4803e2ca41f4ae
+SIZE (Net-SNMPTrapd-0.12.tar.gz) = 15692
diff --git a/net-mgmt/p5-Net-SNMPTrapd/pkg-descr b/net-mgmt/p5-Net-SNMPTrapd/pkg-descr
new file mode 100644
index 000000000000..6f92a9aecc66
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMPTrapd/pkg-descr
@@ -0,0 +1,3 @@
+The Net::SNMPTrapd module implements an SNMP Trap Listener.
+
+WWW: http://search.cpan.org/dist/Net-SNMPTrapd/
diff --git a/net-mgmt/p5-Net-SNMPTrapd/pkg-plist b/net-mgmt/p5-Net-SNMPTrapd/pkg-plist
new file mode 100644
index 000000000000..bd41d0d2dc9a
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMPTrapd/pkg-plist
@@ -0,0 +1,7 @@
+bin/snmptrapd-simple.pl
+bin/snmptrapd-sendtest.pl
+%%SITE_PERL%%/Net/SNMPTrapd.pm
+%%PERL5_MAN3%%/Net::SNMPTrapd.3.gz
+man/man1/snmptrapd-sendtest.pl.1.gz
+man/man1/snmptrapd-simple.pl.1.gz
+@dirrmtry %%SITE_PERL%%/Net