[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: sudo: Update to 1.9.0.
From: |
guix-commits |
Subject: |
01/08: gnu: sudo: Update to 1.9.0. |
Date: |
Tue, 12 May 2020 18:25:00 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 6f6dbf2ac17fdd16ae87a112088dcaf5d3aff328
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Tue May 12 15:51:10 2020 +0200
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.
---
gnu/packages/admin.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 9afd889..5369044 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1277,7 +1277,7 @@ system administrator.")
(define-public sudo
(package
(name "sudo")
- (version "1.8.31p1")
+ (version "1.9.0")
(source (origin
(method url-fetch)
(uri
@@ -1287,7 +1287,7 @@ system administrator.")
version ".tar.gz")))
(sha256
(base32
- "1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67"))
+ "0p7r3cl16pjwbc48ff1gbhjw51lngrghvwblxz5lxpyzqlwi88xb"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1321,17 +1321,20 @@ system administrator.")
;; prematurely.
(("@CONFIGURE_ARGS@") "\"\""))
(substitute* (find-files "." "Makefile\\.in")
+ ;; Allow installation as non-root.
(("-o [[:graph:]]+ -g [[:graph:]]+")
- ;; Allow installation as non-root.
"")
+ ;; Don't try to create /etc/sudoers.
(("^install: (.*)install-sudoers(.*)" _ before after)
- ;; Don't try to create /etc/sudoers.
(string-append "install: " before after "\n"))
+ ;; Don't try to create /run/sudo.
(("\\$\\(DESTDIR\\)\\$\\(rundir\\)")
- ;; Don't try to create /run/sudo.
"$(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\\)")
- ;; Don't try to create /var/db/sudo.
"$(TMPDIR)/dummy"))
;; ‘Checking existing [/etc/]sudoers file for syntax errors’ is
- branch master updated (a1891cb -> 2760d10), guix-commits, 2020/05/12
- 01/08: gnu: sudo: Update to 1.9.0.,
guix-commits <=
- 03/08: gnu: sudo: Support Python plug-ins., guix-commits, 2020/05/12
- 04/08: gnu: simple-scan: Update to 3.36.2.1., guix-commits, 2020/05/12
- 02/08: gnu: sudo: Use a versioned $(docdir)., guix-commits, 2020/05/12
- 07/08: gnu: samba: Remove obsolete iniparser input., guix-commits, 2020/05/12
- 08/08: gnu: samba: Update to 4.12.2., guix-commits, 2020/05/12
- 05/08: gnu: fsarchiver: Move to (gnu packages file-systems)., guix-commits, 2020/05/12
- 06/08: gnu: fsarchiver: Edit synopsis & description., guix-commits, 2020/05/12