gnu: icedtea-8: Update to 3.2.0 [fixes CVE-2016-{5542,5554,5568,5573,5582,5597}].

* gnu/packages/java.scm (icedtea-8): Update to 3.2.0.
[arguments]: Pass '--disable-system-pcsc' and '--disable-system-sctp'
to #:configure-flags.
This commit is contained in:
Leo Famulari 2016-12-13 18:50:54 -05:00
parent ab129dac7d
commit 5ac6b841c2
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -953,7 +953,7 @@ (define-public icedtea-7
,@(package-inputs icedtea-6))))))
(define-public icedtea-8
(let* ((version "3.1.0")
(let* ((version "3.2.0")
(drop (lambda (name hash)
(origin
(method url-fetch)
@ -962,7 +962,7 @@ (define-public icedtea-8
"/icedtea8/" version "/" name ".tar.xz"))
(sha256 (base32 hash))))))
(package (inherit icedtea-7)
(version "3.1.0")
(version "3.2.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -970,7 +970,7 @@ (define-public icedtea-8
version ".tar.xz"))
(sha256
(base32
"1d1kj8a6jbvcbzhmfrx2pca7pinsvpxd7zij9h93g13dmm0ncqbm"))
"104g2x5nhnqqvx6x29phx5vlrhlqy7qax83b9bqj1y619irrg8gj"))
(modules '((guix build utils)))
(snippet
'(substitute* "Makefile.am"
@ -985,6 +985,8 @@ (define-public icedtea-8
"--enable-bootstrap"
"--enable-nss"
"--disable-downloading"
"--disable-system-pcsc"
"--disable-system-sctp"
"--disable-tests" ;they are run in the check phase instead
"--with-openjdk-src-dir=./openjdk.src"
,(string-append "--with-jdk-home=" jdk))))
@ -1038,31 +1040,31 @@ (define-public icedtea-8
`(("jdk" ,icedtea-7 "jdk")
("openjdk-src"
,(drop "openjdk"
"1p6xgf00w754y3xdrccs67gjhb0181q49dk67h5v43aixkx7z7y1"))
"093r3vlmbdx78w9s6d8lv4q65i0s9wq6an6i2g2d1zaf0js4043c"))
("corba-drop"
,(drop "corba"
"088wnyfdhqkvc41pl3swnynbxx7x5lha6qg7q0biai6ya114scsy"))
"11r3h9snnj7m5bqnzc5ryd85igdv7xlwzs0zy24p9ii6gsc0f9lh"))
("jaxp-drop"
,(drop "jaxp"
"18xc4sib85z2zhz4k5lvi5b4vn88zqjpa3wi8gav81vz5gyysn3d"))
"1mp6ps15jk8v4nnvkmbvkk7g35icdjv7892q2a4f7b268yjcgmk1"))
("jaxws-drop"
,(drop "jaxws"
"1my72q2zjly4imn834zgf4rysn48gbr8i81rxzrfdqgzzinxf6l1"))
"1fb5hikzzx8292nhdbp0snqn66fwnnv4rkjsk1zsjvrv4z5vk18j"))
("jdk-drop"
,(drop "jdk"
"1ab2h7pppph82h3xhh1m5dha77j3wnhksq7c7f8yfcsyhr5hm243"))
"1if9c5grp0km7pyn4mhfwi2ynh3ix20l1fqbfcy68sl2py7psmcj"))
("langtools-drop"
,(drop "langtools"
"07bzcw2ml4apjfd0ydc3v44fnnwinwri114fig2mdcn1n388szra"))
"0kbah4h4pllk0gf50mp5f6720f5ci0ixqylccppb484hp95pblcl"))
("hotspot-drop"
,(drop "hotspot"
"0x5ic8cz3w9s8m8ynh31qlf47c6nwc512bp8ddwgmvsdxyiiwn1k"))
"1gqz9qqsi61838dj08s01sa51zlnkvrk3hy721211dhnmkvlzmwx"))
("nashorn-drop"
,(drop "nashorn"
"0zyd8pyv1il8c9npw7wz1mwxhlq510ill20nhc7i8fq7gignzcsn"))
"04697l95g6y6n5dvy55k2040c6qp5hfz16qaibwzs594m3gzwwjz"))
("shenandoah-drop"
,(drop "shenandoah"
"1shisljn60zw9j4nahh07vw85gj25gfiy7z196fdw0pi95va6qwk"))
"0k6h7jk5i98jnld2ivy4bhydmkzrp25c3l6gwhvczvrhn7mlbnfx"))
,@(fold alist-delete (package-native-inputs icedtea-7)
'("gcj" "openjdk-src" "corba-drop" "jaxp-drop" "jaxws-drop"
"jdk-drop" "langtools-drop" "hotspot-drop")))))))