aboutsummaryrefslogtreecommitdiff
path: root/network/heimdal/heimdal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/heimdal/heimdal.SlackBuild')
-rw-r--r--network/heimdal/heimdal.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/network/heimdal/heimdal.SlackBuild b/network/heimdal/heimdal.SlackBuild
index bd245ba65dd3..bffccb9397b7 100644
--- a/network/heimdal/heimdal.SlackBuild
+++ b/network/heimdal/heimdal.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for KTH Heimdal Kerberos
# Copyright 2010 Menno Duurma
-# Copyright 2011-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2011-2019 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=heimdal
-VERSION=${VERSION:-7.5.0}
+VERSION=${VERSION:-7.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,7 +72,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-lpthread" \
+LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -lpthread" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -84,12 +84,14 @@ LDFLAGS="-lpthread" \
--with-openldap=/usr \
--with-readline=/usr \
--with-sqlite3=/usr \
+ --with-libintl=/usr \
--with-berkeley-db-include=/usr/include/db48 \
--with-x \
--with-ipv6 \
--without-hesiod \
--enable-kcm \
--enable-pthread-support \
+ --enable-pk-init \
--disable-otp \
--disable-static \
--build=$ARCH-slackware-linux
@@ -110,6 +112,11 @@ mkdir -p $PKG/var/heimdal
cat $CWD/config/kdc.conf > $PKG/var/heimdal/kdc.conf.new
cat $CWD/config/kadmind.acl > $PKG/var/heimdal/kadmind.acl.new
+mv $PKG/usr/bin/su $PKG/usr/bin/su-heimdal
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
rm -rf $PKG/usr/man/cat?
find $PKG/usr/man -type f -exec gzip -9 -f {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done