Subject: Re: pkg/19166: example rc.d scripts for packages should be registered in package contents
To: None <,>
From: grant beattie <>
List: netbsd-bugs
Date: 01/20/2003 13:23:06
On Sun, Jan 19, 2003 at 09:17:05PM -0500, Greg A. Woods wrote:

> The original suggestion of this PR is in fact implemented by causing the
> RCD_SCRIPTS to be automatically added to the PLIST, as per the original
> patch, with an addition to the GENERATE_PLIST macro.

are not registered in a pkg's PLIST for a good reason and I'm not aware
of any reasons to change this.

> Here's a slightly newer version of the same change.
> Note in particular that RCD_SCRIPTS_EXAMPLEDIR has also been moved to
> the proper share/examples sub-directory.  This will help, or maybe even
> completely, eliminate the mass confusion people seem to suffer causing
> them to want to have /etc/rc also process ${PREFIX}/etc/rc.d.  (FYI: an
> MTREE entry needs to be made for this too in the various
> pkgsrc/mk/*.dist files -- patches not supplied as my mk/NetBSD.pkg.dist
> file is too much hacked to provide a good sample change).

I don't see any value in this proposed gratuitous change and it is
likely to break more people than it "helps".