Date: Sat, 31 Jul 2010 17:03:45 -0700 From: David Wolfskill <david@catwhisker.org> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: Efficiency & correctness for port version upgrades Message-ID: <20100801000345.GP12818@albert.catwhisker.org> In-Reply-To: <4C54B162.4000509@FreeBSD.org> References: <20100731120027.GN12818@albert.catwhisker.org> <4C54B162.4000509@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--RV7I0FBcf2xGtwa1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 31, 2010 at 04:27:30PM -0700, Doug Barton wrote: > ... > One disadvantage (or is it an advantage? I'm never sure) of the fact > that portmaster does not maintain state between runs is behavior like > you're seeing here. Fair enough. > To answer your question, assuming that everything > went well with the -o command, there is no reason that portmaster would > have to build the port again. The -r option needs an up to date > +REQUIRED_BY, which is a side effect of (re)building it; but the above > could just as easily be written: >=20 > portmaster -o www/neon29 www/neon28 > portmaster --check-depends > portmaster `cat /var/db/pkg/neon29-0.29.3_2/+REQUIRED_BY` >=20 > I often get the request for this feature (a -r that doesn't rebuild the > port) but have never found the time to work on it. I'll try to get > around to it soonish. Actually, if the instructions in UPDATING were written as you described up there, that would be sufficient, I believe: It would get the job done without duplication of effort -- which would seem to meet the requirement. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --RV7I0FBcf2xGtwa1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxUueEACgkQmprOCmdXAD0gjACdEGUjSiehRVF58q0sOjF2uvYQ XUYAn02BoPI7dwQ9nsqkx2GH4KbGrABm =3/D/ -----END PGP SIGNATURE----- --RV7I0FBcf2xGtwa1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100801000345.GP12818>