summaryrefslogtreecommitdiff
path: root/testing/source/PAM/a/libpwquality/libpwquality.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/PAM/a/libpwquality/libpwquality.SlackBuild')
-rwxr-xr-xtesting/source/PAM/a/libpwquality/libpwquality.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/source/PAM/a/libpwquality/libpwquality.SlackBuild b/testing/source/PAM/a/libpwquality/libpwquality.SlackBuild
index ac1555a6..c4104585 100755
--- a/testing/source/PAM/a/libpwquality/libpwquality.SlackBuild
+++ b/testing/source/PAM/a/libpwquality/libpwquality.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libpwquality
VERSION=${VERSION:-$(echo $PKGNAM-*.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
@@ -100,7 +100,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--disable-static \
- --with-securedir=/lib/security \
+ --with-securedir=/lib${LIBDIRSUFFIX}/security \
--with-python-binary=python3 \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
@@ -109,6 +109,9 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# The ones in /lib${LIBDIRSUFFIX}/security can also go:
+rm -f $PKG/lib${LIBDIRSUFFIX}/security/*.la
+
mv $PKG/etc/security/pwquality.conf $PKG/etc/security/pwquality.conf.new
# Strip binaries: