ports/161873: portmaster doesn't respect PATH enviroment variable
Igor Potapov
garrych at ya.ru
Fri Oct 21 12:10:09 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list