gnu: sudo: Update to 1.9.0.
* gnu/packages/admin.scm (sudo): Update to 1.9.0. [arguments]: Install example configuration to the right place Move comments to where they don't confuse me.
This commit is contained in:
parent
a1891cbffb
commit
6f6dbf2ac1
1 changed files with 9 additions and 6 deletions
|
@ -1277,7 +1277,7 @@ system administrator.")
|
||||||
(define-public sudo
|
(define-public sudo
|
||||||
(package
|
(package
|
||||||
(name "sudo")
|
(name "sudo")
|
||||||
(version "1.8.31p1")
|
(version "1.9.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
|
@ -1287,7 +1287,7 @@ system administrator.")
|
||||||
version ".tar.gz")))
|
version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67"))
|
"0p7r3cl16pjwbc48ff1gbhjw51lngrghvwblxz5lxpyzqlwi88xb"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -1321,17 +1321,20 @@ system administrator.")
|
||||||
;; prematurely.
|
;; prematurely.
|
||||||
(("@CONFIGURE_ARGS@") "\"\""))
|
(("@CONFIGURE_ARGS@") "\"\""))
|
||||||
(substitute* (find-files "." "Makefile\\.in")
|
(substitute* (find-files "." "Makefile\\.in")
|
||||||
|
;; Allow installation as non-root.
|
||||||
(("-o [[:graph:]]+ -g [[:graph:]]+")
|
(("-o [[:graph:]]+ -g [[:graph:]]+")
|
||||||
;; Allow installation as non-root.
|
|
||||||
"")
|
"")
|
||||||
|
;; Don't try to create /etc/sudoers.
|
||||||
(("^install: (.*)install-sudoers(.*)" _ before after)
|
(("^install: (.*)install-sudoers(.*)" _ before after)
|
||||||
;; Don't try to create /etc/sudoers.
|
|
||||||
(string-append "install: " before after "\n"))
|
(string-append "install: " before after "\n"))
|
||||||
|
;; Don't try to create /run/sudo.
|
||||||
(("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
|
(("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
|
||||||
;; Don't try to create /run/sudo.
|
|
||||||
"$(TMPDIR)/dummy")
|
"$(TMPDIR)/dummy")
|
||||||
|
;; Install example sudo{,_logsrvd}.conf to the right place.
|
||||||
|
(("\\$\\(DESTDIR\\)\\$\\(sysconfdir\\)")
|
||||||
|
"$(DESTDIR)/$(docdir)/examples")
|
||||||
|
;; Don't try to create /var/db/sudo.
|
||||||
(("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
|
(("\\$\\(DESTDIR\\)\\$\\(vardir\\)")
|
||||||
;; Don't try to create /var/db/sudo.
|
|
||||||
"$(TMPDIR)/dummy"))
|
"$(TMPDIR)/dummy"))
|
||||||
|
|
||||||
;; ‘Checking existing [/etc/]sudoers file for syntax errors’ is
|
;; ‘Checking existing [/etc/]sudoers file for syntax errors’ is
|
||||||
|
|
Reference in a new issue