summaryrefslogtreecommitdiffstats
path: root/source/n/bind/bind.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bind/bind.SlackBuild')
-rwxr-xr-xsource/n/bind/bind.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/n/bind/bind.SlackBuild b/source/n/bind/bind.SlackBuild
index eccd97507..118c8068f 100755
--- a/source/n/bind/bind.SlackBuild
+++ b/source/n/bind/bind.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bind
-VERSION=${VERSION:-9.14.9}
+VERSION=${VERSION:-9.14.10}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -75,6 +75,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Detect krb5:
+if ls /lib*/libgssapi_krb5* 1> /dev/null 2> /dev/null ; then
+ GSSAPI=" --with-gssapi "
+else
+ GSSAPI=" "
+fi
+
# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -87,8 +94,8 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-shared \
--disable-static \
- --enable-filter-aaaa \
--with-openssl=/usr \
+ $GSSAPI \
--build=$ARCH-slackware-linux || exit 1
# Build and install: