svn commit: r372158 - in head/net: . p5-Net-Nmsg
John Marino
marino at FreeBSD.org
Tue Nov 4 17:45:55 UTC 2014
Author: marino
Date: Tue Nov 4 17:45:53 2014
New Revision: 372158
URL: https://svnweb.freebsd.org/changeset/ports/372158
QAT: https://qat.redports.org/buildarchive/r372158/
Log:
Add new port net/p5-Net-Nmsg
PR: 194276
Submitted by: Don Lewis
Net::Nmsg is a perl binding to libnmsg, the reference implementation of
the NMSG binary structured message interchange format. The NMSG
documentation describes the format as:
The NMSG format is an efficient encoding of typed, structured data
into payloads which are packed into containers which can be
transmitted over the network or stored to disk. Each payload is
associated with a specific message schema. Modules implementing a
certain message schema along with functionality to convert between
binary and presentation formats can be loaded at runtime by libnmsg.
nmsgtool provides a command line interface to control the
transmission, storage, creation, and conversion of NMSG payloads.
Added:
head/net/p5-Net-Nmsg/
head/net/p5-Net-Nmsg/Makefile (contents, props changed)
head/net/p5-Net-Nmsg/distinfo (contents, props changed)
head/net/p5-Net-Nmsg/pkg-descr (contents, props changed)
head/net/p5-Net-Nmsg/pkg-plist (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Tue Nov 4 17:33:47 2014 (r372157)
+++ head/net/Makefile Tue Nov 4 17:45:53 2014 (r372158)
@@ -594,6 +594,7 @@
SUBDIR += p5-Net-NIS
SUBDIR += p5-Net-NIS-Listgroup
SUBDIR += p5-Net-Nessus-XMLRPC
+ SUBDIR += p5-Net-Nmsg
SUBDIR += p5-Net-OAuth
SUBDIR += p5-Net-OAuth-Simple
SUBDIR += p5-Net-OAuth2
Added: head/net/p5-Net-Nmsg/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Net-Nmsg/Makefile Tue Nov 4 17:45:53 2014 (r372158)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= Net-Nmsg
+PORTVERSION= 0.12
+CATEGORIES= net perl5
+MASTER_SITES= https://tools.netsa.cert.org/confluence/download/attachments/12320770/ \
+ http://tools.netsa.cert.org/confluence/download/attachments/12320770/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= truckman at FreeBSD.org
+COMMENT= Net::Nmsg is a perl binding to libnmsg
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libnmsg.so:${PORTSDIR}/net/nmsg
+RUN_DEPENDS= p5-Math-Int64>=0:${PORTSDIR}/math/p5-Math-Int64 \
+ p5-NetAddr-IP>=0:${PORTSDIR}/net-mgmt/p5-NetAddr-IP
+
+USES= perl5
+MAKE_JOBS_UNSAFE= yes
+USE_PERL5= configure
+
+OPTIONS_DEFINE= EXAMPLES
+
+PORTEXAMPLES= *
+
+.include <bsd.port.options.mk>
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/Nmsg/Nmsg.so
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+.endif
+
+.include <bsd.port.mk>
Added: head/net/p5-Net-Nmsg/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Net-Nmsg/distinfo Tue Nov 4 17:45:53 2014 (r372158)
@@ -0,0 +1,2 @@
+SHA256 (Net-Nmsg-0.12.tar.gz) = 2370d1f98776d1bb40773c25093886ab8ebc480b4a25dd1450e4dfe27fdf2089
+SIZE (Net-Nmsg-0.12.tar.gz) = 89847
Added: head/net/p5-Net-Nmsg/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Net-Nmsg/pkg-descr Tue Nov 4 17:45:53 2014 (r372158)
@@ -0,0 +1,14 @@
+Net::Nmsg is a perl binding to libnmsg, the reference implementation of
+the NMSG binary structured message interchange format. The NMSG
+documentation describes the format as:
+
+ The NMSG format is an efficient encoding of typed, structured data
+ into payloads which are packed into containers which can be
+ transmitted over the network or stored to disk. Each payload is
+ associated with a specific message schema. Modules implementing a
+ certain message schema along with functionality to convert between
+ binary and presentation formats can be loaded at runtime by libnmsg.
+ nmsgtool provides a command line interface to control the
+ transmission, storage, creation, and conversion of NMSG payloads.
+
+WWW: https://tools.netsa.cert.org/confluence/display/tt/Net-Nmsg
Added: head/net/p5-Net-Nmsg/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Net-Nmsg/pkg-plist Tue Nov 4 17:45:53 2014 (r372158)
@@ -0,0 +1,17 @@
+%%PERL5_MAN3%%/Net::Nmsg.3.gz
+%%PERL5_MAN3%%/Net::Nmsg::IO.3.gz
+%%PERL5_MAN3%%/Net::Nmsg::Input.3.gz
+%%PERL5_MAN3%%/Net::Nmsg::Msg.3.gz
+%%PERL5_MAN3%%/Net::Nmsg::Output.3.gz
+%%PERL5_MAN3%%/Net::Nmsg::Util.3.gz
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Handle.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/IO.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Input.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Layer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Msg.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Output.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Typemap.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Nmsg/Util.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Nmsg/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Nmsg/Nmsg.so
More information about the svn-ports-all
mailing list