[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: curl: Update to 7.55.0.
From: |
Efraim Flashner |
Subject: |
06/14: gnu: curl: Update to 7.55.0. |
Date: |
Sun, 1 Oct 2017 16:13:17 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 8a1716fe3f69462eb0d436ff29bb8c17e799b0f5
Author: Efraim Flashner <address@hidden>
Date: Sun Oct 1 21:36:58 2017 +0300
gnu: curl: Update to 7.55.0.
* gnu/packages/curl.scm (curl): Update to 7.55.0.
[replacement]: Remove field.
[arguments]: Add phase to fix doc install location.
(curl-7.55.0): Remove variable.
---
gnu/packages/curl.scm | 43 +++++++++++++------------------------------
1 file changed, 13 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 23606b4..2fb5245 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2015 Ludovic Courtès <address@hidden>
;;; Copyright © 2016, 2017 Leo Famulari <address@hidden>
;;; Copyright © 2017 Marius Bakke <address@hidden>
+;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -42,15 +43,15 @@
(define-public curl
(package
(name "curl")
- (replacement curl-7.55.0)
- (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"))
+ (patches (search-patches "curl-bounds-check.patch"))
(sha256
(base32
- "0vnv3cz0s1l5cjby86hm0x6pgzqijmdm97qa9q5px200956z6yib"))))
+ "1785vxi0jamiv9d1wr1l45g0fm9ircxdfyfzf7ld8zv0z0i8bmfd"))))
(build-system gnu-build-system)
(outputs '("out"
"doc")) ;1.2 MiB of man3 pages
@@ -109,7 +110,15 @@
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
- (zero? (system* "make" "-C" "tests" "test")))))))
+ (zero? (system* "make" "-C" "tests" "test"))))
+ (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)))))
(synopsis "Command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,
@@ -122,29 +131,3 @@ 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"))
- (patches (search-patches "curl-bounds-check.patch"))
- (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.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)))))))))
- branch core-updates updated (b83ad3a -> b33c255), Efraim Flashner, 2017/10/01
- 04/14: gnu: libarchive: Update to 3.3.2., Efraim Flashner, 2017/10/01
- 03/14: gnu: Remove package/inherit from commencement., Efraim Flashner, 2017/10/01
- 05/14: gnu: libarchive: Use 'modify-phases' syntax., Efraim Flashner, 2017/10/01
- 10/14: gnu: bluez: Ungraft package., Efraim Flashner, 2017/10/01
- 02/14: gnu: binutils: Update to 2.28.1., Efraim Flashner, 2017/10/01
- 06/14: gnu: curl: Update to 7.55.0.,
Efraim Flashner <=
- 08/14: gnu: libgcrypt: Update to 1.8.1., Efraim Flashner, 2017/10/01
- 13/14: gnu: libtasn1: Ungraft package., Efraim Flashner, 2017/10/01
- 14/14: gnu: expat: Update to 2.2.2., Efraim Flashner, 2017/10/01
- 09/14: gnu: gdk-pixbuf: Update to 2.36.10., Efraim Flashner, 2017/10/01
- 12/14: gnu: ruby: Update to 2.4.2., Efraim Flashner, 2017/10/01
- 01/14: Merge remote-tracking branch 'origin/master' into core-updates, Efraim Flashner, 2017/10/01
- 11/14: gnu: pcre: Update to 8.41., Efraim Flashner, 2017/10/01
- 07/14: gnu: gd: Update to 2.2.5., Efraim Flashner, 2017/10/01