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>

index | next in thread | previous in thread | raw e-mail

On Sun, 7 Jul 2024 15:28:34 +0100
Graham Perrin <grahamperrin@gmail.com> wrote:

> Hi
> 
> FYI
> 
> Re: 
> <https://wiki.freebsd.org/action/info/PkgBase?action=diff&rev2=94&rev1=93>;
> 
> The cat approach in the wiki was ambiguous, it failed for me as shown 
> 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 
> 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: {
>  > >   url: "pkg+https://pkg.FreeBSD.org/\${ABI}/base_release_0",
>  > >   mirror_type: "srv",
>  > >   signature_type: "fingerprints",
>  > >   fingerprints: "/usr/share/keys/pkg",
>  > >   enabled: yes
>  > > }
>  > > EOF
>  >
>  >
> # file /usr/local/etc/pkg/repos/FreeBSD-base.conf
> /usr/local/etc/pkg/repos/FreeBSD-base.conf: cannot open 
> `/usr/local/etc/pkg/repos/FreeBSD-base.conf' (No such file or directory)
> # exit


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


help

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