Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ndpi for openSUSE:Factory checked in 
at 2024-12-26 12:23:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ndpi (Old)
 and      /work/SRC/openSUSE:Factory/.ndpi.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ndpi"

Thu Dec 26 12:23:42 2024 rev:12 rq:1233260 version:4.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/ndpi/ndpi.changes        2024-06-09 
20:24:03.037786702 +0200
+++ /work/SRC/openSUSE:Factory/.ndpi.new.1881/ndpi.changes      2024-12-26 
12:23:47.542266755 +0100
@@ -1,0 +2,17 @@
+Fri Dec 20 16:18:54 UTC 2024 - Martin Hauke <[email protected]>
+
+- Update to version 4.12
+  * https://github.com/ntop/nDPI/releases/tag/4.12
+  * https://github.com/ntop/nDPI/releases/tag/4.10
+  * https://github.com/ntop/nDPI/releases/tag/4.8
+  * https://github.com/ntop/nDPI/releases/tag/4.6
+  * https://github.com/ntop/nDPI/releases/tag/4.4
+  * https://github.com/ntop/nDPI/releases/tag/4.2
+- Drop not longer needed patches
+  * 0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch
+  * 0002-Report-whether-a-protocol-is-encrypted.patch
+  * 0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
+- Add patch:
+  * fix-makefile.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch
  0002-Report-whether-a-protocol-is-encrypted.patch
  0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
  ndpi-4.0.tar.gz

New:
----
  fix-makefile.patch
  ndpi-4.12.tar.gz

BETA DEBUG BEGIN:
  Old:- Drop not longer needed patches
  * 0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch
  * 0002-Report-whether-a-protocol-is-encrypted.patch
  Old:  * 0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch
  * 0002-Report-whether-a-protocol-is-encrypted.patch
  * 0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
  Old:  * 0002-Report-whether-a-protocol-is-encrypted.patch
  * 0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
- Add patch:
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:- Add patch:
  * fix-makefile.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ndpi.spec ++++++
--- /var/tmp/diff_new_pack.EjzKmU/_old  2024-12-26 12:23:48.582309368 +0100
+++ /var/tmp/diff_new_pack.EjzKmU/_new  2024-12-26 12:23:48.586309532 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package ndpi
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2017-2021, Martin Hauke <[email protected]>
+# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2017-2024, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,12 @@
 #
 
 
+%define sover 4
 %ifarch %{ix86} x86_64
 %bcond_without hyperscan
 %endif
-
-%define sover 4
 Name:           ndpi
-Version:        4.0
+Version:        4.12
 Release:        0
 Summary:        Extensible deep packet inspection library
 # wireshark/ndpi.lua is GPL-3.0-or-later
@@ -31,12 +30,7 @@
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/ntop/nDPI
 Source:         
https://github.com/ntop/nDPI/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch # ntopng 5.0 
needs this from the ndpi 4.0-stable branch
-Patch0:         0001-Added-ability-to-report-whether-a-protocol-is-encryp.patch
-# PATCH-FIX-UPSTREAM 0002-Report-whether-a-protocol-is-encrypted.patch # 
ntopng 5.0 needs this from the ndpi 4.0-stable branch
-Patch1:         0002-Report-whether-a-protocol-is-encrypted.patch
-# PATCH-FIX-UPSTREAM 
0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
-Patch2:         0003-Firs-crash-on-ARM-during-steam-protocol-dissection.patch
+Patch0:         fix-makefile.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -110,18 +104,17 @@
 %autosetup -p1 -n nDPI-%{version}
 
 %build
-sh autogen.sh
+autoreconf -fiv
 %configure \
 %if 0%{with hyperscan}
     --with-hyperscan \
 %endif
-    --prefix="%{_prefix}"
-make %{?_smp_mflags}
+    %{nil}
+%make_build
 
 %install
-%make_install PREFIX=%{_prefix} prefix=%{_prefix} libdir=%{_libdir}
-rm -f %{buildroot}/%{_libdir}/libndpi.a
-rm -f %{buildroot}/%{_sbindir}/ndpi
+%make_install
+rm %{buildroot}/%{_libdir}/libndpi.a
 
 %post   -n libndpi%{sover} -p /sbin/ldconfig
 %postun -n libndpi%{sover} -p /sbin/ldconfig
@@ -140,7 +133,7 @@
 
 %files -n ndpi-common
 %license COPYING
-%doc CHANGELOG.md README.md README.nDPI README.protocols
-%doc doc/nDPI_QuickStartGuide.pdf
+%doc CHANGELOG.md README.md
+%doc doc/guide/nDPI_QuickStartGuide.pdf
 %{_datadir}/%{name}
 

++++++ fix-makefile.patch ++++++
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index b446ba2..e5d0ea4 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -11,7 +11,6 @@ RANLIB = @RANLIB@
 #
 # Installation directories
 #
-PREFIX     = @prefix@
 libdir     = @libdir@
 includedir = @includedir@/ndpi
 ifneq ($(OS),Windows_NT)
@@ -96,10 +95,10 @@ cppcheck:
        cppcheck --template='{file}:{line}:{severity}:{message}' --quiet 
--enable=all --force -I ../include *.c protocols/*.c
 
 install: $(NDPI_LIBS)
-       mkdir -p $(DESTDIR)$(PREFIX)$(libdir)
-       cp $(NDPI_LIBS) $(DESTDIR)$(PREFIX)$(libdir)/
-       cp -P $(NDPI_LIB_SHARED_BASE) $(DESTDIR)$(PREFIX)$(libdir)/
-       cp -P $(NDPI_LIB_SHARED_BASE).$(NDPI_VERSION_MAJOR) 
$(DESTDIR)$(PREFIX)$(libdir)/
-       mkdir -p $(DESTDIR)$(PREFIX)$(includedir)
+       mkdir -p $(DESTDIR)$(libdir)
+       cp $(NDPI_LIBS) $(DESTDIR)$(libdir)/
+       cp -P $(NDPI_LIB_SHARED_BASE) $(DESTDIR)$(libdir)/
+       cp -P $(NDPI_LIB_SHARED_BASE).$(NDPI_VERSION_MAJOR) $(DESTDIR)$(libdir)/
+       mkdir -p $(DESTDIR)$(includedir)
        #Avoid installing private header
-       find ../include/*.h ! -name ndpi_private.h -exec cp "{}" 
$(DESTDIR)$(PREFIX)$(includedir)/ \;
+       find ../include/*.h ! -name ndpi_private.h -exec cp "{}" 
$(DESTDIR)$(includedir)/ \;

++++++ ndpi-4.0.tar.gz -> ndpi-4.12.tar.gz ++++++
/work/SRC/openSUSE:Factory/ndpi/ndpi-4.0.tar.gz 
/work/SRC/openSUSE:Factory/.ndpi.new.1881/ndpi-4.12.tar.gz differ: char 12, 
line 1

Reply via email to