git: bd4c7b6fbf36 - main - net/ndpi: Update to new stable branch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Dec 2024 16:16:38 UTC
The branch main has been updated by madpilot:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd4c7b6fbf364dd8451439486b3f977a32ae8fc6
commit bd4c7b6fbf364dd8451439486b3f977a32ae8fc6
Author: Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-12-22 16:15:31 +0000
Commit: Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-12-22 16:16:34 +0000
net/ndpi: Update to new stable branch
---
net/ndpi/Makefile | 4 ++--
net/ndpi/distinfo | 6 +++---
net/ndpi/files/patch-example_Makefile.in | 13 +++++++------
3 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/net/ndpi/Makefile b/net/ndpi/Makefile
index b7e66d6a7c41..315130aa477e 100644
--- a/net/ndpi/Makefile
+++ b/net/ndpi/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ndpi
-PORTVERSION= 4.10.d20240807
+PORTVERSION= 4.12.d20241217
PORTEPOCH= 1
CATEGORIES= net
@@ -30,7 +30,7 @@ INSTALL_TARGET= install-strip
USE_GITHUB= yes
GH_ACCOUNT= ntop
GH_PROJECT= nDPI
-GH_TAGNAME= b07d0ae
+GH_TAGNAME= b4455a0
PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} VER=${PORTVERSION:R}
diff --git a/net/ndpi/distinfo b/net/ndpi/distinfo
index bba61143de7e..25ffac8d3b27 100644
--- a/net/ndpi/distinfo
+++ b/net/ndpi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1723128522
-SHA256 (ntop-nDPI-4.10.d20240807-b07d0ae_GH0.tar.gz) = 5810013650d53505c39a8f0ef695b681d8cfbf65198511397f7cff52a31df8a1
-SIZE (ntop-nDPI-4.10.d20240807-b07d0ae_GH0.tar.gz) = 38579260
+TIMESTAMP = 1734879291
+SHA256 (ntop-nDPI-4.12.d20241217-b4455a0_GH0.tar.gz) = c8384e2c2972f54d35bca4757ebc98f8090b3a878cd745a56f57f93d1ab0ffb1
+SIZE (ntop-nDPI-4.12.d20241217-b4455a0_GH0.tar.gz) = 47562576
diff --git a/net/ndpi/files/patch-example_Makefile.in b/net/ndpi/files/patch-example_Makefile.in
index d0051b797c65..9236fd15c5c5 100644
--- a/net/ndpi/files/patch-example_Makefile.in
+++ b/net/ndpi/files/patch-example_Makefile.in
@@ -1,4 +1,4 @@
---- example/Makefile.in.orig 2024-08-07 09:36:14 UTC
+--- example/Makefile.in.orig 2024-12-17 13:59:14 UTC
+++ example/Makefile.in
@@ -1,57 +1,28 @@ CXX=@CXX@
AR=@AR@
@@ -18,8 +18,8 @@
-ifneq ($(OS),Windows_NT)
-CFLAGS+=-fPIC -DPIC
-endif
--CFLAGS+=-I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@
-+CFLAGS+=-fPIC -DPIC -I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@
+-CFLAGS+=-I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@ @CUSTOM_NDPI@
++CFLAGS+=-fPIC -DPIC -I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@ @CUSTOM_NDPI@
LDFLAGS+=@NDPI_LDFLAGS@
LIBNDPI=$(SRCHOME)/lib/libndpi.a
LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@
@@ -61,7 +61,7 @@
libndpiReader.a: $(COMMON_SOURCES:%.c=%.o) $(LIBNDPI)
$(AR) rsv libndpiReader.a $(COMMON_SOURCES:%.c=%.o)
-@@ -67,10 +38,10 @@ install: ndpiReader$(EXE_SUFFIX)
+@@ -67,10 +38,11 @@ install: ndpiReader$(EXE_SUFFIX)
install: ndpiReader$(EXE_SUFFIX)
mkdir -p $(DESTDIR)$(PREFIX)/bin/
@@ -70,8 +70,9 @@
cp ndpiReader$(EXE_SUFFIX) $(DESTDIR)$(PREFIX)/bin/
- cp protos.txt $(DESTDIR)$(PREFIX)/share/ndpi/ndpiProtos.txt
- cp mining_hosts.txt $(DESTDIR)$(PREFIX)/share/ndpi/ndpiCustomCategory.txt
-+ cp protos.txt $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)//ndpiProtos.txt
-+ cp mining_hosts.txt $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)//ndpiCustomCategory.txt
++ cp protos.txt $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/ndpiProtos.txt
++ cp mining_hosts.txt $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/ndpiCustomCategory.txt
++
[ -f ndpiSimpleIntegration$(EXE_SUFFIX) ] && cp ndpiSimpleIntegration$(EXE_SUFFIX) $(DESTDIR)$(PREFIX)/bin/ndpiSimpleIntegration$(EXE_SUFFIX) || true
[ -f build/app/ndpiReader.dpdk ] && cp build/app/ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/ || true
[ -f ndpiReader.dpdk ] && cp ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/ || true