forked from pool/libcap
This commit is contained in:
parent
4521466958
commit
94f4e5b306
21
libcap.spec
21
libcap.spec
@ -49,6 +49,20 @@ control. Without kernel patches, you can use this library to drop
|
|||||||
capabilities within setuid binaries. If you use patches, this can be
|
capabilities within setuid binaries. If you use patches, this can be
|
||||||
done automatically by the kernel.
|
done automatically by the kernel.
|
||||||
|
|
||||||
|
%package -n libpsx2
|
||||||
|
Summary: Library for Capabilities (linux-privs) Support
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libpsx2
|
||||||
|
Capabilities are a measure to limit the omnipotence of the superuser.
|
||||||
|
Currently a program started by root or setuid root has the power to do
|
||||||
|
anything. Capabilities (Linux-Privs) provide a more fine-grained access
|
||||||
|
control. Without kernel patches, you can use this library to drop
|
||||||
|
capabilities within setuid binaries. If you use patches, this can be
|
||||||
|
done automatically by the kernel.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libcap
|
Summary: Development files for libcap
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -101,6 +115,13 @@ make test
|
|||||||
%post -n libcap2 -p /sbin/ldconfig
|
%post -n libcap2 -p /sbin/ldconfig
|
||||||
%postun -n libcap2 -p /sbin/ldconfig
|
%postun -n libcap2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libpsx2 -p /sbin/ldconfig
|
||||||
|
%postun -n libpsx2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libpsx2
|
||||||
|
%license License
|
||||||
|
%{_libdir}/libpsx.so.2*
|
||||||
|
|
||||||
%files -n libcap2
|
%files -n libcap2
|
||||||
%license License
|
%license License
|
||||||
%{_libdir}/libcap.so.*
|
%{_libdir}/libcap.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user