ports/117841: problem with installation of xdm configuration files

J.R. Oldroyd fbsd at opal.com
Mon Nov 5 15:50:01 UTC 2007


>Number:         117841
>Category:       ports
>Synopsis:       problem with installation of xdm configuration files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 15:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list