ebuild for the cluster monitoring ganglia-monitor-core backend. I have been trying to use the webapp-apache eclass to install this webfrontend but there are 2 errors when running repoman which I think is caused by the eclass. phpmp (another ebuild using this eclass) has the same errors. aux_get(): (0) Error in sys-cluster/ganglia-webfrontend-2.5.5 ebuild. Check for syntax error or corruption in the ebuild. (--debug) If anyone can figure out the problem please let me know so we can commit it. Otherwise, this is just here to remind me to update the ebuild with the new webapp.eclass when it is finished. The attached ebuild works fine as long as userpriv is off. Bug 32636 - Steve
Created attachment 21071 [details] ebuild attached
A few suggestions: 1) No need to define S to its default 2) Just have an RDEPEND, if DEPEND is the same. Put deps one per line also. 3) In src_compile(), try putting true; -- see the kde-env ebuild.
Oh, btw: dodir insinto etc imply ${D}, no need to say it again. Check out /usr/lib/portage/bin/$functionname if you're curious.
I added 1), 2), and ${D} trying to figure out what repoman was complaining about and since they didn't hurt just left them in there. I'll edit to use true; and fix the other suggestions. So do you want to force this in despite the webapp-apache.eclass error and update it later or just let it sit until after webapp.eclass is ready? - Steve
Nah, if there are errors hold off. If you can track down the error, then go ahead and commit it. Using the new eclass could be a new -r# or something.
News about this bug? Any new (and fixed) ebuilds?
ganglia-webfrontend is now in our unofficial overlay: http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser Please note that the overlay is unofficial, not a Gentoo project, and not supported. It is intended to provide easier access to new web applications.
The ebuild should do a check on PHP's build to make sure it has the GD use flag set. Otherwise, you won't get piecharts.