From owner-freebsd-ports@freebsd.org Sun May 22 16:49:43 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 04466B456A6 for ; Sun, 22 May 2016 16:49:43 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC9CA176D for ; Sun, 22 May 2016 16:49:42 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1b4WZU-000Ci0-4d; Sun, 22 May 2016 18:49:44 +0200 Date: Sun, 22 May 2016 18:49:44 +0200 From: Kurt Jaeger To: Matthias Apitz , freebsd-ports@freebsd.org Subject: Re: myrepo.conf && url: file:.... Message-ID: <20160522164944.GH41922@home.opsec.eu> References: <20160522124450.GA4150@c720-r292778-amd64> <20160522163914.GA6150@c720-r292778-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160522163914.GA6150@c720-r292778-amd64> 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:49:43 -0000 Hi! > > the FILE-protocol specification allows for a hostname, so in general it is: > > file:/// > > When specifying a path on the local machine, the -part > > can be left out (or replaced with localhost), leaving you with > > either > > file://localhost/ > > or its abbreviation > > file:///. > Thanks for the feedback. I think, the man page pkg.conf(5) should > mention this, esp. when the old systax does not work anymore. 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: :(//((:)?@)?(:)?)?/()? But: This allows file:/path, which your tests show to fail. Interesting. -- pi@opsec.eu +49 171 3101372 4 years to go !