diff options
Diffstat (limited to 'desktop/wmmon/wmmon.SlackBuild')
-rw-r--r-- | desktop/wmmon/wmmon.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/desktop/wmmon/wmmon.SlackBuild b/desktop/wmmon/wmmon.SlackBuild index 68c92363ed..b02b781bab 100644 --- a/desktop/wmmon/wmmon.SlackBuild +++ b/desktop/wmmon/wmmon.SlackBuild @@ -2,10 +2,13 @@ # Slackware build script for wmmon -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230214 bkw: BUILD=2 +# - add patch to detect I/O on NVME devices (in -i mode). + # 20191211 bkw: Update for v1.4. Script can no longer build the old version. # - add libdockapp dep # - get rid of patches (no longer needed) @@ -25,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wmmon VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,6 +69,11 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# I/O monitoring works by checking /proc/diskstats. Each line is +# a device name, and nvme devices weren't invented yet when the +# code was originally written... +patch -p1 < $CWD/nvme.diff + # Man page taken from Debian, slightly corrected, and -c option added. cat $CWD/$PRGNAM.1 > $PRGNAM.1 |