Subject: /usr/pkg/etc handling for apcupsd (was: CVS commit: pkgsrc/sysutils/apcupsd)
To: Manuel Bouyer <bouyer@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: pkgsrc-users
Date: 06/17/2007 17:14:45
I got this while installing the new package (you need PKG_DEVELOPER=yes or
CHECK_FILES=yes in /etc/mk.conf to get it):
=> Registering installation for apcupsd-3.14.1nb1
apcupsd-3.14.1nb1 requires installed package net-snmp-5.4nb1
=> Checking file-check results for apcupsd-3.14.1nb1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /usr/pkg/etc/apcupsd/apccontrol
ERROR: /usr/pkg/etc/apcupsd/apcupsd.conf
ERROR: /usr/pkg/etc/apcupsd/apcupsd.css
ERROR: /usr/pkg/etc/apcupsd/changeme
ERROR: /usr/pkg/etc/apcupsd/commfailure
ERROR: /usr/pkg/etc/apcupsd/commok
ERROR: /usr/pkg/etc/apcupsd/hosts.conf
ERROR: /usr/pkg/etc/apcupsd/multimon.conf
ERROR: /usr/pkg/etc/apcupsd/offbattery
ERROR: /usr/pkg/etc/apcupsd/onbattery
*** Error code 1
Before there was this output:
=> Running POST-INSTALL script actions
===========================================================================
Installing files needed by apcupsd-3.14.1nb1:
/usr/pkg/etc/apcupsd/apccontrol already exists.
/usr/pkg/etc/apcupsd/apcupsd.conf already exists.
/usr/pkg/etc/apcupsd/changeme already exists.
/usr/pkg/etc/apcupsd/commfailure already exists.
/usr/pkg/etc/apcupsd/commok already exists.
/usr/pkg/etc/apcupsd/hosts.conf already exists.
/usr/pkg/etc/apcupsd/multimon.conf already exists.
/usr/pkg/etc/apcupsd/offbattery already exists.
/usr/pkg/etc/apcupsd/onbattery already exists.
I don't know why the handling of this doesn't work at the moment.
Regards,
Bernd
On Fri, Jun 15, 2007 at 09:15:40PM +0000, Manuel Bouyer wrote:
>
> Module Name: pkgsrc
> Committed By: bouyer
> Date: Fri Jun 15 21:15:40 UTC 2007
>
> Modified Files:
> pkgsrc/sysutils/apcupsd: Makefile PLIST distinfo
> pkgsrc/sysutils/apcupsd/patches: patch-ab
> Added Files:
> pkgsrc/sysutils/apcupsd/patches: patch-ah patch-ai
> Removed Files:
> pkgsrc/sysutils/apcupsd/patches: patch-ak
>
> Log Message:
> Use a more up-to-date config file as example
> Add rc.d keywords to the startup script
> both suggested by Bernd Ernesti.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.50 -r1.51 pkgsrc/sysutils/apcupsd/Makefile
> cvs rdiff -r1.7 -r1.8 pkgsrc/sysutils/apcupsd/PLIST
> cvs rdiff -r1.10 -r1.11 pkgsrc/sysutils/apcupsd/distinfo
> cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/apcupsd/patches/patch-ab
> cvs rdiff -r0 -r1.4 pkgsrc/sysutils/apcupsd/patches/patch-ah \
> pkgsrc/sysutils/apcupsd/patches/patch-ai
> cvs rdiff -r1.2 -r0 pkgsrc/sysutils/apcupsd/patches/patch-ak
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>