summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-11-24 17:35:41 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-11-24 17:35:41 +0300
commitdd74d9d2f442163353e56f4bd3cf4d0f24f6f1e4 (patch)
treed4dd2515adccf1b303273c40fe8e70a0882d6975
parentremove openpam support (diff)
downloadpambase-dd74d9d2f442163353e56f4bd3cf4d0f24f6f1e4.tar.gz
pambase-dd74d9d2f442163353e56f4bd3cf4d0f24f6f1e4.tar.bz2
pambase-dd74d9d2f442163353e56f4bd3cf4d0f24f6f1e4.zip
integrate libcap support
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--Makefile4
-rw-r--r--pambase-20191115.tar.xzbin0 -> 3240 bytes
-rw-r--r--system-auth.in4
3 files changed, 8 insertions, 0 deletions
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
--- /dev/null
+++ b/pambase-20191115.tar.xz
Binary files 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