From owner-freebsd-ports@freebsd.org Sun May 22 16:55:26 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 24668B457E0 for ; Sun, 22 May 2016 16:55:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCD491A88 for ; Sun, 22 May 2016 16:55:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.139.154] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1b4Wex-0008IX-FG for freebsd-ports@freebsd.org; Sun, 22 May 2016 18:55:23 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u4MGtKsn006390 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 22 May 2016 18:55:20 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u4MGtJtd006389 for freebsd-ports@freebsd.org; Sun, 22 May 2016 18:55:19 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 22 May 2016 18:55:19 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: myrepo.conf && url: file:.... Message-ID: <20160522165519.GB6253@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-ports@freebsd.org References: <20160522124450.GA4150@c720-r292778-amd64> <20160522163914.GA6150@c720-r292778-amd64> <20160522164944.GH41922@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160522164944.GH41922@home.opsec.eu> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.154 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:55:26 -0000 El día Sunday, May 22, 2016 a las 06:49:44PM +0200, Kurt Jaeger escribió: > 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. Yes, installing the (first) pkg gave an error after hitting y (install). Something like usr/PKGDIR.20150726/xproto-7.0.28.txz file not found 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. matthias -- Matthias Apitz, ✉ guru@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)