diff options
Diffstat (limited to 'parallel/ganglia-monitor-core/patches/patch-ag')
-rw-r--r-- | parallel/ganglia-monitor-core/patches/patch-ag | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/parallel/ganglia-monitor-core/patches/patch-ag b/parallel/ganglia-monitor-core/patches/patch-ag index d4cbf32454d..f6f7f3824d3 100644 --- a/parallel/ganglia-monitor-core/patches/patch-ag +++ b/parallel/ganglia-monitor-core/patches/patch-ag @@ -1,22 +1,22 @@ -$NetBSD: patch-ag,v 1.1.1.1 2005/02/07 14:33:21 jschauma Exp $ +$NetBSD: patch-ag,v 1.2 2005/02/10 02:33:53 jschauma Exp $ ---- gmond/cmdline.c.orig 2005-02-04 17:32:28.000000000 -0500 -+++ gmond/cmdline.c 2005-02-04 17:32:47.000000000 -0500 -@@ -49,7 +49,7 @@ - "Usage: %s [OPTIONS]...\n", PACKAGE); - printf(" -h --help Print help and exit\n"); - printf(" -V --version Print version and exit\n"); -- printf(" -cSTRING --conf=STRING Location of gmond configuration file (default='/etc/gmond.conf')\n"); -+ printf(" -cSTRING --conf=STRING Location of gmond configuration file (default='@PKG_SYSCONFDIR@/gmond.conf')\n"); - printf(" -lSTRING --location=STRING Location of this host in the cluster 'rack,rank,plane'. (default='0,0,0')\n"); - printf(" -dINT --debug=INT Debug level. If greater than zero, daemon will stay in foreground. (default=0)\n"); - } -@@ -81,7 +81,7 @@ - args_info->location_given = 0 ; - args_info->debug_given = 0 ; +--- gmond/cmdline.c.orig 2005-02-07 22:23:36.000000000 -0500 ++++ gmond/cmdline.c 2005-02-07 22:24:47.000000000 -0500 +@@ -42,7 +42,7 @@ + printf("\n"); + printf(" -h, --help Print help and exit\n"); + printf(" -V, --version Print version and exit\n"); +- printf(" -c, --conf=STRING Location of gmond configuration file (default=\n `/etc/gmond.conf')\n"); ++ printf(" -c, --conf=STRING Location of gmond configuration file (default=\n `@PKG_SYSCONFDIR@/gmond.conf')\n"); + printf(" -l, --location=STRING Location of this host in the cluster \n 'rack,rank,plane'. (default=`0,0,0')\n"); + printf(" -d, --debug=INT Debug level. If greater than zero, daemon will stay \n in foreground. (default=`0')\n"); + printf(" -f, --foreground Run in foreground (don't daemonize) (default=off)\n"); +@@ -84,7 +84,7 @@ + args_info->bandwidth_given = 0 ; + args_info->convert_given = 0 ; #define clear_args() { \ -- args_info->conf_arg = strdup("/etc/gmond.conf") ;\ -+ args_info->conf_arg = strdup("@PKG_SYSCONFDIR@/gmond.conf") ;\ - args_info->location_arg = strdup("0,0,0") ;\ +- args_info->conf_arg = gengetopt_strdup("/etc/gmond.conf") ;\ ++ args_info->conf_arg = gengetopt_strdup("@PKG_SYSCONFDIR@/gmond.conf") ;\ + args_info->location_arg = gengetopt_strdup("0,0,0") ;\ args_info->debug_arg = 0 ;\ - } + args_info->foreground_flag = 0;\ |