literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
code in the source tree.
Refactor the gmond rc.d script to allow multiple gmond daemons to be run
by making links to the script. For example a link to gmond-cluster
would let you set gmond_cluster_enable and gmond_cluster_conf variables
to control a second instance.
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
config file locations correctly, and run as the ganglia user instead of
nobody by default.
Reported by: QAT, pointyhat via pav [0]
Pointy hat to: brooks
- Fix support for large memory systems (hw.physmem is a u_long not a long) [2]
- Make portlint happier [3]
PR: ports/115362 [1], some of [3]
Submitted by: Michael Fuckner <michael at fuckner dot net> [1], some of [3]
Clement Laforet <clement at FreeBSD dot org> [2]
Move net/rrdtool to databases/rrdtool.
It's an itch which needs to be scratched: net/rrdtool came from
net/mrtg, which was a good location for it. net/mrtg has later
been moved to net-mgmt/mrtg. net/rrdtool is "Round Robin Database
Tools", therefor it's better if it moves to databases/rrdtool.
Same with net/rrdtool10.
PR: ports/112942
Submitted by: Edwin Groothuis <edwin@mavetju.org>
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.
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.
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.
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.
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
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.
- 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.
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.