From owner-freebsd-questions@FreeBSD.ORG Mon Nov 26 18:57:28 2007 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 81CAB16A417 for ; Mon, 26 Nov 2007 18:57:28 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id F39A213C45D for ; Mon, 26 Nov 2007 18:57:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAQIv5xf092391; Mon, 26 Nov 2007 19:57:10 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D854AB8FC; Mon, 26 Nov 2007 19:57:04 +0100 (CET) Date: Mon, 26 Nov 2007 19:57:04 +0100 From: Roland Smith To: Matthew Seaman Message-ID: <20071126185704.GC19393@slackbox.xs4all.nl> Mail-Followup-To: Matthew Seaman , Olivier Nicole , fbsd06@mlists.homeunix.com, bob@tania.servebbs.org, freebsd-questions@freebsd.org 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: <474A8CA5.60300@infracaninophile.co.uk> 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.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Olivier Nicole , fbsd06@mlists.homeunix.com, bob@tania.servebbs.org, freebsd-questions@freebsd.org Subject: Re: Personalised patches in ports 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: Mon, 26 Nov 2007 18:57:28 -0000 --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--