guix_mirror_bot pushed a commit to branch master
in repository guix.

commit d87a646b0ac0f32b04f2468088a63998ea5e30ad
Author: Cayetano Santos <[email protected]>
AuthorDate: Thu Dec 11 09:51:48 2025 +0100

    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
---
 gnu/packages/password-utils.scm | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index e75aae44ab..ba71302036 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -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

Reply via email to