Date: Thu, 31 Oct 2013 22:11:06 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-current@freebsd.org Subject: Re: Official FreeBSD Binary Packages now available for pkgng Message-ID: <5272D57A.1060405@infracaninophile.co.uk> In-Reply-To: <5272CDC0.5050408@FreeBSD.org> References: <5271BC11.1010303@FreeBSD.org> <CACeEFf4Hif3WHufC=i08gbkXb6oC=4sxbyvO4FQnTkRWA7ZwnA@mail.gmail.com> <5272C5E5.6050109@allanjude.com> <CAJ-Vmo=jHXjaM2ifHapRX3xx=Bt-2_OAHip5rLRVenDtDR8Lxg@mail.gmail.com> <5272C70B.1040200@FreeBSD.org> <CACeEFf7mW7gf1eZN=8B8Ea-SrA3z0saR%2BGGFvsMEvLuDNfguMw@mail.gmail.com> <5272CDC0.5050408@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oNDNn5ejGri7T2IclbsfI7becmJ9fDagE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/10/2013 21:38, Bryan Drewery wrote: > On 10/31/2013 4:25 PM, Eric Camachat wrote: >> > Same result, neither pkg+http:// nor http+pkg:// worked with proxy s= erver. >> >=20 > Top-posting kills babies >=20 > pkg+http is NOT supported in 1.1 and as I said, changes nothing. Also the request that pkg(8) makes after resolving the SRV record is a bog standard HTTP GET to one of the pkg.freebsd.org servers. It's using libfetch, so all the usual environment variables to do with HTTP proxying should just work. If you do some traffic capture with eg. wireshark, you'll be able to see that for yourself, and look at the details of the HTTP packets. pkg(8) does take some care to present the modification time of any local copy of a package it is trying to download thus allowing a web server to send a 304 'Not Modified' response where relevant. However there's no recommendation on what (if any) Expires or Cache-Control headers the repo's web server should use. Personally, I just take whatever the defaults are that come with Apache on my own local repos. Which works for me just fine, but then again, I don't have any proxying to deal with in my setup. If you think that the settings used on the pkg.freebsd.org servers could be improved, then make your case -- if your arguments have merit, then I'm sure the server admins will listen. Note however that this is all server-side, and not something under the control of your local copy of pk= g. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --oNDNn5ejGri7T2IclbsfI7becmJ9fDagE 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/ iQJ8BAEBCgBmBQJSctV6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT+LgP/2RZbDWi/CqZ5JwnJ2+j8bM0 dLNPMDo4CoQlo32cXmnZezLCEg21GsvvUik1K44LeY4Sq5F02vQnxrv4MyvEtoKc i8LSfWJozloqoRxhVDWgWOmiXS92ffYrp5pr9MIB7a6kKJQilx8o7x5J8Zsk3AS5 x/qmQor0EcHW38ZCAo3UysAATMdm4kVyPgzkmN6kARs9qT/+gR+hMQ2QgoPOvTvj 4lBceK6rI6r12MEiuzp8JKtJLv8J7CAOaYWms3xL7uDKEl0ikTTyB2fXwtvKUwig /X/XBEt2/EAF2kaM6InIQpuDnhxYuI2hZRcrbCqSuazA/e9GpT7SFoda5oudEIS9 p22euHBOemW7VdvsdP2BDGtEnvg5ydsX/W9iw8E/y+NtUJCZKvH3UxZi+M1Xc+zL qxd3Mf7XUbL4lHXlhMTP7CQyMbh6dlfhnClpm5A80psU4qEHHCaV3185Q7B9534C D9XvKuFazfsgYfaAwNMxSQ78jmBeiIexYOqWt6X7bx0VuCjTM7nbkGAGCaFzwJPu YOXo3H4O//8DJG4V66Q7598WokJUoX35Mh16VeLGLdGJoLCf8WTRweZkDFGzkYhE iyqarVSAPbZBQuwB7K8rQucy/Ft2aeXdfv1RiH4ctrx1o8iSlQkflUoyVPDbB3TG Hpq+AownyE66Qs0w5Xdu =oREP -----END PGP SIGNATURE----- --oNDNn5ejGri7T2IclbsfI7becmJ9fDagE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5272D57A.1060405>