Bug 194276 - [new port] net/p5-Net-Nmsg
Summary: [new port] net/p5-Net-Nmsg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 18:12 UTC by Don Lewis
Modified: 2014-11-04 17:48 UTC (History)
1 user (show)

See Also:


Attachments
shar file containing Makefile, distinfo, pkg-descr, pkg-plist for net/p5-Net-Nmsg (3.54 KB, text/plain)
2014-10-09 18:12 UTC, Don Lewis
no flags Details
updated shar file containing Makefile, distinfo, pkg-descr, pkg-plist for net/p5-Net-Nmsg (3.50 KB, text/plain)
2014-11-03 20:03 UTC, Don Lewis
no flags Details
requested poudriere build log (20.90 KB, text/plain)
2014-11-03 20:10 UTC, Don Lewis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer 2014-10-09 18:12:10 UTC
Created attachment 148147 [details]
shar file containing Makefile, distinfo, pkg-descr, pkg-plist for net/p5-Net-Nmsg

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
Comment 1 John Marino freebsd_committer 2014-10-31 19:25:53 UTC
this is unnecessary: 

X.if ${PORT_OPTIONS:MEXAMPLES}
XPORTEXAMPLES=	*
X.endif

just define PORTEXAMPLES unconditionally above the include <options> line.

A poudriere test log would be nice too (although I'd let you slide on this)
Comment 2 Don Lewis freebsd_committer 2014-11-03 20:03:28 UTC
Created attachment 148998 [details]
updated shar file containing Makefile, distinfo, pkg-descr, pkg-plist for net/p5-Net-Nmsg

In the past I've run into problems with using a wildcard with PORTEXAMPLES and/or PORTDATA (but never PORTDOCS) unless I used a .if wrapper.  It might have been order dependent, but I've never seen the order vs. the .include documented, and portlint doesn't complain about either ordering.

Since this seems to be working without the wrapper and in the order you suggest, update the shar file with the simpler Makefile.
Comment 3 Don Lewis freebsd_committer 2014-11-03 20:10:08 UTC
Created attachment 148999 [details]
requested poudriere build log
Comment 4 John Marino freebsd_committer 2014-11-03 20:36:05 UTC
This looks good now; I'm promoting it to the patch-ready pool.  Thanks!
Comment 5 commit-hook freebsd_committer 2014-11-04 17:46:50 UTC
A commit references this bug:

Author: marino
Date: Tue Nov  4 17:45:55 UTC 2014
New revision: 372158
URL: https://svnweb.freebsd.org/changeset/ports/372158

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.

Changes:
  head/net/Makefile
  head/net/p5-Net-Nmsg/
  head/net/p5-Net-Nmsg/Makefile
  head/net/p5-Net-Nmsg/distinfo
  head/net/p5-Net-Nmsg/pkg-descr
  head/net/p5-Net-Nmsg/pkg-plist
Comment 6 John Marino freebsd_committer 2014-11-04 17:48:29 UTC
Thanks, the poudriere log came in handy.

I started building it myself just to be thorough but got disheartened when texlive got pulled in and started to build.  It's still building now. :)