From amdmi3@mail.ru  Thu Jun  1 14:43:58 2006
Return-Path: <amdmi3@mail.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB79E16BAA2
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Jun 2006 14:43:58 +0000 (UTC)
	(envelope-from amdmi3@mail.ru)
Received: from mx6.mail.ru (mx6.mail.ru [194.67.23.26])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB0043D46
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Jun 2006 14:43:58 +0000 (GMT)
	(envelope-from amdmi3@mail.ru)
Received: from [213.148.29.33] (port=56949 helo=nexii.panopticon)
	by mx6.mail.ru with esmtp 
	id 1FloOy-000JrW-00
	for FreeBSD-gnats-submit@freebsd.org; Thu, 01 Jun 2006 18:43:56 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 1465B1140D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Jun 2006 18:49:52 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 1A121310; Thu,  1 Jun 2006 18:45:17 +0400 (MSD)
Message-Id: <20060601144517.1A121310@hades.panopticon>
Date: Thu,  1 Jun 2006 18:45:17 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@mail.ru>
Reply-To: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] security/sudo: fix `OME' instead of `$HOME' in OPTIONS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98283
>Category:       ports
>Synopsis:       [patch] security/sudo: fix `OME' instead of `$HOME' in OPTIONS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mharo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 01 14:50:13 GMT 2006
>Closed-Date:    Fri Dec 29 23:47:16 GMT 2006
>Last-Modified:  Fri Dec 29 23:47:16 GMT 2006
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
OPTIONS dialog for port sudo displays this description for SHELL_SETS_HOME option:

`Set OME to target user in shell mode'

The patch changes that to correct

`Set $HOME to target user in shell mode'

>How-To-Repeat:
cd /usr/ports/security/sudo && make config
>Fix:

--- sudo.patch begins here ---
--- Makefile.orig	Mon May  1 16:13:14 2006
+++ Makefile	Thu Jun  1 18:39:41 2006
@@ -37,7 +37,7 @@
 
 OPTIONS=	LDAP	"With LDAP support" off \
 		OPIE	"With OPIE support" off \
-		SHELL_SETS_HOME "Set $HOME to target user in shell mode" off
+		SHELL_SETS_HOME "Set \\\$$HOME to target user in shell mode" off
 
 .include <bsd.port.pre.mk>
 
--- sudo.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mharo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 1 14:52:16 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98283 
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Fri Dec 29 23:46:48 UTC 2006 
State-Changed-Why:  
The same issue was fixed in a different way in rev. 1.78 of 
the ports Makefile.  Thanks for your submission though! 

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