Hello community,

here is the log from the commit of package libprelude for openSUSE:Leap:15.2 
checked in at 2020-03-15 07:14:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/libprelude (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.libprelude.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libprelude"

Sun Mar 15 07:14:10 2020 rev:12 rq:785168 version:5.1.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/libprelude/libprelude.changes  2020-01-15 
15:23:06.338498908 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.libprelude.new.3160/libprelude.changes        
2020-03-15 07:15:17.537095371 +0100
@@ -1,0 +2,35 @@
+Fri Oct 25 07:00:00 UTC 2019 - [email protected]
+
+Bump version 5.1.1
+  - Update internal dependencies (SWIG, ...)
+  - Better support for unicode
+  - Fully support Python3
+  - Better features for debugging
+  - Fix various bugs
+
+- CPP Soname bump 8 to 12
+- Add patchs:
+  - libprelude-fix_awk_error.patch
+    - Support of recents awk versions
+  - libprelude-fix_gtkdoc_1.32.patch
+    - Support of recents gtkdoc versions
+  - libprelude-fix_py38.patch
+    - Add support for Python3.8
+- Remove patch:
+  - libprelude-disable_gnulib_test_lock.patch
+    - Fixed upstream
+- Remove Python 2 support
+  - Python 2 will be removed step by step in all Linux distributions
+
+-------------------------------------------------------------------
+Fri Mar 01 07:00:00 UTC 2019 - [email protected]
+
+Bump version 5.0.0
+
+- Remove patchs included in new version
+  - libprelude-fix_compatibility_gnutls_3_6.patch
+  - libprelude-gtk-doc.patch
+- Add new patch for 64bit portability
+  - libprelude-fix_64bit_portability_issues.patch
+
+-------------------------------------------------------------------

Old:
----
  libprelude-4.0.0.tar.gz
  libprelude-disable_gnulib_test_lock.patch
  libprelude-fix_compatibility_gnutls_3_6.patch
  libprelude-gtk-doc.patch

New:
----
  libprelude-5.1.1.tar.gz
  libprelude-fix_64bit_portability_issues.patch
  libprelude-fix_awk_error.patch
  libprelude-fix_gtkdoc_1.32.patch
  libprelude-fix_py38.patch

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

Other differences:
------------------
++++++ libprelude.spec ++++++
--- /var/tmp/diff_new_pack.T4SVjk/_old  2020-03-15 07:15:18.009095618 +0100
+++ /var/tmp/diff_new_pack.T4SVjk/_new  2020-03-15 07:15:18.021095624 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libprelude
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,59 +12,52 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %{!?python_sitearch3: %global python_sitearch3 %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts 
RbConfig::CONFIG["sitearchdir"] ')}
 %{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))")}
 %{!?luapkgdir: %global luapkgdir %{_libdir}/lua/%{luaver}}
-%define sover 23
-%define sover_cpp 8
+%define sover 28
+%define sover_cpp 12
 Name:           libprelude
-Version:        4.0.0
+Version:        5.1.1
 Release:        0
 Summary:        Secure Connections between all Sensors and the Prelude Manager
-License:        GPL-2.0+ and LGPL-2.1 and GPL-3.0+
-Group:          Productivity/Networking/Security
 # 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
+Group:          Productivity/Networking/Security
 Url:            https://www.prelude-siem.org
-Source0:        
https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
-# Known bug on gnulib side and will be fixed
-Patch0:         libprelude-disable_gnulib_test_lock.patch
+Source0:        
https://www.prelude-siem.org/pkg/src/5.1.0/%{name}-%{version}.tar.gz
 # Wrong test
-Patch1:         libprelude-fix_prelude_tests_timer.patch
+Patch0:         libprelude-fix_prelude_tests_timer.patch
 # pthread_atfork was automatically linked before but not anymore
-Patch2:         libprelude-fix_pthread_atfork.patch
+Patch1:         libprelude-fix_pthread_atfork.patch
 # Fix time comparaison
-Patch3:         libprelude-fix_timegm.patch
+Patch2:         libprelude-fix_timegm.patch
 # Wrong FSF address
-Patch4:         libprelude-fsf-address.patch
-# gtk-doc removed gtkdoc-tmpl so gtk-doc.make and gtk-doc.m4 need to be updated
-Patch5:         libprelude-gtk-doc.patch
+Patch3:         libprelude-fsf-address.patch
 # Correctly link for Perl bindings
-Patch6:         libprelude-linking.patch
-# Fix compatibility with GnuTLS 3.6
-Patch7:         libprelude-fix_compatibility_gnutls_3_6.patch
+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
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-doc
 BuildRequires:  libgnutls-devel
 BuildRequires:  libgpg-error-devel
 BuildRequires:  lua-devel
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  ruby
 BuildRequires:  ruby-devel
-%if 0%{?suse_version}
-%if 0%{?suse_version} >= 1310
-BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(glib-2.0)
-%endif
-%endif
 
 %description
 Libprelude is a library that guarantees secure connections between all sensors
@@ -146,17 +139,6 @@
 the saving and re-transmission of data in times of temporary interruption of 
one
 of the components of the system.
 
-%package -n python2-%{name}
-Summary:        Python 2 bindings for libprelude
-Group:          Development/Languages/Python
-Provides:       python-%{name} = %version
-Obsoletes:      python-%{name} < %version 
-Requires:       libprelude%{sover} = %{version}
-Requires:       python = %{py_ver}
-
-%description -n python2-%{name}
-Python 2 bindings for libprelude generated by SWIG.
-
 %package -n perl-%{name}
 Summary:        Perl bindings for libprelude
 Group:          Development/Languages/Perl
@@ -211,11 +193,13 @@
 %patch5
 %patch6
 %patch7
+%patch8
 
 %build
 %configure    --disable-static \
               --with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
               --with-perl-installdirs=vendor \
+              --without-python2 \
               --enable-gtk-doc \
              gl_cv_func_printf_directive_n=yes \
              gl_cv_func_printf_infinite_long_double=yes
@@ -280,10 +264,6 @@
 %dir %{_datadir}/libprelude%{sover}/swig/ruby/
 %{_datadir}/libprelude%{sover}/swig/ruby/libpreludecpp-ruby.i
 
-%files -n python2-%{name}
-%defattr(-,root,root)
-%{python_sitearch}/*
-
 %files -n perl-%{name} -f %{name}.files
 %defattr(-,root,root)
 %exclude %{_bindir}/libprelude-config

++++++ libprelude-4.0.0.tar.gz -> libprelude-5.1.1.tar.gz ++++++
++++ 187775 lines of diff (skipped)

++++++ libprelude-fix_64bit_portability_issues.patch ++++++
--- ./src/idmef-class.c 2018-12-23 21:59:17.870000000 +0100
+++ ./src/idmef-class.c 2019-03-01 22:56:55.089210704 +0100
@@ -161,7 +161,7 @@
 
         ret = is_child_valid(class, child);
         if ( ret < 0 )
-                return ret;
+                return NULL;
 
         return object_data[class].children_list[child].attributes;
 }
++++++ libprelude-fix_awk_error.patch ++++++
--- ./src/libprelude-error/Makefile.am  2018-12-23 21:59:17.340000000 +0100
+++ ./src/libprelude-error/Makefile.am  2019-07-11 17:33:18.537430699 +0200
@@ -53,7 +53,7 @@
 
 errnos-sym.h: Makefile mkstrtable.awk errnos.in
        LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
-       -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
+       -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
        $(srcdir)/errnos.in >$@
 
 prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in 
errnos.in prelude-error.h.in
--- ./src/libprelude-error/Makefile.in  2018-12-23 22:01:05.090000000 +0100
+++ ./src/libprelude-error/Makefile.in  2019-07-11 17:33:10.202599542 +0200
@@ -1834,7 +1834,7 @@
 
 errnos-sym.h: Makefile mkstrtable.awk errnos.in
        LANG="" $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \
-       -v prefix=PRELUDE_ERROR_ -v namespace=errnos_ \
+       -v prefix=PRELUDE_ERROR_ -v pkg_namespace=errnos_ \
        $(srcdir)/errnos.in >$@
 
 prelude-error.h: Makefile mkheader.awk err-sources.h.in err-codes.h.in 
errnos.in prelude-error.h.in
--- ./src/libprelude-error/mkerrcodes.awk       2018-12-23 21:59:17.340000000 
+0100
+++ ./src/libprelude-error/mkerrcodes.awk       2019-07-11 17:34:56.482462208 
+0200
@@ -78,7 +78,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrcodes1.awk      2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkerrcodes1.awk      2019-07-11 17:35:02.737336699 
+0200
@@ -78,7 +78,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrcodes2.awk      2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkerrcodes2.awk      2019-07-11 17:35:08.595219159 
+0200
@@ -91,7 +91,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkerrnos.awk 2019-07-11 17:41:09.385940916 +0200
+++ ./src/libprelude-error/mkerrnos.awk 2019-07-11 17:41:22.455671539 +0200
@@ -80,7 +80,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
--- ./src/libprelude-error/mkstrtable.awk       2018-12-23 21:59:17.341000000 
+0100
+++ ./src/libprelude-error/mkstrtable.awk       2019-07-11 17:38:41.588950860 
+0200
@@ -77,7 +77,7 @@
 #
 # The variable prefix can be used to prepend a string to each message.
 #
-# The variable namespace can be used to prepend a string to each
+# The variable pkg_namespace can be used to prepend a string to each
 # variable and macro name.
 
 BEGIN {
@@ -102,7 +102,7 @@
       print "/* The purpose of this complex string table is to produce";
       print "   optimal code with a minimum of relocations.  */";
       print "";
-      print "static const char " namespace "msgstr[] = ";
+      print "static const char " pkg_namespace "msgstr[] = ";
       header = 0;
     }
   else
