Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5534

Summary: apcupsd 3.8.5 ebuild update
Product: Gentoo Linux Reporter: Chris PeBenito (RETIRED) <pebenito>
Component: New packagesAssignee: Kevyn Shortell (RETIRED) <trance>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: apcupsd-3.8.5.ebuild
apcupsd rc script
Updated rc script (obsoletes previous script)

Description Chris PeBenito (RETIRED) gentoo-dev 2002-07-24 20:36:15 UTC
Attached is an ebuild for apcupsd 3.8.5.  The ebuild is a slightly modified
version of the 3.8.1 ebuild, which is currently in the tree.  In addition to the
version bump, I added the optional support for nls, and optionally build an
ncurses pgm (powerflute) if ncurses is installed.  I set the keywords for x86
and ppc, since I sucsessfully compiled it, and running it on my mac (tcp
connection, not serial).  I also added a note in postinst that
/etc/init.d/halt.sh will need to be modified to shut off the UPS at the end of a
powerfail shutdown.

In addition, attached is a slightly modified rc script.  a use dependance for
net is added.  if the config is for network, apcupsd obviously needs to be
started after net.  however, it can also run fine w/o net if its a
serial-connected ups.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2002-07-24 20:37:02 UTC
Created attachment 2560 [details]
apcupsd-3.8.5.ebuild
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2002-07-24 20:37:44 UTC
Created attachment 2561 [details]
apcupsd rc script
Comment 3 Kevyn Shortell (RETIRED) gentoo-dev 2002-08-27 01:38:28 UTC
Will add to the list to be tested. Thanks!
Comment 4 Chris PeBenito (RETIRED) gentoo-dev 2002-08-27 13:12:14 UTC
Created attachment 3480 [details]
Updated rc script (obsoletes previous script)

change the start-stop-daemon command in stop() to use --pidfile
Comment 5 Zach Welch (RETIRED) gentoo-dev 2002-09-10 21:49:16 UTC
See also bug #7778 which provides an ebuild for apcupsd 3.9.9
It was created from this ebuild, so there may be parallel bugs. :)
Comment 6 Hanno Böck gentoo-dev 2002-11-08 08:47:40 UTC
version 3.10.1 is already in portage.