Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208188 - sys-power/apcupsd-3.14.3 version bump
Summary: sys-power/apcupsd-3.14.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 16:46 UTC by Chris Smith
Modified: 2008-05-08 19:38 UTC (History)
2 users (show)

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


Attachments
apcupsd-3.14.3.ebuild.patch (apcupsd-3.14.3.ebuild.patch,195 bytes, patch)
2008-04-29 08:12 UTC, Conrad Kostecki
Details | Diff
files/3.14.3/hal-ups-policy.patch (hal-ups-policy.patch,637 bytes, text/plain)
2008-04-29 08:13 UTC, Conrad Kostecki
Details
files/3.14.3/hal-ups-policy.patch (hal-ups-policy.patch,637 bytes, patch)
2008-04-29 08:14 UTC, Conrad Kostecki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2008-01-30 16:46:54 UTC
3.14.3 released 1/20

Reproducible: Always
Comment 1 Andrew Telford 2008-02-04 02:00:35 UTC
I upgraded to this by renaming the ebuild and files/ patches from 3.14.2

This version adds an extra file to hal which supposedly fixes contention between hal and apcupsd.  I in a x86 stable server which I manage I recently had the process hald-addon-hid-ups eat up all the memory.  Maybe this version will fix this.
Comment 2 Andrew Telford 2008-02-06 19:32:08 UTC
Hal does not like the new hal policy file:

  hald[7429]: error in fdi file /usr/share/hal/fdi/policy/20thirdparty/80-apcupsd-ups-policy.fdi:5: Bad rule: unknown type_match

The following mode seems to correct .fdi file syntax. Can someone sanity check it.  It should probably be fixed upstream.

5c5
<     <match key="info.addons" type="strlist">hald-addon-hid-ups</match>
---
>     <match key="info.addons" contains="hald-addon-hid-ups">


(In reply to comment #1)
> I upgraded to this by renaming the ebuild and files/ patches from 3.14.2
> 
> This version adds an extra file to hal which supposedly fixes contention
> between hal and apcupsd.  I in a x86 stable server which I manage I recently
> had the process hald-addon-hid-ups eat up all the memory.  Maybe this version
> will fix this.
> 

Comment 3 Conrad Kostecki gentoo-dev 2008-04-29 08:11:44 UTC
Hope we get this into portage ;)

ebuild works fine in my overlay. just rename. But as already mentioned by andrew, we need to include this hal patch. i created an diff and patch file.

This patch vrom Andrew will be officially in APCUPSD 3.14.4 released accoring to http://www.nabble.com/new-hal-policy-file-td15320189.html.
Comment 4 Conrad Kostecki gentoo-dev 2008-04-29 08:12:46 UTC
Created attachment 151301 [details, diff]
apcupsd-3.14.3.ebuild.patch

apcupsd-3.14.3.ebuild.patch

This patch is against apcupsd-3.14.2.ebuild :)
Comment 5 Conrad Kostecki gentoo-dev 2008-04-29 08:13:19 UTC
Created attachment 151302 [details]
files/3.14.3/hal-ups-policy.patch

hal-ups-policy.patch

Patch to fix the new hal file.
Comment 6 Conrad Kostecki gentoo-dev 2008-04-29 08:14:48 UTC
Created attachment 151304 [details, diff]
files/3.14.3/hal-ups-policy.patch

hal-ups-policy.patch

Patch to fix the new hal file.
Comment 7 Michael Imhof (RETIRED) gentoo-dev 2008-05-08 19:38:29 UTC
In cvs. Thanks for your help!