Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 10:40:17 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Portupgrade status
Message-ID:  <4D186D11.1030708@infracaninophile.co.uk>
In-Reply-To: <86pqsogfvu.fsf@red.stonehenge.com>
References:  <14212432ba707fc5f9fbc75b56e8e783@flabnapple.net>	<20101226214221.GB68570@stainmore>	<AANLkTi=bD60UiybsaioHwEDgsXAQpAeJ6VuPiDvSZ%2B0P@mail.gmail.com> <86pqsogfvu.fsf@red.stonehenge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF52D7DC0E3D4C146EDDF322F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 27/12/2010 01:32, Randal L. Schwartz wrote:
>>>>>> "Rob" =3D=3D Rob Farmer <rfarmer@predatorlabs.net> writes:
>=20
> Rob> Then, the removal of MD5 distinfo broke it and it stayed broken fo=
r
> Rob> over a week with no indication given that a fix was in the works. =
On
> Rob> the other hand, Doug Barton has been very responsive to issues wit=
h
> Rob> portmaster and fixed this problem less than 48 hours after it
> Rob> appeared. Hence my recommendation to switch.
>=20
> I switched to portmaster a few months ago after being firmly in the
> portupgrade camp, and have not regretted it in the slightest.
>=20

Same here.  The biggest conceptual gotcha in switching is that
portmaster always reinstalls the ports you tell it to work on, unlike
portupgrade which just upgrades what's out of date unless you tell it
otherwise.

I also have my machines set up with a portmaster.rc like this:

#
# portmaster global config overrides
#
NO_BACKUP=3DBopt
PM_DEL_BUILD_ONLY=3Dpw_dbo
ALWAYS_SCRUB_DISTFILES=3Ddopt

MAKE_PACKAGE=3Dgopt
PM_PACKAGES=3Dfirst
LOCAL_PACKAGEDIR=3D/usr/ports/packages
PM_PACKAGES_LOCAL=3Dpmp_local
PM_IGNORE_FAILED_BACKUP_PACKAGE=3Dpm_ignore_failed_backup_package

#
# That's All Folks!
#

Which has two good effects: it stops portmaster asking so many
questions; and it keeps a local archive of packages of everything it
builds and will re-install from that local package repo where an
appropriate package is available.  Oh, and it removes build dependencies
rather than leaving them cluttering up the disk (but it does keep
packages of them, so it's quick to reinstall where needed).

This saves a lot of compiling if you share your local package repo
amongst several machines, or (like I do) you have a lot of churn in
installed package sets.

I tried doing this sort of thing with portupgrade, but I never could get
it to work quite right and I always had to remember to put extra flags
on the command line -- with portmaster it "just works" (tm).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigF52D7DC0E3D4C146EDDF322F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0YbSQACgkQ8Mjk52CukIxNQgCdEv96OFmi+zbdd17z83iv7QVQ
vOkAn1MbtmB7aj3rf11VKLEBUfpCc/2e
=QsWr
-----END PGP SIGNATURE-----

--------------enigF52D7DC0E3D4C146EDDF322F--



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