summaryrefslogtreecommitdiffstats
path: root/rules/sysstat.make
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-11-22 23:56:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-12-09 20:36:59 +0100
commit6edcd186d05225740a2e270741aa11f988eadbf1 (patch)
tree57d3632c1a8aababbb9d481117e9ab250a171657 /rules/sysstat.make
parentce9214c6b01ed1115385fd6d1b61097007df95aa (diff)
downloadptxdist-6edcd186d05225740a2e270741aa11f988eadbf1.tar.gz
ptxdist-6edcd186d05225740a2e270741aa11f988eadbf1.tar.xz
sysstat: version bump 9.0.3 -> 11.0.7
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> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/sysstat.make')
-rw-r--r--rules/sysstat.make41
1 files changed, 33 insertions, 8 deletions
diff --git a/rules/sysstat.make b/rules/sysstat.make
index 575ad1bd5..8819a9fc4 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 := GPL-2.0+
# ----------------------------------------------------------------------------
# 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)