From 9c4c402f7352413c4c15e7855c475096c8554198 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sun, 8 Nov 2020 22:14:40 +0000 Subject: Sun Nov 8 22:14:40 UTC 2020 n/mutt-2.0.0-x86_64-1.txz: Upgraded. n/ntp-4.2.8p15-x86_64-4.txz: Rebuilt. Make a /usr/bin/ntpdate symlink so that Plasma 5 can find it. Thanks to alienBOB. n/postfix-3.5.8-x86_64-1.txz: Upgraded. --- source/n/ntp/ntp.SlackBuild | 16 +++++++--------- source/n/postfix/postfix.SlackBuild | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'source/n') 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 -- cgit v1.2.3-65-gdbad