[csw-devel] SF.net SVN: gar:[9060] csw/mgar/pkg/ganglia/branches

d_pocock at users.sourceforge.net d_pocock at users.sourceforge.net
Tue Mar 9 14:58:29 CET 2010


Revision: 9060
          http://gar.svn.sourceforge.net/gar/?rev=9060&view=rev
Author:   d_pocock
Date:     2010-03-09 13:58:27 +0000 (Tue, 09 Mar 2010)

Log Message:
-----------
Branch to test 3.1.7 package

Added Paths:
-----------
    csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/
    csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile
    csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums

Removed Paths:
-------------
    csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile
    csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums

Deleted: csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile
===================================================================
--- csw/mgar/pkg/ganglia/branches/ganglia-3.1.6-rc/Makefile	2010-02-09 13:11:40 UTC (rev 8434)
+++ csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile	2010-03-09 13:58:27 UTC (rev 9060)
@@ -1,180 +0,0 @@
-GARNAME = ganglia
-GARVERSION = 3.1.5.2258
-CATEGORIES = utils
-
-# How should we set this?
-# There is a release number in configure.in, maybe use that?
-# RELVER =
-
-USER_GMOND = nobody
-# nobody shouldn't really be allowed to own any files
-# maybe we should add a ganglia user to own the RRD files?
-USER_GMETAD = nobody
-
-DESCRIPTION = A scalable distributed monitoring system
-define BLURB
-  Ganglia is a scalable distributed monitoring system for high-performance computing
-  systems such as clusters and Grids. It is based on a hierarchical design targeted
-  at federations of clusters.
-endef
-
-SF_PROJ = ganglia
-MASTER_SITES = $(SF_MIRRORS)
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-DISTFILES += CSWgangliaweb.postinstall CSWgangliaweb.preremove
-DISTFILES += httpd-ganglia.conf.CSW cswgmond cswgmetad
-
-PACKAGES = CSWgangliart CSWgangliaagent CSWgangliadevel CSWgangliagmetad CSWgangliaweb CSWgangliamodpython
-
-CATALOGNAME_CSWganglia		= ganglia
-CATALOGNAME_CSWgangliart	= ganglia_rt
-CATALOGNAME_CSWgangliaagent	= ganglia_agent
-CATALOGNAME_CSWgangliamodpython	= ganglia_modpython
-CATALOGNAME_CSWgangliadevel	= ganglia_devel
-CATALOGNAME_CSWgangliagmetad	= ganglia_gmetad
-CATALOGNAME_CSWgangliaweb	= ganglia_web
-
-SPKG_DESC_CSWganglia		= Dummy package
-SPKG_DESC_CSWgangliart		= Ganglia runtime libraries
-SPKG_DESC_CSWgangliaagent	= Ganglia performance monitoring agent gmond
-SPKG_DESC_CSWgangliamodpython	= Ganglia agent module for Python metrics
-SPKG_DESC_CSWgangliadevel	= Ganglia headers for metric module development
-SPKG_DESC_CSWgangliagmetad	= Ganglia gmetad
-SPKG_DESC_CSWgangliaweb		= Ganglia web
-
-BUILD_DEP_PKGS = CSWexpat CSWlibconfuse CSWapache2rt CSWapache2-devel CSWrrd CSWpcre
-
-RUNTIME_DEP_PKGS_CSWgangliart = CSWexpat CSWlibconfuse CSWapache2rt
-RUNTIME_DEP_PKGS_CSWgangliaagent = CSWexpat CSWlibconfuse CSWapache2rt
-RUNTIME_DEP_PKGS_CSWgangliaagent += CSWgangliart CSWpcrert
-RUNTIME_DEP_PKGS_CSWgangliamodpython = CSWlibconfuse CSWapache2rt CSWgangliart
-RUNTIME_DEP_PKGS_CSWgangliamodpython += CSWgangliaagent
-RUNTIME_DEP_PKGS_CSWgangliadevel = CSWexpat CSWlibconfuse CSWapache2rt
-RUNTIME_DEP_PKGS_CSWgangliagmetad = CSWexpat CSWlibconfuse CSWapache2rt
-RUNTIME_DEP_PKGS_CSWgangliagmetad += CSWgangliart CSWgangliaagent CSWrrd
-RUNTIME_DEP_PKGS_CSWgangliaweb = CSWgangliagmetad 
-RUNTIME_DEP_PKGS_CSWgangliaweb += CSWapache2 CSWphp5 CSWap2modphp5 CSWrrd
-
-# We define upstream file regex so we can be notifed of new upstream software release
-UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=43021
-UPSTREAM_USE_SF = 1
-UFILES_REGEX = (\d+(?:\.\d+)*)
-
-# This is attachment #45 from Ganglia bug
-#   http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=77
-#PATCHFILES = $(GARNAME)-$(GARVERSION)-solaris-cc.patch
-
-# Uncomment this if we want to build both 32 bit and 64 bit binaries
-# By default, only 32 bit binaries are built
-#BUILD64 = 1
-
-CONFIGURE_ARGS = $(DIRPATHS)
-
-# Don't build gmetad (not tested yet on Solaris, more deps required to build)
-#CONFIGURE_ARGS += --without-gmetad
-CONFIGURE_ARGS += --with-gmetad
-
-# Reduce dependencies, no gettext:
-CONFIGURE_ARGS += --disable-nls
-
-# Use apr from CSWapache2rt
-CONFIGURE_ARGS += --with-libapr=/opt/csw/apache2/bin/apr-1-config
-
-# Include the status module
-CONFIGURE_ARGS += --with-status
-
-# When we enable this, modpython will have to go in a separate package,
-# otherwise CSWgangliaagent will have lots of dependencies
-# TODO: define a CSWgangliamodpython package
-# Depends: some issues exist getting the Python support working on Solaris,
-# Ganglia's configure.in needs to be further enhanced for this to work
-CONFIGURE_ARGS += --disable-python
-#CONFIGURE_ARGS += --with-python=/opt/csw
-
-# For Ganglia 3.1.2, the test suite doesn't compile cleanly on Solaris,
-# so we skip it.  This should be re-assessed with each new release
-# from upstream.  Proposed fixes for the test suite to be submitted
-# upstream.
-ifeq ($(GARVERSION),3.1.3)
-TEST_SCRIPTS = 
-endif
-ifeq ($(GARVERSION),3.1.4)
-TEST_SCRIPTS =
-endif
-ifeq ($(GARVERSION),3.1.5.2258)
-TEST_SCRIPTS =
-endif
-ifeq ($(GARVERSION),3.1.6)
-TEST_SCRIPTS =
-endif
-
-INSTALL_SCRIPTS = $(WORKSRC)/Makefile custom
-
-WWWROOT = /opt/csw/share/www
-WWWGANGLIA = $(WWWROOT)/ganglia
-sysconfdir = /etc/opt/csw/ganglia
-ETCGANGLIA = $(sysconfdir)
-
-PKGFILES_CSWganglia = 
-PKGFILES_CSWgangliart = $(libdir)/libganglia.*
-PKGFILES_CSWgangliamodpython = .*python.*
-PKGFILES_CSWgangliadevel = .*/include/.*.h .*/bin/ganglia-config
-PKGFILES_CSWgangliagmetad = .*/gmetad.* /opt/csw/var/ganglia/rrds /etc/opt/csw/init.d/cswgmetad
-PKGFILES_CSWgangliaweb = $(WWWGANGLIA)/.* /opt/csw/apache2/etc/extra/.*
-
-PRESERVECONF = /opt/csw/apache2/etc/extra/httpd-ganglia.conf.CSW
-PRESERVECONF += /etc/opt/csw/ganglia/gmond.conf.CSW
-PRESERVECONF += /etc/opt/csw/ganglia/gmetad.conf.CSW
-PRESERVECONF += /etc/opt/csw/ganglia/conf.d/modgstatus.conf.CSW
-PRESERVECONF += /etc/opt/csw/ganglia/conf.d/modpython.conf.CSW
-PRESERVECONF += $(WWWGANGLIA)/conf.php
-
-# For gmond
-INITSMF = /etc/opt/csw/init.d/cswgmond
-# For gmetad
-INITSMF += /etc/opt/csw/init.d/cswgmetad
-
-PROTOTYPE_FILTER_CSWgangliagmetad = awk '\
-$$$$3 ~ /\/opt\/csw\/var\/ganglia\/rrds/ { $$$$5 = "nobody"; $$$$6 = "nogroup" } \
-{ print }'
-
-
-#ARCHALL_CSWgangliadevel = 1
-#ARCHALL_CSWgangliaweb = 1
-
-include gar/category.mk
-
-install-custom:
-	@ginstall -D $(DOWNLOADDIR)/cswgmond \
-		$(PKGROOT)/etc/opt/csw/init.d/cswgmond
-	@ginstall -D $(DOWNLOADDIR)/cswgmetad \
-		$(PKGROOT)/etc/opt/csw/init.d/cswgmetad
-	@ginstall -d $(DESTDIR)$(WWWGANGLIA)
-	@cd $(WORKSRC)/web; \
-		cp -R * $(DESTDIR)$(WWWGANGLIA)
-	@ginstall -D $(FILEDIR)/conf.php \
-		$(DESTDIR)$(WWWGANGLIA)/conf.php.CSW
-	@rm -rf $(DESTDIR)$(WWWGANGLIA)/*.in
-	@ginstall -D $(FILEDIR)/httpd-ganglia.conf.CSW \
-		$(DESTDIR)/opt/csw/apache2/etc/extra/httpd-ganglia.conf.CSW
-	@ginstall -d $(DESTDIR)$(ETCGANGLIA)/conf.d
-	@$(WORKSRC)/gmond/gmond -t | grep -v "^include" \
-		> $(DESTDIR)$(ETCGANGLIA)/gmond.conf.CSW
-	@echo "include ('/etc/opt/csw/ganglia/conf.d/*.conf')" \
-		>> $(DESTDIR)$(ETCGANGLIA)/gmond.conf.CSW
-#	@ginstall -D $(FILEDIR)/gmond.conf \
-#		$(DESTDIR)$(ETCGANGLIA)/gmond.conf
-	@ginstall -D $(FILEDIR)/gmetad.conf \
-		$(DESTDIR)$(ETCGANGLIA)/gmetad.conf.CSW
-	@cd $(WORKSRC)/gmond/modules/conf.d; \
-		for CONF_FILE in *.conf ; \
-		do cp -R "$${CONF_FILE}" $(DESTDIR)$(ETCGANGLIA)/conf.d/"$${CONF_FILE}.CSW" ; done
-	@rm -rf $(DESTDIR)$(ETCGANGLIA)/conf.d/example.conf.CSW \
-		$(DESTDIR)$(ETCGANGLIA)/conf.d/multicpu.conf.CSW
-ifeq ($(GARVERSION),3.1.2)
-	@rm -rf $(DESTDIR)$(ETCGANGLIA)/conf.d/modgstatus.conf.CSW
-endif
-	@ginstall -d $(DESTDIR)/opt/csw/var/ganglia/rrds
-	
-
-

Copied: csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile (from rev 8437, csw/mgar/pkg/ganglia/branches/ganglia-3.1.6-rc/Makefile)
===================================================================
--- csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/Makefile	2010-03-09 13:58:27 UTC (rev 9060)
@@ -0,0 +1,182 @@
+GARNAME = ganglia
+GARVERSION = 3.1.6
+CATEGORIES = utils
+
+# How should we set this?
+# There is a release number in configure.in, maybe use that?
+# RELVER =
+
+USER_GMOND = nobody
+# nobody shouldn't really be allowed to own any files
+# maybe we should add a ganglia user to own the RRD files?
+USER_GMETAD = nobody
+
+DESCRIPTION = A scalable distributed monitoring system
+define BLURB
+  Ganglia is a scalable distributed monitoring system for high-performance computing
+  systems such as clusters and Grids. It is based on a hierarchical design targeted
+  at federations of clusters.
+endef
+
+SF_PROJ = ganglia
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += CSWgangliaweb.postinstall CSWgangliaweb.preremove
+DISTFILES += httpd-ganglia.conf.CSW cswgmond cswgmetad
+
+PACKAGES = CSWgangliart CSWgangliaagent CSWgangliadevel CSWgangliagmetad CSWgangliaweb CSWgangliamodpython
+
+CATALOGNAME_CSWganglia		= ganglia
+CATALOGNAME_CSWgangliart	= ganglia_rt
+CATALOGNAME_CSWgangliaagent	= ganglia_agent
+CATALOGNAME_CSWgangliamodpython	= ganglia_modpython
+CATALOGNAME_CSWgangliadevel	= ganglia_devel
+CATALOGNAME_CSWgangliagmetad	= ganglia_gmetad
+CATALOGNAME_CSWgangliaweb	= ganglia_web
+
+SPKG_DESC_CSWganglia		= Dummy package
+SPKG_DESC_CSWgangliart		= Ganglia runtime libraries
+SPKG_DESC_CSWgangliaagent	= Ganglia performance monitoring agent gmond
+SPKG_DESC_CSWgangliamodpython	= Ganglia agent module for Python metrics
+SPKG_DESC_CSWgangliadevel	= Ganglia headers for metric module development
+SPKG_DESC_CSWgangliagmetad	= Ganglia gmetad
+SPKG_DESC_CSWgangliaweb		= Ganglia web
+
+BUILD_DEP_PKGS = CSWexpat CSWlibconfuse CSWapache2rt CSWapache2-devel CSWrrd CSWpcre
+
+RUNTIME_DEP_PKGS_CSWgangliart = CSWexpat CSWlibconfuse CSWapache2rt
+RUNTIME_DEP_PKGS_CSWgangliart += CSWpcrert
+RUNTIME_DEP_PKGS_CSWgangliaagent = CSWexpat CSWlibconfuse CSWapache2rt
+RUNTIME_DEP_PKGS_CSWgangliaagent += CSWgangliart CSWpcrert
+RUNTIME_DEP_PKGS_CSWgangliamodpython = CSWlibconfuse CSWapache2rt CSWgangliart
+RUNTIME_DEP_PKGS_CSWgangliamodpython += CSWgangliaagent
+RUNTIME_DEP_PKGS_CSWgangliadevel = CSWexpat CSWlibconfuse CSWapache2rt
+RUNTIME_DEP_PKGS_CSWgangliagmetad = CSWexpat CSWlibconfuse CSWapache2rt
+RUNTIME_DEP_PKGS_CSWgangliagmetad += CSWgangliart CSWgangliaagent CSWrrd
+RUNTIME_DEP_PKGS_CSWgangliagmetad += CSWpcrert
+RUNTIME_DEP_PKGS_CSWgangliaweb = CSWgangliagmetad 
+RUNTIME_DEP_PKGS_CSWgangliaweb += CSWapache2 CSWphp5 CSWap2modphp5 CSWrrd
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=43021
+UPSTREAM_USE_SF = 1
+UFILES_REGEX = (\d+(?:\.\d+)*)
+
+# This is attachment #45 from Ganglia bug
+#   http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=77
+#PATCHFILES = $(GARNAME)-$(GARVERSION)-solaris-cc.patch
+
+# Uncomment this if we want to build both 32 bit and 64 bit binaries
+# By default, only 32 bit binaries are built
+#BUILD64 = 1
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+# Don't build gmetad (not tested yet on Solaris, more deps required to build)
+#CONFIGURE_ARGS += --without-gmetad
+CONFIGURE_ARGS += --with-gmetad
+
+# Reduce dependencies, no gettext:
+CONFIGURE_ARGS += --disable-nls
+
+# Use apr from CSWapache2rt
+CONFIGURE_ARGS += --with-libapr=/opt/csw/apache2/bin/apr-1-config
+
+# Include the status module
+CONFIGURE_ARGS += --with-status
+
+# When we enable this, modpython will have to go in a separate package,
+# otherwise CSWgangliaagent will have lots of dependencies
+# TODO: define a CSWgangliamodpython package
+# Depends: some issues exist getting the Python support working on Solaris,
+# Ganglia's configure.in needs to be further enhanced for this to work
+CONFIGURE_ARGS += --disable-python
+#CONFIGURE_ARGS += --with-python=/opt/csw
+
+# For Ganglia 3.1.2, the test suite doesn't compile cleanly on Solaris,
+# so we skip it.  This should be re-assessed with each new release
+# from upstream.  Proposed fixes for the test suite to be submitted
+# upstream.
+ifeq ($(GARVERSION),3.1.3)
+TEST_SCRIPTS = 
+endif
+ifeq ($(GARVERSION),3.1.4)
+TEST_SCRIPTS =
+endif
+ifeq ($(GARVERSION),3.1.5)
+TEST_SCRIPTS =
+endif
+ifeq ($(GARVERSION),3.1.6)
+TEST_SCRIPTS =
+endif
+
+INSTALL_SCRIPTS = $(WORKSRC)/Makefile custom
+
+WWWROOT = /opt/csw/share/www
+WWWGANGLIA = $(WWWROOT)/ganglia
+sysconfdir = /etc/opt/csw/ganglia
+ETCGANGLIA = $(sysconfdir)
+
+PKGFILES_CSWganglia = 
+PKGFILES_CSWgangliart = $(libdir)/libganglia.*
+PKGFILES_CSWgangliamodpython = .*python.*
+PKGFILES_CSWgangliadevel = .*/include/.*.h .*/bin/ganglia-config
+PKGFILES_CSWgangliagmetad = .*/gmetad.* /opt/csw/var/ganglia/rrds /etc/opt/csw/init.d/cswgmetad
+PKGFILES_CSWgangliaweb = $(WWWGANGLIA)/.* /opt/csw/apache2/etc/extra/.*
+
+PRESERVECONF = /opt/csw/apache2/etc/extra/httpd-ganglia.conf.CSW
+PRESERVECONF += /etc/opt/csw/ganglia/gmond.conf.CSW
+PRESERVECONF += /etc/opt/csw/ganglia/gmetad.conf.CSW
+PRESERVECONF += /etc/opt/csw/ganglia/conf.d/modgstatus.conf.CSW
+PRESERVECONF += /etc/opt/csw/ganglia/conf.d/modpython.conf.CSW
+PRESERVECONF += $(WWWGANGLIA)/conf.php
+
+# For gmond
+INITSMF = /etc/opt/csw/init.d/cswgmond
+# For gmetad
+INITSMF += /etc/opt/csw/init.d/cswgmetad
+
+PROTOTYPE_FILTER_CSWgangliagmetad = awk '\
+$$$$3 ~ /\/opt\/csw\/var\/ganglia\/rrds/ { $$$$5 = "nobody"; $$$$6 = "nogroup" } \
+{ print }'
+
+
+#ARCHALL_CSWgangliadevel = 1
+#ARCHALL_CSWgangliaweb = 1
+
+include gar/category.mk
+
+install-custom:
+	@ginstall -D $(DOWNLOADDIR)/cswgmond \
+		$(PKGROOT)/etc/opt/csw/init.d/cswgmond
+	@ginstall -D $(DOWNLOADDIR)/cswgmetad \
+		$(PKGROOT)/etc/opt/csw/init.d/cswgmetad
+	@ginstall -d $(DESTDIR)$(WWWGANGLIA)
+	@cd $(WORKSRC)/web; \
+		cp -R * $(DESTDIR)$(WWWGANGLIA)
+	@ginstall -D $(FILEDIR)/conf.php \
+		$(DESTDIR)$(WWWGANGLIA)/conf.php.CSW
+	@rm -rf $(DESTDIR)$(WWWGANGLIA)/*.in
+	@ginstall -D $(FILEDIR)/httpd-ganglia.conf.CSW \
+		$(DESTDIR)/opt/csw/apache2/etc/extra/httpd-ganglia.conf.CSW
+	@ginstall -d $(DESTDIR)$(ETCGANGLIA)/conf.d
+	@$(WORKSRC)/gmond/gmond -t | grep -v "^include" \
+		> $(DESTDIR)$(ETCGANGLIA)/gmond.conf.CSW
+	@echo "include ('/etc/opt/csw/ganglia/conf.d/*.conf')" \
+		>> $(DESTDIR)$(ETCGANGLIA)/gmond.conf.CSW
+#	@ginstall -D $(FILEDIR)/gmond.conf \
+#		$(DESTDIR)$(ETCGANGLIA)/gmond.conf
+	@ginstall -D $(FILEDIR)/gmetad.conf \
+		$(DESTDIR)$(ETCGANGLIA)/gmetad.conf.CSW
+	@cd $(WORKSRC)/gmond/modules/conf.d; \
+		for CONF_FILE in *.conf ; \
+		do cp -R "$${CONF_FILE}" $(DESTDIR)$(ETCGANGLIA)/conf.d/"$${CONF_FILE}.CSW" ; done
+	@rm -rf $(DESTDIR)$(ETCGANGLIA)/conf.d/example.conf.CSW \
+		$(DESTDIR)$(ETCGANGLIA)/conf.d/multicpu.conf.CSW
+ifeq ($(GARVERSION),3.1.2)
+	@rm -rf $(DESTDIR)$(ETCGANGLIA)/conf.d/modgstatus.conf.CSW
+endif
+	@ginstall -d $(DESTDIR)/opt/csw/var/ganglia/rrds
+	
+
+

Deleted: csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums
===================================================================
--- csw/mgar/pkg/ganglia/branches/ganglia-3.1.6-rc/checksums	2010-02-09 13:11:40 UTC (rev 8434)
+++ csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums	2010-03-09 13:58:27 UTC (rev 9060)
@@ -1,6 +0,0 @@
-f3436682e339279357aa98473a9f2b8a  download/CSWgangliaweb.postinstall
-c4c333a46db391464e372ad8ede4993c  download/CSWgangliaweb.preremove
-25d302948e25837bf17757d5e23e4955  download/cswgmetad
-c6bb96c949dbb989d06ebb36b6af885d  download/cswgmond
-cd33957a91bcf0fd5207002674faef0f  download/ganglia-3.1.5.2258.tar.gz
-2ff504ecb546aca2cdd6ee09af9a417e  download/httpd-ganglia.conf.CSW

Copied: csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums (from rev 8437, csw/mgar/pkg/ganglia/branches/ganglia-3.1.6-rc/checksums)
===================================================================
--- csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums	                        (rev 0)
+++ csw/mgar/pkg/ganglia/branches/ganglia-3.1.7/checksums	2010-03-09 13:58:27 UTC (rev 9060)
@@ -0,0 +1,6 @@
+f3436682e339279357aa98473a9f2b8a  CSWgangliaweb.postinstall
+c4c333a46db391464e372ad8ede4993c  CSWgangliaweb.preremove
+25d302948e25837bf17757d5e23e4955  cswgmetad
+c6bb96c949dbb989d06ebb36b6af885d  cswgmond
+39134ccba646fce6979958bf9c0fc8d7  ganglia-3.1.6.tar.gz
+2ff504ecb546aca2cdd6ee09af9a417e  httpd-ganglia.conf.CSW


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list