Date: Thu, 24 Aug 2000 10:37:21 -0500 (EST) From: ajk@iu.edu To: FreeBSD-gnats-submit@freebsd.org Cc: XFree86@XFree86.org Subject: ports/20821: [PATCH] XDM PAM support should not require (SystemV4 || HasShadowPasswd) Message-ID: <200008241537.KAA42372@kobayashi.uits.iupui.edu>
next in thread | raw e-mail | index | archive | help
>Number: 20821 >Category: ports >Synopsis: [PATCH] XDM PAM support should not require (SystemV4 || HasShadowPasswd) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 24 08:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andrew J. Korty >Release: FreeBSD 4.1-RELEASE i386 >Organization: Indiana University >Environment: XFree86-4 port >Description: The Imakefile for XDM configures PAM support inside an #if statement such that (SystemV4 || HasShadowPasswd) would have to be true for PAM support to be enabled at all. Also, the defualt Imake configuration does not indicate that FreeBSD supports PAM. Also, >How-To-Repeat: Build the XFree86-4 port, and run ldd on the xdm binary. The absence of libpam.so shows that PAM support has not been compiled in. >Fix: The following patch fixes the problem in the Imakefile, but does not change the Imake configuration for FreeBSD to indicate that PAM is supported. The latter can be accomplished by adding #define HasPam YES somewhere in /usr/X11R6/lib/X11/config/FreeBSD.cf. --- programs/xdm/Imakefile.orig Sat Jun 17 13:48:22 2000 +++ programs/xdm/Imakefile Thu Aug 24 09:34:49 2000 @@ -68,16 +68,16 @@ XPM_DEFINES = -DXPM +#if HasPam +PAM_LIBRARIES = -lpam DlLibrary +PAM_DEFINES = -DUSE_PAM +#endif + #if SystemV4 || HasShadowPasswd #if !LinuxShadowSuite PWD_DEFINES = -DUSESHADOW #else PWD_DEFINES = -DUSESHADOW -DSHADOWSUITE -#endif - -#if HasPam -PAM_LIBRARIES = -lpam DlLibrary -PAM_DEFINES = -DUSE_PAM #endif #if !defined(i386IscArchitecture) && !defined(i386ScoArchitecture) && !defined(LinuxArchitecture) && !defined(NTOArchitecture) && !defined(SGIArchitecture) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008241537.KAA42372>