From jr@opal.com  Mon Nov  5 15:47:15 2007
Return-Path: <jr@opal.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B194D16A419
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Nov 2007 15:47:15 +0000 (UTC)
	(envelope-from jr@opal.com)
Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140])
	by mx1.freebsd.org (Postfix) with ESMTP id 6926613C49D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Nov 2007 15:47:15 +0000 (UTC)
	(envelope-from jr@opal.com)
Received: from 98.79.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.79.98])
  by smtp.vzavenue.net with ESMTP; 05 Nov 2007 10:46:31 -0500
Received: from linwhf.opal.com (localhost [127.0.0.1])
	by homobox.opal.com (8.13.8/8.13.8) with ESMTP id lA5FkUOp043935
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Nov 2007 10:46:30 -0500 (EST)
	(envelope-from jr@opal.com)
Received: from linwhf.opal.com ([192.168.3.65] helo=linwhf.opal.com) by
	ASSP-nospam; 5 Nov 2007 10:46:30 -0500
Received: from linwhf.opal.com (localhost [127.0.0.1])
	by linwhf.opal.com (8.14.1/8.14.1) with ESMTP id lA5FkTG6001476
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Nov 2007 10:46:30 -0500 (EST)
	(envelope-from jr@opal.com)
Received: (from jr@localhost)
	by linwhf.opal.com (8.14.1/8.14.1/Submit) id lA5FkT9b001475;
	Mon, 5 Nov 2007 10:46:29 -0500 (EST)
	(envelope-from jr)
Message-Id: <200711051546.lA5FkT9b001475@linwhf.opal.com>
Date: Mon, 5 Nov 2007 10:46:29 -0500 (EST)
From: "J.R. Oldroyd" <fbsd@opal.com>
Reply-To: "J.R. Oldroyd" <fbsd@opal.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: problem with installation of xdm configuration files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         117841
>Category:       ports
>Synopsis:       problem with installation of x11/xdm configuration files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 15:50:01 UTC 2007
>Closed-Date:    Fri Feb 29 02:06:46 UTC 2008
>Last-Modified:  Fri Feb 29 02:06:46 UTC 2008
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 7.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD linwhf.opal.com 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Thu Nov 1 14:21:03 EDT 2007 xx:/usr/src/sys/i386/compile/LINWHF i386
>Description:
The installation of the xdm port installs config files in
/usr/local/lib/X11/xdm.  The port Makefile makes a substitution
in the xdm-config file.  The same substutution also needs to be
made in the Xstartup and Xreset files.
This problem causes xdm logins to fail because utmp entries are
not properly created due to the sessreg command failing.
>How-To-Repeat:
Install port.
Look at /usr/local/lib/X11/xdm/Xstartup and /usr/local/lib/X11/xdm/Xreset.
Note they have an unexpanded XDMCONFIGDIR tag there.
>Fix:
--- Makefile.orig	2007-10-09 15:26:50.000000000 -0400
+++ Makefile	2007-11-05 10:40:19.000000000 -0500
@@ -27,6 +27,12 @@
 	@${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \
 		-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
 			${WRKSRC}/config/xdm-config.cpp
+	@${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \
+		-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
+			${WRKSRC}/config/Xstartup.cpp
+	@${REINPLACE_CMD} -e "s|XDMCONFIGDIR/|${PREFIX}/lib/X11/xdm/|" \
+		-e "s|XDMSCRIPTDIR/|${PREFIX}/lib/X11/xdm/|" \
+			${WRKSRC}/config/Xreset.cpp
 
 post-install:
 .for f in ${CFFILES}
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Nov 5 22:55:03 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117841 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117841: commit references a PR
Date: Wed,  2 Jan 2008 14:16:59 +0000 (UTC)

 flz         2008-01-02 14:16:54 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/xdm              Makefile 
   Added files:
     x11/xdm/files        patch-config_Xresources.cpp 
   Log:
   - Fix if-block in Xresources. [1]
   - Fix paths in various scripts. [2]
   
   PR:             ports/117722 [1], ports/117841 [2]
   Submitted by:   Warren Block [1], J.R. Oldroyd [2]
   
   Revision  Changes    Path
   1.7       +5 -3      ports/x11/xdm/Makefile
   1.1       +21 -0     ports/x11/xdm/files/patch-config_Xresources.cpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 29 02:06:21 UTC 2008 
State-Changed-Why:  
Committed by flz 2008-01-02. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117841 
>Unformatted:
