Hi Daniel,

Am 28.08.2009 um 19:31 schrieb Daniel Pocock:
Dagobert Michelsen wrote:
Am 27.08.2009 um 22:19 schrieb Daniel Pocock:
I haven't got an opencsw.org account as far as I know - I've tried to subscribe to that list using my main email address, [email protected] - I think it is waiting for someone to approve, because I haven't received
the confirmation email yet

You can not subscribe yourself, only the list admin can do that (Ihsan in
this case).


Ok, I'm not sure if it has been done

Ihsan?

I've now committed libconfuse and updated ganglia to 3.1.2

The ganglia package still has some work to do (installing a config file, SMF, generating a gmetad and dev package, etc), but at least it is installing all the necessary binaries now, and they can be run manually.

Any feedback is obviously quite welcome, as I haven't used GAR before, although make and svn are quite familiar.


GARNAME = ganglia
GARVERSION = 3.1.2
CATEGORIES = utils

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 += $(call admfiles,CSWpackage,)

Did this come out of "gmake newpkg-ganglia"? Static gspec-files are generally
discouraged and you can safely delete this line.

PACKAGES = CSWgangliaagent CSWgangliart

If you set PACKAGES you overwrite the default, which would be CSWganglia. That means you only build the above packages, not CSWganglia. If you want
to build that also you must add that.

CATALOGNAME_CSWganglia          = ganglia
CATALOGNAME_CSWgangliart        = ganglia_rt
CATALOGNAME_CSWgangliaagent     = ganglia_agent

SPKG_DESC_CSWganglia            = Dummy package
SPKG_DESC_CSWgangliart          = Ganglia runtime libraries
SPKG_DESC_CSWgangliaagent = Ganglia performance monitoring agent gmond

It is customary to have a base package which actually does something. What
would that be in case of ganglia?

PREREQUISITE_PKGS = CSWexpat CSWlibconfuse CSWapache2rt

REQUIRED_PKGS_CSWgangliart = CSWexpat CSWlibconfuse CSWapache2rt
REQUIRED_PKGS_CSWgangliaagent = CSWexpat CSWlibconfuse CSWapache2rt
REQUIRED_PKGS_CSWgangliaagent += CSWgangliart

# 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

CONFIGURE_ARGS = $(DIRPATHS)

# Don't build gmetad (not tested yet on Solaris, more deps required to build)
CONFIGURE_ARGS += --without-gmetad

# Reduce dependencies, no gettext:
CONFIGURE_ARGS += --disable-nls

# 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.2)
#TEST_TARGET = check
TEST_SCRIPTS = skip
test-skip:
        $(DONADA)
endif

You can just set
  TEST_SCRIPTS =

Additionally, please do not write rules above the include as the first rule
is the default which should build the package.

PKGFILES_CSWganglia =
PKGFILES_CSWgangliart = $(libdir)/libganglia.*

include gar/category.mk


For a first attempt this is quite good :-)

If you need help on any of the above topics just ask.


Best regards

  -- Dago

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers

Reply via email to