Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86143 - sys-power/apcupsd bump to 3.10.17 + misc fixes
Summary: sys-power/apcupsd bump to 3.10.17 + misc fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 08:35 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-03-28 10:33 UTC (History)
1 user (show)

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


Attachments
apcupsd-3.0.17.patch (apcupsd-3.0.17.patch,3.02 KB, patch)
2005-03-21 08:35 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
ScriptAlias apache.conf (apache.conf,163 bytes, text/plain)
2005-03-21 08:36 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-21 08:35:30 UTC
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 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-21 08:35:57 UTC
Created attachment 54064 [details, diff]
apcupsd-3.0.17.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-21 08:36:22 UTC
Created attachment 54065 [details]
ScriptAlias apache.conf
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2005-03-28 10:33:00 UTC
Great job!
Thanks a lot.
Checked it in.