1 |
commit: 306b4622648909158bac6ff5e315794fd8d5bd09 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 18:08:50 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 18:08:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=306b4622 |
7 |
|
8 |
remove openpam support |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
Makefile | 7 +------ |
13 |
openpam-conf | 24 ------------------------ |
14 |
2 files changed, 1 insertion(+), 30 deletions(-) |
15 |
|
16 |
diff --git a/Makefile b/Makefile |
17 |
index abd7008..d036d84 100644 |
18 |
--- a/Makefile |
19 |
+++ b/Makefile |
20 |
@@ -9,12 +9,7 @@ PAMD=login passwd su system-auth system-login system-local-login system-remote-l |
21 |
# (i.e.: in the ebuild) |
22 |
GIT=git |
23 |
|
24 |
-# Get this by default, even if I'd like avoid it... |
25 |
-ifeq "$(IMPLEMENTATION)" "" |
26 |
-IMPLEMENTATION=linux-pam |
27 |
-endif |
28 |
- |
29 |
-PAMFLAGS = -include $(IMPLEMENTATION)-conf -include basic-conf -DLINUX_PAM_VERSION=$(LINUX_PAM_VERSION) |
30 |
+PAMFLAGS = -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=$(LINUX_PAM_VERSION) |
31 |
|
32 |
ifeq "$(CRACKLIB)" "yes" |
33 |
PAMFLAGS += -DHAVE_CRACKLIB=1 |
34 |
|
35 |
diff --git a/openpam-conf b/openpam-conf |
36 |
deleted file mode 100644 |
37 |
index e38107c..0000000 |
38 |
--- a/openpam-conf |
39 |
+++ /dev/null |
40 |
@@ -1,24 +0,0 @@ |
41 |
-#if HAVE_CRACKLIB |
42 |
-# error "pam_cracklib is only supported with Linux-PAM" |
43 |
-#endif |
44 |
- |
45 |
-// OpenPAM only provides basic modules, it's FreeBSD that provides the |
46 |
-// extended modules, so check for FreeBSD building first. |
47 |
-#ifdef __FreeBSD__ |
48 |
-# define HAVE_LOGIN_ACCESS 1 |
49 |
-# define SUPPORT_UNIX_SESSION 0 |
50 |
- |
51 |
-# if defined(DEBUG) |
52 |
-# define DEBUG_NOLOGIN DEBUG |
53 |
-# else |
54 |
-# define DEBUG_NOLOGIN |
55 |
-# endif |
56 |
- |
57 |
-# define SUPPORT_NOLOGIN_ACCOUNT 1 |
58 |
-# define SUPPORT_NOLOGIN_AUTH 0 |
59 |
- |
60 |
-# if defined(WANT_SHA512) |
61 |
-# error "SHA512 support is not present for FreeBSD!" |
62 |
-# endif |
63 |
- |
64 |
-#endif /* __FreeBSD__ */ |