On 2008/03/27 15:54, Stuart Henderson wrote:
> iirc you said this was a replacement for the no-longer-maintained
> apc-upsd, so I think we should use the same directory and package name
> so that pkg_add -u picks it up as a replacement, and point out the
> changed binary name in MESSAGE. since the versioning has changed to
> a lower number, I believe we have to use the v0 trick with that.
>
> @sample ${SYSCONFDIR}/changeme
> share/examples/apcupsd/etc/commfailure
> @sample ${SYSCONFDIR}/commfailure
> share/examples/apcupsd/etc/commok
> @sample ${SYSCONFDIR}/commok
> share/examples/apcupsd/etc/offbattery
> @sample ${SYSCONFDIR}/offbattery
> share/examples/apcupsd/etc/onbattery
> @sample ${SYSCONFDIR}/onbattery
>
> since the names don't indicate what program these are for, please
> move them to a subdirectory of /etc so people find them more easily.
oh hang on, I see what you've done:
$ grep SYSCONFDIR Makefile
SYSCONFDIR= /etc/apcupsd
that's incorrect