civodul pushed a commit to branch master in repository guix. commit 27faad22a8714c2bf83fb6e78b931545586dd46c Author: Florian Pelz <pelzflor...@pelzflorian.de> Date: Mon Jun 3 07:19:20 2019 +0200
gnu: cracklib: Install password dictionary. * gnu/packages/password-utils.scm (cracklib): Use `make dict`. Signed-off-by: Ludovic Courtès <l...@gnu.org> --- gnu/packages/password-utils.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 19595a2..ed890f7 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -310,6 +310,15 @@ and vice versa.") (sha256 (base32 "1rimpjsdnmw8f5b7k558cic41p2qy2n2yrlqp5vh7mp4162hk0py")))) (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-dict + (lambda* (#:key make-flags #:allow-other-keys) + (begin + (chmod (string-append "util/cracklib-format") #o755) + (apply invoke "make" "dict" make-flags) + #t)))))) (synopsis "Password checking library") (home-page "https://github.com/cracklib/cracklib") (description