From 0096ee21291b5aa9fbba4c6636a2dd529957d42a Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sun, 7 Feb 2016 19:48:09 +0000 Subject: dev-java/jython: Remove vulnerable versions. Fixes security bug 552452. Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement --- dev-java/jython/Manifest | 3 - .../files/2.1-assert-SimpleCompiler.py.patch | 11 -- dev-java/jython/files/2.1-assert.patch | 50 ------- dev-java/jython/files/jython-2.2.1-build.patch | 76 ----------- dev-java/jython/files/jython-2.2.1-build.xml.patch | 92 ------------- dev-java/jython/files/jython-2.5.2-build.xml.patch | 27 ---- .../jython-2.5.2-distutils_byte_compilation.patch | 85 ------------ .../jython-2.5.2-sax-parser-class-not-found.patch | 39 ------ .../jython/files/jython-2.5.2-sax-parser-fix.patch | 94 ------------- .../python-2.5.5-distutils_byte_compilation.patch | 37 ----- dev-java/jython/jython-2.2.1-r2.ebuild | 135 ------------------- dev-java/jython/jython-2.5.3-r3.ebuild | 149 --------------------- 12 files changed, 798 deletions(-) delete mode 100644 dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch delete mode 100644 dev-java/jython/files/2.1-assert.patch delete mode 100644 dev-java/jython/files/jython-2.2.1-build.patch delete mode 100644 dev-java/jython/files/jython-2.2.1-build.xml.patch delete mode 100644 dev-java/jython/files/jython-2.5.2-build.xml.patch delete mode 100644 dev-java/jython/files/jython-2.5.2-distutils_byte_compilation.patch delete mode 100644 dev-java/jython/files/jython-2.5.2-sax-parser-class-not-found.patch delete mode 100644 dev-java/jython/files/jython-2.5.2-sax-parser-fix.patch delete mode 100644 dev-java/jython/files/python-2.5.5-distutils_byte_compilation.patch delete mode 100644 dev-java/jython/jython-2.2.1-r2.ebuild delete mode 100644 dev-java/jython/jython-2.5.3-r3.ebuild (limited to 'dev-java/jython') diff --git a/dev-java/jython/Manifest b/dev-java/jython/Manifest index 98c97d084154..a83f9486c43a 100644 --- a/dev-java/jython/Manifest +++ b/dev-java/jython/Manifest @@ -1,4 +1 @@ -DIST Python-2.2.3.tgz 6709556 SHA256 a8f92e6b89d47359fff0d1fbfe47f104afc77fd1cd5143e7332758b7bc100188 SHA512 2e2c881f8819ed3d91b3e98e7087b23ced9715c80eb9e5fe4144cca5b82220e035d0f50ac4a098b3bbdca3c588f70b8021f68a5d52f653c013470579342943e4 WHIRLPOOL dbef6f9f0545f4f4ddf6e4535b67bb936a2ef596f17a1ff6acca89755729420588d845bc291eed0d19b433b3eff017166c7d68a1a352a5612b00da2f8f0c20d7 DIST jython-2.7.0-sources.jar 15371691 SHA256 2b534595d4a08059ebb71b881c58ee830499bb6e9daba7c828a7f1f6c8943f7a SHA512 7583810245d694fd1d99a57ad504fcefdfbc1183def2cbb93ae3660f341104205c73041d846bdcf2b564b3cf4b770b481703c1dcdb1458396812c92d30ee9fa6 WHIRLPOOL e0dbd289c522b41ef2d3f54b01a2f6d44de8755e2eeb7863c8b807d1b179839f20d925e102db324cf85cd82503cd03106b5287ffa7a322a3902d6f24e9cd2a41 -DIST jython-installer-2.5.3.jar 18487200 SHA256 05405966cdfa57abc8e705dd6aab92b8240097ce709fb916c8a0dbcaa491f99e SHA512 92d00cc8d885806749c67d1dc820e7b402c807b9a40277073fc3ea1f3dd10e1e506dc241a342874db8109120e8f0031a8dc7a4db6a88dfdc6c89906eeb9d454d WHIRLPOOL e8e3adf741a35b5e4de6c67b8805582cabc8590afac28c2e4ae3b61c4bd38d41904d7d1e4a23de21e7870d628e33a52f540fc89780a4724403b0bd92e1159768 -DIST jython_installer-2.2.1.jar 4663097 SHA256 586858aa16a8b269eaaec59f5b64031ec504d33da35cba98ebac811b0e838e68 SHA512 d33262dec95dbecfc007a738ed8d8cd4844c215e451b7ab126940f1157079aa846a104f3587ad84c4a009249632e3aaa3c83479ee8f47c30c4b4833bcdd582b3 WHIRLPOOL bae264f67547a975bf648b3de0cc2becb5d51e14b2ca1a977f7c3d45ec96bd3fd4fd99b0ff6912fb38d54d57656225c51c4b8a474c6ca8fe7fc16e12ab4bbec8 diff --git a/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch b/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch deleted file mode 100644 index 55e154999195..000000000000 --- a/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- jython-2.1/Tools/jythonc/SimpleCompiler.py.orig 2006-09-08 13:21:29.000000000 -0600 -+++ jython-2.1/Tools/jythonc/SimpleCompiler.py 2006-09-08 13:22:15.000000000 -0600 -@@ -577,7 +577,7 @@ - args.append(message.asAny()) - - return jast.If(self.frame.getglobal("__debug__").nonzero(), -- jast.InvokeStatic("Py", "assert", args)) -+ jast.InvokeStatic("Py", "assert_", args)) - - def return_stmt(self, value=None): - if value is None: diff --git a/dev-java/jython/files/2.1-assert.patch b/dev-java/jython/files/2.1-assert.patch deleted file mode 100644 index 1f06848f2328..000000000000 --- a/dev-java/jython/files/2.1-assert.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- jython-2.1/com/ziclix/python/sql/pipe/Pipe.java.orig 2006-07-29 21:31:34.000000000 +0200 -+++ jython-2.1/com/ziclix/python/sql/pipe/Pipe.java 2006-07-29 21:31:41.000000000 +0200 -@@ -93,7 +93,7 @@ - new Integer(sinkRunner.getCount()) }; - String msg = zxJDBC.getString("inconsistentRowCount", counts); - -- Py.assert(Py.Zero, Py.newString(msg)); -+ Py.assert_(Py.Zero, Py.newString(msg)); - } - - return Py.newInteger(sinkRunner.getCount()); ---- jython-2.1/org/python/compiler/CodeCompiler.java.orig 2006-07-29 21:28:47.000000000 +0200 -+++ jython-2.1/org/python/compiler/CodeCompiler.java 2006-07-29 21:30:13.000000000 +0200 -@@ -817,14 +817,14 @@ - node.getChild(1).visit(this); - if (mrefs.assert2 == 0) { - mrefs.assert2 = code.pool.Methodref( -- "org/python/core/Py", "assert", -+ "org/python/core/Py", "assert_", - "(" + $pyObj + $pyObj + ")V"); - } - code.invokestatic(mrefs.assert2); - } else { - if (mrefs.assert1 == 0) { - mrefs.assert1 = code.pool.Methodref( -- "org/python/core/Py", "assert", -+ "org/python/core/Py", "assert_", - "(" + $pyObj + ")V"); - } - code.invokestatic(mrefs.assert1); ---- jython-2.1/org/python/core/Py.java.orig 2006-07-29 21:29:19.000000000 +0200 -+++ jython-2.1/org/python/core/Py.java 2006-07-29 21:30:40.000000000 +0200 -@@ -986,14 +986,14 @@ - - - /* Equivalent to Python's assert statement */ -- public static void assert(PyObject test, PyObject message) { -+ public static void assert_(PyObject test, PyObject message) { - if (!test.__nonzero__()) { - throw new PyException(Py.AssertionError, message); - } - } - -- public static void assert(PyObject test) { -- assert(test, Py.None); -+ public static void assert_(PyObject test) { -+ assert_(test, Py.None); - } - - /* Helpers to implement finally clauses */ diff --git a/dev-java/jython/files/jython-2.2.1-build.patch b/dev-java/jython/files/jython-2.2.1-build.patch deleted file mode 100644 index 29df77621303..000000000000 --- a/dev-java/jython/files/jython-2.2.1-build.patch +++ /dev/null @@ -1,76 +0,0 @@ ---- build.xml.org 2008-02-26 22:35:07.000000000 +1300 -+++ build.xml 2008-02-26 22:35:48.000000000 +1300 -@@ -373,21 +373,13 @@ - - - -- -+ - - - - - -- -- -- -- -- -- -- -- -- -+ - - - -@@ -551,28 +543,13 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ -+ - - - - -- -+ - -- -+ - - copy misc files from ${jython.base.dir} - -@@ -599,7 +576,7 @@ - - - copy CPython LICENSE from ${svn.checkout.dir}/python -- -+ - - - copy sources from ${jython.base.dir} diff --git a/dev-java/jython/files/jython-2.2.1-build.xml.patch b/dev-java/jython/files/jython-2.2.1-build.xml.patch deleted file mode 100644 index 8ea197476074..000000000000 --- a/dev-java/jython/files/jython-2.2.1-build.xml.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- build.xml.orig 2012-09-27 16:13:40.750930136 +0200 -+++ build.xml 2012-09-27 16:16:31.725093475 +0200 -@@ -373,21 +373,13 @@ - - - -- -+ - - - - - -- -- -- -- -- -- -- -- -- -+ - - - -@@ -488,6 +480,7 @@ - /> - - -+ - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -+ -+ - - - - -- -+ - -- -+ - - copy misc files from ${jython.base.dir} - -@@ -599,7 +578,7 @@ - - - copy CPython LICENSE from ${svn.checkout.dir}/python -- -+ - - - copy sources from ${jython.base.dir} diff --git a/dev-java/jython/files/jython-2.5.2-build.xml.patch b/dev-java/jython/files/jython-2.5.2-build.xml.patch deleted file mode 100644 index fb5e46e569ff..000000000000 --- a/dev-java/jython/files/jython-2.5.2-build.xml.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- build.xml.orig 2012-07-13 14:06:40.965992853 +0200 -+++ build.xml 2012-07-13 14:07:29.595035840 +0200 -@@ -512,6 +512,7 @@ - - - -+ - - - -@@ -758,7 +762,7 @@ - - - -- -+ -