[packages/sysstat] - up to 12.5.4
arekm
arekm at pld-linux.org
Mon Jun 28 13:54:08 CEST 2021
commit c66d86fe2d043ca6b3138d8a01a9cb10d709f186
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jun 28 13:53:44 2021 +0200
- up to 12.5.4
install.patch | 26 ++++----------------------
sysstat.spec | 9 +++++----
2 files changed, 9 insertions(+), 26 deletions(-)
---
diff --git a/sysstat.spec b/sysstat.spec
index 67e4110..5c80eb5 100644
--- a/sysstat.spec
+++ b/sysstat.spec
@@ -6,15 +6,15 @@ Summary(ru.UTF-8): Содержит программы системного мо
Summary(uk.UTF-8): Містить команди системного моніторингу sar та iostat
Summary(zh_CN.UTF-8): sar, iostat 等系统监视工具
# use stable versions
-# Sysstat 12.3.x released (development version).
-# Sysstat 12.2.x released (stable version).
+# Sysstat 12.?.x released (development version).
+# Sysstat 12.5.x released (stable version).
Name: sysstat
-Version: 12.2.1
+Version: 12.5.4
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz
-# Source0-md5: 9dfff5fac24e35bd92fb7896debf2ffb
+# Source0-md5: 697890a0fe72be4afe1dcdfff802bde1
Source2: %{name}.init
Source3: crontab
Patch1: install.patch
@@ -168,6 +168,7 @@ fi
%{systemdunitdir}/sysstat-collect.timer
%{systemdunitdir}/sysstat-summary.service
%{systemdunitdir}/sysstat-summary.timer
+%{systemdunitdir}-sleep/sysstat.sleep
%{_mandir}/man1/cifsiostat.1*
%{_mandir}/man1/iostat.1*
%{_mandir}/man1/mpstat.1*
diff --git a/install.patch b/install.patch
index 88539bc..fad1c8f 100644
--- a/install.patch
+++ b/install.patch
@@ -1,7 +1,7 @@
---- sysstat-11.0.8/Makefile.in 2015-10-28 12:55:45.551618897 +0200
-+++ sysstat-11.0.8/Makefile.in 2015-10-28 12:57:20.463217311 +0200
-@@ -364,7 +364,8 @@
- $(CHOWN) $(CRON_OWNER) $(DESTDIR)$(SA_DIR)
+--- sysstat-12.5.4/Makefile.in~ 2021-02-14 17:59:21.000000000 +0100
++++ sysstat-12.5.4/Makefile.in 2021-06-28 13:45:06.130150947 +0200
+@@ -599,7 +599,8 @@ ifneq ($(IGNORE_FILE_ATTRIBUTES),y)
+ endif
ifdef SYSTEMD_UNIT_DIR
mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)
-else
@@ -10,21 +10,3 @@
if [ -d /etc/cron.d ]; then \
mkdir -p $(DESTDIR)/etc/cron.d; \
elif [ -d /etc/cron.hourly -a -d /etc/cron.daily ]; then \
-@@ -375,15 +376,13 @@
- elif [ -d $(RC_DIR) ]; then \
- mkdir -p $(DESTDIR)$(RC_DIR); \
- fi
--endif
-- if [ -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" ]; then \
- if [ -d $(DESTDIR)/etc/cron.d ]; then \
- $(INSTALL_DATA) cron/sysstat.crond $(DESTDIR)/etc/cron.d/sysstat; \
- elif [ -d $(DESTDIR)/etc/cron.hourly -a -d $(DESTDIR)/etc/cron.daily ]; then \
- $(INSTALL_BIN) cron/sysstat.cron.hourly $(DESTDIR)/etc/cron.hourly/sysstat; \
- $(INSTALL_BIN) cron/sysstat.cron.daily $(DESTDIR)/etc/cron.daily/sysstat; \
-- fi \
-- fi
-+ fi
-+endif
- ifeq ($(COPY_ONLY),n)
- if [ \( -z "$(SYSTEMD_UNIT_DIR)" -o ! -d "$(DESTDIR)$(SYSTEMD_UNIT_DIR)" \) -a ! -d $(DESTDIR)/etc/cron.d ]; then \
- if [ ! -d $(DESTDIR)/etc/cron.hourly -o ! -d $(DESTDIR)/etc/cron.daily ]; then \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sysstat.git/commitdiff/c66d86fe2d043ca6b3138d8a01a9cb10d709f186
More information about the pld-cvs-commit
mailing list