From owner-cvs-src@FreeBSD.ORG Sun Jan 8 01:45:47 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EA7116A41F; Sun, 8 Jan 2006 01:45:47 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D8843D45; Sun, 8 Jan 2006 01:45:46 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id B25F6119AF; Sun, 8 Jan 2006 02:45:44 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68630-06; Sun, 8 Jan 2006 02:45:38 +0100 (CET) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 6889511931; Sun, 8 Jan 2006 02:45:38 +0100 (CET) From: Florent Thoumie To: cvs-src@freebsd.org Date: Sun, 8 Jan 2006 02:45:29 +0100 User-Agent: KMail/1.8.2 References: <200601072210.k07MAwJb059621@repoman.freebsd.org> <20060107221305.GA14034@voodoo.bawue.com> In-Reply-To: <20060107221305.GA14034@voodoo.bawue.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3305158.2M7dp49Gil"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200601080245.34836.flz@xbsd.org> X-Virus-Scanned: amavisd-new at xbsd.org Cc: Kirill Ponomarew , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/add extract.c src/usr.sbin/pkg_install/create perform.c pkg_create.1 pl.c src/usr.sbin/pkg_install/info show.c src/usr.sbin/pkg_install/lib plist.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 01:45:47 -0000 --nextPart3305158.2M7dp49Gil Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 07 January 2006 23:13, Kirill Ponomarew wrote: > On Sat, Jan 07, 2006 at 10:10:58PM +0000, Kirill Ponomarew wrote: > > krion 2006-01-07 22:10:58 UTC > > > > FreeBSD src repository > > > > Modified files: > > usr.sbin/pkg_install/add extract.c > > usr.sbin/pkg_install/create perform.c pkg_create.1 pl.c > > usr.sbin/pkg_install/info show.c > > usr.sbin/pkg_install/lib plist.c > > Log: > > When using @cwd %%FOO%%, we must ensure to return in the original > > prefix later, but doing so with @cwd %%OLDPREFIX%% (having > > PLIST_SUB+=3D"OLDPREFIX=3D${PREFIX}") hardcodes the value in the pack= ing > > list. That's not really a problem when dealing with ports but that's > > a problem with packages since pkg_add -p option only overrides the > > first @cwd occurrence. > > > > This patch allow us to use @cwd without any argument. If no > > directory argument is given, it will set current working directory > > to the first prefix given by the @cwd command. > > > > PR: bin/77212 > > Submitted by: flz > > MFC after: 3 days One down, one to go :) =2D-=20 =46lorent Thoumie flz@FreeBSD.org =46reeBSD Committer --nextPart3305158.2M7dp49Gil Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDwG6+MxEkbVFH3PQRAnZTAJ9fjdVZuikjcdYzrU3cveZ1+BUJ+QCeP8db GIGzzgiXTALdzec2TsX0AZQ= =89s5 -----END PGP SIGNATURE----- --nextPart3305158.2M7dp49Gil--