summaryrefslogtreecommitdiffstats
path: root/development/ldns/ldns.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ldns/ldns.SlackBuild')
-rw-r--r--development/ldns/ldns.SlackBuild23
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 {} \;