summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-09 18:19:46 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-09-09 18:19:46 +0000
commit73d68e732cab3ed92713f90fb357889353b90509 (patch)
tree795e6dd206f425516646ac3927fa89367f06f1b7 /net-mgmt
parent- Add p5-SOAP-Transport-HTTP-Plack 0.03 (diff)
- Add p5-GRNOC-Config 1.0.9
A module to allow everyone to access config files in a fairly standard way. Uses XML::XPath and XML::Simple to parse our XML files, and stores all configs it has access to in this module. WWW: http://www.sourceforge.net/projects/routerproxy PR: ports/178516 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
Notes
Notes: svn path=/head/; revision=326832
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-GRNOC-Config/Makefile28
-rw-r--r--net-mgmt/p5-GRNOC-Config/distinfo2
-rw-r--r--net-mgmt/p5-GRNOC-Config/pkg-descr5
4 files changed, 36 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 138c71e825e2..3cefa9c2199a 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -202,6 +202,7 @@
SUBDIR += p5-FusionInventory-Agent
SUBDIR += p5-FusionInventory-Agent-Task-NetDiscovery
SUBDIR += p5-FusionInventory-Agent-Task-SNMPQuery
+ SUBDIR += p5-GRNOC-Config
SUBDIR += p5-GRNOC-TL1
SUBDIR += p5-MRTG-Parse
SUBDIR += p5-Mon
diff --git a/net-mgmt/p5-GRNOC-Config/Makefile b/net-mgmt/p5-GRNOC-Config/Makefile
new file mode 100644
index 000000000000..4b306521f2e1
--- /dev/null
+++ b/net-mgmt/p5-GRNOC-Config/Makefile
@@ -0,0 +1,28 @@
+# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
+# $FreeBSD$
+
+PORTNAME= GRNOC-Config
+PORTVERSION= 1.0.9
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= SF/routerproxy/${PORTNAME}
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= 5u623l20@gmail.com
+COMMENT= Module to allow everyone to access config files
+
+BUILD_DEPENDS= p5-XML-LibXML>=2:${PORTSDIR}/textproc/p5-XML-LibXML \
+ p5-XML-XPath>=1:${PORTSDIR}/textproc/p5-XML-XPath \
+ p5-XML-Simple>=2:${PORTSDIR}/textproc/p5-XML-Simple
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_PERL5= configure
+USES= perl5
+
+MAN3= GRNOC::Config.3
+PLIST_FILES= %%SITE_PERL%%/GRNOC/Config.pm \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/GRNOC/Config/.packlist
+PLIST_DIRSTRY= %%SITE_PERL%%/%%PERL_ARCH%%/auto/GRNOC/Config \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/GRNOC \
+ %%SITE_PERL%%/GRNOC
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-GRNOC-Config/distinfo b/net-mgmt/p5-GRNOC-Config/distinfo
new file mode 100644
index 000000000000..d68a3a4c920f
--- /dev/null
+++ b/net-mgmt/p5-GRNOC-Config/distinfo
@@ -0,0 +1,2 @@
+SHA256 (GRNOC-Config-1.0.9.tar.gz) = b49942acc317d578b81208f615a27f84abc29fe6da0b1e63b6220d1c6642b927
+SIZE (GRNOC-Config-1.0.9.tar.gz) = 7746
diff --git a/net-mgmt/p5-GRNOC-Config/pkg-descr b/net-mgmt/p5-GRNOC-Config/pkg-descr
new file mode 100644
index 000000000000..2638b960f6c8
--- /dev/null
+++ b/net-mgmt/p5-GRNOC-Config/pkg-descr
@@ -0,0 +1,5 @@
+A module to allow everyone to access config files in a fairly standard
+way. Uses XML::XPath and XML::Simple to parse our XML files, and
+stores all configs it has access to in this module.
+
+WWW: http://www.sourceforge.net/projects/routerproxy