From owner-freebsd-ports@freebsd.org Fri Aug 7 00:19:56 2015 Return-Path: Delivered-To: freebsd-ports@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 086839B451C; Fri, 7 Aug 2015 00:19:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC8A1EF2; Fri, 7 Aug 2015 00:19:55 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from zeta.ixsystems.com (unknown [12.229.62.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 87E631CCB2; Thu, 6 Aug 2015 17:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1438906795; x=1438921195; bh=A1qbxnKF2SNRIrvEjPQ+DzDyHuaILOO+Tj258KAWt1U=; h=Reply-To:To:From:Subject:Date; b=E7d4S1K7Nb1ffDuOFl3n4zmY+kuWcuBEj6rDHrSobQKy7Sct508feOF16L8twbimD AGjW2eOK3VDFc91BDoAOTRrvIzNcA3rMIxgiyqSFurl3/ycWvjsjqOTtn/WwDO750p QF0bbdeffF3pvquMTyFHmMTzDNLeYBvV3EsLQaUg= Reply-To: d@delphij.net To: FreeBSD ports , FreeBSD Current From: Xin Li Subject: Proposal: make portsnap generate INDEX-${OSREL:R} only by default X-Enigmail-Draft-Status: N1110 Organization: The FreeBSD Project Message-ID: <55C3F9AA.4020602@delphij.net> Date: Thu, 6 Aug 2015 17:19:54 -0700 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D8dfX29WMuUCogCTCf9PfLKTfcj0vOoKW" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 00:19:56 -0000 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 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--