NetBSD Problem Report #35594
From kovert@omniscient.com Tue Feb 13 04:03:50 2007
Return-Path: <kovert@omniscient.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 2B5E963BCA4
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Feb 2007 04:03:50 +0000 (UTC)
Message-Id: <200702130239.l1D2dZP2015674@guinness.omniscient.com>
Date: Mon, 12 Feb 2007 21:39:35 -0500 (EST)
From: Todd Kover <kovert@omniscient.com>
Reply-To: kovert@omniscient.com
To: gnats-bugs@NetBSD.org
Subject: upgrade sysutils/apcupsd to 3.14.0 (w/patch to do so)
X-Send-Pr-Version: 3.95
>Number: 35594
>Category: pkg
>Synopsis: upgrade sysutils/apcupsd to 3.14.0 (w/patch to do so)
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bouyer
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 13 04:05:00 +0000 2007
>Closed-Date: Fri Jun 15 19:28:20 +0000 2007
>Last-Modified: Fri Jun 15 19:28:20 +0000 2007
>Originator: Todd Kover
>Release: NetBSD 4.0_BETA2
>Organization:
Omniscient Technologies
>Environment:
System: NetBSD guinness.omniscient.com 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #3: Fri Dec 22 16:16:13 EST 2006 kovert@saidin.omniscient.com:/usr/obj/4.0-stable/i386/omniscient/os/NetBSD-4.0-branch/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
3.14.0 is out. I had issues getting 3.12.4 to work, though spent
minimal time on it since the time seemed better spent on 3.14.0.
The example apcupsd.conf file included in the distribution does
not work. I'm not sure what SOP is for these situations, so I
included an apcupsd in the files directory that did work for
me, though it does not get installed. It's suitably generic to
be included in the pkg, if that's appropriate.
I also added a patch so it does not install any of the files
from ${WRKSRC}/platforms/{etc,netbsd} since a) they muck about
with files in /etc and b) the pkgsrc framework takes care of
installing everything from there, anyway.
I did not fix the rc.d script so it honors standard NetBSD
semantics (it doesn't use rc.conf or any of the other standard
bits). (It's been like this for many versions of apcupsd).
>How-To-Repeat:
n/a
>Fix:
I've made a patch available at:
http://www.omniscient.com/~kovert/apcupsd-patch.txt. It's 500k
long because it includes a new patch to configure (generated with
autoconf), so I figured it best not to email. This is how the old
package was.
please let me know if I should resubmit with the patch.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->bouyer
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Tue, 13 Feb 2007 19:40:04 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Bernd Ernesti <veego@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/35594
Date: Sun, 18 Feb 2007 12:50:00 +0100
There are two 'problems' with the current package:
- platforms/netbsd/apcupsd.in should be patched so it contains these lines:
# PROVIDE: apcupsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
to work better with rc.d
- /usr/pkg/share/examples/apcupsd/apcupsd.master.conf has this line at
the top:
# for apcupsd release 3.8.0
And that is with the installed 3.12.4 version, so some important lines
are missing from this example config file.
e.g. the usb option for UPSTYPE ...
Instead we should use platforms/etc/apcupsd.conf which is a generated file.
From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/35594 CVS commit: pkgsrc/sysutils/apcupsd
Date: Fri, 15 Jun 2007 19:05:59 +0000 (UTC)
Module Name: pkgsrc
Committed By: bouyer
Date: Fri Jun 15 19:05:58 UTC 2007
Modified Files:
pkgsrc/sysutils/apcupsd: Makefile PLIST distinfo
pkgsrc/sysutils/apcupsd/patches: patch-ab patch-ae patch-aj
Removed Files:
pkgsrc/sysutils/apcupsd/patches: patch-an patch-ao
Log Message:
Update to 3.14.1, based on patches sent in PR pkg/35594 and pkg/36246.
As a side effect this should make apcupsd build on netbsd-4 and current.
pkgsrc changes: cgi and snmp are now enabled by default.
Relevant changes since 3.12.4:
Unreliable MASTER/SLAVE networking mode is removed
PowerChute Network Shutdown driver (protocol available in the AP9617 family
of smart slot modules)
New configuration directives to set paths at runtime
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 pkgsrc/sysutils/apcupsd/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/sysutils/apcupsd/PLIST
cvs rdiff -r1.9 -r1.10 pkgsrc/sysutils/apcupsd/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/apcupsd/patches/patch-ab
cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/apcupsd/patches/patch-ae
cvs rdiff -r1.6 -r1.7 pkgsrc/sysutils/apcupsd/patches/patch-aj
cvs rdiff -r1.3 -r0 pkgsrc/sysutils/apcupsd/patches/patch-an \
pkgsrc/sysutils/apcupsd/patches/patch-ao
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: bouyer@netbsd.org
State-Changed-When: Fri, 15 Jun 2007 19:28:20 +0000
State-Changed-Why:
apcupsd has been updated to 3.14.1. Thanks for the PR and the patches,
and sorry for handing it soo late.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.