From owner-freebsd-ports Wed Sep 11 5:36:32 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26CB137B401 for ; Wed, 11 Sep 2002 05:36:28 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0813343E75 for ; Wed, 11 Sep 2002 05:36:27 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.5/8.12.3) with ESMTP id g8BCZtHU071754; Wed, 11 Sep 2002 14:35:55 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.5/8.12.4/Submit) id g8BCZtPp071753; Wed, 11 Sep 2002 14:35:55 +0200 (CEST) Date: Wed, 11 Sep 2002 14:35:55 +0200 From: Stijn Hoop To: Mark Evenson Cc: ports@freebsd.org Subject: Re: How to change origin of an installed port? (e.g. Mozilla) Message-ID: <20020911123555.GD71027@pcwin002.win.tue.nl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gE7i1rD7pdK0Ng3j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --gE7i1rD7pdK0Ng3j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 11, 2002 at 08:10:30AM -0400, Mark Evenson wrote: > I use a daily supped CVS tree and the portupgrade to keep installed > packages fresh on my machine. With the recent restraction of the port > version of www/mozilla from "1.1" to "1.0", the portupgrade now seeks to > "update" my mozilla from "1.1,1" to "1.0.x" as was recently covered in a > HEADS UP. =20 >=20 > I wish to keep the "1.1" Mozilla around (it seems to work fine), but not = to > rebuild it from ports. What was suggested is that I change the origin of = my > installed port from "www/mozilla" to "www/mozilla-devel". After poking > around a bit in the source, and reading the docs I can find no obvious > (i.e. quasi documented) manner of doing this. The one guess I > made--editing my '/var/db/pkg/mozilla-1.1,1/+CONTENTS' file and rebuilding > via pkgdb--did not work. That seemed to work for me, however you need to tell pkgdb to really rebuild the whole database (instead of letting it figure out what was changed - it won't detect your handmade changes). I have the following line in my /var/db/pkg/mozilla-1.1,1/+CONTENTS: @comment ORIGIN:www/mozilla-devel and I rebuild my db with: $ pkgdb -fu HTH, --Stijn --=20 Beware of he who would deny you access to information. For in his heart he thinks himself your master. -- Sid Meyer, "Sid Meyer's Alpha Centauri" --gE7i1rD7pdK0Ng3j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9fzirY3r/tLQmfWcRArG1AKCFnGhZ3lYGTYQqEK8UqfvZO6Rw2QCeJAvr +D2UcvxNWRC/Nv3cF/oE+Js= =Kpl5 -----END PGP SIGNATURE----- --gE7i1rD7pdK0Ng3j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message