gnu: pcre: Update replacement to 8.41 [fixes CVE-2017-{7244,7245,7246}].
* gnu/packages/pcre.scm (pcre)[replacement]: Update to pcre-8.41. (pcre/fixed): Replace with ... (pcre-8.41): ... new variable.
This commit is contained in:
		
							parent
							
								
									da03649640
								
							
						
					
					
						commit
						426b0b898f
					
				
					 1 changed files with 12 additions and 4 deletions
				
			
		| 
						 | 
					@ -34,7 +34,7 @@
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
   (name "pcre")
 | 
					   (name "pcre")
 | 
				
			||||||
   (version "8.40")
 | 
					   (version "8.40")
 | 
				
			||||||
   (replacement pcre/fixed)
 | 
					   (replacement pcre-8.41)
 | 
				
			||||||
   (source (origin
 | 
					   (source (origin
 | 
				
			||||||
            (method url-fetch)
 | 
					            (method url-fetch)
 | 
				
			||||||
            (uri (list
 | 
					            (uri (list
 | 
				
			||||||
| 
						 | 
					@ -72,12 +72,20 @@ POSIX regular expression API.")
 | 
				
			||||||
   (license license:bsd-3)
 | 
					   (license license:bsd-3)
 | 
				
			||||||
   (home-page "http://www.pcre.org/")))
 | 
					   (home-page "http://www.pcre.org/")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define pcre/fixed
 | 
					(define pcre-8.41
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (inherit pcre)
 | 
					    (inherit pcre)
 | 
				
			||||||
 | 
					    (version "8.41")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (inherit (package-source pcre))
 | 
					              (method url-fetch)
 | 
				
			||||||
              (patches (search-patches "pcre-CVE-2017-7186.patch"))))))
 | 
					              (uri (list (string-append "mirror://sourceforge/pcre/pcre/"
 | 
				
			||||||
 | 
					                                        version "/pcre-" version ".tar.bz2")
 | 
				
			||||||
 | 
					                         (string-append "ftp://ftp.csx.cam.ac.uk"
 | 
				
			||||||
 | 
					                                        "/pub/software/programming/pcre/"
 | 
				
			||||||
 | 
					                                        "pcre-" version ".tar.bz2")))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "0c5m469p5pd7jip621ipq6hbgh7128lzh7xndllfgh77ban7wb76"))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public pcre2
 | 
					(define-public pcre2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue