summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/passwdqc/README9
-rw-r--r--system/passwdqc/passwdqc.SlackBuild7
-rw-r--r--system/passwdqc/passwdqc.info6
3 files changed, 15 insertions, 7 deletions
diff --git a/system/passwdqc/README b/system/passwdqc/README
index b1f991eaae..e7fc4c2479 100644
--- a/system/passwdqc/README
+++ b/system/passwdqc/README
@@ -8,5 +8,14 @@ pwqcheck and pwqgen are standalone password/passphrase strength
checking and random passphrase generator programs, respectively,
which are usable from scripts.
+pam_passwdqc is a simple password strength checking module for
+PAM-aware password changing programs, such as passwd(1).
+
libpasswdqc is the underlying library, which may also be used
from third-party programs.
+
+To enable pam_passwdqc in Slackware you need to replace any other password
+strength checking PAM modules like pam_pwquality.so in /etc/pam.d/system-auth
+with the following line:
+
+password requisite pam_passwdqc.so
diff --git a/system/passwdqc/passwdqc.SlackBuild b/system/passwdqc/passwdqc.SlackBuild
index fdf2f40aa1..a8fad34f5e 100644
--- a/system/passwdqc/passwdqc.SlackBuild
+++ b/system/passwdqc/passwdqc.SlackBuild
@@ -5,7 +5,7 @@
# Written by pyllyukko
PRGNAM=passwdqc
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,9 +51,8 @@ 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 {} \;
-make utils
-make install_lib DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX}
-make install_utils DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make
+make install DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX} SECUREDIR=/lib${LIBDIRSUFFIX}/security
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/system/passwdqc/passwdqc.info b/system/passwdqc/passwdqc.info
index 869b52d24a..ff8eb15f97 100644
--- a/system/passwdqc/passwdqc.info
+++ b/system/passwdqc/passwdqc.info
@@ -1,8 +1,8 @@
PRGNAM="passwdqc"
-VERSION="1.4.0"
+VERSION="2.0.2"
HOMEPAGE="http://www.openwall.com/passwdqc/"
-DOWNLOAD="https://www.openwall.com/passwdqc/passwdqc-1.4.0.tar.gz"
-MD5SUM="204de4ff2e95095272bba1b0cbab1579"
+DOWNLOAD="https://www.openwall.com/passwdqc/passwdqc-2.0.2.tar.gz"
+MD5SUM="b9789cf265c9867f34654e2a683ad057"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""