Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 21:49:00 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Official FreeBSD Binary Packages now available for pkgng
Message-ID:  <5272D04C.50006@FreeBSD.org>
In-Reply-To: <5272C5E5.6050109@allanjude.com>
References:  <5271BC11.1010303@FreeBSD.org> <CACeEFf4Hif3WHufC=i08gbkXb6oC=4sxbyvO4FQnTkRWA7ZwnA@mail.gmail.com> <5272C5E5.6050109@allanjude.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5272D04C.50006>