[csw-devel] SF.net SVN: gar:[7420] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 24 23:19:12 CET 2009


Revision: 7420
          http://gar.svn.sourceforge.net/gar/?rev=7420&view=rev
Author:   dmichelsen
Date:     2009-11-24 22:19:12 +0000 (Tue, 24 Nov 2009)

Log Message:
-----------
sar2rrd: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/sar2rrd/
    csw/mgar/pkg/sar2rrd/branches/
    csw/mgar/pkg/sar2rrd/tags/
    csw/mgar/pkg/sar2rrd/trunk/
    csw/mgar/pkg/sar2rrd/trunk/Makefile
    csw/mgar/pkg/sar2rrd/trunk/checksums
    csw/mgar/pkg/sar2rrd/trunk/files/


Property changes on: csw/mgar/pkg/sar2rrd/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/sar2rrd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sar2rrd/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/sar2rrd/trunk/Makefile	2009-11-24 22:19:12 UTC (rev 7420)
@@ -0,0 +1,40 @@
+GARNAME = sar2rrd
+GARVERSION = 2.4
+CATEGORIES = utils
+
+DESCRIPTION = Generate RRDTool graphs from sar output
+define BLURB
+  It creates a PNG Graph for each statistics group collected by sar.
+  Version 2.0 handles both Linux and Solaris sar output.
+  Each statistics of the group is represented as a single line in the graph.
+endef
+
+MASTER_SITES = http://www.trickytools.com/downloads/
+DISTFILES  = $(GARNAME)-$(GARVERSION).pl
+DISTFILES += $(GARNAME)-graph-$(GARVERSION).pl
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+SPKG_SOURCEURL = http://www.trickytools.com/php/sar2rrd.php
+
+REQUIRED_PKGS = CSWrrd CSWperl CSWpmdatecalc
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+post-extract-modulated:
+	$(foreach F,$(DISTFILES),perl -pi \
+		-e 's,/usr/bin/perl,/opt/csw/bin/perl,; s,/usr/local/rrdtool/bin/rrdtool,/opt/csw/bin/rrdtool,' \
+		$(WORKDIR)/$F;)
+	@$(MAKECOOKIE)
+
+install-custom:
+	ginstall -d $(DESTDIR)$(bindir)
+	ginstall $(WORKDIR)/$(GARNAME)-$(GARVERSION).pl $(DESTDIR)$(bindir)/$(GARNAME)
+	ginstall $(WORKDIR)/$(GARNAME)-graph-$(GARVERSION).pl $(DESTDIR)$(bindir)/$(GARNAME)-graph
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/sar2rrd/trunk/checksums
===================================================================
--- csw/mgar/pkg/sar2rrd/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/sar2rrd/trunk/checksums	2009-11-24 22:19:12 UTC (rev 7420)
@@ -0,0 +1,2 @@
+d51bd231562376e034db26a471329842  sar2rrd-2.4.pl
+c8d282e71afba0ddfd579debf0ef91a9  sar2rrd-graph-2.4.pl


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