2024-01-06 03:57:23 +01:00
|
|
|
Name: libcap-ng
|
2024-01-06 03:57:23 +01:00
|
|
|
Version: 0.7.11
|
2024-01-06 03:57:23 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:57:23 +01:00
|
|
|
Summary: An alternate posix capabilities library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 03:57:23 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 03:57:23 +01:00
|
|
|
URL: http://people.redhat.com/sgrubb/libcap-ng/
|
|
|
|
Source: http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: swig
|
|
|
|
Patch0: libcap-ng-0.6.3-euid.patch
|
|
|
|
Patch1: libcap-ng-0.6.3-setpcap.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The libcap-ng library should make programming with posix capabilities easier.
|
|
|
|
The library has some utilities to help you analyse a system for apps that may have too much privileges.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libcap-ng library should make programming with posix capabilities easier.
|
|
|
|
The library has some utilities to help you analyse a system for apps that may have too much privileges.
|
|
|
|
|
|
|
|
This package contains libraries and header files need for development.
|
|
|
|
|
|
|
|
%package -n python-libcap-ng
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Python bindings for libcap-ng library
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-libcap-ng
|
|
|
|
The libcap-ng library should make programming with posix capabilities easier.
|
|
|
|
The library has some utilities to help you analyse a system for apps that may have too much privileges.
|
|
|
|
|
|
|
|
This package contains the bindings so that libcap-ng and can be used by python applications.
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%package -n python-libcap-ng-py36
|
2024-01-06 03:57:23 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Python 3 bindings for libcap-ng library
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 03:57:23 +01:00
|
|
|
Provides: python3-libgap-ng
|
|
|
|
Obsoletes: python3-libgap-ng
|
2024-01-06 03:57:23 +01:00
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%description -n python-libcap-ng-py36
|
2024-01-06 03:57:23 +01:00
|
|
|
The libcap-ng library should make programming with posix capabilities easier.
|
|
|
|
The library has some utilities to help you analyse a system for apps that may have too much privileges.
|
|
|
|
|
|
|
|
This package contains the bindings so that libcap-ng and can be used by python applications.
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%package utils
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Utilities for analysing and setting file capabilities
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
The libcap-ng library should make programming with posix capabilities easier.
|
|
|
|
The library has some utilities to help you analyse a system for apps that may have too much privileges.
|
|
|
|
|
|
|
|
This package contains applications to analyse the posix capabilities of all the program running on a system.
|
|
|
|
It also lets you set the file system based capabilities.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-06 03:57:23 +01:00
|
|
|
--disable-static \
|
|
|
|
PYTHON3=%{__python36} \
|
|
|
|
PYTHON3_INCLUDES=%{python36_inc} \
|
|
|
|
PYTHON3_CFLAGS=`pkg-config python-3.6 --cflags` \
|
|
|
|
PYTHON3_LIBS=`pkg-config python-3.6 --libs`
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
## Remove static libraries
|
|
|
|
#rm -f %{buildroot}/%{_lib}/libcap-ng.a
|
|
|
|
#rm -f %{buildroot}/%{python_sitearch}/_capng.a
|
|
|
|
#rm -f %{buildroot}/%{python_sitearch}/_capng.la
|
2024-01-06 03:57:23 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2024-01-06 03:57:23 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:23 +01:00
|
|
|
%{_libdir}/libcap-ng.so.*
|
2024-01-06 03:57:23 +01:00
|
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:23 +01:00
|
|
|
%{_datadir}/aclocal/cap-ng.m4
|
|
|
|
%{_includedir}/cap-ng.h
|
|
|
|
%{_libdir}/libcap-ng.la
|
|
|
|
%{_libdir}/libcap-ng.so
|
2024-01-06 03:57:23 +01:00
|
|
|
%{_libdir}/pkgconfig/libcap-ng.pc
|
2024-01-06 03:57:23 +01:00
|
|
|
%attr(644,root,root) %{_mandir}/man3/capng_*.3*
|
2024-01-06 03:57:23 +01:00
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%files -n python-libcap-ng
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:23 +01:00
|
|
|
%{python_sitearch}/_capng.la
|
|
|
|
%{python_sitearch}/_capng.so
|
|
|
|
%{python_sitearch}/capng.py*
|
2024-01-06 03:57:23 +01:00
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%files -n python-libcap-ng-py36
|
2024-01-06 03:57:23 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:23 +01:00
|
|
|
%{python36_sitearch}/_capng.la
|
|
|
|
%{python36_sitearch}/_capng.so
|
|
|
|
%{python36_sitearch}/capng.py
|
|
|
|
%{python36_sitearch}/__pycache__/capng.cpython-*.pyc
|
2024-01-06 03:57:23 +01:00
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:57:23 +01:00
|
|
|
%{_bindir}/captest
|
|
|
|
%{_bindir}/filecap
|
|
|
|
%{_bindir}/netcap
|
|
|
|
%{_bindir}/pscap
|
|
|
|
%{_mandir}/man8/*.8*
|
2024-01-06 03:57:23 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:57:23 +01:00
|
|
|
* Sun Aug 30 2020 Automatic Build System <autodist@mambasoft.it> 0.7.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Mon Dec 02 2019 Automatic Build System <autodist@mambasoft.it> 0.7.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Sun Aug 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.9-2mamba
|
|
|
|
- rebuilt in %_libdir
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Thu Mar 22 2018 Automatic Build System <autodist@mambasoft.it> 0.7.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Mon Aug 08 2016 Automatic Build System <autodist@mambasoft.it> 0.7.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Mon May 18 2015 Automatic Build System <autodist@mambasoft.it> 0.7.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:57:23 +01:00
|
|
|
* Fri Apr 25 2014 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 12 2012 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 30 2012 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 30 2011 Automatic Build System <autodist@mambasoft.it> 0.6.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 07 2010 Automatic Build System <autodist@mambasoft.it> 0.6.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 0.6.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 05 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.6.2-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Nov 27 2009 gil <puntogil@libero.it> 0.6.2-1mamba
|
|
|
|
- package created by autospec
|