network/chrony: Updated for version 1.29.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Ellis 2014-01-20 01:05:36 +07:00 committed by Erik Hanson
parent 9b64e5a3bd
commit fc934d43fd
3 changed files with 30 additions and 15 deletions

View File

@ -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.

View File

@ -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

View File

@ -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=""