mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] sysstat: version bump 9.0.3 -> 11.0.7
Date: Thu, 29 Oct 2015 12:45:01 +0100	[thread overview]
Message-ID: <20151029114501.GS29389@pengutronix.de> (raw)
In-Reply-To: <1444508346-29409-1-git-send-email-alex.aring@gmail.com>

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

      reply	other threads:[~2015-10-29 11:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 20:19 Alexander Aring
2015-10-29 11:45 ` Michael Olbrich [this message]

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=20151029114501.GS29389@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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