Date: Sun, 28 Jan 2018 22:21:02 +0000 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-ports@freebsd.org Subject: Re: When does a newly committed port become installable via 'pkg'? Message-ID: <2582972.c7EFvz067B@curlew.lan> In-Reply-To: <63b8d586-ffc5-f14e-e0a1-979c55458896@pobox.com> References: <c0a0aba5-842f-f532-1a9b-0391cb15defe@pobox.com> <CAOjFWZ4mPrV2gsFbYyfFgRB-anhc7_OvvpszgT%2Bi=hfndmj=fg@mail.gmail.com> <63b8d586-ffc5-f14e-e0a1-979c55458896@pobox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2582972.c7EFvz067B>