mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: polkit: Incorporate security fix and remove replacement.
* gnu/packages/polkit.scm (polkit-mozjs)[replacement]: Remove. [source]: Add "polkit-CVE-2021-4034.patch". (polkit-mozjs/fixed): Remove.
This commit is contained in:
parent
32a87714f4
commit
69095cde82
1 changed files with 2 additions and 12 deletions
|
@ -54,7 +54,6 @@ (define-public polkit-mozjs
|
||||||
(package
|
(package
|
||||||
(name "polkit")
|
(name "polkit")
|
||||||
(version "0.120")
|
(version "0.120")
|
||||||
(replacement polkit-mozjs/fixed)
|
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -63,7 +62,8 @@ (define-public polkit-mozjs
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf"))
|
"00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf"))
|
||||||
(patches (search-patches "polkit-configure-elogind.patch"))
|
(patches (search-patches "polkit-configure-elogind.patch"
|
||||||
|
"polkit-CVE-2021-4034.patch"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -147,16 +147,6 @@ (define-public polkit-mozjs
|
||||||
for unprivileged applications.")
|
for unprivileged applications.")
|
||||||
(license lgpl2.0+)))
|
(license lgpl2.0+)))
|
||||||
|
|
||||||
(define-public polkit-mozjs/fixed
|
|
||||||
(package
|
|
||||||
(inherit polkit-mozjs)
|
|
||||||
(version "0.121")
|
|
||||||
(source (origin
|
|
||||||
(inherit (package-source polkit-mozjs))
|
|
||||||
(patches (cons (search-patch "polkit-CVE-2021-4034.patch")
|
|
||||||
(origin-patches
|
|
||||||
(package-source polkit-mozjs))))))))
|
|
||||||
|
|
||||||
;;; Variant of polkit built with Duktape, a lighter JavaScript engine compared
|
;;; Variant of polkit built with Duktape, a lighter JavaScript engine compared
|
||||||
;;; to mozjs.
|
;;; to mozjs.
|
||||||
(define-public polkit-duktape
|
(define-public polkit-duktape
|
||||||
|
|
Loading…
Reference in a new issue