mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCHv2] sysstat: version bump 9.0.3 -> 11.0.7
@ 2015-11-22 22:56 Alexander Aring
  0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2015-11-22 22:56 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Aring

This patch bumps the version of sysstat from 9.0.3 to 11.0.7. The
project moved to autotools since then.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
changes since v2:
 - fix max 80 char width
 - change install_copy to install_alternative for sysconf config files

 rules/sysstat.make | 41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/rules/sysstat.make b/rules/sysstat.make
index c0983ab..3697e57 100644
--- a/rules/sysstat.make
+++ b/rules/sysstat.make
@@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_SYSSTAT) += sysstat
 #
 # Paths and names
 #
-SYSSTAT_VERSION	:= 9.0.3
-SYSSTAT_MD5	:= 5e62331a0d7757dcc2354c5945102462
+SYSSTAT_VERSION	:= 11.0.7
+SYSSTAT_MD5	:= 2d9e43c14d7df7daabee06c3fe45cd05
 SYSSTAT		:= sysstat-$(SYSSTAT_VERSION)
-SYSSTAT_SUFFIX	:= tar.bz2
+SYSSTAT_SUFFIX	:= tar.xz
 SYSSTAT_URL	:= http://pagesperso-orange.fr/sebastien.godard/$(SYSSTAT).$(SYSSTAT_SUFFIX)
 SYSSTAT_SOURCE	:= $(SRCDIR)/$(SYSSTAT).$(SYSSTAT_SUFFIX)
 SYSSTAT_DIR	:= $(BUILDDIR)/$(SYSSTAT)
@@ -28,15 +28,31 @@ SYSSTAT_LICENSE	:= GPLv2+
 # ----------------------------------------------------------------------------
 # Prepare
 # ----------------------------------------------------------------------------
-
-SYSSTAT_PATH	:= PATH=$(CROSS_PATH)
-SYSSTAT_ENV 	:= $(CROSS_ENV)
+SYSSTAT_CONF_ENV = \
+	$(CROSS_ENV) \
+	sa_lib_dir=/usr/lib/sa \
+	sa_dir=/var/log/sa
 
 #
 # autoconf
 #
-SYSSTAT_AUTOCONF := $(CROSS_AUTOCONF_USR)
-SYSSTAT_MAKE_PAR := NO
+SYSSTAT_CONF_TOOL	:= autoconf
+SYSSTAT_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-sensors \
+	$(GLOBAL_LARGE_FILE_OPTION) \
+	--disable-nls \
+	--enable-yesterday \
+	--disable-man-group \
+	--disable-compress-manpg \
+	--enable-install-isag \
+	--enable-clean-sa-dir \
+	--disable-install-cron \
+	--enable-collect-all \
+	--enable-copy-only \
+	--disable-documentation \
+	--enable-debuginfo \
+	--disable-stripping
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -51,10 +67,19 @@ $(STATEDIR)/sysstat.targetinstall:
 	@$(call install_fixup, sysstat,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
 	@$(call install_fixup, sysstat,DESCRIPTION,missing)
 
+	@$(call install_alternative, sysstat, 0, 0, 0644, \
+		/etc/sysconfig/sysstat)
+	@$(call install_alternative, sysstat, 0, 0, 0644, \
+		/etc/sysconfig/sysstat.ioconf)
+
 	@$(call install_copy, sysstat, 0, 0, 0755, /var/log/sa)
 
+	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/cifsiostat)
 	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/iostat)
+	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/isag)
 	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/mpstat)
+	@$(call install_copy, sysstat, 0, 0, 0755, -, \
+		/usr/bin/nfsiostat-sysstat)
 	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/pidstat)
 	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/sadf)
 	@$(call install_copy, sysstat, 0, 0, 0755, -, /usr/bin/sar)
-- 
2.6.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-22 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-22 22:56 [ptxdist] [PATCHv2] sysstat: version bump 9.0.3 -> 11.0.7 Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox