From owner-freebsd-ports@freebsd.org Sun May 22 16:59:50 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40403B458B0 for ; Sun, 22 May 2016 16:59:50 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6B761D6F for ; Sun, 22 May 2016 16:59:49 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-lb0-x22c.google.com with SMTP id k7so28123201lbm.0 for ; Sun, 22 May 2016 09:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0P9S8+0Hgq26jtsISxhhr3uDfTwnu07EkQnTePeYkkU=; b=TQnnf6W+V0wMVe4R622qgQ6vo6jfSS60IWTUoibIL/fxhDREgU6r17iHbzWqF0Ki7F zxOj0Y91BaWzbtErimRf0tNf6vedciOzB8dyeI4XpifpirhZnf7HjKftXVOJF2sk+nNc yjYPlNdMYxSXMrhEf2pV/0QYf6N+hc4o4U12siDCFuaI6ZgbkcsCoBP0gg9xsYmhRnfj PCMMd3LljCoRgKQmQddyjHcNvGkQ2vyi0NLBwpZRqV5Epb+MdbFk4PSKdCc4eR1JOCE3 uIUxI26cKKrOEt26OwCikIvUIcGpi+QSWJLX9jcQ4zusmp2Y3XuQ16XeKxr3zx1ZTXEr m+dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=0P9S8+0Hgq26jtsISxhhr3uDfTwnu07EkQnTePeYkkU=; b=jabVt9a4XKxe4qM82GdgLeq4bJ6HD2MQsKSZni896rnqOCrQDvqygZygx++zKIDQo3 ycgwBO8Qav4tNGRjJFaqK19GkWi2JADGaBaROcvEqrkhemaDSrIfoLH00u2vXWheNjRl qkcB4v+kxvEMQqYtiPhDqtMIGNo+DC3pJjzATjH+79cHA8kHn97wS7DJDLB6g6Fn0ZON AXr+09AmoWc4jOYBAZ5NxDtaXbotS6WsAfDlhN7r/ehyCT4txYSJHqvLEX380kzlsg0K 50+dmrUsfQkRema0XVXceV+z/+rOtPAad+hmKw1x6oW5Z9GQ1j6LuRfvwlghNNI20gY0 kRcg== X-Gm-Message-State: AOPr4FU5PfP6a60azolQ0D18hfqA0E98Lp2c0TYR0GE0r4dcAVRCrPiUhzxqXmIrHaXO8Q== X-Received: by 10.112.171.74 with SMTP id as10mr3747649lbc.139.1463936386944; Sun, 22 May 2016 09:59:46 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id l20sm4948483lfl.19.2016.05.22.09.59.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 May 2016 09:59:46 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 22 May 2016 18:59:43 +0200 From: Baptiste Daroussin To: Matthias Apitz , freebsd-ports@freebsd.org Subject: Re: myrepo.conf && url: file:.... Message-ID: <20160522165943.GC11189@ivaldir.etoilebsd.net> References: <20160522124450.GA4150@c720-r292778-amd64> <20160522163914.GA6150@c720-r292778-amd64> <20160522164944.GH41922@home.opsec.eu> <20160522165519.GB6253@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pAwQNkOnpTn9IO2O" Content-Disposition: inline In-Reply-To: <20160522165519.GB6253@c720-r292778-amd64> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2016 16:59:50 -0000 --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:/// > >=20 > > > > When specifying a path on the local machine, the -part > > > > can be left out (or replaced with localhost), leaving you with > > > > either > >=20 > > > > file://localhost/ > > > > or its abbreviation > > > > file:///. > >=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 > > :(//((:)?@)?(:)?)?/()? > >=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--