Skip site navigation (1)Skip section navigation (2)

CVS log for ports/sysutils/ganglia-monitor-core/files/Attic/ganglia.sh.in

[BACK] Up to [FreeBSD] / ports / sysutils / ganglia-monitor-core / files

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9
Fri May 20 00:47:34 2011 UTC (8 months, 3 weeks ago) by brooks
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.8: +1 -1 lines
Upgrade to ganglia 6.1.7.

Drop support for early version of 6.x in the rc script support.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 15 02:49:14 2011 UTC (8 months, 4 weeks ago) by dougb
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Remove painful examples of foo="", with particular prejudice against
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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 27 00:14:55 2010 UTC (22 months, 2 weeks ago) by dougb
Branches: MAIN
CVS tags: RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_7_4_0, RELEASE_6_EOL
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 15 16:56:05 2009 UTC (2 years, 6 months ago) by dougb
Branches: MAIN
CVS tags: RELEASE_8_0_0, RELEASE_7_3_0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Fix a few "bad example" problems in the rc.d scripts that have been
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jul 13 21:52:02 2006 UTC (5 years, 6 months ago) by brooks
Branches: MAIN
CVS tags: RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_7_0_0, RELEASE_6_4_0, RELEASE_6_3_0, RELEASE_6_2_0, RELEASE_5_EOL, RELEASE_4_EOL, PRE_XORG_7
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
- 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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Feb 20 20:47:42 2006 UTC (5 years, 11 months ago) by dougb
Branches: MAIN
CVS tags: RELEASE_6_1_0, RELEASE_5_5_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 7 06:29:55 2006 UTC (6 years, 1 month ago) by dougb
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Apr 27 17:52:41 2005 UTC (6 years, 9 months ago) by brooks
Branches: MAIN
CVS tags: RELEASE_6_0_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +46 -1 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Mar 1 23:04:37 2005 UTC (6 years, 11 months ago) by brooks
Branches: MAIN
CVS tags: RELEASE_5_4_0
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options