Date: Sun, 7 Jul 2024 15:28:34 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-pkgbase@freebsd.org Subject: FreeBSD-base.conf in the wiki Message-ID: <3b8b7151-5cc7-44d4-b945-1f546c9a3af6@gmail.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------BthfAz7vSWq08SBxDgFz3dZC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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. 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.) 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 --------------BthfAz7vSWq08SBxDgFz3dZC Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE html> <html data-lt-installed="true"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body style="padding-bottom: 1px;"> <p>Hi</p> <p>FYI</p> <p>Re: <a class="moz-txt-link-rfc2396E" href="https://wiki.freebsd.org/action/info/PkgBase?action=diff&rev2=94&rev1=93"><https://wiki.freebsd.org/action/info/PkgBase?action=diff&rev2=94&rev1=93></a><br> </p> <p>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.</p> <p>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.)<br> </p> <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff;">root@macbookpro:/usr/local/etc/pkg/repos # sh </span><br> # cat <<EOF >/usr/local/etc/pkg/repos/FreeBSD-base.conf <br> > <br> > > FreeBSD-base: { <br> > > url: "pkg+https://pkg.FreeBSD.org/\${ABI}/base_release_0", <br> > > mirror_type: "srv", <br> > > signature_type: "fingerprints", <br> > > fingerprints: "/usr/share/keys/pkg", <br> > > enabled: yes <br> > > } <br> > > EOF <br> > <br> > <br> # file /usr/local/etc/pkg/repos/FreeBSD-base.conf <br> /usr/local/etc/pkg/repos/FreeBSD-base.conf: cannot open `/usr/local/etc/pkg/repos/FreeBSD-base.conf' (No such file or directory) <br> # exit<br> <br> </span></p> </body> <lt-container></lt-container> </html> --------------BthfAz7vSWq08SBxDgFz3dZC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b8b7151-5cc7-44d4-b945-1f546c9a3af6>