@@ -110,7 +110,7 @@
 }
 
 !header {
-  sub (/\#.+/, "");
+  sub (/#.+/, "");
   sub (/[      ]+$/, ""); # Strip trailing space and tab characters.
 
   if (/^$/)
@@ -150,14 +150,14 @@
   else
     print "  gettext_noop (\"" prefix last_msgstr "\");";
   print "";
-  print "static const int " namespace "msgidx[] =";
+  print "static const int " pkg_namespace "msgidx[] =";
   print "  {";
   for (i = 0; i < coded_msgs; i++)
     print "    " pos[i] ",";
   print "    " pos[coded_msgs];
   print "  };";
   print "";
-  print "#define " namespace "msgidxof(code) (0 ? -1 \\";
+  print "#define " pkg_namespace "msgidxof(code) (0 ? -1 \\";
 
 # Gather the ranges.
   skip = code[0];
++++++ libprelude-fix_gtkdoc_1.32.patch ++++++
--- ./docs/api/libprelude-docs.xml      2019-09-14 18:27:52.635435171 -0400
+++ ./docs/api/libprelude-docs.xml      2019-09-15 03:25:47.491163135 -0400
@@ -51,10 +51,6 @@
     <xi:include href="xml/idmef-value.xml"/>
 
   </chapter>
-  <chapter id="object-tree">
-    <title>Object Hierarchy</title>
-     <xi:include href="xml/tree_index.sgml"/>
-  </chapter>
   <index id="api-index-full">
     <title>API Index</title>
     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
++++++ libprelude-fix_pthread_atfork.patch ++++++
--- /var/tmp/diff_new_pack.T4SVjk/_old  2020-03-15 07:15:18.893096081 +0100
+++ /var/tmp/diff_new_pack.T4SVjk/_new  2020-03-15 07:15:18.893096081 +0100
@@ -1,9 +1,3 @@
-From: Thomas Andrejak <[email protected]>
-Date: 2017-10-04 07:00:00 +0100
-References: http://prelude-siem.org/issues/885
-Upstream: submitted
-Subject: pthread_atfork was automatically linked before but not anymore
-
 --- ./prelude-admin/Makefile.am        2016-09-15 08:49:10.785000884 +0200
 +++ ./prelude-admin/Makefile.am        2017-04-25 23:55:55.141482528 +0200
 @@ -7,7 +7,7 @@
@@ -15,17 +9,6 @@
  
  
  prelude_admin_SOURCES =               \
---- ./src/Makefile.am  2016-09-15 08:49:10.786000884 +0200
-+++ ./src/Makefile.am  2017-04-25 23:56:31.085664831 +0200
-@@ -9,7 +9,7 @@
- 
- libpreludeincludedir = $(includedir)/
- libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) 
$(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
--libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) 
$(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) -no-undefined -version-info 
@LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_"
-+libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) 
$(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB) -no-undefined -version-info 
@LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_" 
-Wl,-u,pthread_atfork
- lib_LTLIBRARIES = libprelude.la
- BUILT_SOURCES = $(LTDLDEPS) 
- 
 --- ./src/libprelude-error/Makefile.am 2016-09-15 08:49:10.805000884 +0200
 +++ ./src/libprelude-error/Makefile.am 2017-04-25 23:57:02.636949645 +0200
 @@ -14,7 +14,7 @@
@@ -37,18 +20,29 @@
  libprelude_error_la_LDFLAGS = -no-undefined
  libprelude_error_la_SOURCES = prelude-error.h prelude-error.c strsource.c 
strerror.c
  
---- ./src/libprelude-error/Makefile.in 2016-09-15 08:51:19.590000884 +0200
-+++ ./src/libprelude-error/Makefile.in 2017-04-26 08:06:29.762178749 +0200
-@@ -912,7 +912,7 @@
+--- ./src/Makefile.am  2018-12-23 21:59:17.870000000 +0100
++++ ./src/Makefile.am  2019-02-26 23:49:47.973788402 +0100
+@@ -9,7 +9,7 @@
+ 
+ libpreludeincludedir = $(includedir)/
+ libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) 
$(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
+-libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) 
$(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) 
-no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex 
"^(idmef|_?prelude)_"
++libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) 
$(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) 
$(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ 
-export-symbols-regex "^(idmef|_?prelude)_" -Wl,-u,pthread_atfork
+ lib_LTLIBRARIES = libprelude.la
+ BUILT_SOURCES = $(LTDLDEPS) 
+ 
+--- ./src/Makefile.in  2018-12-23 22:01:04.767000000 +0100
++++ ./src/Makefile.in  2019-02-26 23:56:08.385091987 +0100
+@@ -1132,7 +1132,7 @@
  LIBS = @LIBS@
  LIBSOCKET = @LIBSOCKET@
  LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
 -LIBTHREAD = @LIBTHREAD@
 +LIBMULTITHREAD = @LIBMULTITHREAD@
  LIBTOOL = @LIBTOOL@
+ LIB_NANOSLEEP = @LIB_NANOSLEEP@
  LIB_POLL = @LIB_POLL@
- LIB_SELECT = @LIB_SELECT@
-@@ -933,7 +933,7 @@
+@@ -1156,7 +1156,7 @@
  LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
  LTLIBOBJS = @LTLIBOBJS@
  LTLIBPTH = @LTLIBPTH@
@@ -57,56 +51,56 @@
  LT_CONFIG_H = @LT_CONFIG_H@
  LT_DLLOADERS = @LT_DLLOADERS@
  LT_DLPREOPEN = @LT_DLPREOPEN@
-@@ -1323,7 +1323,7 @@
- 
- nodist_include_HEADERS = prelude-error.h
- noinst_LTLIBRARIES = libprelude-error.la
--libprelude_error_la_LIBADD = @LTLIBTHREAD@
-+libprelude_error_la_LIBADD = $(LTLIBMULTITHREAD)
- libprelude_error_la_LDFLAGS = -no-undefined
- libprelude_error_la_SOURCES = prelude-error.h prelude-error.c strsource.c 
strerror.c
- all: $(BUILT_SOURCES)
---- ./src/Makefile.in  2016-09-15 08:51:19.299000884 +0200
-+++ ./src/Makefile.in  2017-04-26 08:05:59.685853138 +0200
-@@ -978,7 +978,7 @@
+@@ -1553,7 +1553,7 @@
+ DISTCLEANFILES = $(pkgconfig_DATA) idmef-criteria-string.yac.h 
idmef-criteria-string.lex.c idmef-criteria-string.yac.c
+ libpreludeincludedir = $(includedir)/
+ libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) 
$(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
+-libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) 
$(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) 
-no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex 
"^(idmef|_?prelude)_"
++libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) 
$(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) 
$(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ 
-export-symbols-regex "^(idmef|_?prelude)_" -Wl,-u,pthread_atfork
+ lib_LTLIBRARIES = libprelude.la
+ BUILT_SOURCES = $(LTDLDEPS) 
+ AM_YFLAGS = -d
+--- ./prelude-admin/Makefile.in        2019-02-26 23:58:08.154668826 +0100
++++ ./prelude-admin/Makefile.in        2019-02-26 23:57:12.940785905 +0100
+@@ -1062,7 +1062,7 @@
  LIBS = @LIBS@
  LIBSOCKET = @LIBSOCKET@
  LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
--LIBTHREAD = @LIBTHREAD@
 +LIBMULTITHREAD = @LIBMULTITHREAD@
+-LIBTHREAD = @LIBTHREAD@
  LIBTOOL = @LIBTOOL@
+ LIB_NANOSLEEP = @LIB_NANOSLEEP@
  LIB_POLL = @LIB_POLL@
- LIB_SELECT = @LIB_SELECT@
-@@ -999,7 +999,7 @@
+@@ -1086,7 +1086,7 @@
  LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
  LTLIBOBJS = @LTLIBOBJS@
  LTLIBPTH = @LTLIBPTH@
--LTLIBTHREAD = @LTLIBTHREAD@
 +LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
+-LTLIBTHREAD = @LTLIBTHREAD@
  LT_CONFIG_H = @LT_CONFIG_H@
  LT_DLLOADERS = @LT_DLLOADERS@
  LT_DLPREOPEN = @LT_DLPREOPEN@
-@@ -1386,7 +1386,7 @@
- DISTCLEANFILES = $(pkgconfig_DATA) idmef-criteria-string.yac.h 
idmef-criteria-string.lex.c idmef-criteria-string.yac.c
- libpreludeincludedir = $(includedir)/
- libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) 
$(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
--libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) 
$(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) -no-undefined -version-info 
@LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_"
-+libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) 
$(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) 
$(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB) -no-undefined -version-info 
@LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_" 
-Wl,-u,pthread_atfork
- lib_LTLIBRARIES = libprelude.la
- BUILT_SOURCES = $(LTDLDEPS) 
- AM_YFLAGS = -d
---- ./prelude-admin/Makefile.in        2016-09-15 08:51:19.173000884 +0200
-+++ ./prelude-admin/Makefile.in        2017-04-26 08:05:48.262109285 +0200
-@@ -922,7 +922,7 @@
+@@ -1480,7 +1480,7 @@
+                       $(top_builddir)/src/variable.lo \
+                       $(top_builddir)/src/libprelude.la \
+                       @PRELUDE_ADMIN_LIBS@ \
++                      ../libmissing/libmissing.la $(GETADDRINFO_LIB) 
$(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) 
$(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) 
$(SERVENT_LIB)
+-                      ../libmissing/libmissing.la $(GETADDRINFO_LIB) 
$(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) 
$(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) 
$(SERVENT_LIB)
+ 
+ prelude_admin_SOURCES = \
+       prelude-admin.c         \
+--- ./src/libprelude-error/Makefile.in 2018-12-23 22:01:05.090000000 +0100
++++ ./src/libprelude-error/Makefile.in 2019-02-27 00:00:34.842539289 +0100
+@@ -1053,7 +1053,7 @@
  LIBS = @LIBS@
  LIBSOCKET = @LIBSOCKET@
  LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
 -LIBTHREAD = @LIBTHREAD@
 +LIBMULTITHREAD = @LIBMULTITHREAD@
  LIBTOOL = @LIBTOOL@
