summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko@maimed.org>2021-04-28 20:32:54 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-29 01:47:38 +0700
commit80080be1b62aa6d82bbf4b11fd150034d0ec1af6 (patch)
tree4798ce36ee340afc2c4096cb6986612cc720b680
parent7476dc57aad472f41265a672351985cb79331dc5 (diff)
downloadslackbuilds-80080be1b62aa6d82bbf4b11fd150034d0ec1af6.tar.gz
system/passwdqc: Updated for version 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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=""