gnu: perl: Incorporate patch for CVE-2016-2381.

* gnu/packages/perl.scm (perl)[source]: Add "perl-CVE-2016-2381.patch".
[replacement]: Remove.
(perl-fixed): Remove.
This commit is contained in:
Ludovic Courtès 2016-03-09 15:17:12 +01:00
parent 6da23c0429
commit 4d1a35fabc
1 changed files with 2 additions and 24 deletions

View File

@ -37,7 +37,6 @@
(define-public perl (define-public perl
;; Yeah, Perl... It is required early in the bootstrap process by Linux. ;; Yeah, Perl... It is required early in the bootstrap process by Linux.
(package (package
(replacement perl-fixed)
(name "perl") (name "perl")
(version "5.22.1") (version "5.22.1")
(source (origin (source (origin
@ -53,7 +52,8 @@
"perl-source-date-epoch.patch" "perl-source-date-epoch.patch"
"perl-deterministic-ordering.patch" "perl-deterministic-ordering.patch"
"perl-no-build-time.patch" "perl-no-build-time.patch"
"perl-CVE-2015-8607.patch"))))) "perl-CVE-2015-8607.patch"
"perl-CVE-2016-2381.patch")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f '(#:tests? #f
@ -115,28 +115,6 @@
(home-page "http://www.perl.org/") (home-page "http://www.perl.org/")
(license gpl1+))) ; or "Artistic" (license gpl1+))) ; or "Artistic"
(define perl-fixed
(package
(inherit perl)
(replacement #f)
(source
(let ((name "perl") (version "5.22.1"))
(origin
(method url-fetch)
(uri (string-append "http://www.cpan.org/src/5.0/perl-"
version ".tar.gz"))
(sha256
(base32
"09wg24w5syyafyv87l6z8pxwz4bjgcdj996bx5844k6m9445sirb"))
(patches (map search-patch
'("perl-no-sys-dirs.patch"
"perl-autosplit-default-time.patch"
"perl-source-date-epoch.patch"
"perl-deterministic-ordering.patch"
"perl-no-build-time.patch"
"perl-CVE-2015-8607.patch"
"perl-CVE-2016-2381.patch"))))))))
(define-public perl-algorithm-c3 (define-public perl-algorithm-c3
(package (package
(name "perl-algorithm-c3") (name "perl-algorithm-c3")