+ LIB_NANOSLEEP = @LIB_NANOSLEEP@
  LIB_POLL = @LIB_POLL@
- LIB_SELECT = @LIB_SELECT@
-@@ -943,7 +943,7 @@
+@@ -1077,7 +1077,7 @@
  LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
  LTLIBOBJS = @LTLIBOBJS@
  LTLIBPTH = @LTLIBPTH@
@@ -115,12 +109,12 @@
  LT_CONFIG_H = @LT_CONFIG_H@
  LT_DLLOADERS = @LT_DLLOADERS@
  LT_DLPREOPEN = @LT_DLPREOPEN@
-@@ -1327,7 +1327,7 @@
-                       $(top_builddir)/src/variable.lo \
-                       $(top_builddir)/src/libprelude.la \
-                       @PRELUDE_ADMIN_LIBS@ \
--                      ../libmissing/libmissing.la $(GETADDRINFO_LIB) 
$(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) 
$(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) 
$(SERVENT_LIB)
-+                      ../libmissing/libmissing.la $(GETADDRINFO_LIB) 
$(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) 
$(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) 
$(SERVENT_LIB)
+@@ -1477,7 +1477,7 @@
  
- prelude_admin_SOURCES = \
-       prelude-admin.c         \
+ nodist_include_HEADERS = prelude-error.h
+ noinst_LTLIBRARIES = libprelude-error.la
+-libprelude_error_la_LIBADD = @LTLIBTHREAD@
++libprelude_error_la_LIBADD = @LTLIBMULTITHREAD@
+ libprelude_error_la_LDFLAGS = -no-undefined
+ libprelude_error_la_SOURCES = prelude-error.h prelude-error.c strsource.c 
strerror.c
+ all: $(BUILT_SOURCES)

++++++ libprelude-fix_py38.patch ++++++
--- ./bindings/python/_prelude.cxx      2019-07-12 07:19:49.365476420 +0200
+++ ./bindings/python/_prelude.cxx      2019-07-12 07:20:02.458213034 +0200
@@ -3132,7 +3132,7 @@
 
 SWIGINTERN void
 SwigPyStaticVar_dealloc(PyDescrObject *descr) {
-  _PyObject_GC_UNTRACK(descr);
+  PyObject_GC_UnTrack(descr);
   Py_XDECREF(PyDescr_TYPE(descr));
   Py_XDECREF(PyDescr_NAME(descr));
   PyObject_GC_Del(descr);

Reply via email to