Date: Fri, 27 Aug 2004 18:08:51 +0200 From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: current@freebsd.org Subject: Re: Patch for mergemaster [was Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)] Message-ID: <62D80202-F843-11D8-AC6A-00039312D914@fillmore-labs.com> In-Reply-To: <790a9fff0408270824750baf89@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scot Hetzel wrote: > Several individuals expressed their concern with mergemaster deleting > scripts from /etc/rc.d. The main concern is that an administator > could create their own scripts and place them into /etc/rc.d, then > either they forget about their script, or another admin is updating > and they accidently delete the script during the mergemaster process. > > Attached is a patch to mergemaster that checks the script files for > "$FreeBSD: src" during the STALE_RC_FILES check. If a script has such > a header, it is assumed to be a stale rc file. The old behavior of > checking all scripts is still available when the -s flag is specified > to mergemaster. An alternate approach is in PR 64476: <http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/64476> But probably the "$FreeBSD: src" test is more useful, I'm not sure. Anyway, you could post this as a follow-up, so that both approaches could be compared. -Oliver
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62D80202-F843-11D8-AC6A-00039312D914>