Re: Patch for mergemaster [was Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)]

From: Oliver Eikemeier <eikemeier_at_fillmore-labs.com>
Date: Fri, 27 Aug 2004 18:08:51 +0200
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
Received on Fri Aug 27 2004 - 14:08:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC