gnu: cracklib: Install password dictionary.

* gnu/packages/password-utils.scm (cracklib): Use `make dict`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Florian Pelz 2019-06-03 07:19:20 +02:00 committed by Ludovic Courtès
parent 18919cf928
commit 27faad22a8
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -310,6 +310,15 @@ (define-public cracklib
(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