sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (3a446c5dcdb42df7748517f86c4e7c46fc042cec)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (3a446c5dcdb42df7748517f86c4e7c46fc042cec)
- Date: Sun, 27 Nov 2016 17:48:28 +0000
GIT changes to stable-0.62 grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
devel/python/DETAILS | 5 +-
devel/python/HISTORY | 17 ++++++---
devel/python/INSTALL | 1
devel/python/PRE_BUILD | 11 +----
devel/python/libressl.patch | 83
--------------------------------------------
5 files changed, 18 insertions(+), 99 deletions(-)
New commits:
commit 3a446c5dcdb42df7748517f86c4e7c46fc042cec
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
devel/python: version 2.7.12, SECURITY_PATCH++
(cherry picked from commit 6d84954775f99062de66455f11f1859acd179811)
commit 050b6a708c0c2371db4dc6ad716f918640ecc561
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
devel/python: version 2.7.11
(cherry picked from commit 6ed6879f5e242fc1b9e574b2503bb71f7f12cdcf)
commit 5830d5e3a13d324174d8bc9216216fa438134943
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
Revert "python: fixed build with libressl"
This reverts commit fdb9f64d8d8e9254f08774fa5e279add8ee815a1.
Reason: fixed by upstream
Conflicts:
devel/python/HISTORY
(cherry picked from commit c01b93cee214d2994ee30743da60b6b747ddb5b7)
commit 24d51f5be3798336b95de0b00c4367fef1a5bff9
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
devel/python: create python symlink
(cherry picked from commit 18ee66ed2bdbafcd80d5174338d1cc7e8a09f069)
commit 6248134b20d58217131d1f5a9f596a82bcf5def1
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
devel/python: version 2.7.10
(cherry picked from commit 01fba1c168b1651d7ad35fd2cafcfda600898b3f)
diff --git a/devel/python/DETAILS b/devel/python/DETAILS
index 17cffec..2d35405 100755
--- a/devel/python/DETAILS
+++ b/devel/python/DETAILS
@@ -1,7 +1,6 @@
SPELL=python
- VERSION=2.7.9
- SECURITY_PATCH=4
- PATCHLEVEL=1
+ VERSION=2.7.12
+ SECURITY_PATCH=5
SOURCE=Python-$VERSION.tar.xz
SOURCE2=$SOURCE.asc
SOURCE_DIRECTORY="$BUILD_DIRECTORY/Python-$VERSION"
diff --git a/devel/python/HISTORY b/devel/python/HISTORY
index 3ca10da..690709a 100644
--- a/devel/python/HISTORY
+++ b/devel/python/HISTORY
@@ -1,3 +1,16 @@
+2016-06-28 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 2.7.12, SECURITY_PATCH++,
+ (CVE-2015-1283, CVE-2016-0772)
+
+2015-12-07 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: updated spell to 2.7.11
+
+2015-07-28 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * INSTALL: create /usr/bin/python symlink
+
+2015-05-24 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: updated spell to 2.7.10
+
2015-04-23 Thomas Orgis <sobukus AT sourcemage.org>
* CONFIGURE: add warning about not using python 2 as primary
@@ -5,10 +18,6 @@
* INSTALL: ensure python2 and python2-config symlinks
* DETAILS: PATCHLEVEL++
-2015-03-06 Vlad Glagolev <stealth AT sourcemage.org>
- * PRE_BUILD: apply a patch; quoting paths
- * libressl.patch: added, backported official patch from OpenBSD
-
2014-12-11 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.7.9; SECURITY_PATCH++ (CVE-2013-1753,
CVE-2013-1752, CVE-2013-1752)
diff --git a/devel/python/INSTALL b/devel/python/INSTALL
index 8a1a8b5..71abc31 100755
--- a/devel/python/INSTALL
+++ b/devel/python/INSTALL
@@ -14,6 +14,7 @@ local PYVER=`echo ${VERSION}|cut -d . -f 1,2` &&
# symlinks, as they are not created with altinstall.
# See https://mail.python.org/pipermail/python-dev/2011-March/108971.html
# and the surrounding thread for fun.
+ln -sf python$PYVER "$INSTALL_ROOT/usr/bin/python"
ln -sf python$PYVER "$INSTALL_ROOT/usr/bin/python2" &&
ln -sf python$PYVER-config "$INSTALL_ROOT/usr/bin/python2-config" &&
diff --git a/devel/python/PRE_BUILD b/devel/python/PRE_BUILD
index e5c77c5..ee53ba4 100755
--- a/devel/python/PRE_BUILD
+++ b/devel/python/PRE_BUILD
@@ -1,11 +1,4 @@
-default_pre_build &&
-cd "$SOURCE_DIRECTORY" &&
-
-# the patch drops EGD support for LibreSSL, so make it optional
-if is_depends_enabled $SPELL $(get_spell_provider $SPELL SSL) && [[
$(get_spell_provider $SPELL SSL) == "libressl" ]]; then
- patch -p0 < "$SPELL_DIRECTORY/libressl.patch"
-fi &&
-
-cd "$SOURCE_DIRECTORY/Lib" &&
+default_pre_build &&
+cd $SOURCE_DIRECTORY/Lib &&
cp -R plat-linux2 plat-linux3
diff --git a/devel/python/libressl.patch b/devel/python/libressl.patch
deleted file mode 100644
index 82cea83..0000000
--- a/devel/python/libressl.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-$OpenBSD: patch-Lib_ssl_py,v 1.2 2014/12/14 08:32:55 rpointel Exp $
---- Lib/ssl.py.orig Wed Dec 10 16:59:40 2014
-+++ Lib/ssl.py Sat Dec 13 12:15:08 2014
-@@ -106,7 +106,7 @@ from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIR
- from _ssl import (VERIFY_DEFAULT, VERIFY_CRL_CHECK_LEAF,
VERIFY_CRL_CHECK_CHAIN,
- VERIFY_X509_STRICT)
- from _ssl import txt2obj as _txt2obj, nid2obj as _nid2obj
--from _ssl import RAND_status, RAND_egd, RAND_add
-+from _ssl import RAND_status, RAND_add
-
- def _import_symbols(prefix):
- for n in dir(_ssl):
-$OpenBSD: patch-Modules__ssl_c,v 1.3 2014/12/14 08:32:55 rpointel Exp $
---- Modules/_ssl.c.orig Wed Dec 10 16:59:53 2014
-+++ Modules/_ssl.c Sat Dec 13 12:16:17 2014
-@@ -3301,32 +3301,6 @@ Returns 1 if the OpenSSL PRNG has been seeded with eno
- It is necessary to seed the PRNG with RAND_add() on some platforms before\n\
- using the ssl() function.");
-
--static PyObject *
--PySSL_RAND_egd(PyObject *self, PyObject *arg)
--{
-- int bytes;
--
-- if (!PyString_Check(arg))
-- return PyErr_Format(PyExc_TypeError,
-- "RAND_egd() expected string, found %s",
-- Py_TYPE(arg)->tp_name);
-- bytes = RAND_egd(PyString_AS_STRING(arg));
-- if (bytes == -1) {
-- PyErr_SetString(PySSLErrorObject,
-- "EGD connection failed or EGD did not return "
-- "enough data to seed the PRNG");
-- return NULL;
-- }
-- return PyInt_FromLong(bytes);
--}
--
--PyDoc_STRVAR(PySSL_RAND_egd_doc,
--"RAND_egd(path) -> bytes\n\
--\n\
--Queries the entropy gather daemon (EGD) on the socket named by 'path'.\n\
--Returns number of bytes read. Raises SSLError if connection to EGD\n\
--fails or if it does not provide enough data to seed PRNG.");
--
- #endif /* HAVE_OPENSSL_RAND */
-
-
-@@ -3720,8 +3694,6 @@ static PyMethodDef PySSL_methods[] = {
- #ifdef HAVE_OPENSSL_RAND
- {"RAND_add", PySSL_RAND_add, METH_VARARGS,
- PySSL_RAND_add_doc},
-- {"RAND_egd", PySSL_RAND_egd, METH_VARARGS,
-- PySSL_RAND_egd_doc},
- {"RAND_status", (PyCFunction)PySSL_RAND_status, METH_NOARGS,
- PySSL_RAND_status_doc},
- #endif
-$OpenBSD: patch-Lib_socket_py,v 1.1 2014/04/19 14:17:47 espie Exp $
---- Lib/socket.py.orig Sat Apr 19 16:07:48 2014
-+++ Lib/socket.py Sat Apr 19 16:07:54 2014
-@@ -67,7 +67,6 @@ else:
- from _ssl import SSLError as sslerror
- from _ssl import \
- RAND_add, \
-- RAND_egd, \
- RAND_status, \
- SSL_ERROR_ZERO_RETURN, \
- SSL_ERROR_WANT_READ, \
-$OpenBSD: patch-Lib_test_test_ssl_py,v 1.2 2014/12/14 08:32:55 rpointel Exp $
-
-No RAND_egd on OpenBSD.
-
---- Lib/test/test_ssl.py.orig Wed Dec 10 16:59:47 2014
-+++ Lib/test/test_ssl.py Sat Dec 13 12:13:40 2014
-@@ -169,8 +169,6 @@ class BasicSocketTests(unittest.TestCase):
- sys.stdout.write("\n RAND_status is %d (%s)\n"
- % (v, (v and "sufficient randomness") or
- "insufficient randomness"))
-- self.assertRaises(TypeError, ssl.RAND_egd, 1)
-- self.assertRaises(TypeError, ssl.RAND_egd, 'foo', 1)
- ssl.RAND_add("this is a random string", 75.0)
-
- def test_parse_cert(self):
- [SM-Commit] GIT changes to stable-0.62 grimoire by Vlad Glagolev (3a446c5dcdb42df7748517f86c4e7c46fc042cec), Vlad Glagolev, 11/27/2016
Archive powered by MHonArc 2.6.24.