Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 14:35:55 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Mark Evenson <evenson@panix.com>
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>
In-Reply-To: <a0lm68zpzd.fsf@panix3.panix.com>
References:  <a0lm68zpzd.fsf@panix3.panix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020911123555.GD71027>