From 89cf15b63ad651c6e74051a52e5eefaf38c670444f0ca3350c3a0dc017f41037 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 1 Jun 2023 06:54:16 +0000 Subject: [PATCH] Accepting request 1090157 from home:msmeissn:branches:Base:System - enable pam module OBS-URL: https://build.opensuse.org/request/show/1090157 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=85 --- baselibs.conf | 1 + libcap.changes | 5 +++++ libcap.spec | 11 +++++++++++ 3 files changed, 17 insertions(+) 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