[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/17: gnu: perl: Ungraft version 5.26.2.
From: |
Tobias Geerinckx-Rice |
Subject: |
16/17: gnu: perl: Ungraft version 5.26.2. |
Date: |
Tue, 12 Jun 2018 09:30:33 -0400 (EDT) |
nckx pushed a commit to branch core-updates
in repository guix.
commit f1799efb31be3e9d655efb9e30c391ff9f6cd58f
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Jun 11 21:01:45 2018 +0200
gnu: perl: Ungraft version 5.26.2.
* gnu/packages/perl.scm (perl): Update to 5.26.2.
[replacement]: Ungraft.
(perl-5.26.2, perl/fixed): Remove variables.
---
gnu/packages/perl.scm | 39 ++-------------------------------------
1 file changed, 2 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2d2bb62..cfc73c5 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -44,7 +44,6 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
- #:use-module (guix utils) ;substitute-keyword-arguments for perl-5.26.2
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages freedesktop)
@@ -61,15 +60,14 @@
;; Yeah, Perl... It is required early in the bootstrap process by Linux.
(package
(name "perl")
- (version "5.26.1")
- (replacement perl/fixed)
+ (version "5.26.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cpan/src/5.0/perl-"
version ".tar.gz"))
(sha256
(base32
- "1p81wwvr5jb81m41d07kfywk5gvbk0axdrnvhc2aghcdbr4alqz7"))
+ "03gpnxx1g6hvlh0v4aqx00580h787sfywp1vlvw64q2xcbm9qbsp"))
(patches (search-patches
"perl-file-path-CVE-2017-6512.patch"
"perl-no-sys-dirs.patch"
@@ -160,39 +158,6 @@
(home-page "http://www.perl.org/")
(license gpl1+))) ; or "Artistic"
-;; Fixes CVE-2018-6797, CVE-2018-6798, and CVE-2018-6913.
-;; See <https://metacpan.org/changes/release/SHAY/perl-5.26.2>.
-(define perl-5.26.2
- (package
- (inherit perl)
- (version "5.26.2")
- (source (origin
- (inherit (package-source perl))
- (uri (string-append "mirror://cpan/src/5.0/perl-"
- version ".tar.gz"))
- (sha256
- (base32
- "03gpnxx1g6hvlh0v4aqx00580h787sfywp1vlvw64q2xcbm9qbsp"))))))
-
-;; When grafting perl, complications arise when the replacement perl has a
-;; different version number than the original. So, here we create a version
-;; of perl-5.26.2 that thinks it is version 5.26.1. See
-;; <https://bugs.gnu.org/31210> and <https://bugs.gnu.org/31216>.
-(define perl/fixed
- (package
- (inherit perl-5.26.2)
- (version "5.26.1")
- (arguments
- (substitute-keyword-arguments (package-arguments perl-5.26.2)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'revert-perl-subversion
- (lambda _
- (substitute* "patchlevel.h"
- (("^#define PERL_SUBVERSION 2")
- "#define PERL_SUBVERSION 1"))
- #t))))))))
-
(define-public perl-algorithm-c3
(package
(name "perl-algorithm-c3")
- 04/17: gnu: mit-krb5: Update to 1.16.1., (continued)
- 04/17: gnu: mit-krb5: Update to 1.16.1., Tobias Geerinckx-Rice, 2018/06/12
- 08/17: gnu: libdrm: Update to 2.4.92., Tobias Geerinckx-Rice, 2018/06/12
- 10/17: gnu: wayland-protocols: Update to 1.14., Tobias Geerinckx-Rice, 2018/06/12
- 17/17: gnu: sqlite: Update to 3.24.0., Tobias Geerinckx-Rice, 2018/06/12
- 07/17: gnu: freetype: Update to 2.9.1., Tobias Geerinckx-Rice, 2018/06/12
- 12/17: gnu: jansson: Update to 2.11., Tobias Geerinckx-Rice, 2018/06/12
- 09/17: gnu: libunistring: Update to 0.9.10., Tobias Geerinckx-Rice, 2018/06/12
- 15/17: gnu: cmake: Update to 3.11.3., Tobias Geerinckx-Rice, 2018/06/12
- 11/17: gnu: libidn: Update to 1.35., Tobias Geerinckx-Rice, 2018/06/12
- 06/17: gnu: bison: Update to 3.0.5., Tobias Geerinckx-Rice, 2018/06/12
- 16/17: gnu: perl: Ungraft version 5.26.2.,
Tobias Geerinckx-Rice <=
- 01/17: gnu: fribidi: Update to 1.0.4., Tobias Geerinckx-Rice, 2018/06/12
- 13/17: gnu: nghttp2: Update to 1.32.0., Tobias Geerinckx-Rice, 2018/06/12