2024-01-06 03:57:02 +01:00
|
|
|
Name: libcap
|
2024-12-04 09:02:22 +01:00
|
|
|
Version: 2.73
|
2024-01-06 03:57:03 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:57:02 +01:00
|
|
|
Summary: POSIX 1003.1e capabilities
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 03:57:03 +01:00
|
|
|
URL: https://sites.google.com/site/fullycapable
|
|
|
|
Source: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/libcap-%{version}/libcap-%{version}.tar.bz2
|
2024-01-06 03:57:02 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 03:57:03 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:57:02 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: pam-devel
|
2024-01-06 03:57:02 +01:00
|
|
|
Requires(post): libcap-tools = %{version}-%{release}
|
2024-01-06 03:57:03 +01:00
|
|
|
Obsoletes: libcap1 < 2.49
|
2024-01-06 03:57:02 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
POSIX 1003.1e capabilities.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-06 03:57:02 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-06 03:57:03 +01:00
|
|
|
Obsoletes: libcap1-devel < 2.49
|
2024-01-06 03:57:02 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
POSIX 1003.1e capabilities
|
2024-01-06 03:57:03 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 03:57:02 +01:00
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
%package tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Tools for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
POSIX 1003.1e capabilities
|
|
|
|
This package contains tools for %{name}.
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 03:57:02 +01:00
|
|
|
%make -j1 \
|
|
|
|
GOLANG=no \
|
2024-01-06 03:57:02 +01:00
|
|
|
CC=%{_host}-gcc \
|
|
|
|
BUILD_CC=%{_build}-gcc \
|
2024-01-06 03:57:03 +01:00
|
|
|
SBINDIR=%{_sbindir} \
|
2024-01-06 03:57:02 +01:00
|
|
|
LIBDIR=%{_libdir} \
|
2024-01-06 03:57:02 +01:00
|
|
|
%if "%{_host}" != "%{_build}"
|
|
|
|
LDFLAGS="-lcrypt -lattr -L../libcap/"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man8
|
|
|
|
%makeinstall \
|
2024-01-06 03:57:02 +01:00
|
|
|
GOLANG=no \
|
2024-01-06 03:57:02 +01:00
|
|
|
FAKEROOT=%{buildroot} \
|
|
|
|
RAISE_SETFCAP=no \
|
2024-01-06 03:57:03 +01:00
|
|
|
SBINDIR=%{_sbindir} \
|
2024-01-06 03:57:02 +01:00
|
|
|
LIBDIR=%{_libdir}
|
|
|
|
|
|
|
|
install -Dm644 pam_cap/capability.conf \
|
|
|
|
%{buildroot}%{_docdir}/libcap/capability.conf.example
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libdir}/libcap.so.*
|
2024-01-06 03:57:02 +01:00
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
install -d -m0755 %{buildroot}/%{_lib}
|
|
|
|
mv %{buildroot}%{_libdir}/security %{buildroot}/%{_lib}
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
# remove conflicting man pages
|
|
|
|
rm -f %{buildroot}%{_mandir}/man2/capset*
|
|
|
|
rm -f %{buildroot}%{_mandir}/man2/capget*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
/sbin/setcap cap_setfcap=i /sbin/setcap
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_libdir}/libcap.so.*
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_libdir}/libpsx.so.*
|
2024-01-06 03:57:03 +01:00
|
|
|
/%{_lib}/security/pam_cap.so
|
2024-01-06 03:57:02 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/sys/capability.h
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_includedir}/sys/psx_syscall.h
|
|
|
|
%{_libdir}/libcap.a
|
|
|
|
%{_libdir}/libcap.so
|
|
|
|
%{_libdir}/libpsx.a
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_libdir}/libpsx.so
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_libdir}/pkgconfig/libcap.pc
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_libdir}/pkgconfig/libpsx.pc
|
|
|
|
%{_mandir}/man3/*.3*
|
2024-01-06 03:57:02 +01:00
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:03 +01:00
|
|
|
%{_sbindir}/capsh
|
2024-01-06 03:57:03 +01:00
|
|
|
%{_sbindir}/getcap
|
|
|
|
%{_sbindir}/getpcaps
|
|
|
|
%{_sbindir}/setcap
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_mandir}/man1/capsh.1*
|
2024-06-07 13:04:45 +02:00
|
|
|
%{_mandir}/man5/capability.conf.5*
|
2024-01-06 03:57:03 +01:00
|
|
|
%{_mandir}/man8/captree.8*
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_mandir}/man8/getcap.8*
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_mandir}/man8/getpcaps.8*
|
2024-06-07 13:04:45 +02:00
|
|
|
%{_mandir}/man8/pam_cap.8*
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_mandir}/man8/setcap.8*
|
2024-01-06 03:57:02 +01:00
|
|
|
%{_docdir}/libcap/capability.conf.example
|
2024-01-06 03:57:02 +01:00
|
|
|
%doc README
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
%changelog
|
2024-12-04 09:02:22 +01:00
|
|
|
* Tue Dec 03 2024 Automatic Build System <autodist@openmamba.org> 2.73-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 12 2024 Automatic Build System <autodist@openmamba.org> 2.72-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-10-27 10:22:14 +01:00
|
|
|
* Sat Oct 26 2024 Automatic Build System <autodist@openmamba.org> 2.71-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-07 13:04:45 +02:00
|
|
|
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 2.70-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:05 +01:00
|
|
|
* Wed May 17 2023 Automatic Build System <autodist@mambasoft.it> 2.69-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:05 +01:00
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 2.68-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Sat Feb 04 2023 Automatic Build System <autodist@mambasoft.it> 2.67-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Mon Sep 26 2022 Automatic Build System <autodist@mambasoft.it> 2.66-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Mon Jul 18 2022 Automatic Build System <autodist@mambasoft.it> 2.65-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Mon Apr 11 2022 Automatic Build System <autodist@mambasoft.it> 2.64-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Wed Jan 26 2022 Automatic Build System <autodist@mambasoft.it> 2.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Sun Dec 12 2021 Automatic Build System <autodist@mambasoft.it> 2.62-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:04 +01:00
|
|
|
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 2.61-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sun Oct 24 2021 Automatic Build System <autodist@mambasoft.it> 2.60-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Tue Sep 28 2021 Automatic Build System <autodist@mambasoft.it> 2.59-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sat Sep 18 2021 Automatic Build System <autodist@mambasoft.it> 2.58-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Fri Sep 10 2021 Automatic Build System <autodist@mambasoft.it> 2.57-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sat Sep 04 2021 Automatic Build System <autodist@mambasoft.it> 2.56-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 2.55-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sun Aug 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.54-2mamba
|
|
|
|
- fixed URL and Source urls; removed build requirement for libatts as per upstream developer indications
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 2.54-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Tue Aug 17 2021 Automatic Build System <autodist@mambasoft.it> 2.53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Tue Aug 03 2021 Automatic Build System <autodist@mambasoft.it> 2.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sun Jun 27 2021 Automatic Build System <autodist@mambasoft.it> 2.51-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sat Jun 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.50-1mamba
|
|
|
|
- update to 2.50
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Tue Apr 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba
|
|
|
|
- install pam file to /%_lib/security
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sun Mar 14 2021 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:03 +01:00
|
|
|
* Sat Feb 06 2021 Automatic Build System <autodist@mambasoft.it> 2.48-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Tue Jan 26 2021 Automatic Build System <autodist@mambasoft.it> 2.47-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Wed Jan 13 2021 Automatic Build System <autodist@mambasoft.it> 2.46-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 2.45-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sat Oct 17 2020 Automatic Build System <autodist@mambasoft.it> 2.44-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Mon Aug 31 2020 Automatic Build System <autodist@mambasoft.it> 2.43-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Thu Aug 20 2020 Automatic Build System <autodist@mambasoft.it> 2.42-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Tue Aug 04 2020 Automatic Build System <autodist@mambasoft.it> 2.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Wed Jul 15 2020 Automatic Build System <autodist@mambasoft.it> 2.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sat Jun 20 2020 Automatic Build System <autodist@mambasoft.it> 2.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Wed Jun 17 2020 Automatic Build System <autodist@mambasoft.it> 2.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sun May 24 2020 Automatic Build System <autodist@mambasoft.it> 2.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 2.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sat Feb 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32-1mamba
|
|
|
|
- update to 2.32
|
|
|
|
|
|
|
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 2.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Sat Apr 20 2019 Automatic Build System <autodist@mambasoft.it> 2.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Tue Dec 04 2018 Automatic Build System <autodist@mambasoft.it> 2.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Wed Jun 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.25-2mamba
|
|
|
|
- libcap: require libcap-tools
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 2.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:02 +01:00
|
|
|
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 2.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.23-1mamba
|
|
|
|
- update to 2.23
|
|
|
|
|
|
|
|
* Tue Aug 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22-1mamba
|
|
|
|
- update to 2.22
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 2.19-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 28 2009 Automatic Build System <autodist@mambasoft.it> 2.17-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.02-1mamba
|
|
|
|
- update to 2.02
|
|
|
|
|
|
|
|
* Sun Feb 20 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1qilnx
|
|
|
|
- package created by autospec
|