1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

FreeBSD.cf,DragonFly.cf: disable PAM support by default

These system can support PAM, but it requires a port of the NetBSD
module to do so.  As a result, this support is disabled by default.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073 for a
patch to add this support to the OS.  Then you can set HasPamLibrary
to YES in the respective .cf files, rebuild CDE, and try it out.
This commit is contained in:
Jon Trulson 2021-05-22 12:50:25 -06:00
parent 1f35dd82e6
commit 35c35d2b3c
2 changed files with 7 additions and 3 deletions

View file

@ -190,8 +190,10 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion) (OSRelVersio
# define HasZlib YES
#endif
#ifndef HasPam
# define HasPam YES
#ifndef HasPamLibrary
XCOMM See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073
XCOMM to enable pam support
# define HasPamLibrary NO
#endif
/* Take from FreeBSD */

View file

@ -248,7 +248,9 @@ ICONVSYSLIB != if test -f /usr/local/include/iconv.h; then echo -liconv; else ec
#define CDESharedRev 2
#if !defined(HasPamLibrary)
#define HasPamLibrary YES
XCOMM See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073
XCOMM to enable pam support
#define HasPamLibrary NO
#endif
#if !defined(PamAuthenticationModule)