aboutsummaryrefslogtreecommitdiff
path: root/network/chrony/chrony.SlackBuild
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/chrony.SlackBuild
parent9b64e5a3bda3758a4a158de86e455f56fb67ca95 (diff)
network/chrony: Updated for version 1.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/chrony/chrony.SlackBuild')
-rw-r--r--network/chrony/chrony.SlackBuild37
1 files changed, 26 insertions, 11 deletions
diff --git a/network/chrony/chrony.SlackBuild b/network/chrony/chrony.SlackBuild
index e6860969b884..f123fbd8cc3f 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