From owner-freebsd-ports@freebsd.org Sun Apr 22 00:04:51 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62B73FAF499 for ; Sun, 22 Apr 2018 00:04:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D04237AECB for ; Sun, 22 Apr 2018 00:04:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 913F9FAF496; Sun, 22 Apr 2018 00:04:50 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D419FAF495 for ; Sun, 22 Apr 2018 00:04:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F01B87AECA for ; Sun, 22 Apr 2018 00:04:49 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x229.google.com with SMTP id p5-v6so3901287wre.12 for ; Sat, 21 Apr 2018 17:04:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ODYlxdmk2a3G5+ZRmvK4V7pGB/YepleD0Ykys1C7cWU=; b=KjllCrlSoheJlgYbA0xt9C6KLrlglNQ8WsnvmeRINaX3RfVwTNVQvAHUonSmt2eH1d 6CzbsK9chqncNHFYTO8hUek0YGeu71mYvKJaZrDHcFnE9WdEreY6WHbjFkYL0bmmbPyv +DcHHwO/MyaqoBBrM05Xv5NEr8gxz5RIV/VDPn8i9n7f5tmnHI/gswiI6D4W7XkTc2xp hmm1nuqJmgt3Vp48hoXjiPf0F3yfs4d2QtUAggQ7qvkiuQX26tRJZnlvzJVRe45achfu +Yrqv6tuTPE0NNGh1gfSzaf1q0maKVRVkuhiBtlGloicTWQZPDglBo6WQSNMGqogf3a5 vy8A== X-Gm-Message-State: ALQs6tAowtuljlqkJL1aeqGgjAS23JQRPfr8tg9cSw2coqOG1IW3ahuS Usynvhlkf+HMtx5OsaLz3T1ayw== X-Google-Smtp-Source: AIpwx48nz1t99VJMqtJiF4LL1iiYwgYVhBqZis0GLBJbLihPgTZfy+npVcSfoZ1BCP444WcxNoXDQQ== X-Received: by 2002:adf:85b8:: with SMTP id 53-v6mr12470010wrt.31.1524355488532; Sat, 21 Apr 2018 17:04:48 -0700 (PDT) Received: from gumby.homeunix.com ([90.203.213.57]) by smtp.gmail.com with ESMTPSA id a139sm4034698wma.43.2018.04.21.17.04.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Apr 2018 17:04:47 -0700 (PDT) Date: Sun, 22 Apr 2018 01:04:44 +0100 From: RW To: ports@freebsd.org Subject: Re: portsnap not honoring WORKDIR and PORTSDIR? Message-ID: <20180422010024.7abcb253@gumby.homeunix.com> In-Reply-To: <2b38c8d5-b724-a323-4e67-9ac8b807ccfe@dreamchaser.org> References: <2b38c8d5-b724-a323-4e67-9ac8b807ccfe@dreamchaser.org> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2018 00:04:51 -0000 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="" ...