Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 18:59:43 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Matthias Apitz <guru@unixarea.de>, freebsd-ports@freebsd.org
Subject:   Re: myrepo.conf && url: file:....
Message-ID:  <20160522165943.GC11189@ivaldir.etoilebsd.net>
In-Reply-To: <20160522165519.GB6253@c720-r292778-amd64>
References:  <20160522124450.GA4150@c720-r292778-amd64> <DUB125-W9370671AFE6EBC905ADD0ECD4D0@phx.gbl> <20160522163914.GA6150@c720-r292778-amd64> <20160522164944.GH41922@home.opsec.eu> <20160522165519.GB6253@c720-r292778-amd64>

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

--pAwQNkOnpTn9IO2O
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 22, 2016 at 06:55:19PM +0200, Matthias Apitz wrote:
> El d=EDa Sunday, May 22, 2016 a las 06:49:44PM +0200, Kurt Jaeger escribi=
=F3:
>=20
> > Hi!
> >=20
> > > > the FILE-protocol specification allows for a hostname, so in genera=
l it is:
> > > > file://<host>/<path>
> >=20
> > > > When specifying a path on the local machine, the <host>-part
> > > > can be left out (or replaced with localhost), leaving you with
> > > > either
> >=20
> > > > file://localhost/<path>
> > > > or its abbreviation
> > > > file:///<path>.
> >=20
> > > Thanks for the feedback. I think, the man page pkg.conf(5) should
> > > mention this, esp. when the old systax does not work anymore.
> >=20
> > pkg.conf(5) refers to libfetch(3) [this should be fetch(3)],
> > which explains the syntax, which correctly mentions file:///,
> > but in a very unreadable way:
> >=20
> > <scheme>:(//(<user>(:<pwd>)?@)?<host>(:<port>)?)?/(<document>)?
> >=20
> > But: This allows file:/path, which your tests show to fail.
> >=20
> > Interesting.
>=20
> Yes, installing the (first) pkg gave an error after hitting y (install).
> Something like
>=20
>    usr/PKGDIR.20150726/xproto-7.0.28.txz file not found
>=20
> i.e. the first / was missing, which let me put in one slash more, which
> did not worked either, and than file:///usr/PKGDIR.20150726 which worked =
fine.
>=20
> 	matthias

What version of pkg are you using? the strict version has been added in 1.6=
=2E3
and relaxed in 1.6.4 so in 1.6.4+ file:/ should work again (beside the fact=
 it
is not a standard scheme)

Best regards,
Bapt

--pAwQNkOnpTn9IO2O
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXQeV/AAoJEGOJi9zxtz5av0kQAI7kMCETx5vpZPlmr2RM4CxB
R7GUIjwGgDRDurOldflAGrKFWPGfJdAi4FnGEBHazN/CnXzzPxGmgMPbsobHCS9O
cGPHBJ1YTrKuxdIa3XrD4mkJZB2ThJUY8PdbhjqTD55i8fLW6GkfyfN9K7szzywv
yTwPA85rhJBGmSJRZNHWNRHUHTfQjvejQ0RX78XavyGig+WsAO2+IaVaXV96UNBN
rGTxpEfIgY8YgmtZPbE6p+xXCYAhBUk8Uu6VlyZn/EABNUbUD+hdoCdWCuXBDI5r
100uscHt+2LWyAoI7T2J6UgUKkmvCDgx5xmksnCWWPME4OeW9RzwwI4l5n8PQVaW
+MatNrF7B3RdR2WQiOyRbuF5OdDu7+ZWo6tTbbsxIr7TBw6Ci3UwL7iwa3WnQBOr
A271n4nZwuXwCQVcIFOFNbsu/T6+g4Sw21WBwWcPwu6E4xDmD1++R4Wfr1VYnx14
U4sbuUv259w9bcCa7adqbMUORYddRfT9devX9IehK/GMA/egG/4b787mBbvwB+/E
+9evU2is8qW0rCT0ZclyyRaWyuwQZ1VcMiVcBANFYsTF1FDh9ugxhJEmhRVo11m6
V2wFKN58e7TiyUJ57ZqXmldWtWrjGGroxdz22tGSv0HX1x7k96iYUhAwjb+Zm9VO
0/XB73R+FDCgyaurS8sW
=EIUr
-----END PGP SIGNATURE-----

--pAwQNkOnpTn9IO2O--



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