summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2021-02-01 14:18:38 -0500
committerLeo Famulari <leo@famulari.name>2021-02-01 14:18:38 -0500
commit75b775e81b5a81a59656eeba8811b42f45d503da (patch)
treef6783bcb867634f97008d6fe02592e791f9418ba /gnu/packages/admin.scm
parent847c816ddd3a38c865da460cb7b22cf665db162f (diff)
parent0981f872cb1fb94fcdf3f4d00bd08c6a6b61ed8d (diff)
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1ddbea7a02..b24d5601cf 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -676,7 +676,10 @@ hostname.")
`(;; Assume System V `setpgrp (void)', which is the default on GNU
;; variants (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
#:configure-flags
- '("--with-libpam" "ac_cv_func_setpgrp_void=yes")
+ '(,@(if (hurd-target?)
+ '()
+ '("--with-libpam"))
+ "ac_cv_func_setpgrp_void=yes")
#:phases
(modify-phases %standard-phases
@@ -701,7 +704,10 @@ hostname.")
(for-each delete-file (find-files man "^groups\\."))
#t))))))
- (inputs `(("linux-pam" ,linux-pam)))
+ (inputs
+ `(,@(if (hurd-target?)
+ '()
+ `(("linux-pam" ,linux-pam)))))
(home-page "https://github.com/shadow-maint/shadow")
(synopsis "Authentication-related tools such as passwd, su, and login")
(description
@@ -1496,7 +1502,9 @@ system administrator.")
`(("groff" ,groff))))
(inputs
`(("coreutils" ,coreutils)
- ("linux-pam" ,linux-pam)
+ ,@(if (hurd-target?)
+ '()
+ `(("linux-pam" ,linux-pam)))
("zlib" ,zlib)))
(home-page "https://www.sudo.ws/")
(synopsis "Run commands as root")