aboutsummaryrefslogtreecommitdiff
path: root/network/chrony/chrony.SlackBuild
diff options
context:
space:
mode:
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