diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-01-05 19:34:05 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-07 08:48:09 +0700 |
commit | f23bba9d99e73837fb5abd7c0dde349c78f7042a (patch) | |
tree | 40d0d30f14a0b62a40649108ddff59071eeaa302 /development/ldns/ldns.SlackBuild | |
parent | 4bcd5ac115d993716656d8ac3019f7ebd625a8a4 (diff) | |
download | slackbuilds-f23bba9d99e73837fb5abd7c0dde349c78f7042a.tar.gz |
development/ldns: Updated for version 1.7.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'development/ldns/ldns.SlackBuild')
-rw-r--r-- | development/ldns/ldns.SlackBuild | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/development/ldns/ldns.SlackBuild b/development/ldns/ldns.SlackBuild index 8665d7afd4..d6dbc7585d 100644 --- a/development/ldns/ldns.SlackBuild +++ b/development/ldns/ldns.SlackBuild @@ -3,7 +3,7 @@ # Copyright 2008, 2009 Eric Hameleers, Eindhoven, NL # Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN USA # Copyright 2010, R. Andrew Bailey, Chantilly, VA USA -# Copyright 2014-2016 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2014-2017 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -34,13 +34,13 @@ # ----------------------------------------------------------------------------- PRGNAM=ldns -VERSION=${VERSION:-1.6.17} +VERSION=${VERSION:-1.7.0} TAG=${TAG:-_SBo} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" @@ -80,11 +80,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix manpage building with perl-5.22 (thanks to Arch Linux) -patch -p1 < $CWD/perl-recent.patch -# Fix ldns-config. -patch -p1 < $CWD/ldns-config-libversion.patch - CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,10 +91,10 @@ CFLAGS="$SLKCFLAGS" \ --disable-static \ --enable-rrtype-ninfo \ --enable-rrtype-rkey \ - --enable-rrtype-cds \ - --enable-rrtype-uri \ --enable-rrtype-ta \ + --enable-rrtype-avc \ --disable-rpath \ + --disable-dane-verify \ --with-drill \ --with-examples \ --with-pyldns \ @@ -136,7 +131,7 @@ mkdir -p $PKG/$(find /usr/share/vim -type d -name "vim[0-9]*")/syntax install -m 0644 libdns.vim \ $PKG/$(find /usr/share/vim -type d -name "vim[0-9]*")/syntax/$PRGNAM.vim -find $PKG/usr/man -type f -exec chmod 0644 {} \; +find $PKG -type f -perm 444 -exec chmod 0644 '{}' \; find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG -name "LDNS.so" -exec chmod 0755 {} \; |