summaryrefslogtreecommitdiff
path: root/source/n/openldap-client
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/openldap-client')
-rwxr-xr-xsource/n/openldap-client/openldap-client.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/n/openldap-client/openldap-client.SlackBuild b/source/n/openldap-client/openldap-client.SlackBuild
index c23e17f4..798536b1 100755
--- a/source/n/openldap-client/openldap-client.SlackBuild
+++ b/source/n/openldap-client/openldap-client.SlackBuild
@@ -24,7 +24,7 @@
VERSION=${VERSION:-$(echo openldap-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -89,6 +89,9 @@ make -j4 || exit 1
make test || exit 1
make install DESTDIR=$PKG || exit 1
+# Fix permissions on shared libraries:
+chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/*.so.*
+
rm -f $PKG/etc/openldap/ldap.conf.default
mv $PKG/etc/openldap/ldap.conf $PKG/etc/openldap/ldap.conf.new
cat << EOF >> $PKG/etc/openldap/ldap.conf.new