Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409223 - app-admin/collectd-5.0.3 version bump
Summary: app-admin/collectd-5.0.3 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-03-21 20:14 UTC by Bruno
Modified: 2012-04-08 20:40 UTC (History)
1 user (show)

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


Attachments
Upstream commit 3835b23a2576a239f463b09edadf0dcde5d26f2d, replaces collectd-4.10.1-libiptc.patch (collectd-5.0.3-libiptc.patch,941 bytes, patch)
2012-03-21 20:16 UTC, Bruno
Details | Diff
Look for struct iptc_handle instead of (gone) iptc_handle_t (collectd-5.0.3-iptc_handle.patch,435 bytes, patch)
2012-03-21 20:16 UTC, Bruno
Details | Diff
Prevent (kernel)log spamming with >=3.3 kernel by netlink plugin (collectd-4.10.3-netlink-attr-padding.patch,1.11 KB, patch)
2012-03-21 20:18 UTC, Bruno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2012-03-21 20:14:13 UTC
collectd-5.0.3 was released back in February.

To compile (with my set of use flags) I needed a few patches changes:
- [iptables] collectd-4.10.1-libiptc.patch
  does not apply anymore, to be replaced by upstream (but not released yet)
  commit 3835b23a2576a239f463b09edadf0dcde5d26f2d
- [iptables] new collectd-5.0.3-iptc_handle.patch
  needed at least with net-firewall/iptables-1.4.12.1 which does not have
  typedefs for iptc_handle_t but just has struct iptc_handle
- [netlink] collectd-4.10.3-netlink-attr-padding.patch
  starting with 3.3 kernel collectd's netlink plugin produces 3 lines of
  kernel log at each interval:
    netlink: 12 bytes leftover after parsing attributes.
  change netlink call to fix this.
  Note: this should eventually also be applied to 5.0.2 so early 3.3 kernel
  adopters don't get their (kernel)log spammed!


Reproducible: Always
Comment 1 Bruno 2012-03-21 20:16:04 UTC
Created attachment 306225 [details, diff]
Upstream commit 3835b23a2576a239f463b09edadf0dcde5d26f2d, replaces collectd-4.10.1-libiptc.patch
Comment 2 Bruno 2012-03-21 20:16:43 UTC
Created attachment 306227 [details, diff]
Look for struct iptc_handle instead of (gone) iptc_handle_t
Comment 3 Bruno 2012-03-21 20:18:00 UTC
Created attachment 306231 [details, diff]
Prevent (kernel)log spamming with >=3.3 kernel by netlink plugin
Comment 4 Bruno 2012-03-21 21:30:29 UTC
Ignore attachment #306227 [details, diff], it's not needed and was mis-guided on my part due to the configure failure du to commit 3835b23a2576a239f463b09edadf0dcde5d26f2d present in collect master branch but not in -5.0.3!
Comment 5 Johan Bergström 2012-03-22 03:02:07 UTC
Thanks a lot for the patches. I'll have a look at it and report back.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-04-08 20:40:12 UTC
We're skipping directly to 5.1.0 ...

The libiptc patch should be obsolete then.

Please submit the kernel-3.3 patch upstream; we'll add it as soon as it is accepted into git master.