diff options
Diffstat (limited to 'source/ap')
-rwxr-xr-x | source/ap/hplip/hplip.SlackBuild | 2 | ||||
-rwxr-xr-x | source/ap/sysstat/sysstat.SlackBuild | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source/ap/hplip/hplip.SlackBuild b/source/ap/hplip/hplip.SlackBuild index 58ee7f14..eb1d0be8 100755 --- a/source/ap/hplip/hplip.SlackBuild +++ b/source/ap/hplip/hplip.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=hplip VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/ap/sysstat/sysstat.SlackBuild b/source/ap/sysstat/sysstat.SlackBuild index 633b9d20..0a39e1ff 100755 --- a/source/ap/sysstat/sysstat.SlackBuild +++ b/source/ap/sysstat/sysstat.SlackBuild @@ -107,6 +107,11 @@ CFLAGS="$SLKCFLAGS -DSADC_PATH=/usr/lib$LIBDIRSUFFIX/sa/sadc" \ make $NUMJOBS || make || exit 1 make install IGNORE_MAN_GROUP=y DESTDIR=$PKG || exit 1 +# Don't include the version number in the configuration file - it is a +# needless detail that forces review of the config file with every +# package update, even if no changes were made from default. +sed -i -e '1s/sysstat-[0-9.]\+/systat/' $PKG/etc/sysstat/sysstat +# Move the config file to .new: mv $PKG/etc/sysstat/sysstat $PKG/etc/sysstat/sysstat.new mkdir -p $PKG/etc/rc.d |