gnu: shadow: Build without pam for the Hurd.
* gnu/packages/admin.scm (shadow)[arguments]: Adjust configure-flags to not use pam when building for the Hurd. [inputs]: Only use linux-pam when not building for the Hurd.master
parent
da4483f379
commit
4f8d5e63b2
|
@ -676,7 +676,10 @@ hostname.")
|
||||||
`(;; Assume System V `setpgrp (void)', which is the default on GNU
|
`(;; Assume System V `setpgrp (void)', which is the default on GNU
|
||||||
;; variants (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
|
;; variants (`AC_FUNC_SETPGRP' is not cross-compilation capable.)
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
'("--with-libpam" "ac_cv_func_setpgrp_void=yes")
|
'(,@(if (hurd-target?)
|
||||||
|
'()
|
||||||
|
'("--with-libpam"))
|
||||||
|
"ac_cv_func_setpgrp_void=yes")
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -701,7 +704,10 @@ hostname.")
|
||||||
(for-each delete-file (find-files man "^groups\\."))
|
(for-each delete-file (find-files man "^groups\\."))
|
||||||
#t))))))
|
#t))))))
|
||||||
|
|
||||||
(inputs `(("linux-pam" ,linux-pam)))
|
(inputs
|
||||||
|
`(,@(if (hurd-target?)
|
||||||
|
'()
|
||||||
|
`(("linux-pam" ,linux-pam)))))
|
||||||
(home-page "https://github.com/shadow-maint/shadow")
|
(home-page "https://github.com/shadow-maint/shadow")
|
||||||
(synopsis "Authentication-related tools such as passwd, su, and login")
|
(synopsis "Authentication-related tools such as passwd, su, and login")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue