* [bug#28027] gnURL 7.55.0
@ 2017-08-09 16:00 ng0
2017-08-09 16:25 ` bug#28027: " Tobias Geerinckx-Rice
0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-08-09 16:00 UTC (permalink / raw)
To: 28027
[-- Attachment #1.1: Type: text/plain, Size: 166 bytes --]
Appended patch.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
[-- Attachment #1.2: 0001-gnu-gnurl-Update-to-7.55.0.patch --]
[-- Type: text/plain, Size: 1569 bytes --]
From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 9 Aug 2017 15:58:43 +0000
Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
* gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
---
gnu/packages/gnunet.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 9ca2d9502..497afaf66 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.infotropique.org>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -186,14 +186,14 @@ and support for SSL3 and TLS.")
(define-public gnurl
(package
(name "gnurl")
- (version "7.54.1")
+ (version "7.55.0")
(source (origin
(method url-fetch)
(uri (string-append "https://gnunet.org/sites/default/files/"
name "-" version ".tar.bz2"))
(sha256
(base32
- "0szbj352h95sgc9kbx9wzkgjksmg3g5k6cvlc7hz3wrbdh5gb0a4"))))
+ "0i9bik76rbyag3mbxbk8j383iaxs5v7lmjkn4v36ascl6bdks6vn"))))
(build-system gnu-build-system)
(outputs '("out"
"doc")) ; 1.5 MiB of man3 pages
--
2.14.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#28027: gnURL 7.55.0
2017-08-09 16:00 [bug#28027] gnURL 7.55.0 ng0
@ 2017-08-09 16:25 ` Tobias Geerinckx-Rice
2017-08-09 17:48 ` [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0] Leo Famulari
0 siblings, 1 reply; 9+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-08-09 16:25 UTC (permalink / raw)
To: 28027-done
[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]
ng0 wrote on 09/08/17 at 18:00:
> From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Wed, 9 Aug 2017 15:58:43 +0000
> Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
>
> * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
Kind regards,
T G-R
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 248 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 16:25 ` bug#28027: " Tobias Geerinckx-Rice
@ 2017-08-09 17:48 ` Leo Famulari
2017-08-09 18:50 ` Leo Famulari
0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2017-08-09 17:48 UTC (permalink / raw)
To: 28027, me, ng0
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
> ng0 wrote on 09/08/17 at 18:00:
> > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> > From: ng0 <ng0@infotropique.org>
> > Date: Wed, 9 Aug 2017 15:58:43 +0000
> > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
> >
> > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
>
> Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
Great! Can somebody also update the curl replacement?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 17:48 ` [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0] Leo Famulari
@ 2017-08-09 18:50 ` Leo Famulari
2017-08-09 19:20 ` Leo Famulari
2017-08-09 19:54 ` ng0
0 siblings, 2 replies; 9+ messages in thread
From: Leo Famulari @ 2017-08-09 18:50 UTC (permalink / raw)
To: 28027, me, ng0
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
> On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
> > ng0 wrote on 09/08/17 at 18:00:
> > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> > > From: ng0 <ng0@infotropique.org>
> > > Date: Wed, 9 Aug 2017 15:58:43 +0000
> > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
> > >
> > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
> >
> > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
>
> Great! Can somebody also update the curl replacement?
Actually, I'll do it :)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 18:50 ` Leo Famulari
@ 2017-08-09 19:20 ` Leo Famulari
2017-08-09 20:05 ` ng0
2017-08-09 21:55 ` Marius Bakke
2017-08-09 19:54 ` ng0
1 sibling, 2 replies; 9+ messages in thread
From: Leo Famulari @ 2017-08-09 19:20 UTC (permalink / raw)
To: 28027, me, ng0
[-- Attachment #1.1: Type: text/plain, Size: 874 bytes --]
On Wed, Aug 09, 2017 at 02:50:07PM -0400, Leo Famulari wrote:
> On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
> > On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
> > > ng0 wrote on 09/08/17 at 18:00:
> > > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> > > > From: ng0 <ng0@infotropique.org>
> > > > Date: Wed, 9 Aug 2017 15:58:43 +0000
> > > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
> > > >
> > > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
> > >
> > > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
> >
> > Great! Can somebody also update the curl replacement?
>
> Actually, I'll do it :)
With the attached patch, it fails to build, because the man 3 pages
aren't built and thus can't be copied into the doc output. I'm not sure
what's going on :/
[-- Attachment #1.2: 0001-gnu-curl-Update-to-7.55.0-fixes-CVE-2017-1000100-100.patch --]
[-- Type: text/plain, Size: 1553 bytes --]
From 08c84864837fdc6ca44633a05cb2ba166391a063 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Wed, 9 Aug 2017 14:42:21 -0400
Subject: [PATCH] gnu: curl: Update to 7.55.0 [fixes
CVE-2017-{1000100,1000101,1000099}].
* gnu/packages/curl.scm (curl)[replacement]: Update to 7.55.0.
(curl-7.54.1): Replace with ...
(curl-7.55): ... new variable.
---
gnu/packages/curl.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index a9f219b62..82e80bf8f 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -40,7 +40,7 @@
(define-public curl
(package
(name "curl")
- (replacement curl-7.54.1)
+ (replacement curl-7.55)
(version "7.53.0")
(source (origin
(method url-fetch)
@@ -121,15 +121,15 @@ tunneling, and so on.")
"See COPYING in the distribution."))
(home-page "https://curl.haxx.se/")))
-(define curl-7.54.1
+(define curl-7.55
(package
(inherit curl)
- (version "7.54.1")
+ (version "7.55.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://curl.haxx.se/download/curl-"
- version ".tar.lzma"))
+ version ".tar.xz"))
(sha256
(base32
- "0vnv3cz0s1l5cjby86hm0x6pgzqijmdm97qa9q5px200956z6yib"))))))
+ "1785vxi0jamiv9d1wr1l45g0fm9ircxdfyfzf7ld8zv0z0i8bmfd"))))))
--
2.14.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 18:50 ` Leo Famulari
2017-08-09 19:20 ` Leo Famulari
@ 2017-08-09 19:54 ` ng0
1 sibling, 0 replies; 9+ messages in thread
From: ng0 @ 2017-08-09 19:54 UTC (permalink / raw)
To: Leo Famulari; +Cc: 28027
[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]
Leo Famulari transcribed 1.6K bytes:
> On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
> > On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
> > > ng0 wrote on 09/08/17 at 18:00:
> > > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> > > > From: ng0 <ng0@infotropique.org>
> > > > Date: Wed, 9 Aug 2017 15:58:43 +0000
> > > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
> > > >
> > > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
> > >
> > > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
> >
> > Great! Can somebody also update the curl replacement?
>
> Actually, I'll do it :)
Heh. Bam, faster than cURL this time :)
Should I just do cURL and gnURL? I see changes in cURL when I make new
releases for gnURL, but I'm not volunteering for doing both ;)
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 19:20 ` Leo Famulari
@ 2017-08-09 20:05 ` ng0
2017-08-09 20:22 ` Marius Bakke
2017-08-09 21:55 ` Marius Bakke
1 sibling, 1 reply; 9+ messages in thread
From: ng0 @ 2017-08-09 20:05 UTC (permalink / raw)
To: Leo Famulari; +Cc: 28027
[-- Attachment #1: Type: text/plain, Size: 2961 bytes --]
Leo Famulari transcribed 3.7K bytes:
> On Wed, Aug 09, 2017 at 02:50:07PM -0400, Leo Famulari wrote:
> > On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
> > > On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
> > > > ng0 wrote on 09/08/17 at 18:00:
> > > > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
> > > > > From: ng0 <ng0@infotropique.org>
> > > > > Date: Wed, 9 Aug 2017 15:58:43 +0000
> > > > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
> > > > >
> > > > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
> > > >
> > > > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
> > >
> > > Great! Can somebody also update the curl replacement?
> >
> > Actually, I'll do it :)
>
> With the attached patch, it fails to build, because the man 3 pages
> aren't built and thus can't be copied into the doc output. I'm not sure
> what's going on :/
As written on IRC: Take a look at the 2 commits after tagged 7.55.0,
if you apply both you will have a successful build. I did this manually
(by hand, not taking the commits) for gnURL release.
> From 08c84864837fdc6ca44633a05cb2ba166391a063 Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo@famulari.name>
> Date: Wed, 9 Aug 2017 14:42:21 -0400
> Subject: [PATCH] gnu: curl: Update to 7.55.0 [fixes
> CVE-2017-{1000100,1000101,1000099}].
>
> * gnu/packages/curl.scm (curl)[replacement]: Update to 7.55.0.
> (curl-7.54.1): Replace with ...
> (curl-7.55): ... new variable.
> ---
> gnu/packages/curl.scm | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
> index a9f219b62..82e80bf8f 100644
> --- a/gnu/packages/curl.scm
> +++ b/gnu/packages/curl.scm
> @@ -40,7 +40,7 @@
> (define-public curl
> (package
> (name "curl")
> - (replacement curl-7.54.1)
> + (replacement curl-7.55)
> (version "7.53.0")
> (source (origin
> (method url-fetch)
> @@ -121,15 +121,15 @@ tunneling, and so on.")
> "See COPYING in the distribution."))
> (home-page "https://curl.haxx.se/")))
>
> -(define curl-7.54.1
> +(define curl-7.55
> (package
> (inherit curl)
> - (version "7.54.1")
> + (version "7.55.0")
> (source
> (origin
> (method url-fetch)
> (uri (string-append "https://curl.haxx.se/download/curl-"
> - version ".tar.lzma"))
> + version ".tar.xz"))
> (sha256
> (base32
> - "0vnv3cz0s1l5cjby86hm0x6pgzqijmdm97qa9q5px200956z6yib"))))))
> + "1785vxi0jamiv9d1wr1l45g0fm9ircxdfyfzf7ld8zv0z0i8bmfd"))))))
> --
> 2.14.0
>
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 20:05 ` ng0
@ 2017-08-09 20:22 ` Marius Bakke
0 siblings, 0 replies; 9+ messages in thread
From: Marius Bakke @ 2017-08-09 20:22 UTC (permalink / raw)
To: ng0, Leo Famulari; +Cc: 28031-done, 28027
[-- Attachment #1.1: Type: text/plain, Size: 1272 bytes --]
ng0 <ng0@infotropique.org> writes:
> Leo Famulari transcribed 3.7K bytes:
>> On Wed, Aug 09, 2017 at 02:50:07PM -0400, Leo Famulari wrote:
>> > On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
>> > > On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
>> > > > ng0 wrote on 09/08/17 at 18:00:
>> > > > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
>> > > > > From: ng0 <ng0@infotropique.org>
>> > > > > Date: Wed, 9 Aug 2017 15:58:43 +0000
>> > > > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
>> > > > >
>> > > > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
>> > > >
>> > > > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
>> > >
>> > > Great! Can somebody also update the curl replacement?
>> >
>> > Actually, I'll do it :)
>>
>> With the attached patch, it fails to build, because the man 3 pages
>> aren't built and thus can't be copied into the doc output. I'm not sure
>> what's going on :/
>
> As written on IRC: Take a look at the 2 commits after tagged 7.55.0,
> if you apply both you will have a successful build. I did this manually
> (by hand, not taking the commits) for gnURL release.
Here is a patch that fixes the doc installation:
[-- Attachment #1.2: 0001-gnu-curl-Replace-with-7.55.0-security-fixes.patch --]
[-- Type: text/x-patch, Size: 2716 bytes --]
From f93502a48b368c74ba4ed1ff573f07f59b8c91f1 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Wed, 9 Aug 2017 21:04:04 +0200
Subject: [PATCH] gnu: curl: Replace with 7.55.0 [security fixes].
Fixes CVE-2017-1000099, CVE-2017-1000100, and CVE-2017-100101.
See <https://curl.haxx.se/docs/security.html> for details.
* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl-7.55.0): New variable.
---
gnu/packages/curl.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index af15aa38c..0c551e108 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
@@ -40,6 +42,7 @@
(define-public curl
(package
(name "curl")
+ (replacement curl-7.55.0)
(version "7.54.1")
(source (origin
(method url-fetch)
@@ -119,3 +122,27 @@ tunneling, and so on.")
(license (license:non-copyleft "file://COPYING"
"See COPYING in the distribution."))
(home-page "https://curl.haxx.se/")))
+
+(define-public curl-7.55.0
+ (package
+ (inherit curl)
+ (version "7.55.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://curl.haxx.se/download/curl-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1785vxi0jamiv9d1wr1l45g0fm9ircxdfyfzf7ld8zv0z0i8bmfd"))))
+ (arguments
+ `(,@(substitute-keyword-arguments (package-arguments curl)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'install 'fix-Makefile
+ ;; Fix a regression in 7.55 where docs are not installed.
+ ;; https://github.com/curl/curl/commit/a7bbbb7c368c6096802007f61f19a02e9d75285b
+ (lambda _
+ (substitute* "Makefile"
+ (("install-data-hook:\n")
+ "install-data-hook:\n\tcd docs/libcurl && $(MAKE) install\n"))
+ #t)))))))))
--
2.14.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0]
2017-08-09 19:20 ` Leo Famulari
2017-08-09 20:05 ` ng0
@ 2017-08-09 21:55 ` Marius Bakke
1 sibling, 0 replies; 9+ messages in thread
From: Marius Bakke @ 2017-08-09 21:55 UTC (permalink / raw)
To: Leo Famulari, 28027, me, ng0
[-- Attachment #1.1: Type: text/plain, Size: 1083 bytes --]
Leo Famulari <leo@famulari.name> writes:
> On Wed, Aug 09, 2017 at 02:50:07PM -0400, Leo Famulari wrote:
>> On Wed, Aug 09, 2017 at 01:48:42PM -0400, Leo Famulari wrote:
>> > On Wed, Aug 09, 2017 at 06:25:39PM +0200, Tobias Geerinckx-Rice wrote:
>> > > ng0 wrote on 09/08/17 at 18:00:
>> > > > From 13129d51ac4dd5ac7f5e7b74997297139a40be12 Mon Sep 17 00:00:00 2001
>> > > > From: ng0 <ng0@infotropique.org>
>> > > > Date: Wed, 9 Aug 2017 15:58:43 +0000
>> > > > Subject: [PATCH] gnu: gnurl: Update to 7.55.0.
>> > > >
>> > > > * gnu/packages/gnunet.scm (gnurl): Update to 7.55.0.
>> > >
>> > > Thanks! Pushed as 28e12d6c81cef2aca7f792f3c99037a649faa9b0.
>> >
>> > Great! Can somebody also update the curl replacement?
>>
>> Actually, I'll do it :)
>
> With the attached patch, it fails to build, because the man 3 pages
> aren't built and thus can't be copied into the doc output. I'm not sure
> what's going on :/
It seems our worked collided again. :-)
I 'ported' the earlier patch to master and will push it shortly if there
are no objections:
[-- Attachment #1.2: 0001-gnu-curl-Replace-with-7.55.0-security-fixes.patch --]
[-- Type: text/x-patch, Size: 2854 bytes --]
From 6f9bbbafd4cc857c2b093f3cced6df2e45f56aab Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Wed, 9 Aug 2017 21:04:04 +0200
Subject: [PATCH] gnu: curl: Replace with 7.55.0 [security fixes].
Fixes CVE-2017-1000099, CVE-2017-1000100, and CVE-2017-100101.
See <https://curl.haxx.se/docs/security.html> for details.
* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl-7.55.0): New variable.
---
gnu/packages/curl.scm | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index a9f219b62..d6e32e438 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
@@ -40,7 +42,7 @@
(define-public curl
(package
(name "curl")
- (replacement curl-7.54.1)
+ (replacement curl-7.55.0)
(version "7.53.0")
(source (origin
(method url-fetch)
@@ -121,15 +123,27 @@ tunneling, and so on.")
"See COPYING in the distribution."))
(home-page "https://curl.haxx.se/")))
-(define curl-7.54.1
+(define-public curl-7.55.0
(package
(inherit curl)
- (version "7.54.1")
+ (version "7.55.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://curl.haxx.se/download/curl-"
- version ".tar.lzma"))
+ version ".tar.xz"))
(sha256
(base32
- "0vnv3cz0s1l5cjby86hm0x6pgzqijmdm97qa9q5px200956z6yib"))))))
+ "1785vxi0jamiv9d1wr1l45g0fm9ircxdfyfzf7ld8zv0z0i8bmfd"))))
+ (arguments
+ `(,@(substitute-keyword-arguments (package-arguments curl)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'install 'fix-Makefile
+ ;; Fix a regression in 7.55.0 where docs are not installed.
+ ;; https://github.com/curl/curl/commit/a7bbbb7c368c6096802007f61f19a02e9d75285b
+ (lambda _
+ (substitute* "Makefile"
+ (("install-data-hook:\n")
+ "install-data-hook:\n\tcd docs/libcurl && $(MAKE) install\n"))
+ #t)))))))))
--
2.14.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-08-09 21:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 16:00 [bug#28027] gnURL 7.55.0 ng0
2017-08-09 16:25 ` bug#28027: " Tobias Geerinckx-Rice
2017-08-09 17:48 ` [bug#28027] curl security update [was Re: bug#28027: gnURL 7.55.0] Leo Famulari
2017-08-09 18:50 ` Leo Famulari
2017-08-09 19:20 ` Leo Famulari
2017-08-09 20:05 ` ng0
2017-08-09 20:22 ` Marius Bakke
2017-08-09 21:55 ` Marius Bakke
2017-08-09 19:54 ` ng0
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.