notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
nmsg Network message encapsulation system
0.15.1_1 net on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.15.1_1Version of this port present on the latest quarterly branch.
Maintainer: truckman@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-08-07 11:03:06
Last Update: 2021-05-31 17:43:49
Commit Hash: 0926031
License: APACHE20
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (81 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/nmsg-0.15.1_1/catalog.mk
  3. /usr/local/share/licenses/nmsg-0.15.1_1/LICENSE
  4. /usr/local/share/licenses/nmsg-0.15.1_1/APACHE20
  5. bin/nmsgtool
  6. include/nmsg.h
  7. include/nmsg/alias.h
  8. include/nmsg/asprintf.h
  9. include/nmsg/base/defs.h
  10. include/nmsg/base/dns.pb-c.h
  11. include/nmsg/base/dnsqr.pb-c.h
  12. include/nmsg/base/dnstap.pb-c.h
  13. include/nmsg/base/email.pb-c.h
  14. include/nmsg/base/encode.pb-c.h
  15. include/nmsg/base/http.pb-c.h
  16. include/nmsg/base/ipconn.pb-c.h
  17. include/nmsg/base/linkpair.pb-c.h
  18. include/nmsg/base/logline.pb-c.h
  19. include/nmsg/base/ncap.pb-c.h
  20. include/nmsg/base/packet.pb-c.h
  21. include/nmsg/base/pkt.pb-c.h
  22. include/nmsg/base/xml.pb-c.h
  23. include/nmsg/chalias.h
  24. include/nmsg/compat.h
  25. include/nmsg/constants.h
  26. include/nmsg/container.h
  27. include/nmsg/filter.h
  28. include/nmsg/fltmod.h
  29. include/nmsg/fltmod_plugin.h
  30. include/nmsg/input.h
  31. include/nmsg/io.h
  32. include/nmsg/ipdg.h
  33. include/nmsg/isc
  34. include/nmsg/message.h
  35. include/nmsg/msgmod.h
  36. include/nmsg/msgmod_plugin.h
  37. include/nmsg/nmsg.pb-c.h
  38. include/nmsg/output.h
  39. include/nmsg/pcap_input.h
  40. include/nmsg/random.h
  41. include/nmsg/rate.h
  42. include/nmsg/res.h
  43. include/nmsg/sock.h
  44. include/nmsg/strbuf.h
  45. include/nmsg/timespec.h
  46. include/nmsg/vendors.h
  47. include/nmsg/version.h
  48. include/nmsg/zbuf.h
  49. lib/libnmsg.a
  50. lib/libnmsg.so
  51. lib/libnmsg.so.6
  52. lib/libnmsg.so.6.1.0
  53. lib/nmsg/nmsg_flt1_sample.so
  54. lib/nmsg/nmsg_msg9_base.so
  55. libdata/pkgconfig/libnmsg.pc
  56. man/man1/nmsgtool.1.gz
  57. share/nmsg/base/dns.proto
  58. share/nmsg/base/dnsqr.proto
  59. share/nmsg/base/dnstap.proto
  60. share/nmsg/base/email.proto
  61. share/nmsg/base/encode.proto
  62. share/nmsg/base/http.proto
  63. share/nmsg/base/ipconn.proto
  64. share/nmsg/base/linkpair.proto
  65. share/nmsg/base/logline.proto
  66. share/nmsg/base/ncap.proto
  67. share/nmsg/base/packet.proto
  68. share/nmsg/base/pkt.proto
  69. share/nmsg/base/xml.proto
  70. share/examples/nmsg/email_client.c
  71. share/examples/nmsg/email_client_postfix.py
  72. share/examples/nmsg/http_client.c
  73. share/examples/nmsg/ipconn_client.c
  74. share/examples/nmsg/nmsg-dnsqr2pcap.c
  75. share/examples/nmsg/nmsg-packet2pcap.c
  76. share/examples/nmsg/nmsg_callback.c
  77. share/examples/nmsg/print_srcip.c
  78. share/examples/nmsg/print_version.c
  79. @owner
  80. @group
  81. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • nmsg>0:net/nmsg
  • For LIB depends:
    • libnmsg.so:net/nmsg
To install the port: cd /usr/ports/net/nmsg/ && make install clean
To add the package, run one of these commands:
  • pkg install net/nmsg
  • pkg install nmsg
PKGNAME: nmsg
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
nmsg
ABIlatestquarterly
FreeBSD:11:aarch640.13.2_10.15.1
FreeBSD:11:amd640.15.1_10.15.1_1
FreeBSD:11:armv60.11.2-
FreeBSD:11:i3860.15.1_10.15.1_1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch640.13.2_10.15.1_1
FreeBSD:12:amd640.15.1_10.15.1_1
FreeBSD:12:armv60.13.2_1-
FreeBSD:12:armv70.13.2_10.15.1
FreeBSD:12:i3860.15.1_10.15.1_1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.15.1
FreeBSD:13:aarch640.15.10.15.1_1
FreeBSD:13:amd640.15.1_10.15.1_1
FreeBSD:13:armv6--
FreeBSD:13:armv70.15.1-
FreeBSD:13:i3860.15.1_10.15.1_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-0.15.1_1
FreeBSD:14:aarch640.15.1_1-
FreeBSD:14:amd640.15.1_1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.15.1_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.15.1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. doxygen : devel/doxygen
  2. xsltproc : textproc/libxslt
  3. docbook-xml>0 : textproc/docbook-xml
  4. docbook-xsl-ns>0 : textproc/docbook-xsl-ns
  5. gmake>=4.3 : devel/gmake
  6. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libprotobuf-c.so : devel/protobuf-c
  2. libxs.so : devel/libxs
  3. libwdns.so : dns/wdns
  4. libyajl.so : devel/yajl
This port is required by:
for Libraries
  1. dns/dnstable-convert
  2. net/axa
  3. net/p5-Net-Nmsg
  4. net/py-pynmsg
  5. net/sie-nmsg

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/truckman/farsight/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/truckman/farsight/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/truckman/farsight/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/truckman/farsight/
  5. https://dl.farsightsecurity.com/dist/nmsg/
Collapse this list.

Number of commits found: 31

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
31 May 2021 17:43:49
 files touched by this commit commit hash:0926031bce42c0b43d56124642b9b36531598b7f  0.15.1_1
truckman search for other commits by this committer
devel/protobuf-c: Bump PORTREVISION of dependent ports

Bump the PORTREVISION of ports that use protobuf-c and bake in the value
of PROTOBUF_C_VERSION*.
Sponsored by:	Farsight Security, Inc.
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.15.1
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.15.1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
30 Jan 2020 04:52:58
Original commit files touched by this commit Revision:524626  0.15.1
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.15.1:

  * Fix output stats collection.

  * Plugins now found by default at $libdir/nmsg instead of lib/nmsg.
    This fixes problem where plugins were not found with recent Debian
    packages built with --libdir configure option (used to install
    libraries in architecture specific directory). And
    ./configure --with-plugindir renamed to --with-pluginsdir.

  * pkgconfig also depend on libprotobuf-c headers (for third-party
    uses of libnmsg with pkgconfig).

Sponsored by:	Farsight Security, Inc.
06 Nov 2019 05:46:47
Original commit files touched by this commit Revision:516861  0.15.0
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.15.0:

 * Added runtime-tunable environment variables NMSG_GRALIAS_FILE and
   NMSG_OPALIAS_FILE.

 * Added compile-time version info to API: NMSG_LIBRARY_VERSION and
   MSG_LIBRARY_VERSION_NUMBER; and runtime functions: nmsg_get_version()
   and nmsg_get_version_number().

 * Ensure nmsg_sock_parse_sockspec() returns an error if an invalid port
   range is supplied.

 * Fixed nmsg_io filtering default policy logic. (Previously, if the final
   filter returned "declined", that result was returned in place of the
   configured default policy.)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
15 Oct 2019 01:45:19
Original commit files touched by this commit Revision:514487  0.14.0
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.14.0:

  * Add periodic stats output to nmsgtool.

  * Add .json suffix to json files output by nmsgtool.

Sponsored by:	Farsight Security, Inc.
26 Jun 2019 18:45:20
Original commit files touched by this commit Revision:505179  0.13.2_2
truckman search for other commits by this committer
Bump PORTREVSION of net/axa and net/nmsg for devel/protobuf-c version
upgrade.  These two ports bake the value of either PROTOBUF_C_VERSION
or PROTOBUF_C_VERSION_NUMBER into their binaries.

Sponsored by:	Farsight Security, Inc.
10 Sep 2018 13:14:52
Original commit files touched by this commit Revision:479406  0.13.2_1
mat search for other commits by this committer
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
15 Aug 2018 17:30:38
Original commit files touched by this commit Revision:477243  0.13.2_1
truckman search for other commits by this committer
Bump PORTREVISION of these devel/protobuf-c because they compile the values
of PROTOBUF_C_VERSION or PROTOBUF_C_VERSION_NUMBER into their code.

Differential Revision:	Farsight Security, Inc.
01 Feb 2018 23:47:49
Original commit files touched by this commit Revision:460650  0.13.2
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.13.2.

  * Restore terminating NUL character in string fields loaded from JSON.

  * Correct display of string fields with missing NUL terminator.

  * Improvements to NUL-termination test cases.

Sponsored by:	Farsight Security, Inc.
26 Oct 2017 10:05:13
Original commit files touched by this commit Revision:452910  0.13.1
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.13.1:

  * Fix crash when formatting empty string fields as JSON.

  * Correct display of empty string fields in presentation output.

  * Remove terminating NUL character in string fields loaded from JSON.

Sponsored by:	Farsight Security, Inc.
27 Feb 2017 20:50:05
Original commit files touched by this commit Revision:434988  0.13.0
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.13.0:

  * Sanitize JSON UTF-8 output. Invalid UTF-8 sequences are replaced
    with the replacement code point U+FFFD.

  * Run msgmod 'load' method when loading a message from raw payload
    or duplicating an existing message.

  * dnstap msgmod: format query_zone in human-readable format.

Sponsored by:	Farsight Security, Inc.
05 Dec 2016 05:57:52
Original commit files touched by this commit Revision:427832  0.12.1
truckman search for other commits by this committer
Upgrade net/nmsg to version 0.12.1:

  nmsg (0.12.1)

    * Revert "Don't leak duplicate XS endpoint string in parsing code."

   -- Farsight Security, Inc. <software@fsi.io>  Mon, 28 Nov 2016 18:52:41 +0000

  nmsg (0.12.0)

   * Add nmsg_message_get_payload_size() to return the size of the
     serialized payload object.

   * Add dnstap message module support. dnstap is a flexible,
     structured event replication format for DNS software.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
30 Apr 2016 06:44:22
Original commit files touched by this commit Revision:414331  0.11.2
truckman search for other commits by this committer
Upgrade nmsg to version 0.11.2:

  * Fix a build failure when building without YAJL support (#47, #49).

  * dnsqr: Also perform query name filtering for UDP_UNSOLICITED_RESPONSE
    messages (#48).

  * dnsqr: Remove 'icmp' from the generated BPF (#20, #50).

  * dnsqr: Only set 'resolver_address_zeroed' field if addresses were zeroed
    from the underlying query/response packet fields (#51). Resolver address
    zeroing only works for the UDP message types, so we were incorrectly
    setting the 'resolver_address_zeroed' field for TCP and ICMP messages.

  * nmsg-dnsqr2pcap: Also dump ICMP and TCP packets (#52).

 -- Robert Edmonds <edmonds@fsi.io>  Fri, 29 Apr 2016 13:37:40 -0400

Sponsored by:	Farsight Security, Inc.
01 Apr 2016 14:16:20
Original commit files touched by this commit Revision:412348  0.11.1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
13 Feb 2016 21:12:06
Original commit files touched by this commit Revision:408828  0.11.1
truckman search for other commits by this committer
Upgrade nmsg to version 0.11.1:

  [ Henry Stern ]
  * Use gmtime_r() instead of gmtime() in JSON and text format generators
    (#46).

  [ Robert Edmonds ]
  * Distribute README.FILTERS.md in release tarballs.

Install README.md and README.FILTERS.md in ${DOCSDIR}

Sponsored by:	Farsight Security, Inc.
03 Feb 2016 02:06:11
Original commit files touched by this commit Revision:407933  0.11.0
truckman search for other commits by this committer
Upgrade net/nmsg to 0.11.0:

nmsg (0.11.0)

  [ Henry Stern ]
  * Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).

  * Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).

  * Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
28 Oct 2015 02:36:18
Original commit files touched by this commit Revision:400369  0.10.0
truckman search for other commits by this committer
Upgrade to nmsg revision 0.10.0.

nmsg (0.10.0)

  [ Henry Stern ]
  * Add JSON input and output support, including new libnmsg functions
    nmsg_input_open_json(), nmsg_output_open_json(), nmsg_message_from_json(),
    and nmsg_message_to_json(); new -j and -J command line options for
    nmsgtool; and new per-field 'format' and 'parse' methods in the msgmod
    plugin API.

  [ Chris Mikkelson ]
  * nmsg_chalias_free(): Check for null aliases list.

Sponsored by:	Farsight Security, Inc.
22 Sep 2015 19:59:10
Original commit files touched by this commit Revision:397581  0.9.1_2
amdmi3 search for other commits by this committer
- No need for EXAMPLES in OPTIONS_DEFAULT
- Fix dependency on docbook-xsl-ns: don't depend on optional documentation file,
fixes build if docbook-xsl-ns was built WITHOUT=DOCS

Approved by:	portmgr blanket
22 Aug 2015 00:56:39
Original commit files touched by this commit Revision:395006  0.9.1_2
truckman search for other commits by this committer
Use option helpers and nuke the FreeBSD 8 binutils workaround.  This
allows the inclusion of bsd.port.options.mk to be eliminated.

Sponsored by:	Farsight Security, Inc.
06 Apr 2015 12:42:40
Original commit files touched by this commit Revision:383421  0.9.1_2
truckman search for other commits by this committer
Add LICENSE_FILE (and bump PORTREVISION).

Convert to use MASTER_SIGHTS_FARSIGHT.

Differential Revision:	https://reviews.freebsd.org/D2236
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
23 Jan 2015 22:50:50
Original commit files touched by this commit Revision:377770  0.9.1_1
antoine search for other commits by this committer
Switch ports depending on docbook* through a directory name to a package name,
as a directory name can't be attributed to a package
10 Jan 2015 21:39:25
Original commit files touched by this commit Revision:376726  0.9.1_1
truckman search for other commits by this committer
MASTER_SITE dl.farsightsecurity.com only allows https downloads.
Mirror the distfile on LOCAL as a http backup for clients that
can't use https. (Suggested by mat@)

Add MANPAGES option (default YES) because generating the man page
adds a significant number of build dependencies.

Add a comment explaining that the DOXYGEN=NO option gets ignored
if doxygen is installed.

Use option helpers (suggested by mat@).

Use PORTDOCS=* to avoid the need to change pkg-plist if doxygen
changes.

Use INSTALL_TARGET=install-strip instead of ${STRIP_CMD}
(suggested by marino@).

Simplify examples installation.

Differential Revision:	https://reviews.freebsd.org/D1484
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
31 Dec 2014 06:45:11
Original commit files touched by this commit Revision:375872  0.9.1_1
antoine search for other commits by this committer
Update devel/doxygen to 1.8.9

PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
15 Dec 2014 21:20:35
Original commit files touched by this commit Revision:374765  0.9.1
pawel search for other commits by this committer
Update to version 0.9.1

ChangeLog:

nmsg (0.9.1)

  * Fix a crash that was caused by incorrect initialization of
    ProtobufCBufferSimple objects.

  * Increase the required verbosity level for several noisy debugging log
    messages in the seqsrc tracking code from 5 (nmsgtool -ddddd) to 6
    (nmsgtool -dddddd).

PR:		195696
Submitted by:	maintainer
22 Nov 2014 14:43:24
Original commit files touched by this commit Revision:373063  0.9.0_1
antoine search for other commits by this committer
Cleanup plist
10 Sep 2014 20:50:37
Original commit files touched by this commit Revision:367888  0.9.0_1
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
18 Aug 2014 14:28:35
Original commit files touched by this commit Revision:365313  0.9.0
wg search for other commits by this committer
net/nmsg: fix build for FreeBSD 8.x

PR:		192771
Submitted by:	maintainer
16 Aug 2014 21:21:14
Original commit files touched by this commit Revision:365139  0.9.0
wg search for other commits by this committer
net/nmsg: update to 0.9.0

PR:		192695
Submitted by:	maintainer
09 Aug 2014 19:39:09
Original commit files touched by this commit Revision:364468  0.8.0_1
antoine search for other commits by this committer
Update devel/doxygen to 1.8.7
Update dependent ports to build with it

Most of work by:	pi@
Exp-run:	self
PR:		ports/190943
07 Aug 2014 11:02:59
Original commit files touched by this commit Revision:364263  0.8.0
marino search for other commits by this committer
Add new port net/nmsg

PR:		190601
Submitted by:	Don Lewis (truckman@)

     ================================================================

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. libnmsg is the reference implementation
of this format and provides an extensible interface for creating and
parsing messages in NMSG format. The NMSG format relies on Google
Protocol Buffers to encode the payload header. Individual NMSG payloads
are distinguished by assigned vendor ID and message type values and
libnmsg provides a modular interface for registering handlers for
specific message types. libnmsg makes it easy to build new message
types using the protobuf-c compiler.

Number of commits found: 31