Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=Cl0Xvajt; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=OWJDrCtf Received: by mail.netbsd.org (Postfix, from userid 605) id 8808984E75; Sat, 4 May 2024 17:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714845535; bh=gABqvN8qH5cKbdWTvzBIqirX2r1HCuYJC6rAGjeXM7s=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=Cl0Xvajt+2LZpBNgdKfxWGCzP3vef1Y2mNTJ/y3wdn314INfFPIl+5XRQU7yq4GjW QComkJ+j5/3aNq1GTQQFSz2TVjTD8Clh8hUxTeU9okt6V9fLMZZM6XSSkWBcFnS3pW i9kzN8oSxykX1Ow02SkIzX6f87Kln61VFy2bA1qo= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7898684E53 for ; Sat, 4 May 2024 17:58:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id bnhWH3uwnuoW for ; Sat, 4 May 2024 17:58:54 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id BFB3884D05 for ; Sat, 4 May 2024 17:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714845534; bh=gABqvN8qH5cKbdWTvzBIqirX2r1HCuYJC6rAGjeXM7s=; h=Date:From:Subject:To:Reply-To; b=OWJDrCtfjwAG30K0fQynuV4A/n7knBsA7gt44AbHdcCrzkUVE9WJthYlynjeIrbUx j/3GFHPeyZaVc6hAki7lnTytp9PCuTWfM1jc5EQit5ymQ3Or1I9T3w1pmuJLVJk+ro yPjZ6COYcsK/2HREsBEhwAgs+zUqbr1vje9tgNoU= Received: by cvs.NetBSD.org (Postfix, from userid 500) id BACEBFA2C; Sat, 4 May 2024 17:58:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_171484553354000" MIME-Version: 1.0 Date: Sat, 4 May 2024 17:58:53 +0000 From: "Leonardo Taccari" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: leot@netbsd.org X-Mailer: log_accum Message-Id: <20240504175853.BACEBFA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_171484553354000 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: leot Date: Sat May 4 17:58:53 UTC 2024 Modified Files: pkgsrc/mk: bsd.pkg.mk Log Message: mk: Document ALLOW_NETWORK_ACCESS This can be useful for e.g. `show-go-modules` or similar targets where such use is okay. (Probably we should adjust such targets in order to unconditionally set ALLOW_NETWORK_ACCESS because they are likely not very useful otherwise, but this is a separate problem.) To generate a diff of this commit: cvs rdiff -u -r1.2054 -r1.2055 pkgsrc/mk/bsd.pkg.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_171484553354000 Content-Disposition: inline Content-Length: 1188 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/bsd.pkg.mk diff -u pkgsrc/mk/bsd.pkg.mk:1.2054 pkgsrc/mk/bsd.pkg.mk:1.2055 --- pkgsrc/mk/bsd.pkg.mk:1.2054 Tue Apr 30 20:59:25 2024 +++ pkgsrc/mk/bsd.pkg.mk Sat May 4 17:58:53 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.2054 2024/04/30 20:59:25 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.2055 2024/05/04 17:58:53 leot Exp $ # # This file is in the public domain. # @@ -184,6 +184,20 @@ ALL_ENV+= PREFIX=${PREFIX} ALL_ENV+= MAKELEVEL=0 ALL_ENV+= CONFIG_SITE=${PKGSRC_CONFIG_SITE:U} .if !defined(ALLOW_NETWORK_ACCESS) + +#ALLOW_NETWORK_ACCESS= +# If defined network access is permitted also outside the "fetch" phase. +# +# Network access should be permitted only during the "fetch" phase. +# By defining this variable fetching is permitted also in other phases. +# This can be useful to MAINTAINERs for fetching distfiles to initialize +# a package or for custom packages. +# +# Possible: defined, not defined +# Default: undefined +# +# Keywords: fetch download network + # try stopping downloads during configure/build/... ALL_ENV+= ftp_proxy=downloads-forbidden-except-during-fetch ALL_ENV+= http_proxy=downloads-forbidden-except-during-fetch --_----------=_171484553354000--