[arch-commits] Commit in sysstat/repos/community-x86_64 (4 files)

Anatol Pomozov anatolik at archlinux.org
Mon Jun 14 16:01:16 UTC 2021


    Date: Monday, June 14, 2021 @ 16:01:16
  Author: anatolik
Revision: 963463

archrelease: copy trunk to community-x86_64

Added:
  sysstat/repos/community-x86_64/PKGBUILD
    (from rev 963462, sysstat/trunk/PKGBUILD)
  sysstat/repos/community-x86_64/lib64-fix.patch
    (from rev 963462, sysstat/trunk/lib64-fix.patch)
Deleted:
  sysstat/repos/community-x86_64/PKGBUILD
  sysstat/repos/community-x86_64/lib64-fix.patch

-----------------+
 PKGBUILD        |   94 +++++++++++++++++++++++++++---------------------------
 lib64-fix.patch |   50 ++++++++++++++--------------
 2 files changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 16:00:51 UTC (rev 963462)
+++ PKGBUILD	2021-06-14 16:01:16 UTC (rev 963463)
@@ -1,47 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Martin Devera <devik at cdi.cz>
-
-pkgname=sysstat
-pkgver=12.5.3
-pkgrel=1
-pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)"
-arch=('x86_64')
-url="http://pagesperso-orange.fr/sebastien.godard/"
-license=('GPL')
-depends=('lm_sensors')
-makedepends=('systemd')
-optdepends=('tk: to use isag'
-	    'gnuplot: to use isag')
-options=('zipman')
-backup=('etc/conf.d/sysstat'
-	'etc/conf.d/sysstat.ioconf')
-source=("http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${pkgver}.tar.xz"
-	'lib64-fix.patch')
-sha512sums=('2a1b6d12a16295331d210d17dd94b4462dd72c2908f76666670b7fc31c336ca09e226e6809146dfa2fb6eff0c4bfea99ec47c6a84246adfea1c49467af1637c0'
-            '46ec3eebb12232d30cddba60f16a57cd8d625513cf002d9e501797a6660f9da9cb4116ec81d0c292644fb6d91eb05c7be458da667260b238bcfef532a020b114')
-
-prepare() {
-  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
-  patch -p1 < "${srcdir}/lib64-fix.patch"
-  autoreconf
-}
-
-build() {
-  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
-  conf_dir=/etc/conf.d ./configure --prefix=/usr \
-	--mandir=/usr/share/man \
-	--enable-install-cron \
-	--enable-copy-only \
-  --disable-compress-manpg
-  # patch makefile for FULL RELRO builds
-  sed -e 's|CFLAGS = |CFLAGS += \$(CPPFLAGS) |' -e 's|LFLAGS = |LFLAGS = $(LDFLAGS) |' -i Makefile
-  make
-}
-
-package() {
-  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
-  mkdir -p "${pkgdir}"/usr/lib/systemd/system
-  make DESTDIR="${pkgdir}" install
-  chown -R root:root "${pkgdir}"
-  rm -rf "${pkgdir}"/etc/rc*
-}

