Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=NbiFWFNL; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=wT8sK1u7 Received: by mail.netbsd.org (Postfix, from userid 605) id DF92E84ED8; Tue, 30 Apr 2024 20:59:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714510768; bh=6YQwSZieGPoCX5boWVczAGxbDRrWJW48kzuimjLIy3c=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=NbiFWFNLP8JrXfb7lf+tsbwSRqzt+X1DPxrvH9JOn1DWpldSFj56GwhdwrBowTS/e HybRPiXEK8O4gXrrq5L7lCwocDjWEPZFd1P/ReP0355H4o0AWwVLtQNJl6A2ZoqiOV ndOShfjDiHAMBX5/c5oaQYJF8mtvHHeEwd42UkOA= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CEFE084ED2 for ; Tue, 30 Apr 2024 20:59:26 +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 vejP32L-wpIG for ; Tue, 30 Apr 2024 20:59:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1F33384D80 for ; Tue, 30 Apr 2024 20:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714510766; bh=6YQwSZieGPoCX5boWVczAGxbDRrWJW48kzuimjLIy3c=; h=Date:From:Subject:To:Reply-To; b=wT8sK1u7Q0fNYP6us1kADrMqCzDiUfJBgepleSo1MtqW7CI1nJ9GI/CQMpvL2xPga CrWfgbNQS6KcK0vF28S/Y2vYcJdiG7nPqF/spuZ8bXrCP96/dm8Xsitl9O7H80e6R3 M2+jYGp/mvXShxsPlHuypcFELg9twZmdH10rhSjw= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0ABC6FA2C; Tue, 30 Apr 2024 20:59:26 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1714510766269940" MIME-Version: 1.0 Date: Tue, 30 Apr 2024 20:59:26 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20240430205926.0ABC6FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1714510766269940 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Tue Apr 30 20:59:25 UTC 2024 Modified Files: pkgsrc/mk: bsd.pkg.mk Log Message: mk: by default, set non-existent proxies for http/https/ftp This is a simple first step for disabling network access during the configure/build/test stages. In pkgsrc, all files should be fetched in the fetch stage. To generate a diff of this commit: cvs rdiff -u -r1.2053 -r1.2054 pkgsrc/mk/bsd.pkg.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1714510766269940 Content-Disposition: inline Content-Length: 975 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.2053 pkgsrc/mk/bsd.pkg.mk:1.2054 --- pkgsrc/mk/bsd.pkg.mk:1.2053 Sun Aug 20 18:38:37 2023 +++ pkgsrc/mk/bsd.pkg.mk Tue Apr 30 20:59:25 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.2053 2023/08/20 18:38:37 tnn Exp $ +# $NetBSD: bsd.pkg.mk,v 1.2054 2024/04/30 20:59:25 wiz Exp $ # # This file is in the public domain. # @@ -183,6 +183,13 @@ ALL_ENV+= PATH=${PATH:Q}:${TOOLBASE}/bin ALL_ENV+= PREFIX=${PREFIX} ALL_ENV+= MAKELEVEL=0 ALL_ENV+= CONFIG_SITE=${PKGSRC_CONFIG_SITE:U} +.if !defined(ALLOW_NETWORK_ACCESS) +# try stopping downloads during configure/build/... +ALL_ENV+= ftp_proxy=downloads-forbidden-except-during-fetch +ALL_ENV+= http_proxy=downloads-forbidden-except-during-fetch +ALL_ENV+= https_proxy=downloads-forbidden-except-during-fetch +ALL_ENV+= no_proxy= +.endif # This variable can be added to MAKE_ENV to ease installation of packages # that use BSD-style Makefiles. --_----------=_1714510766269940--