diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2015-12-21 18:13:33 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2015-12-21 18:13:33 +0000 |
commit | df08d0c78547197da445a241c2b4418a0b5619fb (patch) | |
tree | 01630e4fc53ee3ffc1ee197b664b3ed6dbb603b4 /lang/python32 | |
parent | Update Calligra to 2.9.10. (diff) |
- Update lang/python32 to 3.2.6 [1]
- Update lang/python35 to 3.5.1 [2]
- Update lang/python-doc-html for [1]
- Switch to do-test
Changelog:
[1] https://hg.python.org/cpython/file/v3.2.6/Misc/NEWS
[2] https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-1-final
Reviewed by: koobs (python)
Approved by: mat (mentor)
Differential Revision: D4663
Notes
Notes:
svn path=/head/; revision=404141
Diffstat (limited to 'lang/python32')
-rw-r--r-- | lang/python32/Makefile | 5 | ||||
-rw-r--r-- | lang/python32/distinfo | 4 | ||||
-rw-r--r-- | lang/python32/files/patch-CVE-2014-1912 | 49 | ||||
-rw-r--r-- | lang/python32/pkg-plist | 45 |
4 files changed, 27 insertions, 76 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile index 29a3047b3b2a..b702b2fe7cb3 100644 --- a/lang/python32/Makefile +++ b/lang/python32/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= python32 -PORTVERSION= 3.2.5 -PORTREVISION= 15 +PORTVERSION= 3.2.6 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} @@ -125,7 +124,7 @@ post-install: for i in ${STAGEDIR}${PREFIX}/lib/python3.2/lib-dynload/*.so; do \ ${STRIP_CMD} $$i; done -regression-test: build +do-test: @cd ${WRKSRC} && ${MAKE} TESTOPTS=-j${MAKE_JOBS_NUMBER} buildbottest .include <bsd.port.mk> diff --git a/lang/python32/distinfo b/lang/python32/distinfo index 14a5f80a62ac..8ab874d2bebc 100644 --- a/lang/python32/distinfo +++ b/lang/python32/distinfo @@ -1,2 +1,2 @@ -SHA256 (python/Python-3.2.5.tar.xz) = 8ccb9645b9779fc4550055b2ebb21a724ab7a63dee45643286eb4f79b2f84116 -SIZE (python/Python-3.2.5.tar.xz) = 9221624 +SHA256 (python/Python-3.2.6.tar.xz) = 1d12b501819fd26afafbf8459be1aa279b56f032b4c15412de0a713ce0de7bdc +SIZE (python/Python-3.2.6.tar.xz) = 9243292 diff --git a/lang/python32/files/patch-CVE-2014-1912 b/lang/python32/files/patch-CVE-2014-1912 deleted file mode 100644 index a23eba9a8042..000000000000 --- a/lang/python32/files/patch-CVE-2014-1912 +++ /dev/null @@ -1,49 +0,0 @@ -# HG changeset patch -# User Benjamin Peterson <benjamin@python.org> -# Date 1389671978 18000 -# Node ID 9c56217e5c793685eeaf0ee224848c402bdf1e4c -# Parent 2b5cd6d4d149dea6c6941b7e07ada248b29fc9f6 -complain when nbytes > buflen to fix possible buffer overflow (closes #20246) - -# HG changeset patch -# User Stefan Krah <skrah@bytereef.org> -# Date 1390341520 -3600 -# Node ID e82dcd700e8cfb174d6bf6031fd6666627b20f5f -# Parent 29b1eebecb8ed946e1db8e4bb86310d681cf4a91 -Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts. - -diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py ---- Lib/test/test_socket.py -+++ Lib/test/test_socket.py -@@ -1968,6 +1968,14 @@ class BufferIOTest(SocketConnectedTest): - - _testRecvFromIntoMemoryview = _testRecvFromIntoArray - -+ def testRecvFromIntoSmallBuffer(self): -+ # See issue #20246. -+ buf = bytearray(8) -+ self.assertRaises(ValueError, self.cli_conn.recvfrom_into, buf, 1024) -+ -+ def _testRecvFromIntoSmallBuffer(self): -+ self.serv_conn.send(MSG) -+ - - TIPC_STYPE = 2000 - TIPC_LOWER = 200 - -diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c ---- Modules/socketmodule.c -+++ Modules/socketmodule.c -@@ -2598,6 +2598,11 @@ sock_recvfrom_into(PySocketSockObject *s - if (recvlen == 0) { - /* If nbytes was not specified, use the buffer's length */ - recvlen = buflen; -+ } else if (recvlen > buflen) { -+ PyBuffer_Release(&pbuf); -+ PyErr_SetString(PyExc_ValueError, -+ "nbytes is greater than the length of the buffer"); -+ return NULL; - } - - readlen = sock_recvfrom_guts(s, buf, recvlen, flags, &addr); - diff --git a/lang/python32/pkg-plist b/lang/python32/pkg-plist index 7e2963b33487..5c626d76f97a 100644 --- a/lang/python32/pkg-plist +++ b/lang/python32/pkg-plist @@ -3,14 +3,10 @@ bin/idle3.2 bin/pydoc3.2 bin/python3.2 bin/python3.2-config -lib/libpython3.2%%ABI%%.so -lib/libpython3.2%%ABI%%.so.1 -libdata/pkgconfig/python-3.2.pc -man/man1/python3.2.1.gz -include/python3.2%%ABI%%/accu.h include/python3.2%%ABI%%/Python-ast.h include/python3.2%%ABI%%/Python.h include/python3.2%%ABI%%/abstract.h +include/python3.2%%ABI%%/accu.h include/python3.2%%ABI%%/asdl.h include/python3.2%%ABI%%/ast.h include/python3.2%%ABI%%/bitset.h @@ -100,6 +96,8 @@ include/python3.2%%ABI%%/ucnhash.h include/python3.2%%ABI%%/unicodeobject.h include/python3.2%%ABI%%/warnings.h include/python3.2%%ABI%%/weakrefobject.h +lib/libpython3.2%%ABI%%.so +lib/libpython3.2%%ABI%%.so.1 lib/python3.2/LICENSE.txt lib/python3.2/__future__.py lib/python3.2/__phello__.foo.py @@ -1865,6 +1863,7 @@ lib/python3.2/json/encoder.py lib/python3.2/json/scanner.py lib/python3.2/json/tool.py lib/python3.2/keyword.py +lib/python3.2/lib-dynload/Python-3.2.6-py3.2.egg-info lib/python3.2/lib-dynload/_bisect.so lib/python3.2/lib-dynload/_codecs_cn.so lib/python3.2/lib-dynload/_codecs_hk.so @@ -1897,7 +1896,6 @@ lib/python3.2/lib-dynload/_socket.so lib/python3.2/lib-dynload/_ssl.so lib/python3.2/lib-dynload/_struct.so lib/python3.2/lib-dynload/_testcapi.so -lib/python3.2/lib-dynload/Python-3.2.5-py3.2.egg-info lib/python3.2/lib-dynload/array.so lib/python3.2/lib-dynload/atexit.so lib/python3.2/lib-dynload/audioop.so @@ -1923,9 +1921,9 @@ lib/python3.2/lib-dynload/unicodedata.so %%NO_DEBUG%%lib/python3.2/lib-dynload/xxlimited.so lib/python3.2/lib-dynload/zlib.so lib/python3.2/lib2to3/Grammar.txt -lib/python3.2/lib2to3/Grammar3.2.5.final.0.pickle +lib/python3.2/lib2to3/Grammar3.2.6.final.0.pickle lib/python3.2/lib2to3/PatternGrammar.txt -lib/python3.2/lib2to3/PatternGrammar3.2.5.final.0.pickle +lib/python3.2/lib2to3/PatternGrammar3.2.6.final.0.pickle lib/python3.2/lib2to3/__init__.py lib/python3.2/lib2to3/__pycache__/__init__.cpython-32.pyc lib/python3.2/lib2to3/__pycache__/__init__.cpython-32.pyo @@ -2258,9 +2256,9 @@ lib/python3.2/pickle.py lib/python3.2/pickletools.py lib/python3.2/pipes.py lib/python3.2/pkgutil.py +lib/python3.2/plat-freebsd%%OSMAJOR%%/IN.py lib/python3.2/plat-freebsd%%OSMAJOR%%/__pycache__/IN.cpython-32.pyc lib/python3.2/plat-freebsd%%OSMAJOR%%/__pycache__/IN.cpython-32.pyo -lib/python3.2/plat-freebsd%%OSMAJOR%%/IN.py lib/python3.2/plat-freebsd%%OSMAJOR%%/regen lib/python3.2/platform.py lib/python3.2/plistlib.py @@ -2639,14 +2637,14 @@ lib/python3.2/test/__pycache__/test_fcntl.cpython-32.pyc lib/python3.2/test/__pycache__/test_fcntl.cpython-32.pyo lib/python3.2/test/__pycache__/test_file.cpython-32.pyc lib/python3.2/test/__pycache__/test_file.cpython-32.pyo +lib/python3.2/test/__pycache__/test_file_eintr.cpython-32.pyc +lib/python3.2/test/__pycache__/test_file_eintr.cpython-32.pyo lib/python3.2/test/__pycache__/test_filecmp.cpython-32.pyc lib/python3.2/test/__pycache__/test_filecmp.cpython-32.pyo lib/python3.2/test/__pycache__/test_fileinput.cpython-32.pyc lib/python3.2/test/__pycache__/test_fileinput.cpython-32.pyo lib/python3.2/test/__pycache__/test_fileio.cpython-32.pyc lib/python3.2/test/__pycache__/test_fileio.cpython-32.pyo -lib/python3.2/test/__pycache__/test_file_eintr.cpython-32.pyc -lib/python3.2/test/__pycache__/test_file_eintr.cpython-32.pyo lib/python3.2/test/__pycache__/test_float.cpython-32.pyc lib/python3.2/test/__pycache__/test_float.cpython-32.pyo lib/python3.2/test/__pycache__/test_flufl.cpython-32.pyc @@ -2897,12 +2895,12 @@ lib/python3.2/test/__pycache__/test_property.cpython-32.pyc lib/python3.2/test/__pycache__/test_property.cpython-32.pyo lib/python3.2/test/__pycache__/test_pstats.cpython-32.pyc lib/python3.2/test/__pycache__/test_pstats.cpython-32.pyo -lib/python3.2/test/__pycache__/test_py_compile.cpython-32.pyo -lib/python3.2/test/__pycache__/test_py_compile.cpython-32.pyc lib/python3.2/test/__pycache__/test_pty.cpython-32.pyc lib/python3.2/test/__pycache__/test_pty.cpython-32.pyo lib/python3.2/test/__pycache__/test_pwd.cpython-32.pyc lib/python3.2/test/__pycache__/test_pwd.cpython-32.pyo +lib/python3.2/test/__pycache__/test_py_compile.cpython-32.pyc +lib/python3.2/test/__pycache__/test_py_compile.cpython-32.pyo lib/python3.2/test/__pycache__/test_pyclbr.cpython-32.pyc lib/python3.2/test/__pycache__/test_pyclbr.cpython-32.pyo lib/python3.2/test/__pycache__/test_pydoc.cpython-32.pyc @@ -3192,10 +3190,6 @@ lib/python3.2/test/cjkencodings/big5.txt lib/python3.2/test/cjkencodings/big5hkscs-utf8.txt lib/python3.2/test/cjkencodings/big5hkscs.txt lib/python3.2/test/cjkencodings/cp949-utf8.txt -lib/python3.2/test/cjkencodings/iso2022_jp-utf8.txt -lib/python3.2/test/cjkencodings/iso2022_jp.txt -lib/python3.2/test/cjkencodings/iso2022_kr-utf8.txt -lib/python3.2/test/cjkencodings/iso2022_kr.txt lib/python3.2/test/cjkencodings/cp949.txt lib/python3.2/test/cjkencodings/euc_jisx0213-utf8.txt lib/python3.2/test/cjkencodings/euc_jisx0213.txt @@ -3211,6 +3205,10 @@ lib/python3.2/test/cjkencodings/gbk-utf8.txt lib/python3.2/test/cjkencodings/gbk.txt lib/python3.2/test/cjkencodings/hz-utf8.txt lib/python3.2/test/cjkencodings/hz.txt +lib/python3.2/test/cjkencodings/iso2022_jp-utf8.txt +lib/python3.2/test/cjkencodings/iso2022_jp.txt +lib/python3.2/test/cjkencodings/iso2022_kr-utf8.txt +lib/python3.2/test/cjkencodings/iso2022_kr.txt lib/python3.2/test/cjkencodings/johab-utf8.txt lib/python3.2/test/cjkencodings/johab.txt lib/python3.2/test/cjkencodings/shift_jis-utf8.txt @@ -3444,8 +3442,11 @@ lib/python3.2/test/lock_tests.py lib/python3.2/test/make_ssl_certs.py lib/python3.2/test/mapping_tests.py lib/python3.2/test/math_testcases.txt +lib/python3.2/test/mime.types lib/python3.2/test/mock_socket.py lib/python3.2/test/mp_fork_bomb.py +lib/python3.2/test/nokia.pem +lib/python3.2/test/nullbytecert.pem lib/python3.2/test/nullcert.pem lib/python3.2/test/outstanding_bugs.py lib/python3.2/test/pickletester.py @@ -3499,9 +3500,6 @@ lib/python3.2/test/subprocessdata/qcat.py lib/python3.2/test/subprocessdata/qgrep.py lib/python3.2/test/subprocessdata/sigchild_ignore.py lib/python3.2/test/support.py -lib/python3.2/test/mime.types -lib/python3.2/test/test_py_compile.py -lib/python3.2/test/nokia.pem lib/python3.2/test/test___all__.py lib/python3.2/test/test___future__.py lib/python3.2/test/test__locale.py @@ -3610,10 +3608,10 @@ lib/python3.2/test/test_exceptions.py lib/python3.2/test/test_extcall.py lib/python3.2/test/test_fcntl.py lib/python3.2/test/test_file.py +lib/python3.2/test/test_file_eintr.py lib/python3.2/test/test_filecmp.py lib/python3.2/test/test_fileinput.py lib/python3.2/test/test_fileio.py -lib/python3.2/test/test_file_eintr.py lib/python3.2/test/test_float.py lib/python3.2/test/test_flufl.py lib/python3.2/test/test_fnmatch.py @@ -3741,6 +3739,7 @@ lib/python3.2/test/test_property.py lib/python3.2/test/test_pstats.py lib/python3.2/test/test_pty.py lib/python3.2/test/test_pwd.py +lib/python3.2/test/test_py_compile.py lib/python3.2/test/test_pyclbr.py lib/python3.2/test/test_pydoc.py lib/python3.2/test/test_pyexpat.py @@ -4151,6 +4150,7 @@ lib/python3.2/warnings.py lib/python3.2/wave.py lib/python3.2/weakref.py lib/python3.2/webbrowser.py +lib/python3.2/wsgiref.egg-info lib/python3.2/wsgiref/__init__.py lib/python3.2/wsgiref/__pycache__/__init__.cpython-32.pyc lib/python3.2/wsgiref/__pycache__/__init__.cpython-32.pyo @@ -4169,7 +4169,6 @@ lib/python3.2/wsgiref/headers.py lib/python3.2/wsgiref/simple_server.py lib/python3.2/wsgiref/util.py lib/python3.2/wsgiref/validate.py -lib/python3.2/wsgiref.egg-info lib/python3.2/xdrlib.py lib/python3.2/xml/__init__.py lib/python3.2/xml/__pycache__/__init__.cpython-32.pyc @@ -4247,3 +4246,5 @@ lib/python3.2/xmlrpc/__pycache__/server.cpython-32.pyo lib/python3.2/xmlrpc/client.py lib/python3.2/xmlrpc/server.py lib/python3.2/zipfile.py +libdata/pkgconfig/python-3.2.pc +man/man1/python3.2.1.gz |