Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5534 - apcupsd 3.8.5 ebuild update
Summary: apcupsd 3.8.5 ebuild update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Kevyn Shortell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 20:36 UTC by Chris PeBenito (RETIRED)
Modified: 2002-11-08 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
apcupsd-3.8.5.ebuild (apcupsd-3.8.5.ebuild,2.05 KB, text/plain)
2002-07-24 20:37 UTC, Chris PeBenito (RETIRED)
Details
apcupsd rc script (apcupsd,551 bytes, text/plain)
2002-07-24 20:37 UTC, Chris PeBenito (RETIRED)
Details
Updated rc script (obsoletes previous script) (apcupsd,454 bytes, text/plain)
2002-08-27 13:12 UTC, Chris PeBenito (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.