diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-11-15 21:08:50 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-11-15 21:08:50 +0300 |
commit | 306b4622648909158bac6ff5e315794fd8d5bd09 (patch) | |
tree | b065d0db4c4740d531c2283b7ba6ef6d39c1eb5d | |
parent | add vital patches into the sources (diff) | |
download | pambase-306b4622648909158bac6ff5e315794fd8d5bd09.tar.gz pambase-306b4622648909158bac6ff5e315794fd8d5bd09.tar.bz2 pambase-306b4622648909158bac6ff5e315794fd8d5bd09.zip |
remove openpam support
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | openpam-conf | 24 |
2 files changed, 1 insertions, 30 deletions
@@ -9,12 +9,7 @@ PAMD=login passwd su system-auth system-login system-local-login system-remote-l # (i.e.: in the ebuild) GIT=git -# Get this by default, even if I'd like avoid it... -ifeq "$(IMPLEMENTATION)" "" -IMPLEMENTATION=linux-pam -endif - -PAMFLAGS = -include $(IMPLEMENTATION)-conf -include basic-conf -DLINUX_PAM_VERSION=$(LINUX_PAM_VERSION) +PAMFLAGS = -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=$(LINUX_PAM_VERSION) ifeq "$(CRACKLIB)" "yes" PAMFLAGS += -DHAVE_CRACKLIB=1 diff --git a/openpam-conf b/openpam-conf deleted file mode 100644 index e38107c..0000000 --- a/openpam-conf +++ /dev/null @@ -1,24 +0,0 @@ -#if HAVE_CRACKLIB -# error "pam_cracklib is only supported with Linux-PAM" -#endif - -// OpenPAM only provides basic modules, it's FreeBSD that provides the -// extended modules, so check for FreeBSD building first. -#ifdef __FreeBSD__ -# define HAVE_LOGIN_ACCESS 1 -# define SUPPORT_UNIX_SESSION 0 - -# if defined(DEBUG) -# define DEBUG_NOLOGIN DEBUG -# else -# define DEBUG_NOLOGIN -# endif - -# define SUPPORT_NOLOGIN_ACCOUNT 1 -# define SUPPORT_NOLOGIN_AUTH 0 - -# if defined(WANT_SHA512) -# error "SHA512 support is not present for FreeBSD!" -# endif - -#endif /* __FreeBSD__ */ |