From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [PATCHv2] sysstat: version bump 9.0.3 -> 11.0.7
Date: Sun, 22 Nov 2015 23:56:32 +0100 [thread overview]
Message-ID: <1448232992-4939-1-git-send-email-alex.aring@gmail.com> (raw)
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
reply other threads:[~2015-11-22 22:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448232992-4939-1-git-send-email-alex.aring@gmail.com \
--to=alex.aring@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox