From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 14 12:30:40 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD09316A484 for ; Wed, 14 Jun 2006 12:30:40 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D5C43D64 for ; Wed, 14 Jun 2006 12:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5ECURc2009734 for ; Wed, 14 Jun 2006 12:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5ECUR4C009733; Wed, 14 Jun 2006 12:30:27 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jun 2006 12:30:27 GMT Resent-Message-Id: <200606141230.k5ECUR4C009733@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, VANHULLEBUS Yvan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A48E816A47B for ; Wed, 14 Jun 2006 12:28:59 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from leia.fdn.fr (ns0.fdn.org [80.67.169.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBFA43D72 for ; Wed, 14 Jun 2006 12:28:56 +0000 (GMT) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (reverse-25.fdn.fr [80.67.176.25]) by leia.fdn.fr (8.13.3/8.13.3/FDN) with ESMTP id k5ECSsUS016464 for ; Wed, 14 Jun 2006 14:28:55 +0200 Received: from jayce.zen.inc (jayce.zen.inc [192.168.1.7]) by smtp.zeninc.net (smtpd) with ESMTP id 59C213F17 for ; Wed, 14 Jun 2006 14:28:49 +0200 (CEST) Received: by jayce.zen.inc (Postfix, from userid 1000) id A415F2E587; Wed, 14 Jun 2006 14:28:50 +0200 (CEST) Message-Id: <20060614122850.A415F2E587@jayce.zen.inc> Date: Wed, 14 Jun 2006 14:28:50 +0200 (CEST) From: VANHULLEBUS Yvan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98946: [patch] xscreensaver and PAM support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VANHULLEBUS Yvan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 12:30:41 -0000 >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 @@ -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: