diff options
Diffstat (limited to 'source/n')
-rwxr-xr-x | source/n/ntp/ntp.SlackBuild | 16 | ||||
-rwxr-xr-x | source/n/postfix/postfix.SlackBuild | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/source/n/ntp/ntp.SlackBuild b/source/n/ntp/ntp.SlackBuild index cbf7c3db5..2031b2a57 100755 --- a/source/n/ntp/ntp.SlackBuild +++ b/source/n/ntp/ntp.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ntp VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -97,13 +97,11 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -# Since the Makefile's install pays no heed to the --bindir settings, -# we'll move things to where they've always been ourselves: -mv $PKG/usr/bin/* $PKG/usr/sbin -rmdir $PKG/usr/bin - -# This might only be an empty directory: -rmdir $PKG/usr/lib/pkgconfig +# KDE Plasma 5 seems to want ntpdate in /usr/bin unless you have systemd: +mkdir -p $PKG/usr/bin +( cd $PKG/usr/bin + ln -sf ../sbin/ntpdate . +) # This should be empty. Try to remove it, and error out if it's not actually empty: rmdir $PKG/usr/libexec || exit 1 diff --git a/source/n/postfix/postfix.SlackBuild b/source/n/postfix/postfix.SlackBuild index aa8c7ffa7..b3cbf888e 100755 --- a/source/n/postfix/postfix.SlackBuild +++ b/source/n/postfix/postfix.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=postfix VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in |