From owner-cvs-all@FreeBSD.ORG Mon Aug 21 06:09:47 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E306F16A4DA; Mon, 21 Aug 2006 06:09:46 +0000 (UTC) (envelope-from rabe@p-i-n.com) Received: from dns.p-i-n.com (dns.p-i-n.com [145.253.185.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3201443D45; Mon, 21 Aug 2006 06:09:46 +0000 (GMT) (envelope-from rabe@p-i-n.com) Received: from p-i-n.com (inside.p-i-n.com [129.10.9.21]) by dns.p-i-n.com (8.12.9p2/8.12.9) with ESMTP id k7L69i81091856; Mon, 21 Aug 2006 08:09:44 +0200 (CEST) (envelope-from rabe@p-i-n.com) Received: (from rabe@localhost) by p-i-n.com (8.11.6/8.11.6) id k7L69jQ49195; Mon, 21 Aug 2006 08:09:45 +0200 (CEST) (envelope-from rabe) Date: Mon, 21 Aug 2006 08:09:45 +0200 From: "Raphael H. Becker" To: Florent Thoumie Message-ID: <20060821080945.A48690@p-i-n.com> References: <200601161951.k0GJpfNx017833@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200601161951.k0GJpfNx017833@repoman.freebsd.org>; from flz@freebsd.org on Mon, Jan 16, 2006 at 07:51:41PM +0000 Organization: PHOENIX Pharmahandel AG & Co KG, Mannheim, Deutschland Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: PKGDIR ambiguous (was: cvs commit: src/usr.sbin/pkg_install/info info.h main.c perform.c pkg_info.1 src/usr.sbin/pkg_install/add add.h main.c perform.c pkg_add.1 src/usr.sbin/pkg_install/lib lib.h url.c) X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 06:09:47 -0000 Hi Florent, PKGDIR is ambiguous in the context of ports and packages. I set PKGDIR=/some/where/my/pkg in my /etc/profile which causes the ports to fail badly creating any packages: It is used in ports/Mk/bsd.port.mk: # PKGDIR - A directory containing any package creation # files. # Default: ${MASTERDIR} [...] PKGDIR?= ${MASTERDIR} Havin set PKGDIR statically is a very bad idea here. Regards Raphael Becker PS: I've googled around^W^Wused Google to search the web but it seems there was no bugreport about this? Bug or feature? On Mon, Jan 16, 2006 at 07:51:41PM +0000, Florent Thoumie wrote: > flz 2006-01-16 19:51:41 UTC > > FreeBSD src repository (ports committer) > > Modified files: (Branch: RELENG_5) > usr.sbin/pkg_install/info perform.c pkg_info.1 info.h main.c > usr.sbin/pkg_install/add main.c add.h pkg_add.1 perform.c > usr.sbin/pkg_install/lib lib.h url.c > Log: > MFC: > > Add -K option to pkg_add and pkg_info. > This option saves packages to PKGDIR (if defined or current directory by default) > as they are downloaded. > Silent a warning when -n is used and package has a +DISPLAY file. > > src/usr.sbin/pkg_install/info/perform.c: rev 1.53 -> 1.54 > src/usr.sbin/pkg_install/add/main.c: rev 1.65 -> 1.66 > src/usr.sbin/pkg_install/lib/lib.h: rev 1.56 -> 1.57 > src/usr.sbin/pkg_install/info/pkg_info.1: rev 1.55 -> 1.56 > src/usr.sbin/pkg_install/add/add.h: rev 1.12 -> 1.13 > src/usr.sbin/pkg_install/add/pkg_add.1: rev 1.68 -> 1.69 > src/usr.sbin/pkg_install/add/perform.c: rev 1.78 -> 1.79 > src/usr.sbin/pkg_install/info/info.h: rev 1.28 -> 1.29 > src/usr.sbin/pkg_install/lib/url.c: rev 1.4 -> 1.5 > src/usr.sbin/pkg_install/info/main.c: rev 1.48 -> 1.49 > > Revision Changes Path > 1.11.2.2 +1 -0 src/usr.sbin/pkg_install/add/add.h > 1.59.2.6 +7 -3 src/usr.sbin/pkg_install/add/main.c > 1.77.2.2 +7 -4 src/usr.sbin/pkg_install/add/perform.c > 1.65.2.2 +12 -2 src/usr.sbin/pkg_install/add/pkg_add.1 > 1.27.2.1 +1 -0 src/usr.sbin/pkg_install/info/info.h > 1.46.2.2 +7 -2 src/usr.sbin/pkg_install/info/main.c > 1.53.2.1 +1 -1 src/usr.sbin/pkg_install/info/perform.c > 1.53.2.2 +8 -2 src/usr.sbin/pkg_install/info/pkg_info.1 > 1.53.2.1 +1 -1 src/usr.sbin/pkg_install/lib/lib.h > 1.4.4.1 +26 -3 src/usr.sbin/pkg_install/lib/url.c > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" -- Mfg Raphael Becker -- PHOENIX Pharmahandel Aktiengesellschaft & Co KG Marketing Services Tel: 0621 / 8505-536 Fax: 0621 / 8505-462 E-Mail: R.H.Becker@phoenix-ag.de