From owner-freebsd-current@freebsd.org Fri Aug 7 08:40:32 2015 Return-Path: Delivered-To: freebsd-current@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 E08D49B6A30 for ; Fri, 7 Aug 2015 08:40:31 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 89636FAC for ; Fri, 7 Aug 2015 08:40:31 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t778e5vD002311 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 7 Aug 2015 09:40:15 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t778e5vD002311 Authentication-Results: smtp.infracaninophile.co.uk/t778e5vD002311; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: Proposal: make portsnap generate INDEX-${OSREL:R} only by default To: freebsd-current@freebsd.org References: <55C3F9AA.4020602@delphij.net> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55C46EE5.5040808@freebsd.org> Date: Fri, 7 Aug 2015 09:40:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tDsD0s5HHArCIuvThcWD7A32xVBI013FA" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 07 Aug 2015 08:40:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tDsD0s5HHArCIuvThcWD7A32xVBI013FA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/07/15 05:11, Kevin Oberman wrote: > Isn't rebuilding the index useful for people running STABLE? I assume t= hat > I need a current index to get useful output from "pkg version -vL=3D". = I am > probably a bit unusual in that I keep a current ports tre on a STABLE > system, but there are a couple of ports that I need to build due to cus= tom > options and I find poudriere overkill for this case. I suspect many peo= ple > running STABLE may use portsnap and build everything from ports. (This = use > to be common fairly recently and likely still is.) Actually 'pkg version -vL=3D' uses one of three different methods to get information about available port/pkg versions: * by reading the INDEX (if it exists). * failing that, by running 'make -V PKGNAME' (or similar) but only if there's a ports tree on the system. This is horribly slow. * failing that, by using the repository catalogue. So it will cope without an INDEX file if it has to -- that's unless you use any of the -I, -P or -R flags to tell it exactly what to do. Of course, if you're using custom options, then the ports tree you download from portsnap won't necessarily be accurate for your setup anyhow. The good news is that it really doesn't have to be. Pretty much everything I've run across in dealing with building software out of the ports will work fine without an index or with an incorrect index. Maybe a bit slower than otherwise, but frequently it makes no difference.= Cheers, Matthew --tDsD0s5HHArCIuvThcWD7A32xVBI013FA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVxG7lAAoJEABRPxDgqeTnO7cP/1gcZ+uRmF0K7+q+AbNPfJC7 LBukyf6J4qMIBnHMrsoiFJRgRDoifOqzhhFGMUuMRKp554m5KLLgxYWvZIy0qN7d CFUVs1RSfiTapglrw+p7hKlQ9+OSxcQACXAYcdAoBW2MNZqoGaE3R3vVyGSoVm8P y8WsDsZnlFA9uXMP2TRnIZ4aeUWL5W6pOWT14WR8kUohFghOk3JashbwZ4ta27sR a/aoaOHOVf3EecBR2tZYJTIwMJ9Lea0eKGFXyyo5LVuaFbKJBWHysxj/56PLytHy LEQA2Ym5nndGP9oOr8hIALhdPnPBxa5Aol3E7qBa9R3HxQjr8h06tqYv6bPWD9ua bEKLl1feyasLhvxdgxSWwmbb9IcW8iIguG8hEwl2juI6jLv5AW6AClgN9LJ4z/82 TzgLGjoDeeLn/SmcN0C+804GZhAXvOiQ+wpKXoPqdKeB39rukLU130O6eAzYeBx3 KHZwDCRMTKj3jq4bau5gplihNExg9att1e6g9S6LGDHW3MmLL6/WMJiYHM3GV9H5 jIXvR3VToAuHOmmd4IlWTabQ53ByxYyLtjWmeb4ZZ1cPgxHZ33sza4Xoy3W3uCcB 503dBcZoyh+W27ZwiMfD94u9QiZHhWvof+AYGEiuCFvwguHJQIH3CctaBnWCrT0r vnNX7efNUIW1qbGAySvp =WN71 -----END PGP SIGNATURE----- --tDsD0s5HHArCIuvThcWD7A32xVBI013FA--