myrepo.conf && url: file:....

Klaus Kaisersberger point-of-entry at outlook.com
Sun May 22 13:37:05 UTC 2016


Hi there,

the FILE-protocol specification allows for a hostname, so in general it is:
file://<host>/<path>

When specifying a path on the local machine, the <host>-part can be left out (or replaced with localhost), leaving you with either
file://localhost/<path>
or its abbreviation
file:///<path>.

-Klaus

----------------------------------------
> Date: Sun, 22 May 2016 14:44:50 +0200
> From: guru at unixarea.de
> To: freebsd-ports at freebsd.org
> Subject: myrepo.conf && url: file:....
>
>
> Hello,
>
> I'm using my own compiled ports from a local directory and used in the
> past the config:
>
> # cat /usr/local/etc/pkg/repos/myrepo.conf
>
> FreeBSD: {
> url: "file:/usr/PKGDIR.20150726",
> enabled: true,
> }
>
> Now, with pkg-1.7.2 (from ports) this did not worked anymore; I have had
> to change the URL line to
>
> url: "file:///usr/PKGDIR.20150726",
>
> I checked the man page, but it says only 'file://...' which did not
> worked either, while file:///usr/PKGDIR.20150726 worked.
>
> Any hints?
>
> matthias
> --
> Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
> "Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw.
> sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016)
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
 		 	   		  


More information about the freebsd-ports mailing list