Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id BE30F63B400 for ; Tue, 10 Feb 2009 18:55:55 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 62E6D63B19C; Tue, 10 Feb 2009 18:55:55 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 7D6B863B10F for ; Tue, 10 Feb 2009 18:55:54 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 6D347175D0; Tue, 10 Feb 2009 18:55:54 +0000 (UTC) From: Joerg Sonnenberger Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org Message-Id: <20090210185554.6D347175D0@cvs.netbsd.org> Date: Tue, 10 Feb 2009 18:55:54 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: joerg Date: Tue Feb 10 18:55:54 UTC 2009 Modified Files: pkgsrc/mk/defaults: mk.conf pkgsrc/mk/fetch: bsd.fetch-vars.mk fetch-list.mk fetch.mk Log Message: Change the way the fetch process is organised as proposed on tech-pkg: - Introduce FETCH_USING, which specifies the mechanism to use; possible values are ftp, fetch, curl, wget, manual and custom. - Depend on the correct tool/program if not using manual or custom. - For manual, just use /usr/bin/false to bail out if a distfile is missing. - For custom, FETCH_CMD and related variables are used as before. - Default value is ftp. To generate a diff of this commit: cvs rdiff -r1.180 -r1.181 pkgsrc/mk/defaults/mk.conf cvs rdiff -r1.11 -r1.12 pkgsrc/mk/fetch/bsd.fetch-vars.mk cvs rdiff -r1.10 -r1.11 pkgsrc/mk/fetch/fetch-list.mk cvs rdiff -r1.37 -r1.38 pkgsrc/mk/fetch/fetch.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.