From nobody@FreeBSD.org  Fri Aug  6 07:26:26 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ED8481065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Aug 2010 07:26:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DBDC18FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Aug 2010 07:26:26 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o767QQAF088885
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 6 Aug 2010 07:26:26 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o767QQ7G088884;
	Fri, 6 Aug 2010 07:26:26 GMT
	(envelope-from nobody)
Message-Id: <201008060726.o767QQ7G088884@www.freebsd.org>
Date: Fri, 6 Aug 2010 07:26:26 GMT
From: vermaden <vermaden@interia.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/slim: default config has './' (dot-slash) in path
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149352
>Category:       ports
>Synopsis:       ports/slim: default config has './' (dot-slash) in path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bapt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 07:30:05 UTC 2010
>Closed-Date:    Fri Aug 20 09:32:55 UTC 2010
>Last-Modified:  Fri Aug 20 09:32:55 UTC 2010
>Originator:     vermaden
>Release:        FreeBSD 8.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD savio 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
The ports/slim package/port has './' in PATH in the default config file, shouldnt we avoid having './' (current working directory) in PATH?

/usr/local/etc/slim.conf
  1 # Path, X server and arguments (if needed)
  2 # Note: -xauth $authfile is automatically appended
  3 default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/local/bin

Regards,
vermaden





>How-To-Repeat:

>Fix:
/usr/local/etc/slim.conf
-default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/local/bin
+default_path        /bin:/usr/bin:/usr/local/bin:/usr/local/bin

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->bapt 
Responsible-Changed-By: bapt 
Responsible-Changed-When: Thu Aug 19 18:40:29 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149352 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Fri Aug 20 09:32:54 UTC 2010 
State-Changed-Why:  
Commited as part of ports/149809. Thanks! 

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