Hello community,

here is the log from the commit of package libcap for openSUSE:Factory checked 
in at 2020-02-21 16:39:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcap (Old)
 and      /work/SRC/openSUSE:Factory/.libcap.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcap"

Fri Feb 21 16:39:22 2020 rev:37 rq:774610 version:2.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcap/libcap.changes    2019-12-21 
12:40:34.791625691 +0100
+++ /work/SRC/openSUSE:Factory/.libcap.new.26092/libcap.changes 2020-02-21 
16:39:23.725677879 +0100
@@ -1,0 +2,50 @@
+Sat Feb 15 21:24:26 CET 2020 - [email protected]
+
+- Update to version 2.32:
+  * Bug fix for fakeroot incompatibility (boo#1162014)
+  * Slight perf improvement for cap_get_bound().
+  * C++ support for psx header inclusion.
+  * Some new testing features for capsh
+
+-------------------------------------------------------------------
+Tue Jan 28 14:23:23 CET 2020 - [email protected]
+
+- Update to version 2.31:
+  * primarily a documentation update
+  * fix libpam.pc to not require libpsx.pc
+  * changed the text format of the default output of getpcap
+
+-------------------------------------------------------------------
+Mon Jan 13 12:54:25 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Build using -ffat-lto-objects for static library 
+
+-------------------------------------------------------------------
+Thu Jan  9 16:05:12 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Update to version 2.30:
+  * BUGFIX: arm and i386 fixes C and Go setgroups choice - used
+    wrong syscall in 2.29.
+  * cleaned up make clean and make install to actually work as
+    intended
+  * updated Gentoo libpsx.pc file from Lars Wendler
+  * refactored the way libpsx linkage with libcap performed mutual
+    discovery.
+  * Previously (2.28) libpsx had an API call overridden by libcap
+    using weak linkage function in libpsx. In 2.30 this is reversed,
+    namely libpsx provides the stronger function and libcap has a
+    weak "no-op" version.
+  * a bit more consistency in handling the 'all' sets in libcap
+    (C) and libcap/cap (Go). Namely, they both dynamically discover
+    the number of capabilities named by the kernel and use this as
+    the definition of 'all' for the current runtime.
+    + libcap (C) exports cap_max_bit() to export the number of
+      supported capabilities
+    + libcap/cap (Go) exports cap.MaxBits() for this same value.
+- For changes for older releases see:
+  * https://sites.google.com/site/fullycapable/release-notes-for-libcap
+- Add glibc-static-devel as build requirement as tests need it
+- Install libpsx.a as it seems to be needed in some cases:
+  * https://bugs.gentoo.org/703912
+
+-------------------------------------------------------------------

Old:
----
  libcap-2.25.tar.xz

New:
----
  libcap-2.32.tar.xz

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

Other differences:
------------------
++++++ libcap.spec ++++++
--- /var/tmp/diff_new_pack.oVK3iI/_old  2020-02-21 16:39:24.741679910 +0100
+++ /var/tmp/diff_new_pack.oVK3iI/_new  2020-02-21 16:39:24.753679933 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libcap
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -17,16 +17,17 @@
 
 
 Name:           libcap
+Version:        2.32
+Release:        0
 Summary:        Library for Capabilities (linux-privs) Support
 License:        BSD-3-Clause AND GPL-2.0-only
 Group:          Development/Libraries/C and C++
-Version:        2.25
-Release:        0
+URL:            https://sites.google.com/site/fullycapable/
 Source:         
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.xz
 Source2:        baselibs.conf
-Url:            https://sites.google.com/site/fullycapable/
 BuildRequires:  fdupes
-BuildRequires:  pkg-config
+BuildRequires:  glibc-devel-static
+BuildRequires:  pkgconfig
 
 %description
 Capabilities are a measure to limit the omnipotence of the superuser.
@@ -48,8 +49,6 @@
 capabilities within setuid binaries. If you use patches, this can be
 done automatically by the kernel.
 
-
-
 %package devel
 Summary:        Development files for libcap
 Group:          Development/Libraries/C and C++
@@ -76,9 +75,11 @@
 
 %prep
 %setup -q
+
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 make prefix=%{_prefix} lib=%{_lib} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} \
-     INCDIR=%{_includedir} MANDIR=%{_mandir} DEBUG="-g %{optflags}"
+     INCDIR=%{_includedir} MANDIR=%{_mandir} DYNAMIC=yes DEBUG="-g %{optflags}"
 
 %install
 make install RAISE_SETFCAP=no \
@@ -88,34 +89,36 @@
              INCDIR=/%{_includedir} \
              MANDIR=/%{_mandir}/ \
              PKGCONFIGDIR=%{_libdir}/pkgconfig/
-find %{buildroot} -type f -name '*.la' -print -delete
+find %{buildroot} -type f -name "*.la" -delete -print
 # do not provide static libs
 rm %{buildroot}%{_libdir}/libcap.a
 
-%fdupes -s $RPM_BUILD_ROOT
+%fdupes -s %{buildroot}
 
-%post -n libcap2 -p /sbin/ldconfig
+%check
+make test
 
+%post -n libcap2 -p /sbin/ldconfig
 %postun -n libcap2 -p /sbin/ldconfig
 
 %files -n libcap2
-%defattr(-,root,root)
 %license License
 %{_libdir}/libcap.so.*
 
 %files progs
-%defattr(-,root,root)
 %{_mandir}/man1/*
 %{_mandir}/man8/*
 %{_sbindir}/*
 
 %files devel
-%defattr(-,root,root)
 %license License
 %doc README CHANGELOG
 %{_includedir}/sys/capability.h
+%{_includedir}/sys/psx_syscall.h
 %{_libdir}/*.so
+%{_libdir}/libpsx.a
 %{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/pkgconfig/libpsx.pc
 %{_mandir}/man3/*
 
 %changelog

++++++ libcap-2.25.tar.xz -> libcap-2.32.tar.xz ++++++
++++ 8163 lines of diff (skipped)


Reply via email to