Bug 86143 - sys-power/apcupsd bump to 3.10.17 + misc fixes
Bug#: 86143 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: tantive@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: sys-power/apcupsd bump to 3.10.17 + misc fixes
Keywords:  
Status Whiteboard: 
Opened: 2005-03-21 08:35 0000
Description:   Opened: 2005-03-21 08:35 0000
The attached patch, applied over the current ebuild renamed
apcupsd-3.10.17.ebuild bumps apcupsd to latest version (which works under
freebsd, as well, instead .16 doesn't), and fixes a few problems:

- it fixes bug #83649 as it uses the new apache2 dependencies;
- it renames gd -> cgi useflag (it's more useful to know what a flag do, than
knowing which dependency throws in, and also this is consistent with
www-apps/nut),
- it adds ncurses useflag to disable ncurses support (removes powerflute),
- it adds nls useflag (as usual),
- it adds threads useflag to disable threaded support (on fbsd it's suggested
to not use it),
- it forces the DISTNAME to gentoo, so that it will install everything in
gentoo's way also on non-linux systems (such as g/fbsd),
- it removes default devices passed to configure, as they are linux dependant,
and both they are defaulted into configuration files (also, in .17 usb support
is autodetected),
- it removes dependency on baselayout, as it's useless and gave headaches to
g/fbsd users.

Note: in ${FILESDIR}, just copy .16 -> .17 directory, but change the apache
configuration file to the one attached, which changes from Alias to
ScriptAlias, else cgi won't work.

HTH, Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-03-21 08:35:57 0000 -------
Created an attachment (id=54064) [details]
apcupsd-3.0.17.patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2005-03-21 08:36:22 0000 -------
Created an attachment (id=54065) [details]
ScriptAlias apache.conf

------- Comment #3 From Michael Imhof 2005-03-28 10:33:00 0000 -------
Great job!
Thanks a lot.
Checked it in.