This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch sysadmin-team
in repository guix.

The following commit(s) were added to refs/heads/sysadmin-team by this push:
     new 86fbbbb57d gnu: shadow: Update to 4.19.0.
86fbbbb57d is described below

commit 86fbbbb57d83d845ab096136c1822149d6b84ce5
Author: Ashish SHUKLA <[email protected]>
AuthorDate: Thu Jan 1 19:40:10 2026 +0100

    gnu: shadow: Update to 4.19.0.
    
    * gnu/packages/admin.scm (shadow): Update to 4.19.0.
    Add native-inputs. [arguments]<#:configure-flags>: Add flags.
    <#:phases>: Remove "remove-groups" phase.
    
    Merges: https://codeberg.org/guix/guix/pulls/5296
    Change-Id: I750fadef67742423801d9f3c6e3c2b21d636025e
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/admin.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6553a1f6fd..ed4ce7b69f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1373,7 +1373,7 @@ hostname.")
 (define-public shadow
   (package
     (name "shadow")
-    (version "4.13")
+    (version "4.19.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1381,7 +1381,7 @@ hostname.")
                     "download/" version "/shadow-" version ".tar.xz"))
               (sha256
                (base32
-                "0b6xz415b4y3y5nk3pw9xibv05kln4cjbmhybyncmrx2g5fj9zls"))))
+                "0crbcfdp7ayyii33srinwd0yr27dkx9mbzglx1d0mvhr1z28xclw"))))
     (build-system gnu-build-system)
     (arguments
      `(;; Assume System V `setpgrp (void)', which is the default on GNU
@@ -1390,7 +1390,9 @@ hostname.")
        '(,@(if (target-hurd?)
              '()
              '("--with-libpam"))
-          "shadow_cv_logdir=/var/log"
+         "--disable-logind" ;; no systemd
+         "--without-libbsd" ;; no libbsd
+         "shadow_cv_logdir=/var/log"
           "ac_cv_func_setpgrp_void=yes")
        #:phases
        (modify-phases %standard-phases
@@ -1426,15 +1428,8 @@ hostname.")
              ;; The top-level Makefile.am wrongfully has "SUBDIRS += man"
              ;; under "if ENABLE_REGENERATE_MAN", even though prebuilt man
              ;; pages are available.  Thus, install them manually.
-             (invoke "make" "-C" "man" "install")))
-         (add-after 'install-man-pages 'remove-groups
-           (lambda* (#:key outputs #:allow-other-keys)
-             ;; Remove `groups', which is already provided by Coreutils.
-             (let* ((out (assoc-ref outputs "out"))
-                    (bin (string-append out "/bin"))
-                    (man (string-append out "/share/man")))
-               (delete-file (string-append bin "/groups"))
-               (for-each delete-file (find-files man "^groups\\."))))))))
+             (invoke "make" "-C" "man" "install"))))))
+    (native-inputs (list pkg-config))
     (inputs
      (append (if (target-hurd?)
                  '()

Reply via email to