diff options
Diffstat (limited to 'source/n/ntp/ntp.SlackBuild')
-rwxr-xr-x | source/n/ntp/ntp.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/n/ntp/ntp.SlackBuild b/source/n/ntp/ntp.SlackBuild index ca9f922f5..fdcb534f0 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, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2020, 2023 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:-12} +BUILD=${BUILD:-13} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -130,6 +130,13 @@ cat $CWD/ntp.logrotate > $PKG/etc/logrotate.d/ntp.new mkdir -p $PKG/etc/rc.d cat $CWD/rc.ntpd > $PKG/etc/rc.d/rc.ntpd.new +# Add ntpdate man page from Debian: +# src: https://packages.debian.org/stretch/ntpdate +cp -a $CWD/ntpdate.8.gz $PKG/usr/man/man8 +chown root:root $PKG/usr/man/man8/ntpdate.8.gz +chmod 644 $PKG/usr/man/man8/ntpdate.8.gz +gzip -d $PKG/usr/man/man8/ntpdate.8.gz + mv $PKG/usr/doc/ntp-$VERSION/*.html $PKG/usr/doc/ntp-$VERSION/html || exit 1 cp -a \ COPYRIGHT NEWS README* TODO WHERE-TO-START \ |