summaryrefslogtreecommitdiff
path: root/network/chrony
diff options
context:
space:
mode:
authorRichard Ellis <rellis@dp100.com>2014-01-20 01:05:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:07 -0600
commitfc934d43fd14f84a677a6b46649ff7b6653729f3 (patch)
tree33b11b59c9c120f1c9aa58acff4994cad362e425 /network/chrony
parent9b64e5a3bda3758a4a158de86e455f56fb67ca95 (diff)
downloadslackbuilds-fc934d43fd14f84a677a6b46649ff7b6653729f3.tar.gz
network/chrony: Updated for version 1.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/chrony')
-rw-r--r--network/chrony/README2
-rw-r--r--network/chrony/chrony.SlackBuild37
-rw-r--r--network/chrony/chrony.info6
3 files changed, 30 insertions, 15 deletions
diff --git a/network/chrony/README b/network/chrony/README
index 0995635175..6c9b399243 100644
--- a/network/chrony/README
+++ b/network/chrony/README
@@ -8,5 +8,5 @@ See http://chrony.tuxfamily.org/ for more details.
Note: Because each installation's configuration will differ, the SlackBuild
script does not build or install configuration files. See the man pages and
-the chrony.txt file installed in /usr/doc/chrony-1.26/ (and the contrib and
+the chrony.txt file installed in /usr/doc/chrony-1.29/ (and the contrib and
examples directory) for relevant configuration information.
diff --git a/network/chrony/chrony.SlackBuild b/network/chrony/chrony.SlackBuild
index e6860969b8..f123fbd8cc 100644
--- a/network/chrony/chrony.SlackBuild
+++ b/network/chrony/chrony.SlackBuild
@@ -2,13 +2,28 @@
# Slackware build script for Chrony
-# Written by Richard Ellis <rellis@dp100.com>
-
-# This script is hereby released into the public domain.
-# V2 for Slackware 13.37 - November 11, 2011
+# Copyright 2014 Richard Ellis (USA)
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chrony
-VERSION=${VERSION:-1.26}
+VERSION=${VERSION:-1.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,19 +64,19 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+ --docdir=/usr/doc/$PRGNAM-$VERSION
make
make install DESTDIR=$PKG
diff --git a/network/chrony/chrony.info b/network/chrony/chrony.info
index 9b3dc01fc9..1836d3c712 100644
--- a/network/chrony/chrony.info
+++ b/network/chrony/chrony.info
@@ -1,8 +1,8 @@
PRGNAM="chrony"
-VERSION="1.26"
+VERSION="1.29"
HOMEPAGE="http://chrony.tuxfamily.org/"
-DOWNLOAD="http://download.tuxfamily.org/chrony/chrony-1.26.tar.gz"
-MD5SUM="ad6dd619ff1986e4ff780363c64e2246"
+DOWNLOAD="http://download.tuxfamily.org/chrony/chrony-1.29.tar.gz"
+MD5SUM="6e1a8ee2ce6632bedc2f8b5cdccfa69f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""