Date: Wed, 14 Jun 2006 14:28:50 +0200 (CEST) From: VANHULLEBUS Yvan <vanhu@zeninc.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98946: [patch] xscreensaver and PAM support Message-ID: <20060614122850.A415F2E587@jayce.zen.inc> Resent-Message-ID: <200606141230.k5ECUR4C009733@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98946 >Category: ports >Synopsis: [patch] xscreensaver and PAM support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 14 12:30:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: VANHULLEBUS Yvan >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD jayce.zen.inc 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Actually, xscreensaver compiles with --without-pam. For hosts with "PAM users" (NIS, LDAP, etc...), this will cause problems when locking X session with xscreensaver. >How-To-Repeat: Set up a host with NIS / LDAP users, configure PAM, and try to use xscreensaver with such an user. >Fix: The following patch allows to compile with PAM support. It is disabled by default as some (old) mails reported problems with PAM support compiled when not using PAM. Please note that actually, /etc/pam.d/xscreensaver will still need to be copied manually, as there is a patch hook in the port to avoid copying it during install. --- Makefile.orig Wed Jun 14 11:29:28 2006 +++ Makefile Wed Jun 14 11:31:21 2006 @@ -7,6 +7,7 @@ PORTNAME= xscreensaver PORTVERSION= 5.00 +PORTREVISION= 1 CATEGORIES?= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ \ http://dougbarton.us/Downloads/ @@ -24,14 +25,15 @@ USE_GL= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-pam --with-gl --with-gle --with-xpm --with-xml \ +CONFIGURE_ARGS= --with-gl --with-gle --with-xpm --with-xml \ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \ --with-configdir=${PREFIX}/share/xscreensaver/config/ \ --with-jpeg=${LOCALBASE} --without-gnome --without-kerberos \ --without-motif --mandir=${PREFIX}/man OPTIONS= ALL_FORTUNES "Run fortune with -sa argument" off \ - SETUID_HACKS "Install sonar hack suid so it can ping" off + SETUID_HACKS "Install sonar hack suid so it can ping" off\ + WITH_PAM "Compiles with PAM support" off .include <bsd.port.pre.mk> @@ -40,6 +42,9 @@ .endif .if defined(WITH_SETUID_HACKS) CONFIGURE_ARGS+= --with-setuid-hacks +.endif +.if !defined(WITH_PAM) +CONFIGURE_ARGS+= --without-pam .endif .undef HAVE_GNOME >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060614122850.A415F2E587>