Bug 208188 - sys-power/apcupsd-3.14.3 version bump
Bug#: 208188 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tantive@gentoo.org Reported By: chris@realcomputerguy.com
Component: Ebuilds
URL: 
Summary: sys-power/apcupsd-3.14.3 version bump
Keywords:  
Status Whiteboard: 
Opened: 2008-01-30 16:46 0000
Description:   Opened: 2008-01-30 16:46 0000
3.14.3 released 1/20

Reproducible: Always

------- Comment #1 From Andrew Telford 2008-02-04 02:00:35 0000 -------
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 From Andrew Telford 2008-02-06 19:32:08 0000 -------
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 From Conrad Kostecki 2008-04-29 08:11:44 0000 -------
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 From Conrad Kostecki 2008-04-29 08:12:46 0000 -------
Created an attachment (id=151301) [details]
apcupsd-3.14.3.ebuild.patch

apcupsd-3.14.3.ebuild.patch

This patch is against apcupsd-3.14.2.ebuild :)

------- Comment #5 From Conrad Kostecki 2008-04-29 08:13:19 0000 -------
Created an attachment (id=151302) [details]
files/3.14.3/hal-ups-policy.patch

hal-ups-policy.patch

Patch to fix the new hal file.

------- Comment #6 From Conrad Kostecki 2008-04-29 08:14:48 0000 -------
Created an attachment (id=151304) [details]
files/3.14.3/hal-ups-policy.patch

hal-ups-policy.patch

Patch to fix the new hal file.

------- Comment #7 From Michael Imhof 2008-05-08 19:38:29 0000 -------
In cvs. Thanks for your help!