From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 19:18:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C91BA1065676 for ; Wed, 14 Jan 2009 19:18:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id C5D4A8FC22 for ; Wed, 14 Jan 2009 19:18:38 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0EJIbxr058210; Wed, 14 Jan 2009 20:18:37 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 58927BA9A; Wed, 14 Jan 2009 20:18:37 +0100 (CET) Date: Wed, 14 Jan 2009 20:18:37 +0100 From: Roland Smith To: Zbigniew Szalbot Message-ID: <20090114191837.GA99290@slackbox.xs4all.nl> References: <94136a2c0901141003hf976918vee0e5c6c9262000a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <94136a2c0901141003hf976918vee0e5c6c9262000a@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: User Questions Subject: Re: Performing installed ports upgrade / leaving some software intact X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 19:18:41 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 14, 2009 at 07:03:02PM +0100, Zbigniew Szalbot wrote: > Dear all, >=20 > I am now full into planning the 7.0-RELEASE to 7.1-RELEASE upgrade. I > know that at the end of the day it will also mean upgrading all ports > (portupgrade -af).=20 Not necessarily. Upgrading all ports is only mandatory after a major version update, e.g. from 6.x to 7.x because of changed shared library versions. A point release should not affect shared library versions. Personally, I like to keep the ports on my desktop updated every other week or so, depending on if I see something interesting on freshports... > I have one port - mailman - which I have customized > a lot and do not really want to upgrade it as it will most likely mean > I will have to hack a few files again. >=20 > What options do I have so that I do not break the setup? > > I am thinking of: >=20 > 1/ backing up the hacked files and restoring them later (but I will > overwrite the newer files with older ones perhaps breaking something). You should merge any differences by hand instead of overwriting them. 'diff -u' is your friend there. > 2/ making them read only (but the end result will be the same and > upgrading as root I will overwrite them anyway). 'chflags schg,sunlnk ' (as root) will do the trick. Even root cannot overwrite these without removing the flags. =20 > And that would be it. My wisdom ends here. Is there any option to > survive the ports upgrade? :) Touch /var/db/pkg/mailman/+IGNOREME. This should make both portmaster and portupgrade leave this port alone. > If not, I guess I will just have to hack Mailman files again after the > upgrade... Or see if you can get your changes comitted upstream. Maybe as OPTIONS?=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkluOo0ACgkQEnfvsMMhpyXSWgCbBderKQH3o7qCVg0N5l/ueXJQ QZwAn10NCUFAsetIzx3KhJYq4AIM13lc =L+RB -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--