summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2026-01-01 19:40:10 +0100
committerNguyễn Gia Phong <cnx@loang.net>2026-04-07 23:23:33 +0900
commit5589226ba383fcb6cfb594bbe48084065bf0b7c9 (patch)
treea94b97130ac4809a6cce4f23a8ece6e17e190d92 /gnu
parent34e97d4ef4a5f4a74f96d48f480b93c5a6b7a308 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm19
1 files changed, 7 insertions, 12 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index cfca37e9070..e081afd4d82 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?)
'()