From owner-freebsd-stable@FreeBSD.ORG Fri Jun 27 18:33:03 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E18FE941; Fri, 27 Jun 2014 18:33:03 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55A742DEA; Fri, 27 Jun 2014 18:33:03 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s5RIWxAQ002510; Fri, 27 Jun 2014 20:32:59 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 454BB3508; Fri, 27 Jun 2014 20:32:59 +0200 (CEST) Message-ID: <53ADB8DA.90308@omnilan.de> Date: Fri, 27 Jun 2014 20:32:58 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 Subject: Re: pkg-install(8), url: "file://" and PKG_CACHEDIR References: <53A5C1D4.3050402@omnilan.de> <53AC4A52.8020502@FreeBSD.org> <20140626222841.GH24440@ivaldir.etoilebsd.net> <53ACA2D1.7050304@FreeBSD.org> In-Reply-To: <53ACA2D1.7050304@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 27 Jun 2014 20:32:59 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) Cc: pkg@freebsd.org, FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 18:33:04 -0000 Bezüglich Bryan Drewery's Nachricht vom 27.06.2014 00:46 (localtime): > On 6/26/14, 5:28 PM, Baptiste Daroussin wrote: >> On Thu, Jun 26, 2014 at 11:29:06AM -0500, Bryan Drewery wrote: >>> Moving to pkg@FreeBSD.org … >>>> starts with "file://" (in ${PRREFIX}/pkg/repos/mylocalrepo.conf). >>>> >>>> Currently, local available packages will be copied to the local cache >>>> dir by default (if not circumvented by 'env >>>> PKG_CACHEDIR=/path/to/local-repo pkg install …' e.g.). >>>> Such a PKG_CACHEDIR-matching-logic should be enabled by default IMHO. >>> >>> Warning, this will stop working in pkg 1.3 and cause many problems in >>> your repo. The filenames are stored differently in the cachedir and now >>> symlinks are used to point to the newly cached files - which will remove >>> all of your existing packages. Thanks a lot for that warning! >>>> Maybe it's usefull to have a "pkg-install -K" option, (like -K,--keep >>>> for old pkg_add), to disable the PKG_CACHEDIR-mathcing-logic (for >>>> example if someone provides cd-repo and intentionally wants to keep >>>> packages in PKG_CACHEDIR). … >>> I will take a look before 1.3 release to see if disabling cache for >>> file:// is straight forward. We're in a feature freeze right now so I >>> don't want to introduce too much risk. >> >> IIRC I already disabled cache for file:// in pkg 1.3 >> >> regards, >> Bapt >> > > Yup. Very nice! Set WITH_PKGNG to devel in my make.conf(.ports) and try soon! Thanks a lot, posted to stable@ in case any one else was interested. -Harry