Accepting request 921983 from home:polslinux:branches:Base:System
- update to 2.59: * Fixed a potential libcap memory leak by adding a destructor * Major improvement is that there is a path for Linux-PAM compliant applications to support setting Ambient vector Capabilities via pam_cap.so now * Added libcap cap_proc_root() API function * Added color support to captree * Fixed contrib/sucap/su to correctly handle the Inheritable flag * capsh enhancements * getcap -r / now generates readable output * The shared library objects: pam_cap.so, libcap.so and libpsx.so, are all now runnable as standalone binaries * The module pam_cap.so now contains support for a default=<IAB> module argument * Enhanced capsh --suggest to also compare against the capability value names and not just their descriptions * Added capsh --current support * Added a contrib/sucap/su.c pure-capabilities PAM implementation of su * Fix for a corner case infinite loop handling long strings * Added libcap cap_iab_compare() and cap_iab_get_pid() APIs * Added a Go utility, captree, to display the process (and thread) graph along with the POSIX.1e and IAB capabilities of each PID{TID} tree. OBS-URL: https://build.opensuse.org/request/show/921983 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=64
This commit is contained in:
parent
5f59917f96
commit
f932419bea
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6609f3ab7aebcc8f9277f53a577c657d9f3056d1352ea623da7fd7c0f00890f9
|
||||
size 145440
|
3
libcap-2.59.tar.xz
Normal file
3
libcap-2.59.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49f64ae40b113e53cbc161e22af7094e3bb4a0611fa33ef5a4257b011779f034
|
||||
size 168404
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 12:05:15 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- update to 2.59:
|
||||
* Fixed a potential libcap memory leak by adding a destructor
|
||||
* Major improvement is that there is a path for Linux-PAM compliant
|
||||
applications to support setting Ambient vector Capabilities via pam_cap.so now
|
||||
* Added libcap cap_proc_root() API function
|
||||
* Added color support to captree
|
||||
* Fixed contrib/sucap/su to correctly handle the Inheritable flag
|
||||
* capsh enhancements
|
||||
* getcap -r / now generates readable output
|
||||
* The shared library objects: pam_cap.so, libcap.so and libpsx.so, are all now
|
||||
runnable as standalone binaries
|
||||
* The module pam_cap.so now contains support for a default=<IAB> module argument
|
||||
* Enhanced capsh --suggest to also compare against the capability value names
|
||||
and not just their descriptions
|
||||
* Added capsh --current support
|
||||
* Added a contrib/sucap/su.c pure-capabilities PAM implementation of su
|
||||
* Fix for a corner case infinite loop handling long strings
|
||||
* Added libcap cap_iab_compare() and cap_iab_get_pid() APIs
|
||||
* Added a Go utility, captree, to display the process (and thread) graph along with
|
||||
the POSIX.1e and IAB capabilities of each PID{TID} tree.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 17 06:33:52 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: libcap
|
||||
Version: 2.51
|
||||
Version: 2.59
|
||||
Release: 0
|
||||
Summary: Library for Capabilities (linux-privs) Support
|
||||
License: BSD-3-Clause AND GPL-2.0-only
|
||||
@ -95,7 +95,7 @@ libcap.
|
||||
%global _lto_cflags %{nil}
|
||||
%global buildvariables RAISE_SETFCAP=no prefix=%{_prefix} lib=%{_lib} SHARED=yes LIBDIR=%{_libdir} SBINDIR=%{_sbindir} PKGCONFIGDIR=%{_libdir}/pkgconfig/ INCDIR=%{_includedir} MANDIR=%{_mandir} SHARED=yes COPTS="%{optflags}"
|
||||
|
||||
make %{buildvariables}
|
||||
%make_build %{buildvariables}
|
||||
|
||||
%install
|
||||
make install %{buildvariables} DESTDIR=%{buildroot}
|
||||
@ -106,11 +106,10 @@ rm %{buildroot}%{_libdir}/libcap.a
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%check
|
||||
make %{buildvariables} test
|
||||
%make_build %{buildvariables} test
|
||||
|
||||
%post -n libcap2 -p /sbin/ldconfig
|
||||
%postun -n libcap2 -p /sbin/ldconfig
|
||||
|
||||
%post -n libpsx2 -p /sbin/ldconfig
|
||||
%postun -n libpsx2 -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user