From beat@chruetertee.ch  Mon May 21 17:39:23 2007
Return-Path: <beat@chruetertee.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7654616A421
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 May 2007 17:39:23 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from mail11.bluewin.ch (mail11.bluewin.ch [195.186.18.61])
	by mx1.freebsd.org (Postfix) with ESMTP id 3DAD113C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 May 2007 17:39:23 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from [83.79.43.224] (83.79.43.224) by mail11.bluewin.ch (Bluewin 7.3.121)
        id 464D688A000C7265 for FreeBSD-gnats-submit@freebsd.org; Mon, 21 May 2007 17:18:42 +0000
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 21 May 2007 19:18:45 +0200
Message-Id: <464D688A000C7265@mail11.bluewin.ch> (added by postmaster@bluewin.ch)
Date: Mon, 21 May 2007 19:18:45 +0200
From: "Beat Gaetzi" <beat@chruetertee.ch>
Reply-To: Beat Gtzi <beat@chruetertee.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Change patch to xdm from /usr/X11R6 to /usr/local in /etc/ttys
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112839
>Category:       conf
>Synopsis:       [patch] Change patch to xdm from /usr/X11R6 to /usr/local in /etc/ttys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 17:40:14 GMT 2007
>Closed-Date:    Tue May 29 21:58:52 GMT 2007
>Last-Modified:  Tue May 29 21:58:52 GMT 2007
>Originator:     Beat Gtzi
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD daedalus.network.local 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Mar 18 12:42:52 CET 2007 root@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386


	
>Description:
	The path to xdm has changed from /usr/X11R6/bin/xdm to /usr/local/bin/xdm
	since X.Org 7.2 is available in the portstree.
>How-To-Repeat:
	
>Fix:

	

--- ttys.patch begins here ---
diff -Naur etc.ori/etc.alpha/ttys etc/etc.alpha/ttys
--- etc.ori/etc.alpha/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.alpha/ttys	Mon May 21 19:08:49 2007
@@ -41,7 +41,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # serial console for AlphaServer 8200 and 8400 ("TurboLaser")
 #zs0	"/usr/libexec/getty std.9600"	vt100	on secure
diff -Naur etc.ori/etc.amd64/ttys etc/etc.amd64/ttys
--- etc.ori/etc.amd64/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.amd64/ttys	Mon May 21 19:09:04 2007
@@ -41,7 +41,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure
diff -Naur etc.ori/etc.arm/ttys etc/etc.arm/ttys
--- etc.ori/etc.arm/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.arm/ttys	Mon May 21 19:09:16 2007
@@ -41,7 +41,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-#ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+#ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyu0	"/usr/libexec/getty std.9600"	vt100	on  secure
diff -Naur etc.ori/etc.i386/ttys etc/etc.i386/ttys
--- etc.ori/etc.i386/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.i386/ttys	Mon May 21 19:09:31 2007
@@ -41,7 +41,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure
diff -Naur etc.ori/etc.ia64/ttys etc/etc.ia64/ttys
--- etc.ori/etc.ia64/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.ia64/ttys	Mon May 21 19:09:42 2007
@@ -41,7 +41,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	off secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	off secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	off secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals. The 'dialup' keyword identifies dialin lines to login,
 # fingerd etc.
 ttyu0	"/usr/libexec/getty std.9600"	vt100	on  secure
diff -Naur etc.ori/etc.powerpc/ttys etc/etc.powerpc/ttys
--- etc.ori/etc.powerpc/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.powerpc/ttys	Mon May 21 19:09:54 2007
@@ -47,7 +47,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-#ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+#ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure
diff -Naur etc.ori/etc.sparc64/ttys etc/etc.sparc64/ttys
--- etc.ori/etc.sparc64/ttys	Mon May 21 19:08:28 2007
+++ etc/etc.sparc64/ttys	Mon May 21 19:10:06 2007
@@ -48,7 +48,7 @@
 ttyv5	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv6	"/usr/libexec/getty Pc"		cons25	on  secure
 ttyv7	"/usr/libexec/getty Pc"		cons25	on  secure
-ttyv8	"/usr/X11R6/bin/xdm -nodaemon"	xterm	off secure
+ttyv8	"/usr/local/bin/xdm -nodaemon"	xterm	off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
 # uart(4)
--- ttys.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon May 21 19:09:46 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112839 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Tue May 29 21:57:38 UTC 2007 
State-Changed-Why:  

I already bulldozed through the stuff in /etc/ before I knew 
of this PR's existence, but thanks for thinking about this 
and submitting a fix! 


Responsible-Changed-From-To: remko->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Tue May 29 21:57:38 UTC 2007 
Responsible-Changed-Why:  

remko said I could. :) 

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