From owner-freebsd-current@FreeBSD.ORG Thu Oct 31 21:49:16 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 614CC127 for ; Thu, 31 Oct 2013 21:49:16 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 084EC25E0 for ; Thu, 31 Oct 2013 21:49:15 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r9VLn9FH007754 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 31 Oct 2013 21:49:09 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r9VLn9FH007754 Authentication-Results: smtp.infracaninophile.co.uk/r9VLn9FH007754; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <5272D04C.50006@FreeBSD.org> Date: Thu, 31 Oct 2013 21:49:00 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Official FreeBSD Binary Packages now available for pkgng References: <5271BC11.1010303@FreeBSD.org> <5272C5E5.6050109@allanjude.com> In-Reply-To: <5272C5E5.6050109@allanjude.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R30gMv1c8FBKbSptC97MOa7nliVu5aPa7" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 21:49:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R30gMv1c8FBKbSptC97MOa7nliVu5aPa7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/10/2013 21:04, Allan Jude wrote: > I wonder if the http+pkg:// protocol can solve this, likely will requir= e > a patch to fetch to implement the logic to do the dns lookup and make > the proxies request for the real hostname It's pkg+http:// or pkg+https:// or pkg+ssh:// or -- well, you get the id= ea. pkg+http:// is really exactly the same as the current http:// PACKAGESITE URLs -- the new code pretty much checks that the first four characters are 'pkg+', moves the string pointer to the following character (ie the h in http://) and then carries on exactly as it works right now. We'll be accepting either form certainly throughout the lifetime of 1.2.x release, but printing a warning to switch to pkg+http:// where relevant. The reason for doing this is that according to RFC 2616 in a URL of the form http://some.add.ress/ the 'some.add.ress' bit has to be either an A or a CNAME record that can be resolved to an IP address. Since we can't change the meaning of 'http://' in URLs, we've just invented our own URL scheme. Once it is in reasonably widespread use it's pretty much going to be de-facto accepted, and we can apply to ICANN to have the scheme officially registered. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --R30gMv1c8FBKbSptC97MOa7nliVu5aPa7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSctBUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATvfQP/2ZQ1hjlUeD5K9k0pr3WY58o G7SwoOs03uRqk0DpTXLVXeUwj5CJH0C2oQIb+CZzcKLKv9sGhxypdPheem8TbVOZ fcm6KDbp0v1qr72nkl4PuYeMpm55sMp9P/5coUJld5YiCEgplC3MOl4bq7n81nU/ a9VtdM2TNrIqBUXBfWtTMnrJR9/GJMbPo8qRmrSAQW0E+sKQoxsXmmpNErJyPJs8 BNf2i2c1GEOgTUHjFfSWFS4olb8mS4U6fSGoNvnrr5n0qgoQYN+odKFyhqiZbP0J 2Lp0BRlAhtgDr/53JF794/Rovi/hB9RKiJpKAkUnD0wHK2XX9gtWSsXrarPSbaGB 7/UihzqFp6zrFjAGtakUofNECQVZHegZDUBVkhWkqVgWfz3ioOqz2zoK9Ogp+c7A JEQXeqCRMf8c2F1ZhItt8dS7xzu9KyYcjZzWK4e+A4RjJpZwKBQshaSKL+spcJ92 NRyOzu7FPPEOSnr7e64UYMkHD5bhgxPcAblO4Rb2WYDj7/GmNyaKDWkcSQn7mF2K FRxCcF+IfTajp3tlz7Z8UltnDHNgCktQsx0yEW+iY2T2R/P3uKlqSSuXuEqF4MQj yaNUVttaZGJ6ZfNNrgdigPbc/CVIIjfIGOjPyhYs/ju8GPCSd4FvTtOzDCwNYjoH r0Agr6ACPZ9EpBetv63F =iJph -----END PGP SIGNATURE----- --R30gMv1c8FBKbSptC97MOa7nliVu5aPa7--