Hello community,

here is the log from the commit of package libprelude for openSUSE:Factory 
checked in at 2020-10-29 09:23:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libprelude (Old)
 and      /work/SRC/openSUSE:Factory/.libprelude.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libprelude"

Thu Oct 29 09:23:07 2020 rev:7 rq:844631 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libprelude/libprelude.changes    2019-12-04 
14:19:04.826372401 +0100
+++ /work/SRC/openSUSE:Factory/.libprelude.new.3463/libprelude.changes  
2020-10-29 09:23:08.626735933 +0100
@@ -1,0 +2,19 @@
+Sun Oct 25 19:48:48 UTC 2020 - Andreas Stieger <[email protected]>
+
+- libprelude 5.2.0:
+  * license switched to LGPL
+  * Add Python 3.7/3.8 suppo
+  * Update to SWIG 4.0.1
+  * Implement prelude_msg_clone()
+  * Update libprelude-error for GAWK 5.0
+  * Various IDMEF criteria improvements
+- drop upstreamed patches:
+  * libprelude-linking.patch
+  * libprelude-fix_awk_error.patch
+  * libprelude-fix_py38.patch
+- add libprelude-5.2.0-ruby2.7.patch on Tumbleweed to fix build
+  with ruby 2.7
+- package license with every package
+- add upstream signing key and verify source signature
+
+-------------------------------------------------------------------

Old:
----
  libprelude-5.1.1.tar.gz
  libprelude-fix_awk_error.patch
  libprelude-fix_py38.patch
  libprelude-linking.patch

New:
----
  libprelude-5.2.0-ruby2.7.patch
  libprelude-5.2.0.tar.gz
  libprelude-5.2.0.tar.gz.sig
  libprelude.keyring

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

Other differences:
------------------
++++++ libprelude.spec ++++++
--- /var/tmp/diff_new_pack.eDGMEn/_old  2020-10-29 09:23:09.182736467 +0100
+++ /var/tmp/diff_new_pack.eDGMEn/_new  2020-10-29 09:23:09.186736470 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libprelude
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,16 +23,15 @@
 %define sover 28
 %define sover_cpp 12
 Name:           libprelude
-Version:        5.1.1
+Version:        5.2.0
 Release:        0
 Summary:        Secure Connections between all Sensors and the Prelude Manager
-# Prelude is GPL-2.0+
-# libmissing is LGPL-2.1+
-# libmissing/test is GPL-3.0+
-License:        GPL-2.0-or-later AND LGPL-2.1-only AND GPL-3.0-or-later
+License:        LGPL-2.1-only AND LGPL-2.1-or-later
 Group:          Productivity/Networking/Security
-Url:            https://www.prelude-siem.org
-Source0:        
https://www.prelude-siem.org/pkg/src/5.1.0/%{name}-%{version}.tar.gz
+URL:            https://www.prelude-siem.org
+Source0:        
https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
+Source1:        
https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz.sig
+Source2:        
https://www.prelude-siem.org/attachments/download/233/RPM-GPG-KEY-Prelude-IDS#/%{name}.keyring
 # Wrong test
 Patch0:         libprelude-fix_prelude_tests_timer.patch
 # pthread_atfork was automatically linked before but not anymore
@@ -41,16 +40,12 @@
 Patch2:         libprelude-fix_timegm.patch
 # Wrong FSF address
 Patch3:         libprelude-fsf-address.patch
-# Correctly link for Perl bindings
-Patch4:         libprelude-linking.patch
 # Fix 64 bit portability issues
 Patch5:         libprelude-fix_64bit_portability_issues.patch
-Patch6:         libprelude-fix_awk_error.patch
 Patch7:         libprelude-fix_gtkdoc_1.32.patch
-Patch8:         libprelude-fix_py38.patch
+Patch8:         libprelude-5.2.0-ruby2.7.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
-BuildRequires:  libgnutls-devel
 BuildRequires:  libgpg-error-devel
 BuildRequires:  lua-devel
 BuildRequires:  pkgconfig
@@ -58,6 +53,8 @@
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gnutls)
+BuildRequires:  pkgconfig(libpcre)
 
 %description
 Libprelude is a library that guarantees secure connections between all sensors
@@ -108,10 +105,11 @@
 Summary:        Development files for libprelude
 Group:          Development/Libraries/C and C++
 Requires:       libgcrypt-devel
-Requires:       libgnutls-devel
 Requires:       libgpg-error-devel
 Requires:       libprelude%{sover} = %{version}
 Requires:       libpreludecpp%{sover_cpp} = %{version}
