From owner-freebsd-ports@freebsd.org Thu Jan 5 14:17:22 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C34A3CA1F89 for ; Thu, 5 Jan 2017 14:17:22 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A71211192 for ; Thu, 5 Jan 2017 14:17:22 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A3775CA1F88; Thu, 5 Jan 2017 14:17:22 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3207CA1F87 for ; Thu, 5 Jan 2017 14:17:22 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 42EF41190 for ; Thu, 5 Jan 2017 14:17:22 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 60147BDCAF; Thu, 5 Jan 2017 15:17:20 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 3FE39BDC9B; Thu, 5 Jan 2017 15:17:20 +0100 (CET) Subject: Re: ports/devel/noweb/Makefile FETCH_* is wrong, comment out works. To: "Julian H. Stacey" , ports@freebsd.org References: <201701051334.v05DYjAj003862@fire.js.berklix.net> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: Date: Thu, 5 Jan 2017 15:17:18 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <201701051334.v05DYjAj003862@fire.js.berklix.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OlhIXV1DiGlq1dCEecu9IveGpJTBcCo6s" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 14:17:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OlhIXV1DiGlq1dCEecu9IveGpJTBcCo6s Content-Type: multipart/mixed; boundary="95npiUFepM5pQXkT1NqmlD2AdL7GsX8e5"; protected-headers="v1" From: Mathieu Arnold To: "Julian H. Stacey" , ports@freebsd.org Message-ID: Subject: Re: ports/devel/noweb/Makefile FETCH_* is wrong, comment out works. References: <201701051334.v05DYjAj003862@fire.js.berklix.net> In-Reply-To: <201701051334.v05DYjAj003862@fire.js.berklix.net> --95npiUFepM5pQXkT1NqmlD2AdL7GsX8e5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 05/01/2017 =C3=A0 14:34, Julian H. Stacey a =C3=A9crit : > ports/devel/noweb/Makefile contains > FETCH_CMD=3D /usr/bin/ftp > FETCH_ARGS=3D # empty > that is wrong, because if one already has the distfile on a local site > (accessed via MASTER_SITE_OVERRIDE or MASTER_SITE_BACKUP ),=20 > it hangs & fails on make fetch. > This is true. But: $ fetch -v ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz looking up www.eecs.harvard.edu connecting to www.eecs.harvard.edu:21 setting passive mode opening data connection fetch: ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz: No route to hos= t And: $ ftp ftp://www.eecs.harvard.edu/pub/nr/noweb-2.11b.tgz Connected to www-aws.eecs.harvard.edu. 220- Anonymous access only (no uploads). For authenticated access, please use SCP, SFTP, or FTP over SSH. Thank you, . 220 FTP Server ready. 331 Anonymous login ok, send your complete email address as your password= 230 Anonymous login ok, restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I 250 CWD command successful 250 CWD command successful local: noweb-2.11b.tgz remote: noweb-2.11b.tgz 229 Entering Extended Passive Mode (|||65306|) 150 Opening BINARY mode data connection for noweb-2.11b.tgz (738870 bytes= ) 100% |************************************************************************= *************************************************************************= *****************************************************************| =20 721 KiB 599.13 KiB/s 00:00 ETA226 Transfer complete 738870 bytes received in 00:01 (554.01 KiB/s) 221 Goodbye. $ The port MUST be able to fetch from its MASTER_SITE, and I am talking about the one in the Makefile, not what gets added/changed by the framework. Otherwise, the backup master site, or the place where you have a local cache cannot be filled with something in the first place. In the future, when fetch(1) manages to fetch from that ftp site on all our supported releases, feel free to patch the Makefile. Regards, --=20 Mathieu Arnold --95npiUFepM5pQXkT1NqmlD2AdL7GsX8e5-- --OlhIXV1DiGlq1dCEecu9IveGpJTBcCo6s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJYblVvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I4kMP/jn3bb/mZwePLVJ6FNk5KGov BfRB5jbkEVD/dF6Y9gyIYk+5/B9oybgc9o6sPXs7jlTrc/jImfiv94tRycCdiLnp 4hB9U+YtH987QY+di0VdHKfcDhdxoARXeqKwdd8kWvclY1K76efqb4514MmaKrJC nsiCwUdBDGKLcD9PuGHhopMr6lKRPq51kQO6TpG8G3ktv5SAU6M76AOVp3nYemnY f06hLDL2TrvAxcnFnjgdTcIFj+5aYUDjB4gFCfisJLR7qnxY9AR7f3TiP14HSpdx J49bhF0tXVTr4uNpyEv4NRQeuqmL369czHPuFli8jIziZC1Xmt6L+4NI4orqP9K5 Klg380inZjp3NSdnlMYcj7aC3ok2cA7wb6N7uKpXnY000XErXOFu3+jaWKergymg JVo5bz851wnLWU0wrtLmWi3D/T8XUKUtQQITsonBAVYJ0Bqy7I+9ExiX8YuNKhwE nZzaetOlSOZvjAfpB1iG424dthXqXTYbH2ErxY3AX2Ho+Psz3S52y7AHDSi9X96/ OvQ5eDpcND3pusvvOzABfAxITeEwtzwE0XQ0uG6IuwVqf7cWCa7nM9MhVw84fQoA vLAHu+ibR996/5NseVKNwV4nU3xGs2y6lYX2Qb+MdNXFTLg+rjX8p32HpURTxjvR CA3DS47gjW5xVH+10Ujv =nfQJ -----END PGP SIGNATURE----- --OlhIXV1DiGlq1dCEecu9IveGpJTBcCo6s--