freebsd-ports/net/nmsg/Makefile
Don Lewis afaf5182eb 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.
2016-04-30 06:44:21 +00:00

58 lines
1.5 KiB
Makefile

# $FreeBSD$
PORTNAME= nmsg
PORTVERSION= 0.11.2
CATEGORIES= net
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
MAINTAINER= truckman@FreeBSD.org
COMMENT= Network message encapsulation system
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \
libxs.so:devel/libxs \
libwdns.so:dns/wdns \
libyajl.so:devel/yajl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake libtool pathfix pkgconfig
CONFIGURE_ARGS= --with-pkgconfigdir='$${exec_prefix}/libdata/pkgconfig'
INSTALL_TARGET= install-strip
PORTDOCS= *
# The DOXYGEN option is best effort.
# If doxygen is installed, it will get used if the option is set to NO.
OPTIONS_DEFINE= DOXYGEN EXAMPLES MANPAGES
OPTIONS_DEFAULT= DOXYGEN MANPAGES
OPTIONS_SUB= yes
CPPFLAGS+= -I${LOCALBASE}/include/yajl
ALL_TARGET= all
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_ALL_TARGET= html-local
DOCBOOK_XML= ${LOCALBASE}/share/xml/docbook/4.2
MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \
docbook-xml>0:textproc/docbook-xml \
docbook-xsl-ns>0:textproc/docbook-xsl-ns
MANPAGES_CONFIGURE_WITH= xsltproc
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README.md README.FILTERS.md \
${STAGEDIR}${DOCSDIR}
post-install-DOXYGEN-on:
(cd ${WRKSRC}/doc/doxygen && \
${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && \
${INSTALL_DATA} *.c *.py ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>