Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455826 - Small changes to net-analyzer/munin ebuild to make it build on Gentoo/FreeBSD
Summary: Small changes to net-analyzer/munin ebuild to make it build on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 13:00 UTC by Kolbjørn Barmen
Modified: 2013-02-09 14:31 UTC (History)
1 user (show)

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


Attachments
Diff between portage munin-2.0.11.ebuild and mine (munin.patch,441 bytes, patch)
2013-02-06 13:02 UTC, Kolbjørn Barmen
Details | Diff
Diff between portage munin-2.0.11.ebuild and mine (munin.patch,1.47 KB, patch)
2013-02-06 13:05 UTC, Kolbjørn Barmen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kolbjørn Barmen 2013-02-06 13:00:22 UTC
net-analyzer/munin has a dep on sys-process/procps which doesn't exist on FreeBSD. I changed that to "userland_GNU? ( sys-process/procps )", not sure if this is right way to do it?

Also, the munin ebuild removes plugins related to apt and yum, as they are not relevant on Gentoo/Linux, but munin itself notices that it's not on Linux when building on FreeBSD, so those files are not there to be deleted and the build exits. My simple solution is to use "rm -f" instead of just "rm" on those files.

Reproducible: Always
Comment 1 Kolbjørn Barmen 2013-02-06 13:02:40 UTC
Created attachment 338078 [details, diff]
Diff between portage munin-2.0.11.ebuild and mine
Comment 2 Kolbjørn Barmen 2013-02-06 13:05:59 UTC
Created attachment 338080 [details, diff]
Diff between portage munin-2.0.11.ebuild and mine
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-02-09 14:16:35 UTC
Next time CC the maintainers please.

userland_GNU is the wrong check there, okay on the rm -f for yum/apt, not for the rest.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-02-09 14:31:55 UTC
The changes are in 2.0.11.1 — you probably want to open a new bug for keywording, but don't expect everything to go smoothly, I've not tested the plugins on any FBSD system :(