Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2017 15:17:18 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        "Julian H. Stacey" <jhs@berklix.com>, ports@freebsd.org
Subject:   Re: ports/devel/noweb/Makefile FETCH_* is wrong, comment out works.
Message-ID:  <a0d82435-754d-25ad-ce60-255f125c462e@FreeBSD.org>
In-Reply-To: <201701051334.v05DYjAj003862@fire.js.berklix.net>
References:  <201701051334.v05DYjAj003862@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OlhIXV1DiGlq1dCEecu9IveGpJTBcCo6s
Content-Type: multipart/mixed; boundary="95npiUFepM5pQXkT1NqmlD2AdL7GsX8e5";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: "Julian H. Stacey" <jhs@berklix.com>, ports@freebsd.org
Message-ID: <a0d82435-754d-25ad-ce60-255f125c462e@FreeBSD.org>
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, <ftpmaster@eecs.harvard.edu>.
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0d82435-754d-25ad-ce60-255f125c462e>