#24095 closed submission (fixed)
Portfile submission: ganglia 3.1.7
Reported by: | admin@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ganglia |
Description
Hi, I have written a Portfile for the ganglia monitoring client.
One unresolved issues remains, though. Maybe someone can help with that?
-- After the installation, one needs to run gmond --default_config > ${macports_prefix}/etc/ganglia/gmond.conf
-- I could not find out if there is something like a post_install hook available in the Portfile. Running the command above in the post-destroot phase does not work ;(
Besides of this, the portfile works just fine.
Hav fun, udo.
Attachments (2)
Change History (5)
Changed 15 years ago by admin@…
Changed 15 years ago by admin@…
Attachment: | patch-libmetrics-darwin-metrics.c.diff added |
---|
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ganglia portfile removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Version: | 1.8.2 |
comment:2 follow-up: 3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
- put the patchfile into a
platform darwin
section since it includes AvailabilityMacros.h which I believe is only available on Darwin OSes
That was probably unnecessary of me; I see now that the file being patched is in a directory called "darwin", so I guess it only gets compiled on Darwin OS anyway.
Note: See
TracTickets for help on using
tickets.
Thanks, committed in r65190 with these changes:
uwaechte
from the maintainers line since uwaechte at macports dot org is not a valid email address for you since you are not a committerhomepage http://ganglia.sf.net
to the canonicalhomepage http://ganglia.sourceforge.net/
master_sites sourceforge:ganglia
to the simplermaster_sites sourceforge
platform darwin
section since it includes AvailabilityMacros.h which I believe is only available on Darwin OSes#include "AvailabilityMacros.h"
to#include <AvailabilityMacros.h>
since this is a system headerstartupitem.logfile /var/log/ganglia-monitor.log
tostartupitem.logfile ${prefix}/var/log/ganglia-monitor.log
since we want MacPorts-related things to stay within the MacPorts prefixsystem
to execute the command and setting DYLD_FALLBACK_LIBRARY_PATH to tell it where the newly-compiled libraries are. the sample config file is now written to gmond.conf.sample; we don't want to write to gmond.conf because that's a file the user will edit and we don't want to overwrite the user's configuration when updating the portdestroot.keepdirs