3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: opendoas: Update to 6.8.2.

* gnu/packages/admin.scm (opendoas): Update to 6.8.2.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2022-02-13 01:00:02 +01:00
parent 8937253fde
commit a0a3ff72a2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1802,7 +1802,7 @@ commands and their arguments.")
(define-public opendoas (define-public opendoas
(package (package
(name "opendoas") (name "opendoas")
(version "6.8.1") (version "6.8.2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1811,7 +1811,7 @@ commands and their arguments.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0gfcssm21vdfg6kcrcc7hz1h4jmhy2zv29rfqyrrj3a6r9b5ah8p")))) "1qrin7x9vcprk5pwjbr3w8z2qj8hk6xbvxicdhlk27xr6vcr1qzn"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -1820,7 +1820,7 @@ commands and their arguments.")
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(substitute* "GNUmakefile" (substitute* "GNUmakefile"
(("^\tchown.*$") "")) (("^\tchown.*$") ""))
;; OpenDoas look for binaries in safepath when a rule specify a ;; OpenDoas looks for binaries in safepath when a rule specifies a
;; relative command, such as “permit keepenv :wheel cmd guix”. ;; relative command, such as “permit keepenv :wheel cmd guix”.
(substitute* "doas.c" (substitute* "doas.c"
(("safepath =" match) (("safepath =" match)
@ -1828,8 +1828,7 @@ commands and their arguments.")
"/run/setuid-programs:" "/run/setuid-programs:"
"/run/current-system/profile/bin:" "/run/current-system/profile/bin:"
"/run/current-system/profile/sbin:" "/run/current-system/profile/sbin:"
"\" "))) "\" ")))))
#t))
(replace 'configure (replace 'configure
;; The configure script doesn't accept most of the default flags. ;; The configure script doesn't accept most of the default flags.
(lambda* (#:key configure-flags #:allow-other-keys) (lambda* (#:key configure-flags #:allow-other-keys)