gnu: sudo: Update to 1.8.29.
* gnu/packages/admin.scm (sudo): Update to 1.8.29. [arguments]: Disable new /etc/sudoers syntax check.
This commit is contained in:
parent
ff68988aa1
commit
cbaf756cae
1 changed files with 8 additions and 2 deletions
|
@ -1128,7 +1128,7 @@ system administrator.")
|
||||||
(define-public sudo
|
(define-public sudo
|
||||||
(package
|
(package
|
||||||
(name "sudo")
|
(name "sudo")
|
||||||
(version "1.8.28p1")
|
(version "1.8.29")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
|
@ -1138,7 +1138,7 @@ system administrator.")
|
||||||
version ".tar.gz")))
|
version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09xhx2k7j6wlqs9bl7snamd4k6lkyv9ycjwdspgbbqrimy25mfi3"))
|
"0z4wyadh9cks17gdpfgx4kvbrlnyb6nai2sd6chk7qh4jsngylyf"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -1184,6 +1184,12 @@ system administrator.")
|
||||||
(("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
|
(("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
|
||||||
;; Don't try to create /var/db/sudo.
|
;; Don't try to create /var/db/sudo.
|
||||||
"$(TMPDIR)/dummy"))
|
"$(TMPDIR)/dummy"))
|
||||||
|
|
||||||
|
;; ‘Checking existing [/etc/]sudoers file for syntax errors’ is
|
||||||
|
;; not the task of the build system, and fails.
|
||||||
|
(substitute* "plugins/sudoers/Makefile.in"
|
||||||
|
(("^pre-install:" match)
|
||||||
|
(string-append match "\ndisabled-" match)))
|
||||||
#t)))
|
#t)))
|
||||||
|
|
||||||
;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
|
;; XXX: The 'testsudoers' test series expects user 'root' to exist, but
|
||||||
|
|
Reference in a new issue