From owner-freebsd-ports@freebsd.org Sun Jan 28 22:21:06 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB520EE2A50 for ; Sun, 28 Jan 2018 22:21:05 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk (outmx-028.london.gridhost.co.uk [95.142.156.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AA7E71430 for ; Sun, 28 Jan 2018 22:21:04 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 094E5221AF5E4 for ; Sun, 28 Jan 2018 22:20:25 +0000 (GMT) Received: from [192.168.1.13] (helo=milibyte.co.uk) by curlew.milibyte.co.uk with esmtp (Exim 4.90) (envelope-from ) id 1efvJu-0002JE-9B for freebsd-ports@freebsd.org; Sun, 28 Jan 2018 22:21:02 +0000 From: Mike Clarke To: freebsd-ports@freebsd.org Date: Sun, 28 Jan 2018 22:21:02 +0000 Message-ID: <2582972.c7EFvz067B@curlew.lan> User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p4; KDE/4.14.30; amd64; ; ) In-Reply-To: <63b8d586-ffc5-f14e-e0a1-979c55458896@pobox.com> References: <63b8d586-ffc5-f14e-e0a1-979c55458896@pobox.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: When does a newly committed port become installable via 'pkg'? X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2018 22:21:06 -0000 On Sunday 28 Jan 2018 17:01:09 James E Keenan wrote: > Thanks. Upon reading 'man 5 pkg.conf', which identified the system-wide > configuration file as being located as /etc/pkg/FreeBSD.conf. That file > does contain this entry: > > ##### > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", > ##### > > That file also states that to modify that file, create a new file as: > > ##### > /usr/local/etc/pkg/repos/FreeBSD.conf > ##### > > I have done so, and in that file I have placed this entry: > > #### > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > ##### > > Should that suffice? That would work but it's better to leave /etc/pkg/FreeBSD.conf untouched and create /usr/local/etc/pkg/repos/FreeBSD.conf with the following: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", } That way your setting doesn't get wiped out with the next update to base. -- Mike Clarke