guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: cracklib: Install password dictionary.


From: guix-commits
Subject: 01/05: gnu: cracklib: Install password dictionary.
Date: Mon, 3 Jun 2019 17:18:57 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 27faad22a8714c2bf83fb6e78b931545586dd46c
Author: Florian Pelz <address@hidden>
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 <address@hidden>
---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]