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: [email protected] > To: [email protected] > 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, ✉ [email protected], ⌂ 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) > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
