From nobody Thu Aug 08 20:13:43 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wfysz6RZ3z5S9Nr; Thu, 08 Aug 2024 20:13:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wfysz5qQMz4rnn; Thu, 8 Aug 2024 20:13:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723148023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=joUC3zWZXiG/38iLKRnjsmqh1jjAIGY9NteTLCGqlV4=; b=yEF+GNsyojMYhbU5J0nwinZ5sfdxoimP8/sOxKwM0tzDvB4DuTCfsFJUiO/uxx+nMKifnV FT+QoF6x4gxxgs/NYdu6etP07joncjSxdk8gqKS3WlLxPj5Gj5k3Nn6V2eBJpPUWxKG8o3 nvzYbS160BqDKqeY5wkTe8fLS3Wjx/Xh5rajDaQKJEUDimGW/wYye8chGwNgokXJ6sthSZ DJAmsKFj2hviNYk7zIrl3DoXDaiirw33kipgteuw8NY4zTpRnbYcXc7igm3zD2jxdmipm7 CO6iqocNlsAKCEB3PTaortkXEG/j2oyxMjeyqLhCZ2zLvm72uv6BPA7LXk+qQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723148023; a=rsa-sha256; cv=none; b=y3yeV5b+Q0x/0483eBnWzlexKoznBuN348xF4n3uW7Zk36y8/ilrhhtRWen0NAu+iNTVCa Shw/FW1kxJFBG3HG3nWAk499QWyj4AL/wrbjwyniI2UzvCXXaNYHqlAv8Nf7qNQOWAFOOy CpK668TnZ0pnKj5ENKurn+JsGmladfb3I1exrQj9ag/5xyg/IS2bj+LvNbmZPYEUUo37s3 OFzbC/Bc7OSkU4OUeL/xDlr5RbRsKhBcOEJ1S0MRr2Hte8E3/pvjswQXIgI8IrSLtOhXYt x+V6+f5fEcYaAl7bXla4MZ/JoVqhxQZx6UoZjWUsDt7t2EyVLsHY0g9n8ZbtRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723148023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=joUC3zWZXiG/38iLKRnjsmqh1jjAIGY9NteTLCGqlV4=; b=WYx9gereakngrb7RaXVL7kq1qqpnY5YNL3gXvBs8WlySpy4/JJO1va/feaNiCCiDM8UImX Iqk1iVbZ3W/rT0aSL/WcdaxQQQ1CuOf73F2k7tnNTv0totRVKzbcv01dKGHH/pW2pUQKiD L+I3K29oZqlfssT6wm2C8/s3cd5njadkL5EGR10AczoN4qFypRiWw2Uz3BFeF/RkHQzYP1 y47cBsjSowcEsVJS2Rsjt+MXlpq+Xd69SnEb2meTcDa9/m6dgfpkCWt0QHbHF4lxbj8ixt Lv/AZ2aKldXoTOoGFvYWdQd4bY3lzSxu80Qi9boihxRCOtRo48gGvfEdCRFvJg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wfysz5Q4DzncV; Thu, 8 Aug 2024 20:13:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 478KDhnl033957; Thu, 8 Aug 2024 20:13:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 478KDhrX033953; Thu, 8 Aug 2024 20:13:43 GMT (envelope-from git) Date: Thu, 8 Aug 2024 20:13:43 GMT Message-Id: <202408082013.478KDhrX033953@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 602397561782 - main - net/ndpi: Update to new 4.10 version latest commit List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 602397561782f953764bf3ab45ddea46b399b8d6 Auto-Submitted: auto-generated The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=602397561782f953764bf3ab45ddea46b399b8d6 commit 602397561782f953764bf3ab45ddea46b399b8d6 Author: Guido Falsi AuthorDate: 2024-08-08 20:12:27 +0000 Commit: Guido Falsi CommitDate: 2024-08-08 20:12:27 +0000 net/ndpi: Update to new 4.10 version latest commit --- net/ndpi/Makefile | 5 ++--- net/ndpi/distinfo | 6 +++--- net/ndpi/files/patch-example_Makefile.in | 15 +++++++++------ net/ndpi/files/patch-src_lib_Makefile.in | 20 ++++++++++++-------- net/ndpi/pkg-plist | 3 +-- 5 files changed, 27 insertions(+), 22 deletions(-) diff --git a/net/ndpi/Makefile b/net/ndpi/Makefile index f2c83a9aa510..b7e66d6a7c41 100644 --- a/net/ndpi/Makefile +++ b/net/ndpi/Makefile @@ -1,6 +1,5 @@ PORTNAME= ndpi -PORTVERSION= 4.8.d20240223 -PORTREVISION= 1 +PORTVERSION= 4.10.d20240807 PORTEPOCH= 1 CATEGORIES= net @@ -31,7 +30,7 @@ INSTALL_TARGET= install-strip USE_GITHUB= yes GH_ACCOUNT= ntop GH_PROJECT= nDPI -GH_TAGNAME= 467c27c +GH_TAGNAME= b07d0ae PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} VER=${PORTVERSION:R} diff --git a/net/ndpi/distinfo b/net/ndpi/distinfo index bda184439dc3..bba61143de7e 100644 --- a/net/ndpi/distinfo +++ b/net/ndpi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709883780 -SHA256 (ntop-nDPI-4.8.d20240223-467c27c_GH0.tar.gz) = 367fb5ed5484f98eeb713856acd1142aab14441576d7581ad0fd9db1dd184cec -SIZE (ntop-nDPI-4.8.d20240223-467c27c_GH0.tar.gz) = 39479466 +TIMESTAMP = 1723128522 +SHA256 (ntop-nDPI-4.10.d20240807-b07d0ae_GH0.tar.gz) = 5810013650d53505c39a8f0ef695b681d8cfbf65198511397f7cff52a31df8a1 +SIZE (ntop-nDPI-4.10.d20240807-b07d0ae_GH0.tar.gz) = 38579260 diff --git a/net/ndpi/files/patch-example_Makefile.in b/net/ndpi/files/patch-example_Makefile.in index 64aa6fdc0624..d0051b797c65 100644 --- a/net/ndpi/files/patch-example_Makefile.in +++ b/net/ndpi/files/patch-example_Makefile.in @@ -1,9 +1,12 @@ ---- example/Makefile.in.orig 2023-10-23 09:45:30 UTC +--- example/Makefile.in.orig 2024-08-07 09:36:14 UTC +++ example/Makefile.in -@@ -1,54 +1,28 @@ CXX=@CXX@ +@@ -1,57 +1,28 @@ CXX=@CXX@ AR=@AR@ CC=@CC@ CXX=@CXX@ +-ifneq ($(OS),Windows_NT) +-OS := $(shell uname) +-endif -ifeq ($(OS),Darwin) -CC=clang -fno-color-diagnostics -endif @@ -16,7 +19,7 @@ -CFLAGS+=-fPIC -DPIC -endif -CFLAGS+=-I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@ -+CFLAGS+=-fPIC -DPIC -I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @CFLAGS@ @GPROF_CFLAGS@ ++CFLAGS+=-fPIC -DPIC -I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@ LDFLAGS+=@NDPI_LDFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@ @@ -58,7 +61,7 @@ libndpiReader.a: $(COMMON_SOURCES:%.c=%.o) $(LIBNDPI) $(AR) rsv libndpiReader.a $(COMMON_SOURCES:%.c=%.o) -@@ -64,10 +38,10 @@ install: ndpiReader$(EXE_SUFFIX) +@@ -67,10 +38,10 @@ install: ndpiReader$(EXE_SUFFIX) install: ndpiReader$(EXE_SUFFIX) mkdir -p $(DESTDIR)$(PREFIX)/bin/ @@ -67,8 +70,8 @@ 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 diff --git a/net/ndpi/files/patch-src_lib_Makefile.in b/net/ndpi/files/patch-src_lib_Makefile.in index 3e2dfac5cf62..df5ce3968804 100644 --- a/net/ndpi/files/patch-src_lib_Makefile.in +++ b/net/ndpi/files/patch-src_lib_Makefile.in @@ -1,25 +1,32 @@ ---- src/lib/Makefile.in.orig 2023-11-02 19:51:08 UTC +--- src/lib/Makefile.in.orig 2024-08-07 09:36:14 UTC +++ src/lib/Makefile.in -@@ -14,15 +14,12 @@ includedir = @includedir@/ndpi +@@ -14,13 +14,7 @@ includedir = @includedir@/ndpi PREFIX = @prefix@ libdir = @libdir@ includedir = @includedir@/ndpi -ifneq ($(OS),Windows_NT) +-OS := $(shell uname) +-endif +-ifneq ($(OS),Windows_NT) -CFLAGS += -fPIC -DPIC -endif -CFLAGS += -I. -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@ @ADDITIONAL_INCS@ -+CFLAGS += -fPIC -DPIC -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@ @ADDITIONAL_INCS@ ++CFLAGS += -fPIC -DPIC -I. -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @NDPI_CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@ @ADDITIONAL_INCS@ + CFLAGS_ndpi_bitmap.c := -Wno-unused-function + CFLAGS_ndpi_bitmap64_fuse.c := -Wno-unused-function + CFLAGS_third_party/src/gcrypt_light.c := -Wno-unused-function -Wno-unused-parameter +@@ -29,8 +23,8 @@ LIBS = @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@ LDFLAGS += @NDPI_LDFLAGS@ LIBS = @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@ -OBJECTS = $(patsubst protocols/%.c, protocols/%.o, $(wildcard protocols/*.c)) $(patsubst third_party/src/%.c, third_party/src/%.o, $(wildcard third_party/src/*.c)) $(patsubst third_party/src/hll/%.c, third_party/src/hll/%.o, $(wildcard third_party/src/hll/*.c)) $(patsubst ./%.c, ./%.o, $(wildcard ./*.c)) --HEADERS = $(wildcard ../include/*.h) $(wildcard ../include/*.h) +-HEADERS = $(wildcard ../include/*.h) $(wildcard *.h) +OBJECTS != ls protocols/*.c | sed 's/\(.*\)\.c$$/\1.o/' && ls third_party/src/*.c | sed -e 's/\(.*\)\.c$$/\1.o/' -e '/gcrypt_light/d' && ls third_party/src/hll/*.c | sed -e 's/\(.*\)\.c$$/\1.o/' && ls ./*.c | sed 's/\(.*\)\.c$$/\1.o/' +HEADERS != ls ../include/*.h NDPI_VERSION_MAJOR = @NDPI_MAJOR@ NDPI_LIB_STATIC = libndpi.a NDPI_LIB_SHARED_BASE = libndpi.so -@@ -30,27 +27,7 @@ USE_HOST_LIBGCRYPT = @USE_HOST_LIBGCRYPT@ +@@ -38,24 +32,7 @@ USE_HOST_LIBGCRYPT = @USE_HOST_LIBGCRYPT@ NDPI_LIBS = $(NDPI_LIB_STATIC) $(NDPI_LIB_SHARED) USE_HOST_LIBGCRYPT = @USE_HOST_LIBGCRYPT@ @@ -28,9 +35,6 @@ -OBJECTS = $(filter-out third_party/src/gcrypt_light.o,$(TMP_OBJS)) -endif - --ifneq ($(OS),Windows_NT) --OS := $(shell uname) --endif -BUILD_MINGW = @BUILD_MINGW@ - -ifeq ($(OS),Darwin) diff --git a/net/ndpi/pkg-plist b/net/ndpi/pkg-plist index b16b93502e74..9ab6015bf616 100644 --- a/net/ndpi/pkg-plist +++ b/net/ndpi/pkg-plist @@ -9,10 +9,9 @@ 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_replace_printf.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