~ruther/guix-local

d87a646b0ac0f32b04f2468088a63998ea5e30ad — Cayetano Santos 2 months ago 4bd4743
gnu: cracklib: Update to 2.10.3.

* gnu/packages/password-utils.scm (cracklib): Update to 2.10.3.
[source]: Switch to git-fetch.
[arguments]<#:phases>: Remove ’install-dict and add ’chdir.
[native-inputs]: Add autoconf, automake, libtool and intltool.

Change-Id: I1cc877f5d62b594bf7ead4899497420c2d930cb5
1 files changed, 15 insertions(+), 14 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +15 -14
@@ 689,25 689,26 @@ and vice versa.")
(define-public cracklib
  (package
    (name "cracklib")
    (version "2.9.8")
    (version "2.10.3")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://github.com/cracklib/cracklib/"
                           "releases/download/v" version "/"
                           "cracklib-" version ".tar.bz2"))
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/cracklib/cracklib/")
              (commit (string-append "v" version))))
       (sha256
        (base32 "11p3f0yqg9d32g3n1qik7jfyl2l14pf8i8vzq3bpram3bqw3978z"))))
        (base32
         "037ybxmxap39bjhfajyxnmn8612k638qilfv9r90s6qkxs6lj6ir"))
       (file-name (git-file-name name version))))
    (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))))))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'bootstrap 'chdir
            (lambda _ (chdir "src"))))))
    (native-inputs
     (list autoconf automake libtool intltool))
    (synopsis "Password checking library")
    (home-page "https://github.com/cracklib/cracklib")
    (description