portsnap not honoring WORKDIR and PORTSDIR?

RW rwmaillists at googlemail.com
Sun Apr 22 00:04:51 UTC 2018


On Sat, 21 Apr 2018 16:49:13 -0600
Gary Aitken wrote:

> Is portsnap supposed to honor WORKDIR and PORTSDIR?
> 
> These are defined in /etc/portsnap.conf, and it's not clear to me
> whether they are honored only via the .conf file or whether they
> are supposed to be honored from the environment as well.
> 
> They appear to not be honored from the environment, and I'm wondering
> whether that is deliberate or an oversight that should be corrected.
> 


It's deliberate:


# Initialize parameters to null, just in case they're
# set in the environment.
init_params() {
        KEYPRINT=""
        EXTRACTPATH=""
        WORKDIR=""
        PORTSDIR=""
        ...



More information about the freebsd-ports mailing list