Hello community, here is the log from the commit of package libseccomp for openSUSE:Factory checked in at 2015-04-02 16:01:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libseccomp (Old) and /work/SRC/openSUSE:Factory/.libseccomp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libseccomp" Changes: -------- --- /work/SRC/openSUSE:Factory/libseccomp/libseccomp.changes 2014-07-15 16:26:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libseccomp.new/libseccomp.changes 2015-04-02 16:01:35.000000000 +0200 @@ -1,0 +2,12 @@ +Sun Mar 29 00:28:59 UTC 2015 - jeng...@inai.de + +- Update to new upstream release 2.2.0 +* Added support for aarch64, mips, mips64, mips64n32 (BE/LE). +* Added support for using the new seccomp() syscall and the thread + sync functionality. +* Added Python bindings +- Remove 0001-build-use-autotools-as-build-system.patch + (merged). Add no-static.diff. + Add 0001-tools-add-the-missing-elf.h-header-file.patch + +------------------------------------------------------------------- Old: ---- 0001-build-use-autotools-as-build-system.patch libseccomp-2.1.1.tar.gz New: ---- 0001-tools-add-the-missing-elf.h-header-file.patch libseccomp-2.2.0.tar.gz libseccomp-2.2.0.tar.gz.SHA256SUM.asc no-static.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libseccomp.spec ++++++ --- /var/tmp/diff_new_pack.OFFsj1/_old 2015-04-02 16:01:35.000000000 +0200 +++ /var/tmp/diff_new_pack.OFFsj1/_new 2015-04-02 16:01:35.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libseccomp # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,21 +18,22 @@ Name: libseccomp %define lname libseccomp2 -Version: 2.1.1 +Version: 2.2.0 Release: 0 Summary: An enhanced Seccomp (mode 2) helper library License: LGPL-2.1 Group: Development/Libraries/C and C++ -Url: http://sf.net/projects/libseccomp/ +Url: http://github.com/seccomp -#Git-Clone: git://git.code.sf.net/p/libseccomp/libseccomp -#Git-Clone: git://git.inai.de/libseccomp -Source: http://downloads.sf.net/libseccomp/libseccomp-%{version}.tar.gz -Patch1: 0001-build-use-autotools-as-build-system.patch -Patch2: libseccomp-s390x-support.patch +#Git-Clone: git://github.com/seccomp/libseccomp +Source: https://github.com/seccomp/libseccomp/releases/download/v%version/%name-%version.tar.gz +Source2: https://github.com/seccomp/libseccomp/releases/download/v%version/%name-%version.tar.gz.SHA256SUM.asc +Patch1: no-static.diff +Patch2: 0001-tools-add-the-missing-elf.h-header-file.patch +Patch3: libseccomp-s390x-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf -BuildRequires: automake >= 1.10 +BuildRequires: automake >= 1.11 BuildRequires: fdupes BuildRequires: libtool >= 2 BuildRequires: pkgconfig @@ -97,19 +98,16 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 +%patch -P 1 -P 2 -P 3 -p1 %build -chmod a+x autogen.sh; -./autogen.sh; -%configure --includedir="%_includedir/pkg/%name" +autoreconf -fi +%configure --includedir="%_includedir/%name" --disable-static make %{?_smp_mflags}; %install -b="%buildroot"; -make install DESTDIR="$b"; -find "$b/%_libdir" -type f -name "*.la" -delete; +%make_install +find "%buildroot/%_libdir" -type f -name "*.la" -delete %fdupes %buildroot/%_prefix %check @@ -133,7 +131,7 @@ %files devel %defattr(-,root,root) %_mandir/man3/seccomp_*.3* -%_includedir/pkg/ +%_includedir/%name/ %_libdir/%name.so %_libdir/pkgconfig/%name.pc ++++++ 0001-tools-add-the-missing-elf.h-header-file.patch ++++++ >From 7a7a83a24491f636d422e951f9e0547caaa68967 Mon Sep 17 00:00:00 2001 From: Paul Moore <pmo...@redhat.com> Date: Fri, 13 Feb 2015 11:57:43 -0500 Subject: [PATCH] tools: add the missing elf.h header file Signed-off-by: Paul Moore <pmo...@redhat.com> --- tools/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/util.h b/tools/util.h index 13ef59f..261320f 100644 --- a/tools/util.h +++ b/tools/util.h @@ -22,6 +22,7 @@ #ifndef _UTIL_H #define _UTIL_H +#include <elf.h> #include <inttypes.h> #include <linux/audit.h> -- 2.1.4 ++++++ libseccomp-2.1.1.tar.gz -> libseccomp-2.2.0.tar.gz ++++++ ++++ 60415 lines of diff (skipped) ++++++ libseccomp-2.2.0.tar.gz.SHA256SUM.asc ++++++ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 5aa8a230f8529d6ee777098550245e43d2247395fdfd5a2176e28cf7236f1b10 libseccomp-2.2.0.tar.gz -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU3Q+YAAoJEFXkWlroynyKWsMP/3H+nI7/PEdsxrwb3kNK+wS0 LEKguUufhizAhp2J+6POejqyapxj/ge+QWRR4EZlbXUBzK8Mlu0OCexW7ic20QR3 reua7B/Dg363fGyBpx9vWnI8/l7DUuxlz97sYvYFbBZ0XeOeLFc6bxic8SvYJLzT 5A5oyd7oESAFH99C83oIcoJOxJanZXALOEN3J5fd5HXVtnHa0gQ1JlaIAldiXBlX VrhS9FmAzJ/hpqGG9kP7piaUvrqNZRkuj0KsB6Ty2hE43pV/FgEzoMcScAdMS1E2 9L+K6RXT0Dcv5pB6avMz37chXMcfginh/pl6PL3QG0130ivbv0VJKKjkI1JVTadp mUIYx7kOjZO/ZrdsRrh6hzDg9+kNlmtaCnzne7O1dttnlPNbz09KDmxN+e5/i5kA 6Vss+09ruO9fLTnlepfDcPujrZ6sxbqn4qvNJQd1nqdencbZl5DYJsUJCa6sxL2t i/7+xo1zKXtVaeeEgAYn9MrpxtKbganorP05RlY2ecDf7rX0/pUHVcXjKUUrWgGl By+PnD0Rg6OELmbNpPhcgNgUEYzGKdOhKkYfL/IH29zSSUmuVqskpGoQH7HRd2vo oNz4oRcGi4vGeQAkp6hHaRPNpP4kylRxv0HzLigkuwhIRUtrDZBQ/A+KB0vBWh8O 36DpNMxzhPTBM3qdCbNa =mufN -----END PGP SIGNATURE----- ++++++ libseccomp-s390x-support.patch ++++++ ++++ 3000 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/libseccomp/libseccomp-s390x-support.patch ++++ and /work/SRC/openSUSE:Factory/.libseccomp.new/libseccomp-s390x-support.patch ++++++ no-static.diff ++++++ RPM's brp checks say: ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libseccomp-2.2.0/src/.libs" on <buildroot>/usr/bin/scmp_sys_resolver is not allowed --- tools/Makefile.am | 2 -- 1 file changed, 2 deletions(-) Index: libseccomp-2.2.0/tools/Makefile.am =================================================================== --- libseccomp-2.2.0.orig/tools/Makefile.am +++ libseccomp-2.2.0/tools/Makefile.am @@ -33,8 +33,6 @@ scmp_bpf_disasm_SOURCES = scmp_bpf_disas scmp_bpf_sim_SOURCES = scmp_bpf_sim.c bpf.h util.h scmp_sys_resolver_LDADD = ../src/libseccomp.la -scmp_sys_resolver_LDFLAGS = -static scmp_arch_detect_LDADD = ../src/libseccomp.la -scmp_arch_detect_LDFLAGS = -static scmp_bpf_disasm_LDADD = util.la scmp_bpf_sim_LDADD = util.la