noodles pushed to ganglia (epel7). "Update to 3.1.0 and small fixes"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 02:12:31 UTC 2015


>From b31061a98eb781b8edbbcb9649675995983f4273 Mon Sep 17 00:00:00 2001
From: georgiou <georgiou at fedoraproject.org>
Date: Thu, 17 Jul 2008 01:04:29 +0000
Subject: Update to 3.1.0 and small fixes


diff --git a/.cvsignore b/.cvsignore
index 4d22bb0..6e14082 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1,4 +1 @@
-ganglia-3.0.5.tar.gz
-ganglia-3.0.6.tar.gz
-ganglia-3.0.7.tar.gz
-ganglia-3.1.0.1399.tar.gz
+ganglia-3.1.0.tar.gz
diff --git a/ganglia-3.1.0-r1399-ppc64build.patch b/ganglia-3.1.0-r1399-ppc64build.patch
deleted file mode 100644
index c869436..0000000
--- a/ganglia-3.1.0-r1399-ppc64build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- ganglia-3.1.0.1399/configure.in.orig	2008-06-13 10:23:06.000000000 -0400
-+++ ganglia-3.1.0.1399/configure.in	2008-06-13 10:23:24.000000000 -0400
-@@ -574,7 +574,7 @@ if test "x$prefix" = xNONE; then
-   prefix="$ac_default_prefix"
- fi
- 
--if test "x$host_cpu" = "xx86_64"; then
-+if test "x$host_cpu" = "xx86_64" || test "x$host_cpu" = "xpowerpc64"; then
-   libdir="$prefix/lib64"
- else
-   libdir="$prefix/lib"
---- ganglia-3.1.0.1399/configure.orig	2008-06-13 10:24:45.000000000 -0400
-+++ ganglia-3.1.0.1399/configure	2008-06-13 10:25:33.000000000 -0400
-@@ -24225,7 +24225,7 @@ if test "x$prefix" = xNONE; then
-   prefix="$ac_default_prefix"
- fi
- 
--if test "x$host_cpu" = "xx86_64"; then
-+if test "x$host_cpu" = "xx86_64" || test "x$host_cpu" = "xpowerpc64"; then
-   libdir="$prefix/lib64"
- else
-   libdir="$prefix/lib"
diff --git a/ganglia.spec b/ganglia.spec
index 3542b0d..9204c49 100644
--- a/ganglia.spec
+++ b/ganglia.spec
@@ -1,16 +1,14 @@
-%define svnrev 1399
-
 Name:               ganglia
 Version:            3.1.0
-Release:            0.3%{?svnrev:.r%{svnrev}}%{?dist}
+Release:            0.4%{?svnrev:.r%{svnrev}}%{?dist}
 Summary:            Ganglia Distributed Monitoring System
 
 Group:              Applications/Internet
 License:            BSD
 URL:                http://ganglia.sourceforge.net/
-Source0:            http://www.ganglia.info/snapshots/3.1.x/%{name}-%{version}.%{svnrev}.tar.gz
+Source0:            http://www.ganglia.info/testing//%{name}-%{version}.tar.gz
+#Source0:            http://www.ganglia.info/snapshots/3.1.x/%{name}-%{version}.%{svnrev}.tar.gz
 #Source0:            http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
-Patch0:             ganglia-3.1.0-r1399-ppc64build.patch
 Buildroot:          %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:      rrdtool-devel, apr-devel >= 1
@@ -89,8 +87,7 @@ The Ganglia Monitoring Core library provides a set of functions that
 programmers can use to build scalable cluster or grid applications
 
 %prep
-%setup -q -n %{name}-%{version}.%{svnrev}
-%patch0 -p1
+%setup -q -n %{name}-%{version}%{?svnrev:.%{svnrev}}
 ## Hey, those shouldn't be executable...
 chmod -x lib/*.{h,x}
 
@@ -98,13 +95,13 @@ chmod -x lib/*.{h,x}
 %configure \
     --with-gmetad \
     --disable-static \
-    --with-shared
+    --enable-shared
 
 ## Default to run as user ganglia instead of nobody
 %{__perl} -pi.orig -e 's|nobody|ganglia|g' \
     lib/libgmond.c gmetad/conf.c gmond/g25_config.c \
     gmetad/gmetad.conf gmond/gmond.conf.html ganglia.html \
-    gmond/conf.pod ganglia.pod README
+    gmond/conf.pod ganglia.pod README lib/default_conf.h 
 
 ## Don't have initscripts turn daemons on by default
 %{__perl} -pi.orig -e 's|2345|-|g' \
@@ -145,7 +142,7 @@ cp -p gmond/gmond.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/gmond.conf.5
 cp -p gmetad/gmetad.conf $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/gmetad.conf
 cp -p mans/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
 ## Build default gmond.conf from gmond using the '-t' flag
-gmond/gmond -t > $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/gmond.conf
+gmond/gmond -t | %{__perl} -pe 's|nobody|ganglia|g' > $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/gmond.conf
 
 ## Python bits
 # Copy the python metric modules and .conf files
@@ -252,6 +249,11 @@ fi
 %{_datadir}/%{name}
 
 %changelog
+* Thu Jul 17 2008 Kostas Georgiou <k.georgiou at imperial.ac.uk> 3.1.0-0.4
+- Update to the 3.1.0 pre-release
+- Fixes gmond.conf to use the ganglia user and not nobody
+- Removal of the ppc64 work-around
+ 
 * Fri Jun 13 2008 Jarod Wilson <jwilson at redhat.com> 3.1.0-0.3.r1399
 - One more try at work-around. Needs powerpc64, not ppc64...
 
diff --git a/sources b/sources
index 8124094..4d8a846 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f33f73e8e693da0a7194b477ff4e7752  ganglia-3.1.0.1399.tar.gz
+07aa22905756685adbb412564dd396f1  ganglia-3.1.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ganglia.git/commit/?h=epel7&id=b31061a98eb781b8edbbcb9649675995983f4273


More information about the scm-commits mailing list