diff options
-rw-r--r-- | network/kea/README | 2 | ||||
-rw-r--r-- | network/kea/kea.SlackBuild | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/network/kea/README b/network/kea/README index 2f23b635cff11..8783b544985bd 100644 --- a/network/kea/README +++ b/network/kea/README @@ -4,4 +4,4 @@ provide a very high-performance, extensible DHCP server engine for use by enterprises and service providers, either as is or with extensions and modifications. -postgresql is an optional dependency (autodetected). +Optional dependencies (autodetected) : postgresql, Botan diff --git a/network/kea/kea.SlackBuild b/network/kea/kea.SlackBuild index e68574535fa7d..3d70891b8edd2 100644 --- a/network/kea/kea.SlackBuild +++ b/network/kea/kea.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=kea VERSION=${VERSION:-1.2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,6 +55,7 @@ else fi if [ -x /usr/bin/pg_config ]; then PGSQL=""; else PGSQL="out"; fi +if [ -x /usr/bin/botan ]; then OPENSSL="out"; else OPENSSL=""; fi set -e @@ -71,6 +72,7 @@ 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 {} \; +CPPFLAGS="-std=gnu++11" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,9 +83,10 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-log4cplus \ - --with-openssl \ --with-dhcp-mysql \ + --with${OPENSSL}-openssl \ --with${PGSQL}-dhcp-pgsql \ + --enable-shell \ --disable-static \ --build=$ARCH-slackware-linux |