Commit graph

26 commits

Author SHA1 Message Date
Brooks Davis
2a56fd9001 - Upgrade to 3.0.3 eliminating the need for the cpufreq patch and fixing
some bugs.
- Spell REQUIRE correctly in ganglia.sh.in
- For systems where rcorder is run on LOCALBASE/etc/rc.d, split
  ganglia.sh into gmond.sh and gmetad.sh.
- Replace the patches changing user nobody to ganglia with REINPLACE_CMD
  in post-patch removing a maintance issue and decreasing the file
  count.  Also, expand the scope to include gmond.conf's documentation
  which was missed missed previously.
2006-07-13 21:52:02 +00:00
Edwin Groothuis
28dd10dcb4 Remove USE_REINPLACE from all categories starting with S 2006-05-13 04:15:53 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Doug Barton
ffde46cbf9 Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts
are overriding the values in /etc/rc.conf[.local] (due to
the way that variables from the latter are read at boot time).

Therefore, change the boot scripts to set default values only
if the variable is unset in /etc/rc.conf[.local]. This will
allow the service to start at boot time if it's been enabled
as the user would expect.

This change will be a noop for users who have systems that
have not yet been upgraded to the new rc.d code in the base.

In many cases there are other variables in the scripts that
should get similar treatment, however I did not change
anything other than the _enable lines. I'll leave the rest
up to the maintainers to do as they see fit.

Bump PORTREVISION to make sure that users and packages
pick up this change.
2006-01-07 06:29:57 +00:00
Brooks Davis
fe5bc0ecd2 add SHA256 2005-11-11 19:03:22 +00:00
Dmitry Sivachenko
d90e4d4389 Chase librrd shared library version change after recent upgrade of rrdtool. 2005-05-09 08:20:16 +00:00
Brooks Davis
a84f86e9e1 Add a -q option to gmetasnap to suppress non-error output. 2005-04-27 21:27:06 +00:00
Brooks Davis
4cabcf1631 SUB_FILES puts its results in WRKDIR, not WKRSRC. I don't know how
this wasn't failing to install.

Pointy hat:	brooks
2005-04-27 19:42:30 +00:00
Brooks Davis
c37ee5c260 Add a new utility script, gmetasnap which manages tarball snapshots of
the gmetad rrd databases.  Add support for ganglia.sh for saving and
restoring these snapshots at shutdown and startup respectivly.  This
makes it easier to use a ramdisk for rrddir which is necessicary for
large clusters as the load of updating the databases rapidly consumes
all available CPU.
2005-04-27 17:52:41 +00:00
Brooks Davis
5a033a05f0 Fix a bug in the CPU frequency function. The type is a uint32 not a
unit16.

Submitted by:   Meno Abels <meno.abels@adviser.com>
2005-04-27 17:52:01 +00:00
Brooks Davis
2a2571afa1 Upgrade to 3.0.1. This includes some fixes plus all the changes I
previously patched into the FreeBSD metrics.

Try to use cpufreq to get the frequency (maximum frequency not the
current one).

Add code to selectivly install libganglia and don't install it by
default as ganglia is linked staticly and no one I know of actually uses
the library.

Add some Makefile features to the port to allow generation of custom
pacakges with custom config files.

PR:		ports/79770
2005-04-15 21:19:46 +00:00
Brooks Davis
8e236791c0 Fix cpu time reporting. It was obviously wrong on sparc64, but actually
was totally broken everywhere.

A number of other cleanups and minor tweaks are also included, but
are less important.  All of these changes will be including in the soon
to be released ganglia-3.0.1.
2005-03-17 19:32:06 +00:00
Brooks Davis
4b77992985 Move the LIB_DEPENDS statement for rrdtool below bsd.port.pre.mk so
WITH_GMETAD is actually defined when needed.

Reported by:	pointyhat (via kris)
2005-03-14 21:03:41 +00:00
Brooks Davis
94b4baba35 Correct a number of issues with the previous commit:
- Patch a number of bugs in the metric code that caused gmond to be
   unstable, particularly on 4.x.  These will be in the next ganglia
   release.
 - Use CFLAGS instead of CPPFLAGS to pass the include arguments.  This
   appears to fix the bug where an installed, obsolete ganglia.h would
   break the build.
 - Do a better job of respecting CFLAGS and LDFLAGS.
 - Drop USE_LIBTOOL_VER.  It appears to break sparc64.
 - Fix a warning caused by an @unexec in the plist when gmetad.conf
   has been modified.

The port revision has been bumped.  All users of 3.0.0 should upgrade.
2005-03-04 21:14:06 +00:00
Brooks Davis
f018d5629a Upgrade ganglia to 3.0.0.
3.0.0 mostly consists of a more flexable portable gmond which requires a
new config file format.  Information about changes in this release can
be found on the website at:

http://ganglia.info/archives/cat_releases.html

and in ports/UPDATING.
2005-03-01 23:04:37 +00:00
Kirill Ponomarev
6afa309af7 - Use reserved UID/GID
PR:		ports/65481
Submitted by:	maintainer
Reported by:	kris
2004-04-13 07:47:10 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Greg Lewis
6edb001a02 . Update to 2.5.6.
PR:		62325
Submitted by:	brooks (maintainer)
2004-02-04 19:38:20 +00:00
Pav Lucistnik
17541e019b - Fix build on ia64
PR:		ports/59925
Submitted by:	brooks (maintainer)
2003-12-12 21:25:29 +00:00
Tilman Keskinoz
3e959700b8 "Fix the location of the gmetad state files. I missed the fact that it
the string defining the default moved from one file to another in the
last update so the documentation was corrected, but the actual default
was not.

Fix PTHREAD_LIBS support so it works if there's a libpthread installed."

PR:		59268
Submitted by:	brooks
2003-11-14 14:22:31 +00:00
Sergei Kolobov
4aff1bd3c5 Fix COMMENT (unnecessary quotes) 2003-11-08 23:02:06 +00:00
Kirill Ponomarev
bf58f09623 - Update to version 2.5.5 [1]
* integrates a number of FreeBSD enhancements
    and fixes a DoS bug
- Respect PTHREAD_LIBS and PTHREAD_CFLAGS [2]

PR:		59049
Submitted by:	brooks [1], krion [2]
2003-11-08 16:15:15 +00:00
Mark Linimon
19be68cee6 Update to Ganglia Monitor Core 2.5.4, plus enhancements bringing
FreeBSD support up to the level of Linux support.  PR: ports/58657
(maintainer-update).
2003-11-04 20:38:48 +00:00
Christian Weisgerber
f8b77d0feb Update upgrades the sysutils/ganglia-monitor-core port to Ganglia 2.5.3
(minor bugfixes), moves the include files to a ganglia subdirectory to
unbreak XFree86-4-clients, and fixes a bug which caused gmond to dump
core when started at boot.

PR:		52736
Submitted by:	brooks
2003-06-07 12:59:36 +00:00
Kris Kennaway
06d41ea4c5 Add ganglia-monitor-core 2.5.2.
Ganglia provides a complete real-time monitoring and execution
environment that is in use by hundreds of universities, private and
government laboratories and commercial cluster implementors around the
world. Whether you want to monitor hundreds of computers in real-time
across a university campus or around the world, ganglia is for you.

PR:		ports/48551
Submitted by:	Brooks Davis <brooks@freebsd.org>
2003-03-02 00:24:16 +00:00