diff --git a/baselibs.conf b/baselibs.conf index f607fb1..9647a83 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,3 @@ libcap2 libpsx2 +pam_cap diff --git a/libcap.changes b/libcap.changes index 8a99ca4..cdb8c2d 100644 --- a/libcap.changes +++ b/libcap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 31 15:48:14 UTC 2023 - Marcus Meissner + +- enable pam module + ------------------------------------------------------------------- Tue May 16 08:13:00 UTC 2023 - Marcus Meissner diff --git a/libcap.spec b/libcap.spec index 6315622..3a937f6 100644 --- a/libcap.spec +++ b/libcap.spec @@ -29,6 +29,7 @@ Source2: https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.gi Source3: baselibs.conf BuildRequires: fdupes BuildRequires: glibc-devel-static +BuildRequires: pam-devel BuildRequires: pkgconfig %description @@ -89,6 +90,13 @@ Requires: libcap2 = %{version} This package contains utility programs handling capabilities via libcap. +%package -n pam_cap +Summary: PAM module for capabilities +Group: System/Filesystems + +%description -n pam_cap +This package contains the pam_cap module. + %prep %setup -q %autopatch -p1 @@ -128,6 +136,9 @@ rm %{buildroot}%{_libdir}/libcap.a %{_mandir}/man8/* %{_sbindir}/* +%files -n pam_cap +%{_libdir}/security/pam_cap.so + %files devel %license License %doc README CHANGELOG