update to 2.50 [release 2.50-1mamba;Sat Jun 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 03:57:03 +01:00
parent 69ca189a23
commit 5c6d68e037

View File

@ -1,12 +1,12 @@
Name: libcap Name: libcap
Version: 2.49 Version: 2.50
Release: 2mamba Release: 1mamba
Summary: POSIX 1003.1e capabilities Summary: POSIX 1003.1e capabilities
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.it.kernel.org/pub/linux/libs/security/linux-privs/ URL: https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/
Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.xz Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -28,7 +28,7 @@ Obsoletes: libcap1-devel < 2.49
%description devel %description devel
POSIX 1003.1e capabilities POSIX 1003.1e capabilities
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%package tools %package tools
Group: System/Tools Group: System/Tools
@ -49,6 +49,7 @@ This package contains tools for %{name}.
GOLANG=no \ GOLANG=no \
CC=%{_host}-gcc \ CC=%{_host}-gcc \
BUILD_CC=%{_build}-gcc \ BUILD_CC=%{_build}-gcc \
SBINDIR=%{_sbindir} \
LIBDIR=%{_libdir} \ LIBDIR=%{_libdir} \
%if "%{_host}" != "%{_build}" %if "%{_host}" != "%{_build}"
LDFLAGS="-lcrypt -lattr -L../libcap/" LDFLAGS="-lcrypt -lattr -L../libcap/"
@ -61,6 +62,7 @@ mkdir -p %{buildroot}%{_mandir}/man8
GOLANG=no \ GOLANG=no \
FAKEROOT=%{buildroot} \ FAKEROOT=%{buildroot} \
RAISE_SETFCAP=no \ RAISE_SETFCAP=no \
SBINDIR=%{_sbindir} \
LIBDIR=%{_libdir} LIBDIR=%{_libdir}
install -Dm644 pam_cap/capability.conf \ install -Dm644 pam_cap/capability.conf \
@ -107,10 +109,10 @@ fi
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
/sbin/capsh #/sbin/capsh
/sbin/getcap %{_sbindir}/getcap
/sbin/getpcaps %{_sbindir}/getpcaps
/sbin/setcap %{_sbindir}/setcap
%{_mandir}/man1/capsh.1* %{_mandir}/man1/capsh.1*
%{_mandir}/man8/getcap.8* %{_mandir}/man8/getcap.8*
%{_mandir}/man8/getpcaps.8* %{_mandir}/man8/getpcaps.8*
@ -119,6 +121,9 @@ fi
%doc README %doc README
%changelog %changelog
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.50-1mamba
- update to 2.50
* Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba * Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba
- install pam file to /%_lib/security - install pam file to /%_lib/security