apcupsd pkgsrc package install is slightly broken

joerg at britannica.bec.de joerg at britannica.bec.de
Thu Jun 8 08:05:13 PDT 2006


On Thu, Jun 08, 2006 at 07:47:17AM -0700, walt wrote:
> The confusion seems to be built into the pkgsrc utilities, e.g., if
> you don't specify any directories when running bootstrap, it puts
> the mk.conf in /usr/pkg/etc.  But, the pkg_chk utility will look
> at /etc/mk.conf by default unless to tell it to look in /usr/pkg/etc.

At least bmake doesn't really care. It tries ${PREFIX}/etc/mk.conf and
/etc/mk.conf in that order. pkg_chk is not supposed to care either, but
I will talk with the author about this bug.

For rc scripts, they go to /etc/rc.d by default (RCD_SCRIPTS_DIR),
unless overridden. Putting them anywhere but /etc/rc.d makes IMO only
useless trouble though.

Joerg





More information about the Bugs mailing list