mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] sysstat: version bump 9.0.3 -> 11.0.7
@ 2015-10-10 20:19 Alexander Aring
  2015-10-29 11:45 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2015-10-10 20:19 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>
---
 rules/sysstat.make | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/rules/sysstat.make b/rules/sysstat.make
index c0983ab..90cd912 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,16 @@ $(STATEDIR)/sysstat.targetinstall:
 	@$(call install_fixup, sysstat,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
 	@$(call install_fixup, sysstat,DESCRIPTION,missing)
 
+	@$(call install_copy, sysstat, 0, 0, 0644, /etc/sysconfig/sysstat)
+	@$(call install_copy, 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] 2+ messages in thread

* Re: [ptxdist] [PATCH] sysstat: version bump 9.0.3 -> 11.0.7
  2015-10-10 20:19 [ptxdist] [PATCH] sysstat: version bump 9.0.3 -> 11.0.7 Alexander Aring
@ 2015-10-29 11:45 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2015-10-29 11:45 UTC (permalink / raw)
  To: ptxdist

On Sat, Oct 10, 2015 at 10:19:06PM +0200, Alexander Aring wrote:
> 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>
> ---
>  rules/sysstat.make | 38 ++++++++++++++++++++++++++++++--------
>  1 file changed, 30 insertions(+), 8 deletions(-)
> 
> diff --git a/rules/sysstat.make b/rules/sysstat.make
> index c0983ab..90cd912 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,16 @@ $(STATEDIR)/sysstat.targetinstall:
>  	@$(call install_fixup, sysstat,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
>  	@$(call install_fixup, sysstat,DESCRIPTION,missing)
>  
> +	@$(call install_copy, sysstat, 0, 0, 0644, /etc/sysconfig/sysstat)
> +	@$(call install_copy, sysstat, 0, 0, 0644, /etc/sysconfig/sysstat.ioconf)

Wouldn't it make sense to use install_alternative here? That would use the
same file as fallback, but a custom version could be added to a BSP.

Michael

> +
>  	@$(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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-29 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-10 20:19 [ptxdist] [PATCH] sysstat: version bump 9.0.3 -> 11.0.7 Alexander Aring
2015-10-29 11:45 ` Michael Olbrich

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