commit:     dd74d9d2f442163353e56f4bd3cf4d0f24f6f1e4
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 14:35:41 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 14:35:41 2019 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=dd74d9d2

integrate libcap support

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 Makefile                |   4 ++++
 pambase-20191115.tar.xz | Bin 0 -> 3240 bytes
 system-auth.in          |   4 ++++
 3 files changed, 8 insertions(+)

diff --git a/Makefile b/Makefile
index d036d84..94cc831 100644
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,10 @@ ifeq "$(MINIMAL)" "yes"
 PAMFLAGS += -DMINIMAL
 endif
 
+ifeq "$(LIBCAP)" "yes"
+PAMFLAGS += -DLIBCAP
+endif
+
 all: $(PAMD)
 
 install: $(PAMD)

diff --git a/pambase-20191115.tar.xz b/pambase-20191115.tar.xz
new file mode 100644
index 0000000..0b4f92e
Binary files /dev/null and b/pambase-20191115.tar.xz differ

diff --git a/system-auth.in b/system-auth.in
index 4d588fb..02d0e50 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -43,3 +43,7 @@ session               optional        pam_ssh.so
 #if HAVE_ELOGIND
 -session        optional        pam_elogind.so
 #endif
+
+#if HAVE_LIBCAP
+auth           optional        pam_cap.so
+#endif

Reply via email to