Date: Thursday, November 10, 2022 @ 03:10:14
Author: anatolik
Revision: 1346380
archrelease: copy trunk to community-x86_64
Added:
sysstat/repos/community-x86_64/PKGBUILD
(from rev 1346379, sysstat/trunk/PKGBUILD)
sysstat/repos/community-x86_64/lib64-fix.patch
(from rev 1346379, 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 | 51 ++++++++++++++---------------
2 files changed, 73 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-10 03:09:51 UTC (rev 1346379)
+++ PKGBUILD 2022-11-10 03:10:14 UTC (rev 1346380)
@@ -1,47 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-# Contributor: Martin Devera <[email protected]>
-
-pkgname=sysstat
-pkgver=12.6.0
-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=('e85e4e46e9218ee3263cc287a7664997a8a71a5be0bef080b7930b83b94ce1b3b488acc399b5b981591cf1c4ff56b660b7aa0de8ba81306766f2bb30e136f348'
-
'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 1346379,
sysstat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-10 03:10:14 UTC (rev 1346380)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: Martin Devera <[email protected]>
+
+pkgname=sysstat
+pkgver=12.7.1
+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=("https://github.com/sysstat/sysstat/archive/refs/tags/v${pkgver}.tar.gz"
+ 'lib64-fix.patch')
+sha512sums=('5c1da0f5a1bf26091f029c5ea138f836616becb1e531843aa2c150a66ddc1f07b43cffeac98445855bf70319942fe22838a682c2f7685893bead7d8de7e9e2a8'
+
'6caae9962a636e5152b0462d0dce835d8f658848723bee2d7ac903a0f170a491882c819457c882bcee41159960fa243fb843a2389c9a4ceeea061a5520e01103')
+
+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 2022-11-10 03:09:51 UTC (rev 1346379)
+++ lib64-fix.patch 2022-11-10 03:10:14 UTC (rev 1346380)
@@ -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 1346379,
sysstat/trunk/lib64-fix.patch)
===================================================================
--- lib64-fix.patch (rev 0)
+++ lib64-fix.patch 2022-11-10 03:10:14 UTC (rev 1346380)
@@ -0,0 +1,26 @@
+diff --git a/configure.ac b/configure.ac
+index 59d1838..35c0ba8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -341,21 +341,6 @@ else
+ 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])