From owner-freebsd-stable@FreeBSD.ORG Sat Jun 21 17:33:13 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 39469A6A for ; Sat, 21 Jun 2014 17:33:13 +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 BDFB724B6 for ; Sat, 21 Jun 2014 17:33:12 +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 s5LHX9Fx016596 for ; Sat, 21 Jun 2014 19:33:09 +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 472DE3551; Sat, 21 Jun 2014 19:33:09 +0200 (CEST) Message-ID: <53A5C1D4.3050402@omnilan.de> Date: Sat, 21 Jun 2014 19:33:08 +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 To: FreeBSD Stable Subject: pkg-install(8), url: "file://" and PKG_CACHEDIR 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]); Sat, 21 Jun 2014 19:33:09 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) 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: Sat, 21 Jun 2014 17:33:13 -0000 Dear all, today I tried pkg(8) for the first time. Thanks for all the great work! One thing I'm missing is a auto-matching-logic for PKG_CACHEDIR if 'url' 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. 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). Anyone else missing that feature? Thanks, -Harry