Hello community, here is the log from the commit of package libprelude for openSUSE:Factory checked in at 2016-06-02 09:36:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libprelude (Old) and /work/SRC/openSUSE:Factory/.libprelude.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libprelude" Changes: -------- New Changes file: --- /dev/null 2016-04-07 01:36:33.300037506 +0200 +++ /work/SRC/openSUSE:Factory/.libprelude.new/libprelude.changes 2016-06-02 09:36:26.000000000 +0200 @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +Mon May 2 20:16:55 UTC 2016 - [email protected] + +- Update to 3.0.0 (Prelude 3.0.0 released on 22 Apr 2016) +- Add few patches to build with all bindings and reduce rpmlint + notices : + * libprelude-fsf-address.patch + * Correct the Free Software Foundation address + * libprelude-python-swig.patch + * Regenerate swig file to compile with Python 3.4 and newer + * libprelude-ruby-swig.patch + * Temporary fix http://bugs.ruby-lang.org/issues/11962 + * libprelude-ruby-include-path.patch + * Fix ruby include path. Instead, we can not turn ruby + binding on + * libprelude-rpm-opt-flags.patch + * Fix libprelude do not load global CFLAGS for + libprelude-error +- We now build all bindings, adding : + * lua-libprelude + * python3-libprelude + * ruby-libprelude +- Create a new package with only tools files because packages + started with "lib" do not have to come with tools. Name of the + package : prelude-tools +- Precise license : + * Prelude is GPL-2.0+ + * libmissing is LGPL-2.1+ + * libmissing/test is GPL-3.0+ +- Remove support for older SUSE than 12 since libprelude do not + compile on it + +------------------------------------------------------------------- +Sat Nov 14 21:56:58 UTC 2015 - [email protected] + +- update to 1.2.6 +- removed patches (all fixed upstream) + * opensuse12_compile.patch + * libprelude-1.0.1-fixgnulib.patch + * libprelude-1.0.0-gcc46.patch + * libprelude-sles12sp2.patch + * libprelude-fixlibgnutls3.0.5.patch + * libprelude-ruby1.9.patch + * libprelude-fsf-address.patch + * libprelude-swig-3.0.patch +- disabled lua and ruby bindings for now + +------------------------------------------------------------------- +Mon Jan 26 13:16:17 UTC 2015 - [email protected] + +- Add libprelude-swig-3.0.patch: Fix build with swig 3.0. + +------------------------------------------------------------------- +Tue Jul 9 07:41:40 UTC 2013 - [email protected] + +- Override broken configure checks + +------------------------------------------------------------------- +Tue Apr 9 23:29:43 UTC 2013 - [email protected] + +- change license to GPLv3.0+ due to libmissing being incorporated (bnc#814000) +- remove requirement for libgnutls-devel as done previously (see below) + +------------------------------------------------------------------- +Fri Apr 5 12:07:24 CEST 2013 - [email protected] + +- Add a definition of perl_gen_filelist for SLE11 to the spec file. + +------------------------------------------------------------------- +Thu Mar 28 22:19:35 UTC 2013 - [email protected] + +- Update to v1.0.1 +- Add these patches + * libprelude-1.0.1-fixgnulib.patch + * libprelude-1.0.0-gcc46.patch + * libprelude-fixlibgnutls3.0.5.patch + * libprelude-ruby1.9.patch + * libprelude-fsf-address.patch + * libprelude-sles12sp2.patch + +- Create new subpackages + * libprelude-doc + * ruby-libprelude + * perl-libprelude + * python-libprelude + +------------------------------------------------------------------- +Mon Dec 5 13:11:59 UTC 2011 - [email protected] + +- Added a simple patch file to fix the compile error for OpenSUSE 12.1 + +------------------------------------------------------------------- +Mon Nov 7 22:29:42 UTC 2011 - [email protected] + +- build require libgcrypt-devel +- use gnutls-devel instead of libgnutls-devel to build on old + distributions (package provides both names) + +------------------------------------------------------------------- +Wed Oct 20 11:01:44 UTC 2010 - [email protected] + +- fixed to used pkg-config in stead of libgnutls-config + so it builds with >= gnutls-2.7.0 + +------------------------------------------------------------------- +Sat Jul 24 02:31:15 UTC 2010 - [email protected] + +- Initial package + +------------------------------------------------------------------- New: ---- libprelude-3.0.0.tar.gz libprelude-fsf-address.patch libprelude-python-swig.patch libprelude-rpm-opt-flags.patch libprelude-ruby-include-path.patch libprelude-ruby-swig.patch libprelude.changes libprelude.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libprelude.spec ++++++ # # spec file for package libprelude # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch3: %global python_sitearch3 %(%{__python}3 -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 soname 23 %define soname_cpp 8 Name: libprelude Version: 3.0.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+ and LGPL-2.1 and GPL-3.0+ Group: Productivity/Networking/Security Url: https://www.prelude-siem.org Source0: https://www.prelude-siem.org/pkg/src/3.0.0/%{name}-%{version}.tar.gz Patch0: libprelude-fsf-address.patch Patch1: libprelude-rpm-opt-flags.patch Patch2: libprelude-ruby-include-path.patch Patch3: libprelude-python-swig.patch Patch4: libprelude-ruby-swig.patch BuildRequires: gcc-c++ BuildRequires: libgnutls-devel BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: gtk-doc BuildRequires: ruby BuildRequires: ruby-devel BuildRequires: lua-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 and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n %{name}%{soname} Summary: Prelude Libraries Group: System/Libraries %description -n %{name}%{soname} Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n %{name}cpp%{soname_cpp} Summary: Prelude Libraries Group: System/Libraries %description -n %{name}cpp%{soname_cpp} Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n prelude-tools Summary: Tools for libprelude Group: Development/Libraries/C and C++ Requires: libprelude%{soname} = %{version} %description -n prelude-tools Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n %{name}-devel Summary: Development files for libprelude Group: Development/Libraries/C and C++ Requires: libprelude%{soname} = %{version} Requires: libpreludecpp%{soname_cpp} = %{version} Requires: libgnutls-devel Requires: libgcrypt-devel Requires: libgpg-error-devel %description -n %{name}-devel Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n %{name}-devel-bindings Summary: Development files for libprelude Group: Development/Libraries/C and C++ Requires: libprelude-devel = %{version} Requires: lua-devel Requires: python-devel Requires: python3-devel Requires: ruby-devel Requires: swig %description -n %{name}-devel-bindings Libprelude is a library that guarantees secure connections between all sensors and the Prelude Manager. Libprelude provides an Application Programming Interface (API) for the communication with Prelude sub-systems, it supplies the necessary functionality for generating and emitting IDMEF events with Prelude and automates the saving and re-transmission of data in times of temporary interruption of one of the components of the system. %package -n python-%{name} Summary: Python bindings for libprelude Group: Development/Languages/Python Requires: libprelude%{soname} = %{version} Requires: python = %{py_ver} %description -n python-%{name} Python bindings for libprelude generated by SWIG. %package -n perl-%{name} Summary: Perl bindings for libprelude Group: Development/Languages/Perl BuildRequires: perl Requires: libprelude%{soname} = %{version} Requires: perl = %{perl_version} %description -n perl-%{name} Perl bindings for libprelude generated by SWIG. %package -n python3-%{name} Summary: Python 3 bindings for libprelude Group: Development/Languages/Python3 Requires: libprelude%{soname} = %{version} Requires: python = %{py3_ver} %description -n python3-%{name} Python 3 bindings for libprelude generated by SWIG. %package -n ruby-%{name} Summary: Ruby bindings for libprelude Group: Development/Languages/Ruby Requires: libprelude%{soname} = %{version} Requires: ruby %description -n ruby-%{name} Ruby bindings for libprelude generated by SWIG. %package -n lua-%{name} Summary: Lua bindings for libprelude Group: Development/Languages/Lua Requires: libprelude%{soname} = %{version} Requires: lua %description -n lua-%{name} Lua bindings for libprelude generated by SWIG. %package -n %{name}-doc Summary: Libprelude documentation Group: System/Libraries %description -n %{name}-doc Libprelude documentation files. %prep %setup -q %patch0 -p0 %patch1 -p0 %patch2 -p0 %patch3 -p0 %patch4 -p0 %build %configure --disable-static \ --with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \ --with-perl-installdirs=vendor \ --enable-gtk-doc \ gl_cv_func_printf_directive_n=yes \ gl_cv_func_printf_infinite_long_double=yes make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} find %{buildroot}%{_libdir} -name "*.la" -delete %perl_process_packlist %perl_gen_filelist mkdir -p %{buildroot}/${_localstatedir}/spool/prelude %post -n libprelude%{soname} -p /sbin/ldconfig %post -n libpreludecpp%{soname_cpp} -p /sbin/ldconfig %postun -n libprelude%{soname} -p /sbin/ldconfig %postun -n libpreludecpp%{soname_cpp} -p /sbin/ldconfig %files -n %{name}%{soname} %defattr(-,root,root) %{_libdir}/libprelude.so.%{soname}* %dir %{_localstatedir}/spool/prelude %files -n prelude-tools %defattr(-,root,root) %{_bindir}/prelude-adduser %{_bindir}/prelude-admin %{_mandir}/man1/prelude-admin.1.* %dir %{_sysconfdir}/prelude %dir %{_sysconfdir}/prelude/default %dir %{_sysconfdir}/prelude/profile %config(noreplace) %{_sysconfdir}/prelude/default/client.conf %config(noreplace) %{_sysconfdir}/prelude/default/global.conf %config(noreplace) %{_sysconfdir}/prelude/default/idmef-client.conf %config(noreplace) %{_sysconfdir}/prelude/default/tls.conf %files -n %{name}cpp%{soname_cpp} %defattr(-,root,root) %{_libdir}/libpreludecpp.so.%{soname_cpp}* %files -n %{name}-devel %defattr(-,root,root) %{_bindir}/libprelude-config %{_includedir}/libprelude %{_libdir}/libprelude.so %{_libdir}/libpreludecpp.so %{_libdir}/pkgconfig/libprelude.pc %{_datadir}/aclocal/libprelude.m4 %files -n %{name}-devel-bindings %defattr(-,root,root) %dir %{_datadir}/libprelude/ %dir %{_datadir}/libprelude/swig %{_datadir}/libprelude/swig/libpreludecpp.i %dir %{_datadir}/libprelude/swig/lua/ %{_datadir}/libprelude/swig/lua/libpreludecpp-lua.i %dir %{_datadir}/libprelude/swig/perl/ %{_datadir}/libprelude/swig/perl/libpreludecpp-perl.i %dir %{_datadir}/libprelude/swig/python/ %{_datadir}/libprelude/swig/python/libpreludecpp-python.i %dir %{_datadir}/libprelude/swig/ruby/ %{_datadir}/libprelude/swig/ruby/libpreludecpp-ruby.i %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/* %files -n perl-%{name} -f %{name}.files %defattr(-,root,root) %exclude %{_bindir}/libprelude-config %exclude %{_bindir}/prelude-adduser %exclude %{_bindir}/prelude-admin %exclude %{_mandir}/man1/prelude-admin.1.gz %files -n %{name}-doc %defattr(-,root,root,-) %doc %{_docdir}/%{name}-%{version} %doc AUTHORS ChangeLog README NEWS COPYING LICENSE.README HACKING.README %files -n python3-%{name} %defattr(-,root,root) %{python_sitearch3}/* %files -n ruby-%{name} %defattr(-,root,root) %{ruby_sitearch}/Prelude.so %files -n lua-%{name} %defattr(-,root,root) %{luapkgdir}/prelude.so %changelog ++++++ libprelude-fsf-address.patch ++++++ --- bindings/python/setup.py.in 2016-04-25 20:04:41.637962791 +0200 +++ bindings/python/setup.py.in 2016-04-25 20:04:54.361676196 +0200 @@ -16,7 +16,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301 USA. import sys, os --- src/libprelude-error/prelude-error.h 2016-04-25 20:02:15.841246509 +0200 +++ src/libprelude-error/prelude-error.h 2016-04-25 20:03:31.831535059 +0200 @@ -19,7 +19,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to -* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +* Boston, MA 02110-1301 USA. * *****/ --- src/libprelude-error/prelude-error.h.in 2016-04-25 20:03:42.147302733 +0200 +++ src/libprelude-error/prelude-error.h.in 2016-04-25 20:03:49.791130558 +0200 @@ -17,7 +17,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to -* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +* Boston, MA 02110-1301 USA. * *****/ ++++++ libprelude-python-swig.patch ++++++ ++++ 1698 lines (skipped) ++++++ libprelude-rpm-opt-flags.patch ++++++ --- src/libprelude-error/Makefile.am.orig 2016-04-25 17:47:47.990778283 +0200 +++ src/libprelude-error/Makefile.am 2016-04-25 17:52:39.280307059 +0200 @@ -46,7 +46,7 @@ # It is correct to use $(CC_FOR_BUILD) here. We want to run the # program at build time. mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c + $(CC_FOR_BUILD) $(CFLAGS) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c code-from-errno.h: mkerrcodes Makefile ./mkerrcodes | LANG="" $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ --- src/libprelude-error/Makefile.in.orig 2016-04-25 19:43:48.730206592 +0200 +++ src/libprelude-error/Makefile.in 2016-04-25 19:43:23.554774477 +0200 @@ -1649,7 +1649,7 @@ # It is correct to use $(CC_FOR_BUILD) here. We want to run the # program at build time. mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c + $(CC_FOR_BUILD) $(CFLAGS) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c code-from-errno.h: mkerrcodes Makefile ./mkerrcodes | LANG="" $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ ++++++ libprelude-ruby-include-path.patch ++++++ diff -ru m4/am_path_ruby.m4 m4/am_path_ruby.m4 --- m4/am_path_ruby.m4 2016-04-25 15:56:43.189446247 +0200 +++ m4/am_path_ruby.m4 2016-04-25 15:57:22.904578481 +0200 @@ -100,7 +100,8 @@ AC_SUBST([rbexecdir], [$am_cv_ruby_rbexecdir]) RUBY_INCLUDES=`$RUBY -r rbconfig -e 'if RbConfig::CONFIG[["archdir"]] then print " -I" + RbConfig::CONFIG[["archdir"]] end - if RbConfig::CONFIG[["rubyhdrdir"]] then print " -I" + RbConfig::CONFIG[["rubyhdrdir"]] end'` + if RbConfig::CONFIG[["rubyhdrdir"]] then print " -I" + RbConfig::CONFIG[["rubyhdrdir"]] end + if RbConfig::CONFIG[["rubyhdrdir"]] then print " -I" + RbConfig::CONFIG[["rubyhdrdir"]] + "/" + RbConfig::CONFIG[["sitearch"]] end'` AC_SUBST([RUBY_INCLUDES]) dnl pkgrbexecdir -- $(rbexecdir)/$(PACKAGE) --- configure 2016-04-23 00:04:31.791000363 +0200 +++ configure 2016-04-25 16:49:56.439426775 +0200 @@ -21843,7 +21843,8 @@ RUBY_INCLUDES=`$RUBY -r rbconfig -e 'if RbConfig::CONFIG["archdir"] then print " -I" + RbConfig::CONFIG["archdir"] end - if RbConfig::CONFIG["rubyhdrdir"] then print " -I" + RbConfig::CONFIG["rubyhdrdir"] end'` + if RbConfig::CONFIG["rubyhdrdir"] then print " -I" + RbConfig::CONFIG["rubyhdrdir"] end + if RbConfig::CONFIG["rubyhdrdir"] then print " -I" + RbConfig::CONFIG["rubyhdrdir"] + "/" + RbConfig::CONFIG["sitearch"] end'` ++++++ libprelude-ruby-swig.patch ++++++ --- bindings/ruby/Prelude.cxx 2016-04-22 23:26:58.270000362 +0200 +++ bindings/ruby/Prelude.cxx 2016-04-28 11:37:20.826666666 +0200 @@ -867,7 +867,17 @@ #define SWIG_NullReferenceError -13 - +#ifdef __cplusplus +// Work around C++ incompatibility in Ruby 2.3.0 headers: +// https://bugs.ruby-lang.org/issues/11962 +# include <ruby/config.h> +# ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P +# undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P +# endif +# ifdef HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P +# undef HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P +# endif +#endif #include <ruby.h> /* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which @@ -2596,6 +2606,17 @@ extern "C" { +#ifdef __cplusplus +// Work around C++ incompatibility in Ruby 2.3.0 headers: +// https://bugs.ruby-lang.org/issues/11962 +# include <ruby/config.h> +# ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P +# undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P +# endif +# ifdef HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P +# undef HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P +# endif +#endif #include <ruby.h> /* * cannot put libmissing into the include path, as it will trigger
