add systemd unit file for sys-cluster/ganglia-3.5.0, above version should be similar. Reproducible: Always
Created attachment 376884 [details, diff] systemd patch for ganglia-3.5.0.ebuild
Created attachment 376886 [details] systemd unit file for gmond
Created attachment 376888 [details] systemd unit file for gmetad
@systemd: If the unit files work for you and you'll be supporting them, feel free to add them to ganglia. I'm be right here yelling at kids to get off my openrc lawn.
Looks like upstream added them but they fail to build: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-1 -I../lib -I../gmond -I../include -D_LARGEFILE64_SOURCE -O2 -pipe -march=native -fno-strict-aliasing -Wall -D_REENTRANT -MT cleanup.o -MD -MP -MF .deps/cleanup.Tpo -c -o cleanup.o cleanup.c x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-1 -I../lib -I../gmond -I../include -D_LARGEFILE64_SOURCE -O2 -pipe -march=native -fno-strict-aliasing -Wall -D_REENTRANT -MT daemon_init.o -MD -MP -MF .deps/daemon_init.Tpo -c -o daemon_init.o daemon_init.c make[2]: *** No rule to make target `gmetad.service.in', needed by `gmetad.service'. Stop. make[2]: *** Waiting for unfinished jobs.... mv -f .deps/xml_hash.Tpo .deps/xml_hash.Po mv -f .deps/daemon_init.Tpo .deps/daemon_init.Po mv -f .deps/cleanup.Tpo .deps/cleanup.Po make[2]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.6.0/work/ganglia-3.6.0/gmetad' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.6.0/work/ganglia-3.6.0' make: *** [all] Error 2 I would report it to upstream to let them fix their building After that, you would only need to inherit systemd eclass and use --with-systemdsystemunitdir=$(systemd_get_unitdir) in configure
+*ganglia-3.7.1 (05 Aug 2015) + + 05 Aug 2015; Justin Bronder <jsbronder@gentoo.org> +ganglia-3.7.1.ebuild: + bump, resolves #510286 (add systemd unit) and #435784 (calling gcc/ar/ranlib + directly)