+Requires:       pkgconfig(gnutls)
+Requires:       pkgconfig(libpcre)
 
 %description devel
 Libprelude is a library that guarantees secure connections between all sensors
@@ -169,6 +167,7 @@
 
 %package -n lua-%{name}
 Summary:        Lua bindings for libprelude
+# FIXME: use correct group or remove it, see 
"https://en.opensuse.org/openSUSE:Package_group_guidelines";
 Group:          Development/Languages/Lua
 Requires:       libprelude%{sover} = %{version}
 Requires:       lua
@@ -189,11 +188,12 @@
 %patch1
 %patch2
 %patch3
-%patch4
 %patch5
-%patch6
 %patch7
-%patch8
+# ruby 2.7
+%if 0%{?suse_version} > 1500
+%patch8 -p1
+%endif
 
 %build
 %configure    --disable-static \
@@ -204,7 +204,7 @@
              gl_cv_func_printf_directive_n=yes \
              gl_cv_func_printf_infinite_long_double=yes
 
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -220,15 +220,15 @@
 %postun -n libpreludecpp%{sover_cpp} -p /sbin/ldconfig
 
 %files -n %{name}%{sover}
-%defattr(-,root,root)
+%license COPYING
 %{_libdir}/libprelude.so.%{sover}*
 %dir %{_localstatedir}/spool/prelude
 
 %files -n prelude-tools
-%defattr(-,root,root)
+%license COPYING
 %{_bindir}/prelude-adduser
 %{_bindir}/prelude-admin
-%{_mandir}/man1/prelude-admin.1%{ext_man}
+%{_mandir}/man1/prelude-admin.1%{?ext_man}
 %dir %{_sysconfdir}/prelude
 %dir %{_sysconfdir}/prelude/default
 %dir %{_sysconfdir}/prelude/profile
@@ -238,11 +238,11 @@
 %config(noreplace) %{_sysconfdir}/prelude/default/tls.conf
 
 %files -n %{name}cpp%{sover_cpp}
-%defattr(-,root,root)
+%license COPYING
 %{_libdir}/libpreludecpp.so.%{sover_cpp}*
 
 %files devel
-%defattr(-,root,root)
+%license COPYING
 %{_bindir}/libprelude-config
 %{_includedir}/libprelude
 %{_libdir}/libprelude.so
@@ -251,7 +251,7 @@
 %{_datadir}/aclocal/libprelude.m4
 
 %files devel-bindings
-%defattr(-,root,root)
+%license COPYING
 %dir %{_datadir}/libprelude%{sover}/
 %dir %{_datadir}/libprelude%{sover}/swig
 %{_datadir}/libprelude%{sover}/swig/libpreludecpp.i
@@ -265,27 +265,26 @@
 %{_datadir}/libprelude%{sover}/swig/ruby/libpreludecpp-ruby.i
 
 %files -n perl-%{name} -f %{name}.files
-%defattr(-,root,root)
+%license COPYING
 %exclude %{_bindir}/libprelude-config
 %exclude %{_bindir}/prelude-adduser
 %exclude %{_bindir}/prelude-admin
 %exclude %{_mandir}/man1/prelude-admin.1.gz
 
 %files -n python3-%{name}
-%defattr(-,root,root)
+%license COPYING
 %{python_sitearch3}/*
 
 %files -n ruby-%{name}
-%defattr(-,root,root)
 %{ruby_sitearch}/Prelude.so
 
 %files -n lua-%{name}
-%defattr(-,root,root)
+%license COPYING
 %{luapkgdir}/prelude.so
 
 %files doc
-%defattr(-,root,root,-)
+%license COPYING LICENSE.README
 %doc %{_docdir}/%{name}-%{version}
-%doc AUTHORS ChangeLog README NEWS COPYING LICENSE.README HACKING.README
+%doc AUTHORS ChangeLog README NEWS HACKING.README
 
 %changelog

++++++ libprelude-5.2.0-ruby2.7.patch ++++++
Index: libprelude-5.2.0/bindings/ruby/Prelude.cxx
===================================================================
--- libprelude-5.2.0.orig/bindings/ruby/Prelude.cxx
+++ libprelude-5.2.0/bindings/ruby/Prelude.cxx
@@ -1264,7 +1264,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrac
     swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
   }
 
-  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", 
swig_ruby_trackings_count, NULL);
+  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", 
swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
 }
 
 /* Add a Tracking from a C/C++ struct to a Ruby object */
++++++ libprelude-5.1.1.tar.gz -> libprelude-5.2.0.tar.gz ++++++
++++ 16614 lines of diff (skipped)


Reply via email to