diff --git a/abi_used_libs b/abi_used_libs --- a/abi_used_libs +++ b/abi_used_libs @@ -1 +1,2 @@ libc.so.6 +libsensors.so.4 diff --git a/actions.py b/actions.py deleted file mode 100644 --- a/actions.py +++ /dev/null @@ -1,16 +0,0 @@ - -#!/usr/bin/python - - -from pisi.actionsapi import shelltools, get, autotools, pisitools - - -def setup(): - autotools.configure("--sysconfdir=/etc/sysstat") - -def build(): - autotools.make() - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodir("/var/log/sa") diff --git a/component.xml b/component.xml deleted file mode 100644 --- a/component.xml +++ /dev/null @@ -1,4 +0,0 @@ - - system.utils - - diff --git a/files/colorsysstat.sh b/files/colorsysstat.sh new file mode 100644 --- /dev/null +++ b/files/colorsysstat.sh @@ -0,0 +1,2 @@ +# Color sysstat output +export S_COLORS=${S_COLORS-auto} diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,39 @@ +name : sysstat +version : 11.6.0 +release : 2 +source : + - https://pagesperso-orange.fr/sebastien.godard/sysstat-11.6.0.tar.xz : 122172f5730162efd80e74fbbc0eeee8facfe10b30f38fe4b8f0693588474ee4 +license : GPL-2.0 +component : system.utils +summary : System performance tools for the Linux operating system +description: | + The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, + pidstat, cifsiostat and sa tools for Linux. + The sar command collects and reports system activity information. + The information collected by sar can be saved in a file in a binary + format for future inspection. The statistics reported by sar concern + I/O transfer rates, paging activity, process-related activities, + interrupts, network activity, memory and swap space utilization, CPU + utilization, kernel activities and TTY statistics, among others. Both + UP and SMP machines are fully supported. + The sadf command may be used to display data collected by sar in + various formats (CSV, XML, etc.). + The iostat command reports CPU utilization and I/O statistics for disks. + The tapestat command reports statistics for tapes connected to the system. + The mpstat command reports global and per-processor statistics. + The pidstat command reports statistics for Linux tasks (processes). + The cifsiostat command reports I/O statistics for CIFS file systems. +builddeps : + - lm_sensors-devel +setup : | + %configure --sysconfdir=/etc/sysstat \ + --enable-copy-only \ + --enable-install-cron \ + --with-systemdsystemunitdir=%libdir%/systemd/system +build : | + %make +install : | + %make_install + + mkdir -p $installdir/usr/share/defaults/etc/profile.d + install -m 644 $pkgfiles/colorsysstat.sh $installdir/usr/share/defaults/etc/profile.d diff --git a/pspec.xml b/pspec.xml deleted file mode 100644 --- a/pspec.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - sysstat - http://sebastien.godard.pagesperso-orange.fr/ - - Justin Krehel - justin@solusos.com - - utilities to monitor system performance and usage activity - sysstat is a package that has utilities to monitor system performance and usage activity. Many of these tools can be used via cron to collect reports. - GPLv2 - http://perso.orange.fr/sebastien.godard/sysstat-10.0.5.tar.gz - - ncurses-devel - - - - - sysstat - - ncurses - - - /etc/sysconfig - /usr/bin - /usr/lib - /usr/share/doc - /usr/share/locale - /usr/share/man - /var/log/sa - - - - - - 03-23-2013 - 10.0.5 - Add sysstat to repositories - Justin Krehel - justin@solusos.com - - - diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,79 @@ + + + sysstat + + Pierre-Yves + pyu@riseup.net + + GPL-2.0 + system.utils + System performance tools for the Linux operating system + The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, +pidstat, cifsiostat and sa tools for Linux. +The sar command collects and reports system activity information. +The information collected by sar can be saved in a file in a binary +format for future inspection. The statistics reported by sar concern +I/O transfer rates, paging activity, process-related activities, +interrupts, network activity, memory and swap space utilization, CPU +utilization, kernel activities and TTY statistics, among others. Both +UP and SMP machines are fully supported. +The sadf command may be used to display data collected by sar in +various formats (CSV, XML, etc.). +The iostat command reports CPU utilization and I/O statistics for disks. +The tapestat command reports statistics for tapes connected to the system. +The mpstat command reports global and per-processor statistics. +The pidstat command reports statistics for Linux tasks (processes). +The cifsiostat command reports I/O statistics for CIFS file systems. + + https://solus-project.com/sources/README.Solus + + + sysstat + System performance tools for the Linux operating system + The sysstat package contains the sar, sadf, mpstat, iostat, tapestat, +pidstat, cifsiostat and sa tools for Linux. +The sar command collects and reports system activity information. +The information collected by sar can be saved in a file in a binary +format for future inspection. The statistics reported by sar concern +I/O transfer rates, paging activity, process-related activities, +interrupts, network activity, memory and swap space utilization, CPU +utilization, kernel activities and TTY statistics, among others. Both +UP and SMP machines are fully supported. +The sadf command may be used to display data collected by sar in +various formats (CSV, XML, etc.). +The iostat command reports CPU utilization and I/O statistics for disks. +The tapestat command reports statistics for tapes connected to the system. +The mpstat command reports global and per-processor statistics. +The pidstat command reports statistics for Linux tasks (processes). +The cifsiostat command reports I/O statistics for CIFS file systems. + + system.utils + + /etc/sysconfig/sysstat + /etc/sysconfig/sysstat.ioconf + /usr/bin + /usr/lib64/sa/sa1 + /usr/lib64/sa/sa2 + /usr/lib64/sa/sadc + /usr/lib64/systemd/system/sysstat-collect.service + /usr/lib64/systemd/system/sysstat-collect.timer + /usr/lib64/systemd/system/sysstat-summary.service + /usr/lib64/systemd/system/sysstat-summary.timer + /usr/lib64/systemd/system/sysstat.service + /usr/share/defaults/etc/profile.d/colorsysstat.sh + /usr/share/doc + /usr/share/locale + /usr/share/man + /var/log/sa + + + + + 2017-08-18 + 11.6.0 + Packaging update + Pierre-Yves + pyu@riseup.net + + + \ No newline at end of file