summaryrefslogtreecommitdiff
path: root/network/chrony/chrony.SlackBuild
diff options
context:
space:
mode:
authorRichard Ellis <rellis@dp100.com>2011-12-10 18:19:37 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 18:19:37 -0200
commitedbc13c7a375c5a254e6c96c8988059d4f5f6224 (patch)
tree01338659c6389d8be8b41090114c16efd4741dbb /network/chrony/chrony.SlackBuild
parentd32a12b3d03e88cf60733aaf3e3d4ca77d79ce28 (diff)
downloadslackbuilds-edbc13c7a375c5a254e6c96c8988059d4f5f6224.tar.gz
network/chrony: Updated for version 1.26.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/chrony/chrony.SlackBuild')
-rw-r--r--network/chrony/chrony.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/network/chrony/chrony.SlackBuild b/network/chrony/chrony.SlackBuild
index d89b6816ab..95e278553c 100644
--- a/network/chrony/chrony.SlackBuild
+++ b/network/chrony/chrony.SlackBuild
@@ -5,9 +5,10 @@
# Written by Richard Ellis <rellis@dp100.com>
# This script is hereby released into the public domain.
+# V2 for Slackware 13.37 - November 11, 2011
PRGNAM=chrony
-VERSION=${VERSION:-1.24}
+VERSION=${VERSION:-1.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,7 +39,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -65,14 +66,15 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README NEWS chrony.txt contrib/ examples/ \
+cp -a \
+ COPYING INSTALL README NEWS chrony.txt contrib/ examples/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild