From owner-freebsd-ports@freebsd.org Fri Aug 7 04:11:37 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 02C499B3690; Fri, 7 Aug 2015 04:11:37 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD28514D6; Fri, 7 Aug 2015 04:11:36 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by oiev193 with SMTP id v193so19764441oie.3; Thu, 06 Aug 2015 21:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=e3omizlpslOGkwN0vh/PmAbEFLuiqbm+xdCn2+I0+K0=; b=E/FO190BujtV6jHnASsjoznffjffMSVqeLOvcLKLsdsIQ9rljZpKKkxGHCo5QIu1GB 3wy57Aq7rNUajOyOl3uYYZeBANX6vjFduCS2+sedoH8xyQUWUAJh45rigVh2euRVQw1n /xmvkvB21soqcejQbJHfrtrFAouPGF2ILNyZNqcCjP1w4EcVpBw/qk1sBPcTtlgh4NWa kDw1S+bWNdZZxuvL17ANVFtgVf2+xJH5fFWpumWsu29NbxPbQ0xncyAE+UKQ5DtyBdyK X5EZ/fs7gp3s27cAQexGky9rVxCc2eh+HhBvpYjy+SBhNDtwYaAnywZ3gqH2rd06AtxH oLyA== MIME-Version: 1.0 X-Received: by 10.202.169.215 with SMTP id s206mr4575494oie.71.1438920695456; Thu, 06 Aug 2015 21:11:35 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.221.69 with HTTP; Thu, 6 Aug 2015 21:11:35 -0700 (PDT) In-Reply-To: <55C3F9AA.4020602@delphij.net> References: <55C3F9AA.4020602@delphij.net> Date: Thu, 6 Aug 2015 21:11:35 -0700 X-Google-Sender-Auth: F0N91mQArjZrsG-BvMZrjOAKARI Message-ID: Subject: Re: Proposal: make portsnap generate INDEX-${OSREL:R} only by default From: Kevin Oberman To: Xin LI Cc: FreeBSD ports , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 04:11:37 -0000 On Thu, Aug 6, 2015 at 5:19 PM, Xin Li wrote: > 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, > -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > Isn't rebuilding the index useful for people running STABLE? I assume that I need a current index to get useful output from "pkg version -vL=". 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 custom options and I find poudriere overkill for this case. I suspect many people running STABLE may use portsnap and build everything from ports. (This use to be common fairly recently and likely still is.) Or, am I missing the obvious... something I seem to do too often these days. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683