Copied: sysstat/repos/community-x86_64/PKGBUILD (from rev 963462, sysstat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-14 16:01:16 UTC (rev 963463)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Martin Devera <devik at cdi.cz>
+
+pkgname=sysstat
+pkgver=12.5.4
+pkgrel=1
+pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)"
+arch=('x86_64')
+url="http://pagesperso-orange.fr/sebastien.godard/"
+license=('GPL')
+depends=('lm_sensors')
+makedepends=('systemd')
+optdepends=('tk: to use isag'
+	    'gnuplot: to use isag')
+options=('zipman')
+backup=('etc/conf.d/sysstat'
+	'etc/conf.d/sysstat.ioconf')
+source=("http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${pkgver}.tar.xz"
+	'lib64-fix.patch')
+sha512sums=('58bdfd90995d6479bf0c5e5e599a5af0973b718ab824b56494d0d99b406d5161f27f51ed35c99a05a5ccc71b9f27eb4d2436cec25369265e54d9b70f794e0308'
+            '46ec3eebb12232d30cddba60f16a57cd8d625513cf002d9e501797a6660f9da9cb4116ec81d0c292644fb6d91eb05c7be458da667260b238bcfef532a020b114')
+
+prepare() {
+  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
+  patch -p1 < "${srcdir}/lib64-fix.patch"
+  autoreconf
+}
+
+build() {
+  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
+  conf_dir=/etc/conf.d ./configure --prefix=/usr \
+	--mandir=/usr/share/man \
+	--enable-install-cron \
+	--enable-copy-only \
+  --disable-compress-manpg
+  # patch makefile for FULL RELRO builds
+  sed -e 's|CFLAGS = |CFLAGS += \$(CPPFLAGS) |' -e 's|LFLAGS = |LFLAGS = $(LDFLAGS) |' -i Makefile
+  make
+}
+
+package() {
+  cd "${srcdir}"/"${pkgname}"-"${pkgver}"
+  mkdir -p "${pkgdir}"/usr/lib/systemd/system
+  make DESTDIR="${pkgdir}" install
+  chown -R root:root "${pkgdir}"
+  rm -rf "${pkgdir}"/etc/rc*
+}

Deleted: lib64-fix.patch
===================================================================
--- lib64-fix.patch	2021-06-14 16:00:51 UTC (rev 963462)
+++ lib64-fix.patch	2021-06-14 16:01:16 UTC (rev 963463)
@@ -1,25 +0,0 @@
-diff -wbBur sysstat-11.1.3.org/configure.in sysstat-11.1.3/configure.in
---- sysstat-11.1.3.org/configure.in	2015-02-13 17:05:44.000000000 +0300
-+++ sysstat-11.1.3/configure.in	2015-02-16 13:25:26.201405593 +0300
-@@ -209,21 +209,6 @@
- fi
- 
- SADC_DIR=$AuxPrefix/lib
--if test -d $AuxPrefix/lib64; then
--    # Verify that this OS is really 64 bit
--    BITS=$(getconf LONG_BIT 2>/dev/null)
--    if test $? = 0; then
--        if test $BITS = 64; then
--            SADC_DIR=$AuxPrefix/lib64
--        fi
--    else
--        # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
--        grep " lm " /proc/cpuinfo >/dev/null 2>&1
--        if test $? = 0; then
--            SADC_DIR=$AuxPrefix/lib64
--        fi
--    fi
--fi
- 
- AC_MSG_CHECKING(sadc directory)
- AC_ARG_VAR([sa_lib_dir],[sadc directory])

Copied: sysstat/repos/community-x86_64/lib64-fix.patch (from rev 963462, sysstat/trunk/lib64-fix.patch)
===================================================================
--- lib64-fix.patch	                        (rev 0)
+++ lib64-fix.patch	2021-06-14 16:01:16 UTC (rev 963463)
@@ -0,0 +1,25 @@
+diff -wbBur sysstat-11.1.3.org/configure.in sysstat-11.1.3/configure.in
+--- sysstat-11.1.3.org/configure.in	2015-02-13 17:05:44.000000000 +0300
++++ sysstat-11.1.3/configure.in	2015-02-16 13:25:26.201405593 +0300
+@@ -209,21 +209,6 @@
+ fi
+ 
+ SADC_DIR=$AuxPrefix/lib
+-if test -d $AuxPrefix/lib64; then
+-    # Verify that this OS is really 64 bit
+-    BITS=$(getconf LONG_BIT 2>/dev/null)
+-    if test $? = 0; then
+-        if test $BITS = 64; then
+-            SADC_DIR=$AuxPrefix/lib64
+-        fi
+-    else
+-        # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
+-        grep " lm " /proc/cpuinfo >/dev/null 2>&1
+-        if test $? = 0; then
+-            SADC_DIR=$AuxPrefix/lib64
+-        fi
+-    fi
+-fi
+ 
+ AC_MSG_CHECKING(sadc directory)
+ AC_ARG_VAR([sa_lib_dir],[sadc directory])



More information about the arch-commits mailing list