Index: head/net/ndpi/Makefile =================================================================== --- head/net/ndpi/Makefile (revision 495520) +++ head/net/ndpi/Makefile (revision 495521) @@ -1,52 +1,52 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= ndpi -PORTVERSION= 2.6.d20181221 +PORTVERSION= 2.8.d20190301 PORTEPOCH= 1 CATEGORIES= net MAINTAINER= madpilot@FreeBSD.org COMMENT= NTOP-maintained superset of the popular OpenDPI library LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-c.so:devel/json-c USES= autoreconf compiler:c++11-lang libtool localbase:ldflags pathfix \ pkgconfig USE_LDCONFIG= yes CONFIGURE_ARGS= --with-pic CPPFLAGS+= -I${LOCALBASE}/include/json-c LIBS+= -ljson-c GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= ntop GH_PROJECT= nDPI -GH_TAGNAME= 7759f12 +GH_TAGNAME= 1b2931e PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} VER=${PORTVERSION:R} post-patch: (cd ${WRKSRC} && ${SH} autogen.sh) post-configure: @${REINPLACE_CMD} -e 's/#define PACKAGE/#define NDPI_PACKAGE/g' \ -e 's/#define VERSION/#define NDPI_VERSION/g' \ ${WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libndpi.so.${PORTVERSION:R}.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ndpiReader ${RM} ${STAGEDIR}${PREFIX}/lib/libndpi.so \ ${STAGEDIR}${PREFIX}/lib/libndpi.so.${PORTVERSION:R:R} ${RLN} ${STAGEDIR}${PREFIX}/lib/libndpi.so.${PORTVERSION:R}.0 \ ${STAGEDIR}${PREFIX}/lib/libndpi.so ${RLN} ${STAGEDIR}${PREFIX}/lib/libndpi.so.${PORTVERSION:R}.0 \ ${STAGEDIR}${PREFIX}/lib/libndpi.so.${PORTVERSION:R:R} .include Index: head/net/ndpi/distinfo =================================================================== --- head/net/ndpi/distinfo (revision 495520) +++ head/net/ndpi/distinfo (revision 495521) @@ -1,3 +1,3 @@ -TIMESTAMP = 1545486152 -SHA256 (ntop-nDPI-2.6.d20181221-7759f12_GH0.tar.gz) = fbbdf6ed3b1fbe8fcda271f683e3a53cca09c75a84ff43bd081aae530320f201 -SIZE (ntop-nDPI-2.6.d20181221-7759f12_GH0.tar.gz) = 19754891 +TIMESTAMP = 1552406963 +SHA256 (ntop-nDPI-2.8.d20190301-1b2931e_GH0.tar.gz) = b5b3530e3c65d431828624f2f48a7329522f9e9b01178b013b887a2b9efd87ed +SIZE (ntop-nDPI-2.8.d20190301-1b2931e_GH0.tar.gz) = 19754241 Index: head/net/ndpi/files/patch-src_lib_ndpi__main.c =================================================================== --- head/net/ndpi/files/patch-src_lib_ndpi__main.c (nonexistent) +++ head/net/ndpi/files/patch-src_lib_ndpi__main.c (revision 495521) @@ -0,0 +1,13 @@ +--- src/lib/ndpi_main.c.orig 2019-03-01 17:04:18 UTC ++++ src/lib/ndpi_main.c +@@ -41,6 +41,10 @@ + #include + #endif + ++#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ ++#include ++#endif ++ + #include "ndpi_content_match.c.inc" + #include "third_party/include/ndpi_patricia.h" + #include "third_party/include/ht_hash.h" Property changes on: head/net/ndpi/files/patch-src_lib_ndpi__main.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/ndpi/files/patch-src_lib_protocols_quic.c =================================================================== --- head/net/ndpi/files/patch-src_lib_protocols_quic.c (nonexistent) +++ head/net/ndpi/files/patch-src_lib_protocols_quic.c (revision 495521) @@ -0,0 +1,13 @@ +--- src/lib/protocols/quic.c.orig 2019-03-01 17:04:18 UTC ++++ src/lib/protocols/quic.c +@@ -22,6 +22,10 @@ + * + */ + ++#if defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ ++#include ++#endif ++ + #include "ndpi_protocol_ids.h" + + #define NDPI_CURRENT_PROTO NDPI_PROTOCOL_QUIC Property changes on: head/net/ndpi/files/patch-src_lib_protocols_quic.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/ntopng/Makefile =================================================================== --- head/net/ntopng/Makefile (revision 495520) +++ head/net/ntopng/Makefile (revision 495521) @@ -1,61 +1,61 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= ntopng -PORTVERSION= 3.8.d20190111 +PORTVERSION= 3.8.d20190301 PORTEPOCH= 1 CATEGORIES= net MAINTAINER= madpilot@FreeBSD.org COMMENT= Network monitoring tool with command line and web interfaces LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= librrd.so:databases/rrdtool \ libzmq.so:net/libzmq4 \ libcurl.so:ftp/curl \ libndpi.so:net/ndpi \ libjson-c.so:devel/json-c \ libsodium.so:security/libsodium \ libmaxminddb.so:net/libmaxminddb BUILD_DEPENDS= bash:shells/bash USES= autoreconf compiler:c++11-lang cpe gmake libtool localbase \ mysql pathfix pkgconfig shebangfix sqlite ssl SUB_FILES= ntopng-geoip2update.sh pkg-deinstall SHEBANG_FILES= httpdocs/misc/ntopng-add-user.sh \ httpdocs/misc/ntopng-utils-manage-config.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ndpi-includes=${LOCALBASE}/include/ndpi USERS= ntopng GROUPS= ntopng PLIST_SUB= NTOPNGUSER="${USERS}" NTOPNGROUP="${GROUPS}" USE_GITHUB= yes GH_ACCOUNT= ntop -GH_TAGNAME= 3c2d3bf +GH_TAGNAME= b287827 CPE_VENDOR= ntop OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext USE_RC_SUBR= ntopng post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure.seed cd ${WRKSRC} && ${SH} autogen.sh post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ntopng ${MKDIR} ${STAGEDIR}/var/db/ntopng ${INSTALL_SCRIPT} ${WRKDIR}/ntopng-geoip2update.sh ${STAGEDIR}${PREFIX}/bin .include Index: head/net/ntopng/distinfo =================================================================== --- head/net/ntopng/distinfo (revision 495520) +++ head/net/ntopng/distinfo (revision 495521) @@ -1,3 +1,3 @@ -TIMESTAMP = 1547564923 -SHA256 (ntop-ntopng-3.8.d20190111-3c2d3bf_GH0.tar.gz) = 1da7581a66fdd405574d0f914ed319c90d15c6e7886e14973c32ebc6ba0b35d1 -SIZE (ntop-ntopng-3.8.d20190111-3c2d3bf_GH0.tar.gz) = 33912860 +TIMESTAMP = 1552407041 +SHA256 (ntop-ntopng-3.8.d20190301-b287827_GH0.tar.gz) = 67d906d00df4006f38b9fe1ad988ae16c4fed3e9b803c699bee6d7afbb066c05 +SIZE (ntop-ntopng-3.8.d20190301-b287827_GH0.tar.gz) = 33913151 Index: head/net/ntopng/pkg-descr =================================================================== --- head/net/ntopng/pkg-descr (revision 495520) +++ head/net/ntopng/pkg-descr (revision 495521) @@ -1,5 +1,5 @@ -ntopng is a new generation flexible and feature-rich tool for monitoring and +ntopng is a new generation flexible and feature-rich tool for monitoring and troubleshooting local area networks. It provides command line and web interfaces, the latter via an embedded web server. ntop is based on libpcap. WWW: https://www.ntop.org/products/traffic-analysis/ntop/