Date: Thu, 6 Aug 2015 17:19:54 -0700 From: Xin Li <delphij@delphij.net> To: FreeBSD ports <freebsd-ports@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Proposal: make portsnap generate INDEX-${OSREL:R} only by default Message-ID: <55C3F9AA.4020602@delphij.net>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D8dfX29WMuUCogCTCf9PfLKTfcj0vOoKW Content-Type: multipart/mixed; boundary="------------080605000509060308060502" This is a multi-part message in MIME format. --------------080605000509060308060502 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Currently the default portsnap.conf would generate INDEX-11, INDEX-10 and INDEX-9. The INDEX file is only used for searching ports, and only one (INDEX-${OSREL:R}) file is actually used. Traditionally, we create all supported INDEX-* files by default, but the only users who would benefit from this default are the ones who shares ports tree across many systems that runs different FreeBSD releases. And even in these scenario, it's likely that they would still want to tweak the configuration, as we may be creating more than needed INDEX-* files. So for simplicity and to reduce cycles wasted on everyone's system, I'd propose the attached change to head/'s portsnap.conf and similar changes to stable/9 and stable/10's portsnap.conf so that only INDEX-${OSREL:R} is created by default. Users who want additional INDEX files can uncomment the corresponding lines. Any objections/concerns? I'll commit the change if no objection is raised in a week. Cheers, --=20 Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die --------------080605000509060308060502 Content-Type: text/x-patch; name="portsnap.conf.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="portsnap.conf.diff" Index: etc/portsnap.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- etc/portsnap.conf (revision 286392) +++ etc/portsnap.conf (working copy) @@ -30,6 +30,6 @@ # REFUSE korean polish portuguese russian ukrainian vietnamese =20 # List of INDEX files to build and the DESCRIBE file to use for each -INDEX INDEX-9 DESCRIBE.9 -INDEX INDEX-10 DESCRIBE.10 +#INDEX INDEX-9 DESCRIBE.9 +#INDEX INDEX-10 DESCRIBE.10 INDEX INDEX-11 DESCRIBE.11 --------------080605000509060308060502-- --D8dfX29WMuUCogCTCf9PfLKTfcj0vOoKW 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.1.6 (FreeBSD) iQIcBAEBCgAGBQJVw/mrAAoJEJW2GBstM+nsj5QP/iAl7TE/mwWdcl7UxYl3U9mW lhvBd0Mztdf9ub9fXGw4ihEfn2bjs7QDWDeUY3g8ONor5IyR4S3PbmcBJE52MPtt dOkDZJwdCWM8HQZu+d09JPW3L3Av54FSsLd27FnDQMHrkO5ie+Un/bNNY2LpzeKf Neqvz+igA+xgUVIzH6Ge2rMrAmC885hs/pVHM0HiFsBcaDRMrbD/SmogHcEqFRD+ NfsNnpr5QIVoPf0Ghwna4EoefmfQCKE0vJVSH6/rKxcPhp0iqVDfTkhUeadycpF2 j07uuEVdLU5mg8hmFKYS3caVOnAv1NzHTHdPPfb9ssfo1qA6DrPwOt/zvNY0j5gx fUC/q8DVeu0FlWQDL3Dj+w/w6u0nzxB2K+Qg62PjxUncinEBZy6NZAx9qHUr0V9I eG7yO0R52giKxLA61eLri9rhNM+M7xnzuatE7koWgREW2qK3KgDniwHI7pGrs8UV X8MCDlpAFiu5RC6uk8KoNMuWaMK98XDBIRhHNnk8Gl8X8knTWOCspmUQUa9E+nqy YEozFXQ9Y4NRos5kLWwwwY1ZSkmXvS6ydlHLijT1Dwc7875dXUbpKi+QXVRubiCJ 8z/xrEoL9V4n25NAYWZKW1EP4MBqw/Y25yeUDAPl0OynjMMp+EmxYjaGpbsbJXr5 ZI5DMiwRBV1nPWs8s6Ll =pqJF -----END PGP SIGNATURE----- --D8dfX29WMuUCogCTCf9PfLKTfcj0vOoKW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C3F9AA.4020602>