Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libhtp for openSUSE:Factory checked 
in at 2024-06-03 17:45:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libhtp (Old)
 and      /work/SRC/openSUSE:Factory/.libhtp.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libhtp"

Mon Jun  3 17:45:33 2024 rev:19 rq:1178333 version:0.5.48

Changes:
--------
--- /work/SRC/openSUSE:Factory/libhtp/libhtp.changes    2024-04-30 
17:29:52.215648591 +0200
+++ /work/SRC/openSUSE:Factory/.libhtp.new.24587/libhtp.changes 2024-06-03 
17:46:07.096855782 +0200
@@ -1,0 +2,5 @@
+Sat Jun  1 20:30:02 UTC 2024 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- run tests, spec file tweaks
+
+-------------------------------------------------------------------
@@ -8 +13,2 @@
-  * request: limit probing after missing protocol
+  * CVE-2024-28871 request: limit probing after missing protocol
+    (boo#1222512)
@@ -23 +29,2 @@
-  * CVE-2024-23837 - Critical severity
+  * CVE-2024-23837: excessive processing time of HTTP headers can
+    lead to a denial of service (boo#1220403)

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

Other differences:
------------------
++++++ libhtp.spec ++++++
--- /var/tmp/diff_new_pack.ib8aMe/_old  2024-06-03 17:46:07.532871365 +0200
+++ /var/tmp/diff_new_pack.ib8aMe/_new  2024-06-03 17:46:07.536871508 +0200
@@ -2,6 +2,7 @@
 # spec file for package libhtp
 #
 # Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +19,23 @@
 
 %define sover   2
 %define lname   %{name}%{sover}
+%bcond_without tests
 Name:           libhtp
 Version:        0.5.48
 Release:        0
 Summary:        HTTP normalizer and parser
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-URL:            http://www.openinfosecfoundation.org/
+URL:            https://www.openinfosecfoundation.org/
 Source:         
https://github.com/OISF/libhtp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(zlib)
+%if %{with tests}
+BuildRequires:  c++_compiler
+%endif
 
 %description
 The HTP Library is an HTTP normalizer and parser written by Ivan Ristic of Mod 
Security fame for the OISF. This integrates and provides very advanced 
processing of HTTP streams for Suricata. The HTP library is required by the 
engine, but may also be used independently in a range of applications and tools.
@@ -52,27 +57,34 @@
 developing applications that use %{name}.
 
 %prep
-%setup -q
+%autosetup -p1
 sed -i 's/\r$//' ChangeLog
 
 %build
-autoreconf -fi
-%configure --disable-static
-make %{?_smp_mflags}
+autoreconf -fiv
+%configure \
+       --disable-static
+%make_build
 
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n %{lname} -p /sbin/ldconfig
-%postun -n %{lname} -p /sbin/ldconfig
+%check
+%if %{with tests}
+%make_build test
+%endif
+
+%ldconfig_scriptlets -n %{lname}
 
 %files -n %{lname}
 %license COPYING LICENSE
 %doc AUTHORS ChangeLog README
-%{_libdir}/libhtp.so.%{sover}*
+%{_libdir}/libhtp.so.%{sover}
+%{_libdir}/libhtp.so.%{sover}.*
 
 %files devel
+%license COPYING LICENSE
 %{_includedir}/htp
 %{_libdir}/libhtp.so
 %{_libdir}/pkgconfig/htp.pc

Reply via email to