summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-23 21:32:22 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-23 21:32:22 -0400
commit87c0d6265ca014da382824996719c0b8fefe3646 (patch)
treec9036e6bfa9c0c6c140f5f69b57faf5422210dbf /gnu
parent1eb26d0e07ad439c935b324c1ed858f50e9dcccd (diff)
parente12210dc92098d8581cea3007d57dbb6be16bb41 (diff)
Merge remote-tracking branch 'origin/wip-ungrafting' into HEAD
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cyrus-sasl.scm21
-rw-r--r--gnu/packages/gnome.scm17
-rw-r--r--gnu/packages/gtk.scm23
-rw-r--r--gnu/packages/python.scm22
-rw-r--r--gnu/packages/tls.scm37
5 files changed, 14 insertions, 106 deletions
diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index c18703fde02..43c2099968a 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -44,8 +44,8 @@
44 version ".tar.gz"))) 44 version ".tar.gz")))
45 (sha256 (base32 45 (sha256 (base32
46 "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6")) 46 "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6"))
47 (patches (search-patches "cyrus-sasl-ac-try-run-fix.patch")))) 47 (patches (search-patches "cyrus-sasl-ac-try-run-fix.patch"
48 (replacement cyrus-sasl/fixed) 48 "cyrus-sasl-CVE-2019-19906.patch"))))
49 (build-system gnu-build-system) 49 (build-system gnu-build-system)
50 (native-inputs 50 (native-inputs
51 `(("autoconf" ,autoconf) 51 `(("autoconf" ,autoconf)
@@ -81,20 +81,3 @@ server writers.")
81 (license (license:non-copyleft "file://COPYING" 81 (license (license:non-copyleft "file://COPYING"
82 "See COPYING in the distribution.")) 82 "See COPYING in the distribution."))
83 (home-page "https://cyrusimap.org/sasl/"))) 83 (home-page "https://cyrusimap.org/sasl/")))
84
85(define cyrus-sasl/fixed
86 (package
87 (inherit cyrus-sasl)
88 (version "2.1.27")
89 (source (origin
90 (method url-fetch)
91 (uri (list (string-append
92 "https://cyrusimap.org/releases/cyrus-sasl-"
93 version ".tar.gz")
94 (string-append
95 "ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-"
96 version ".tar.gz")))
97 (sha256 (base32
98 "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6"))
99 (patches (search-patches "cyrus-sasl-ac-try-run-fix.patch"
100 "cyrus-sasl-CVE-2019-19906.patch"))))))
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 34f5078581a..78a473b348c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3221,10 +3221,10 @@ the GNOME desktop environment.")
3221 (uri (string-append "mirror://gnome/sources/" name "/" 3221 (uri (string-append "mirror://gnome/sources/" name "/"
3222 (version-major+minor version) "/" 3222 (version-major+minor version) "/"
3223 name "-" version ".tar.xz")) 3223 name "-" version ".tar.xz"))
3224 (patches (search-patches "libcroco-CVE-2020-12825.patch"))
3224 (sha256 3225 (sha256
3225 (base32 3226 (base32
3226 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn")))) 3227 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))))
3227 (replacement libcroco/fixed)
3228 (build-system gnu-build-system) 3228 (build-system gnu-build-system)
3229 (native-inputs 3229 (native-inputs
3230 `(("pkg-config" ,pkg-config))) 3230 `(("pkg-config" ,pkg-config)))
@@ -3243,21 +3243,6 @@ XML/CSS rendering engine.")
3243 ;; LGPLv2.1-only. 3243 ;; LGPLv2.1-only.
3244 (license license:lgpl2.1))) 3244 (license license:lgpl2.1)))
3245 3245
3246(define libcroco/fixed
3247 (package
3248 (inherit libcroco)
3249 (name "libcroco")
3250 (version "0.6.13")
3251 (source (origin
3252 (method url-fetch)
3253 (uri (string-append "mirror://gnome/sources/" name "/"
3254 (version-major+minor version) "/"
3255 name "-" version ".tar.xz"))
3256 (sha256
3257 (base32
3258 "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"))
3259 (patches (search-patches "libcroco-CVE-2020-12825.patch"))))))
3260
3261(define-public libgsf 3246(define-public libgsf
3262 (package 3247 (package
3263 (name "libgsf") 3248 (name "libgsf")
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index bffc9e0298a..24fd48d971f 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -125,11 +125,12 @@ tools have full access to view and control running applications.")
125 (package 125 (package
126 (name "cairo") 126 (name "cairo")
127 (version "1.16.0") 127 (version "1.16.0")
128 (replacement cairo/fixed)
129 (source (origin 128 (source (origin
130 (method url-fetch) 129 (method url-fetch)
131 (uri (string-append "https://cairographics.org/releases/cairo-" 130 (uri (string-append "https://cairographics.org/releases/cairo-"
132 version ".tar.xz")) 131 version ".tar.xz"))
132 (patches (search-patches "cairo-CVE-2018-19876.patch"
133 "cairo-CVE-2020-35492.patch"))
133 (sha256 134 (sha256
134 (base32 135 (base32
135 "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy")))) 136 "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))))
@@ -176,15 +177,6 @@ affine transformation (scale, rotation, shear, etc.).")
176 (license license:lgpl2.1) ; or Mozilla Public License 1.1 177 (license license:lgpl2.1) ; or Mozilla Public License 1.1
177 (home-page "https://cairographics.org/"))) 178 (home-page "https://cairographics.org/")))
178 179
179(define cairo/fixed
180 (package
181 (inherit cairo)
182 (source (origin
183 (inherit (package-source cairo))
184 (patches (append (search-patches "cairo-CVE-2018-19876.patch"
185 "cairo-CVE-2020-35492.patch")
186 (origin-patches (package-source cairo))))))))
187
188(define-public cairo-sans-poppler 180(define-public cairo-sans-poppler
189 ;; Variant used to break the dependency cycle between Poppler and Cairo. 181 ;; Variant used to break the dependency cycle between Poppler and Cairo.
190 (package/inherit cairo 182 (package/inherit cairo
@@ -567,12 +559,12 @@ highlighting and other features typical of a source code editor.")
567 (package 559 (package
568 (name "gdk-pixbuf") 560 (name "gdk-pixbuf")
569 (version "2.40.0") 561 (version "2.40.0")
570 (replacement gdk-pixbuf/fixed)
571 (source (origin 562 (source (origin
572 (method url-fetch) 563 (method url-fetch)
573 (uri (string-append "mirror://gnome/sources/" name "/" 564 (uri (string-append "mirror://gnome/sources/" name "/"
574 (version-major+minor version) "/" 565 (version-major+minor version) "/"
575 name "-" version ".tar.xz")) 566 name "-" version ".tar.xz"))
567 (patches (search-patches "gdk-pixbuf-CVE-2020-29385.patch"))
576 (sha256 568 (sha256
577 (base32 569 (base32
578 "1rnlx9yfw970maxi2x6niaxmih5la11q1ilr7gzshz2kk585k0hm")))) 570 "1rnlx9yfw970maxi2x6niaxmih5la11q1ilr7gzshz2kk585k0hm"))))
@@ -624,15 +616,6 @@ in the GNOME project.")
624 (license license:lgpl2.0+) 616 (license license:lgpl2.0+)
625 (home-page "https://developer.gnome.org/gdk-pixbuf/"))) 617 (home-page "https://developer.gnome.org/gdk-pixbuf/")))
626 618
627(define gdk-pixbuf/fixed
628 (package
629 (inherit gdk-pixbuf)
630 (source (origin
631 (inherit (package-source gdk-pixbuf))
632 (patches
633 (append (search-patches "gdk-pixbuf-CVE-2020-29385.patch")
634 (origin-patches (package-source gdk-pixbuf))))))))
635
636;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends 619;; To build gdk-pixbuf with SVG support, we need librsvg, and librsvg depends
637;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the 620;; on gdk-pixbuf, so this new varibale. Also, librsvg adds 90MiB to the
638;; closure size. 621;; closure size.
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5d8fa1185bc..ce424bdeb00 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -107,7 +107,6 @@
107(define-public python-2.7 107(define-public python-2.7
108 (package 108 (package
109 (name "python2") 109 (name "python2")
110 (replacement python-2.7/fixed)
111 (version "2.7.17") 110 (version "2.7.17")
112 (source 111 (source
113 (origin 112 (origin
@@ -122,7 +121,8 @@
122 "python-2.7-site-prefixes.patch" 121 "python-2.7-site-prefixes.patch"
123 "python-2.7-source-date-epoch.patch" 122 "python-2.7-source-date-epoch.patch"
124 "python-2.7-adjust-tests.patch" 123 "python-2.7-adjust-tests.patch"
125 "python-cross-compile.patch")) 124 "python-cross-compile.patch"
125 "python-2.7-CVE-2021-3177.patch"))
126 (modules '((guix build utils))) 126 (modules '((guix build utils)))
127 (snippet 127 (snippet
128 '(begin 128 '(begin
@@ -351,14 +351,6 @@ data types.")
351 (properties '((cpe-name . "python"))) 351 (properties '((cpe-name . "python")))
352 (license license:psfl))) 352 (license license:psfl)))
353 353
354(define python-2.7/fixed
355 (package
356 (inherit python-2.7)
357 (source (origin
358 (inherit (package-source python-2.7))
359 (patches (append (search-patches "python-2.7-CVE-2021-3177.patch")
360 (origin-patches (package-source python-2.7))))))))
361
362;; Current 2.x version. 354;; Current 2.x version.
363(define-public python-2 python-2.7) 355(define-public python-2 python-2.7)
364 356
@@ -373,7 +365,6 @@ data types.")
373(define-public python-3.8 365(define-public python-3.8
374 (package (inherit python-2) 366 (package (inherit python-2)
375 (name "python") 367 (name "python")
376 (replacement python-3.8/fixed)
377 (version "3.8.2") 368 (version "3.8.2")
378 (source (origin 369 (source (origin
379 (method url-fetch) 370 (method url-fetch)
@@ -381,6 +372,7 @@ data types.")
381 version "/Python-" version ".tar.xz")) 372 version "/Python-" version ".tar.xz"))
382 (patches (search-patches 373 (patches (search-patches
383 "python-CVE-2020-26116.patch" 374 "python-CVE-2020-26116.patch"
375 "python-3.8-CVE-2021-3177.patch"
384 "python-3-fix-tests.patch" 376 "python-3-fix-tests.patch"
385 "python-3.8-fix-tests.patch" 377 "python-3.8-fix-tests.patch"
386 "python-3-deterministic-build-info.patch" 378 "python-3-deterministic-build-info.patch"
@@ -531,14 +523,6 @@ data types.")
531 (version-major+minor version) 523 (version-major+minor version)
532 "/site-packages")))))))) 524 "/site-packages"))))))))
533 525
534(define python-3.8/fixed
535 (package
536 (inherit python-3.8)
537 (source (origin
538 (inherit (package-source python-3.8))
539 (patches (append (search-patches "python-3.8-CVE-2021-3177.patch")
540 (origin-patches (package-source python-3.8))))))))
541
542(define-public python-3.9 526(define-public python-3.9
543 (package (inherit python-3.8) 527 (package (inherit python-3.8)
544 (name "python-next") 528 (name "python-next")
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 25493cc7ca6..fee6276674f 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -165,7 +165,6 @@ living in the same process.")
165 (package 165 (package
166 (name "gnutls") 166 (name "gnutls")
167 (version "3.6.15") 167 (version "3.6.15")
168 (replacement gnutls/fixed)
169 (source (origin 168 (source (origin
170 (method url-fetch) 169 (method url-fetch)
171 ;; Note: Releases are no longer on ftp.gnu.org since the 170 ;; Note: Releases are no longer on ftp.gnu.org since the
@@ -174,7 +173,9 @@ living in the same process.")
174 (version-major+minor version) 173 (version-major+minor version)
175 "/gnutls-" version ".tar.xz")) 174 "/gnutls-" version ".tar.xz"))
176 (patches (search-patches "gnutls-skip-trust-store-test.patch" 175 (patches (search-patches "gnutls-skip-trust-store-test.patch"
177 "gnutls-cross.patch")) 176 "gnutls-cross.patch"
177 "gnutls-CVE-2021-20231.patch"
178 "gnutls-CVE-2021-20232.patch"))
178 (sha256 179 (sha256
179 (base32 180 (base32
180 "0n0m93ymzd0q9hbknxc2ycanz49sqlkyyf73g9fk7n787llc7a0f")))) 181 "0n0m93ymzd0q9hbknxc2ycanz49sqlkyyf73g9fk7n787llc7a0f"))))
@@ -257,15 +258,6 @@ required structures.")
257 (properties '((ftp-server . "ftp.gnutls.org") 258 (properties '((ftp-server . "ftp.gnutls.org")
258 (ftp-directory . "/gcrypt/gnutls"))))) 259 (ftp-directory . "/gcrypt/gnutls")))))
259 260
260(define gnutls/fixed
261 (package
262 (inherit gnutls)
263 (source (origin
264 (inherit (package-source gnutls))
265 (patches (append (search-patches "gnutls-CVE-2021-20231.patch"
266 "gnutls-CVE-2021-20232.patch")
267 (origin-patches (package-source gnutls))))))))
268
269(define-public gnutls/guile-2.0 261(define-public gnutls/guile-2.0
270 ;; GnuTLS for Guile 2.0. 262 ;; GnuTLS for Guile 2.0.
271 (package/inherit gnutls 263 (package/inherit gnutls
@@ -296,8 +288,7 @@ required structures.")
296(define-public openssl 288(define-public openssl
297 (package 289 (package
298 (name "openssl") 290 (name "openssl")
299 (replacement openssl/fixed) 291 (version "1.1.1j")
300 (version "1.1.1i")
301 (source (origin 292 (source (origin
302 (method url-fetch) 293 (method url-fetch)
303 (uri (list (string-append "https://www.openssl.org/source/openssl-" 294 (uri (list (string-append "https://www.openssl.org/source/openssl-"
@@ -310,7 +301,7 @@ required structures.")
310 (patches (search-patches "openssl-1.1-c-rehash-in.patch")) 301 (patches (search-patches "openssl-1.1-c-rehash-in.patch"))
311 (sha256 302 (sha256
312 (base32 303 (base32
313 "0hjj1phcwkz69lx1lrvr9grhpl4y529mwqycqc1hdla1zqsnmgp8")))) 304 "1gw17520vh13izy1xf5q0a2fqgcayymjjj5bk0dlkxndfnszrwma"))))
314 (build-system gnu-build-system) 305 (build-system gnu-build-system)
315 (outputs '("out" 306 (outputs '("out"
316 "doc" ;6.8 MiB of man3 pages and full HTML documentation 307 "doc" ;6.8 MiB of man3 pages and full HTML documentation
@@ -431,24 +422,6 @@ required structures.")
431 (license license:openssl) 422 (license license:openssl)
432 (home-page "https://www.openssl.org/"))) 423 (home-page "https://www.openssl.org/")))
433 424
434(define-public openssl/fixed
435 (package
436 (inherit openssl)
437 (version "1.1.1k")
438 (source (origin
439 (method url-fetch)
440 (uri (list (string-append "https://www.openssl.org/source/openssl-"
441 version ".tar.gz")
442 (string-append "ftp://ftp.openssl.org/source/"
443 "openssl-" version ".tar.gz")
444 (string-append "ftp://ftp.openssl.org/source/old/"
445 (string-trim-right version char-set:letter)
446 "/openssl-" version ".tar.gz")))
447 (patches (search-patches "openssl-1.1-c-rehash-in.patch"))
448 (sha256
449 (base32
450 "1rdfzcrxy9y38wqdw5942vmdax9hjhgrprzxm42csal7p5shhal9"))))))
451
452(define-public openssl-1.0 425(define-public openssl-1.0
453 (package 426 (package
454 (inherit openssl) 427 (inherit openssl)