Date: Tue, 7 Jan 2014 17:31:38 -0500 From: Matthew Pounsett <matt@conundrum.com> To: Matthew Seaman <matthew@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: pkgng woes Message-ID: <5103F68F-CAD2-4D0B-ADFD-6A992F31121A@conundrum.com> In-Reply-To: <52CC7EDE.7020007@FreeBSD.org> References: <CA%2BdWbmYJq21o4Hw-MR-q-sdx90onU%2BRyPR-YL5DNBK0u5sk3Ww@mail.gmail.com> <88AA764A-5C9E-44DC-A604-C7A961983FC1@conundrum.com> <52CC7EDE.7020007@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-01-07, at 17:25 , Matthew Seaman <matthew@FreeBSD.org> wrote: >> I am getting warnings about the use of PACKAGESITE in the default = config, but it works. =20 >=20 > That's because you're using some out of date settings. What you need = is > the following: >=20 > 1) /usr/local/etc/pkg.conf -- you only need this to override global > settings. Most people should *remove* this file. If you do keep it, = do > not define packagesite in here. I didn't. As I noted, I'm using the one supplied on a pristine = 9.2-RELEASE system. >=20 > 2) Instead, you need a repository specific config file. This is the > default config for using pkg.freebsd.org (see: > http://svnweb.freebsd.org/base/head/etc/pkg/FreeBSD.conf?view=3Dmarkup) = -- >=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } >=20 > Save that as /usr/local/etc/pkg/repos/FreeBSD.conf >=20 > 3) You also need the package signing keys from here: >=20 > = http://svnweb.freebsd.org/base/head/share/keys/pkg/trusted/pkg.freebsd.org= .2013102301?revision=3D257344&view=3Dmarkup >=20 > If you want to set up your own repo, then read pkg.conf(5), which > describes the pre-repo config files too. If the default pkg.conf isn't a good one, it should be replaced by = something that is, and the docs in the handbook should be updated to = include instructions for setting it up. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5103F68F-CAD2-4D0B-ADFD-6A992F31121A>