From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 21 12:10:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96AC91065673 for ; Fri, 21 Oct 2011 12:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 561FF8FC15 for ; Fri, 21 Oct 2011 12:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9LCA9Da089621 for ; Fri, 21 Oct 2011 12:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9LCA9lg089617; Fri, 21 Oct 2011 12:10:09 GMT (envelope-from gnats) Resent-Date: Fri, 21 Oct 2011 12:10:09 GMT Resent-Message-Id: <201110211210.p9LCA9lg089617@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Potapov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E716F106566B for ; Fri, 21 Oct 2011 12:04:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D69A88FC0C for ; Fri, 21 Oct 2011 12:04:28 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9LC4S33001950 for ; Fri, 21 Oct 2011 12:04:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9LC4SpR001937; Fri, 21 Oct 2011 12:04:28 GMT (envelope-from nobody) Message-Id: <201110211204.p9LC4SpR001937@red.freebsd.org> Date: Fri, 21 Oct 2011 12:04:28 GMT From: Igor Potapov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/161873: portmaster doesn't respect PATH enviroment variable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2011 12:10:09 -0000 >Number: 161873 >Category: ports >Synopsis: portmaster doesn't respect PATH enviroment variable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 21 12:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Igor Potapov >Release: 8.2-RELEASE-p3 >Organization: >Environment: FreeBSD serv09.vnipigas.ru 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I have installed security/krb5 port. Set PATH in such a way that krb5-config of MIT executes by default under my interactive shell. But when I tried to update squid with ports-mgmt/portmaster, squid is configured with heimdal in base despite PATH settings. /usr/local/sbin/portmaster exports new PATH settings with the wrong order: # /usr/local is needed in the path for make PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin [ -e /usr/X11R6 ] && [ ! -L /usr/X11R6 ] && PATH=$PATH:/usr/X11R6/bin [ -n "$CCACHE_PATH" -a -z "$NOCCACHE" ] && PATH="/usr/local/libexec/ccache:$PATH" export PM_PARENT_PID TMPDIR UPGRADE_TOOL PATH >How-To-Repeat: portmaster www/squid31 >Fix: Edit /usr/local/sbin/portmaster to appropriate PATH >Release-Note: >Audit-Trail: >Unformatted: