From 65f913c108363456e7c9a0194946d8eb6cc8fcc2 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sat, 7 Aug 2021 17:18:49 +0200 Subject: net/ndpi: Update to 4.0 branch --- net/ndpi/Makefile | 5 ++--- net/ndpi/distinfo | 6 +++--- net/ndpi/files/patch-autogen.sh | 7 ++++--- net/ndpi/pkg-plist | 3 +++ 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/net/ndpi/Makefile b/net/ndpi/Makefile index c0d96b798e26..c863a81585ec 100644 --- a/net/ndpi/Makefile +++ b/net/ndpi/Makefile @@ -1,8 +1,7 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> PORTNAME= ndpi -PORTVERSION= 3.4.d20201222 -PORTREVISION= 1 +PORTVERSION= 4.0.d20210726 PORTEPOCH= 1 CATEGORIES= net @@ -30,7 +29,7 @@ INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= ntop GH_PROJECT= nDPI -GH_TAGNAME= 75898a4 +GH_TAGNAME= b8806bd PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} VER=${PORTVERSION:R} diff --git a/net/ndpi/distinfo b/net/ndpi/distinfo index d33225dc8b5e..9ddb9eebaee3 100644 --- a/net/ndpi/distinfo +++ b/net/ndpi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1609190628 -SHA256 (ntop-nDPI-3.4.d20201222-75898a4_GH0.tar.gz) = 336c4435175092c9c9017cccac0915a7ffcdff8e1aa5abb837bafcd9458a9c9a -SIZE (ntop-nDPI-3.4.d20201222-75898a4_GH0.tar.gz) = 37976155 +TIMESTAMP = 1628331948 +SHA256 (ntop-nDPI-4.0.d20210726-b8806bd_GH0.tar.gz) = a4f35d99c8b4630ef721a246ecf956380f163d8b795933db084af4ca84c64640 +SIZE (ntop-nDPI-4.0.d20210726-b8806bd_GH0.tar.gz) = 120053100 diff --git a/net/ndpi/files/patch-autogen.sh b/net/ndpi/files/patch-autogen.sh index 8a697085aff8..4cc3f7b8b68e 100644 --- a/net/ndpi/files/patch-autogen.sh +++ b/net/ndpi/files/patch-autogen.sh @@ -1,6 +1,6 @@ ---- autogen.sh.orig 2020-10-19 14:18:25 UTC +--- autogen.sh.orig 2021-07-26 07:42:48 UTC +++ autogen.sh -@@ -5,46 +5,6 @@ NDPI_MINOR="4" +@@ -5,46 +5,6 @@ NDPI_MINOR="0" NDPI_PATCH="0" NDPI_VERSION_SHORT="$NDPI_MAJOR.$NDPI_MINOR.$NDPI_PATCH" @@ -47,7 +47,7 @@ cat configure.seed | sed \ -e "s/@NDPI_MAJOR@/$NDPI_MAJOR/g" \ -e "s/@NDPI_MINOR@/$NDPI_MINOR/g" \ -@@ -52,11 +12,3 @@ cat configure.seed | sed \ +@@ -52,12 +12,3 @@ cat configure.seed | sed \ -e "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" \ -e "s/@FUZZY@/$FUZZY/g" \ > configure.ac @@ -56,6 +56,7 @@ -cat configure | sed "s/#define PACKAGE/#define NDPI_PACKAGE/g" | sed "s/#define VERSION/#define NDPI_VERSION/g" > configure.tmp -cat configure.tmp > configure - +-echo "./configure $@" -chmod +x configure -./configure $@ - diff --git a/net/ndpi/pkg-plist b/net/ndpi/pkg-plist index cacd192a56db..b16b93502e74 100644 --- a/net/ndpi/pkg-plist +++ b/net/ndpi/pkg-plist @@ -3,13 +3,16 @@ include/ndpi/ndpi_api.h include/ndpi/ndpi_classify.h include/ndpi/ndpi_config.h include/ndpi/ndpi_define.h +include/ndpi/ndpi_encryption.h include/ndpi/ndpi_includes.h include/ndpi/ndpi_includes_OpenBSD.h include/ndpi/ndpi_main.h +include/ndpi/ndpi_patricia_typedefs.h include/ndpi/ndpi_protocol_ids.h include/ndpi/ndpi_protocols.h include/ndpi/ndpi_typedefs.h include/ndpi/ndpi_unix.h +include/ndpi/ndpi_utils.h include/ndpi/ndpi_win32.h lib/libndpi.a lib/libndpi.so -- cgit v1.2.3