Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2024 08:09:00 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: FreeBSD-base.conf in the wiki
Message-ID:  <20240708080900.e15228e21190844b3fc22260@bidouilliste.com>
In-Reply-To: <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com>
References:  <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Jul 2024 15:28:34 +0100
Graham Perrin <grahamperrin@gmail.com> wrote:

> Hi
>=20
> FYI
>=20
> Re:=20
> <https://wiki.freebsd.org/action/info/PkgBase?action=3Ddiff&rev2=3D94&rev=
1=3D93>
>=20
> The cat approach in the wiki was ambiguous, it failed for me as shown=20
> below. At the '> ' prompt, I keyed Control-C to regain a normal prompt.

 I guess you've simply copy/pasted the whole block with the '>' ?
 I specifically did it that way so people won't blindly copy/paste
something but copy/paste each line so they will read it. Please revert.

> The example that's now in the wiki should be a valid JSON text data=20
> file. (Not that strict JSON is essential, it's simply a good example.)

 It's not JSON it's UCL.

> root@macbookpro:/usr/local/etc/pkg/repos # sh
> # cat <<EOF >/usr/local/etc/pkg/repos/FreeBSD-base.conf
>  >
>  > > FreeBSD-base: {
>  > > =A0=A0url: "pkg+https://pkg.FreeBSD.org/\${ABI}/base_release_0",
>  > > =A0=A0mirror_type: "srv",
>  > > =A0=A0signature_type: "fingerprints",
>  > > =A0=A0fingerprints: "/usr/share/keys/pkg",
>  > > =A0=A0enabled: yes
>  > > }
>  > > EOF
>  >
>  >
> # file /usr/local/etc/pkg/repos/FreeBSD-base.conf
> /usr/local/etc/pkg/repos/FreeBSD-base.conf: cannot open=20
> `/usr/local/etc/pkg/repos/FreeBSD-base.conf' (No such file or directory)
> # exit


--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240708080900.e15228e21190844b3fc22260>