aboutsummaryrefslogtreecommitdiff
path: root/network/chrony/chrony.SlackBuild
diff options
context:
space:
mode:
authorRichard Ellis <rellis@dp100.com>2019-12-15 05:24:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 05:24:05 +0700
commite6077d43fb0decd570ad2d86777af9e269e19eeb (patch)
tree4e72fba4e23833cfdc042db0523f62149dc3c9c3 /network/chrony/chrony.SlackBuild
parented2efacdce4a9db08da3c9e2f57b242f1bafed83 (diff)
network/chrony: Updated for version 3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/chrony/chrony.SlackBuild')
-rw-r--r--network/chrony/chrony.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/chrony/chrony.SlackBuild b/network/chrony/chrony.SlackBuild
index 92e3c05de345d..9c31e913e21ab 100644
--- a/network/chrony/chrony.SlackBuild
+++ b/network/chrony/chrony.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chrony
-VERSION=${VERSION:-3.4}
+VERSION=${VERSION:-3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,7 +96,7 @@ make install DESTDIR=$PKG
chown ${NTP_USER}:${NTP_GROUP} $PKG/var/lib/chrony
install -D -m 0644 $CWD/chrony.conf $PKG/etc/chrony.conf.new
install -D -m 0644 $CWD/rc.chrony $PKG/etc/rc.d/rc.chrony.new
-sed -i "s%@NTP_USER@%${NTP_USER}%g" $PKG/etc/rc.d/rc.chrony.new
+sed -i "s%^NTP_USER=@NTP_USER@%NTP_USER=${NTP_USER}%g" $PKG/etc/rc.d/rc.chrony.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true