diff options
| author | David Seifert <soap@gentoo.org> | 2023-07-16 12:32:23 +0200 |
|---|---|---|
| committer | David Seifert <soap@gentoo.org> | 2023-07-16 12:32:23 +0200 |
| commit | c580697941c0090848274bea073c0d3ef555032a (patch) | |
| tree | 355ed0321f8868acbc1a30d687dbcb8d0572856d /net-fs/samba/files/samba-4.18.4-pam.patch | |
| parent | 66baf9c626901c7195a3f6e136e60dd1a562ea4d (diff) | |
| download | gentoo-c580697941c0090848274bea073c0d3ef555032a.tar.gz gentoo-c580697941c0090848274bea073c0d3ef555032a.tar.bz2 gentoo-c580697941c0090848274bea073c0d3ef555032a.zip | |
net-fs/samba: add 4.18.4
Bug: https://bugs.gentoo.org/910306
Bug: https://bugs.gentoo.org/910334
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-fs/samba/files/samba-4.18.4-pam.patch')
| -rw-r--r-- | net-fs/samba/files/samba-4.18.4-pam.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-4.18.4-pam.patch b/net-fs/samba/files/samba-4.18.4-pam.patch new file mode 100644 index 000000000000..381f77ccd32d --- /dev/null +++ b/net-fs/samba/files/samba-4.18.4-pam.patch @@ -0,0 +1,29 @@ +--- a/source3/wscript ++++ b/source3/wscript +@@ -863,7 +863,7 @@ + if conf.env.with_iconv: + conf.DEFINE('HAVE_ICONV', 1) + +- if Options.options.with_pam: ++ if Options.options.with_pam != False: + use_pam=True + conf.CHECK_HEADERS('security/pam_appl.h pam/pam_appl.h') + if not conf.CONFIG_SET('HAVE_SECURITY_PAM_APPL_H') and not conf.CONFIG_SET('HAVE_PAM_PAM_APPL_H'): +@@ -940,6 +940,17 @@ + "or headers not found. Use --without-pam to disable " + "PAM support."); + ++ else: ++ Logs.warn("PAM disabled") ++ use_pam=False ++ conf.undefine('WITH_PAM') ++ conf.undefine('WITH_PAM_MODULES') ++ conf.undefine('HAVE_SECURITY_PAM_APPL_H') ++ conf.undefine('PAM_RHOST') ++ conf.undefine('PAM_TTY') ++ conf.undefine('HAVE_PAM_PAM_APPL_H') ++ ++ + seteuid = False + + # |
