Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2007 19:57:04 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Olivier Nicole <on@cs.ait.ac.th>, fbsd06@mlists.homeunix.com, bob@tania.servebbs.org, freebsd-questions@freebsd.org
Subject:   Re: Personalised patches in ports
Message-ID:  <20071126185704.GC19393@slackbox.xs4all.nl>
In-Reply-To: <474A8CA5.60300@infracaninophile.co.uk>
References:  <20071121221955.10f80f09@tania.servebbs.org> <20071123032011.57dcfc96@gumby.homeunix.com.> <200711260452.lAQ4qVuN098618@banyan.cs.ait.ac.th> <20071126072727.GA3259@slackbox.xs4all.nl> <474A8CA5.60300@infracaninophile.co.uk>

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

--E/DnYTRukya0zdZ1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 26, 2007 at 09:06:45AM +0000, Matthew Seaman wrote:
> > Not if you 'chflags schg,sunlnk' it.=20
>=20
> If you add another file into a ports' files directory that cvsup knows
> nothing about, then cvsup will refuse to touch it.  No need for chflags
> in that case.  If you need to make local modifications to a file already
> in that directory, then yes, cvsup will replace it with the canonical
> version next time you update.
>=20
> 'portsnap extract' or 'portsnap update' will however blow away local
> additions in the part of the ports tree it is operating on -- there are
> clear warnings to that effect in the man page.  chflags will preserve
> your changes in this case, but my guess is that portsnap might well=20
> abort in the middle of what it's doing if it runs into an immutable file.

It hasn't aborted on me yet. But these days I tend to keep my own
patches separately, and re-apply them if necessary after a
portsnap. Just to make sure I don't screw things up. :-/

Having said that, I usually try to get changes accepted into the
official ports tree if possible. Saves a lot of hassle.

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)

--E/DnYTRukya0zdZ1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHSxcAEnfvsMMhpyURAr4dAKCLwEwdSsij9pqF0o7yeBfLmfemmACgmT0h
CP4SWXjlnlY/MBSZgjv0uZ0=
=Qr6K
-----END PGP SIGNATURE-----

--E/DnYTRukya0zdZ1--



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