Up to [cvs.NetBSD.org] / pkgsrc / lang / python33
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove python33.
A few years ago, a brilliant mind decided to hard-code DT_RUNPATH for all platforms that use GNU ld. This is of course completely wrong. Some platforms have always implemented the sane semantic for DT_RPATH already and newer saw a reason for implementing the then-redundant DT_RUNPATH. Unbreak them by trusting the compiler to actually know what the platform default should be. Bump revision.
Add SHA512 digests for distfiles for lang category Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Fix build with LibreSSL. From: https://hg.python.org/cpython/rev/6f23bc5d480e and defuzz patches.
Fix a MAKE_JOBS safety problem. In the recipe for Python/importlib.h it launches a submake for _freeze_importlib before all the object files have been compiled. List $(LIBRARY_OBJS_OMIT_FROZEN) as dependencies to make it wait until it is safe to launch the submake. Should fix occasional errors of the sort: Python/Python-ast.o: file not recognized: File truncated *** [Modules/_freeze_importlib] Error code 1
Like the other versions of Python available in our tree, do not trim the library name on FreeBSD Resolves packing issue which causes the package to fail
Update to 3.3.6. Python 3.3.6 was released on October 11, 2014. Python 3.3.6 includes fixes for a few of our previously added patches, as well as other important security-related fixes. Local changes: rename the configure patch, remove now-included patches. Upstream list of changes for this version: Core and Builtins ----------------- - Issue #22518: Fixed integer overflow issues in "backslashreplace", "xmlcharrefreplace", and "surrogatepass" error handlers. - Issue #22520: Fix overflow checking when generating the repr of a unicode object. - Issue #22519: Fix overflow checking in PyBytes_Repr. - Issue #22518: Fix integer overflow issues in latin-1 encoding. Library ------- - Issue #22517: When a io.BufferedRWPair object is deallocated, clear its weakrefs. - Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes and send a 414 error code for higher lengths. Patch contributed by Devin Cook. - Lax cookie parsing in http.cookies could be a security issue when combined with non-standard cookie handling in some Web browsers. Reported by Sergey Bobrov. - Issue #21766: Prevent a security hole in CGIHTTPServer by URL unquoting paths before checking for a CGI script at that path. - Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second parameter. Bug reported by Guido Vranken. - Issue #20633: Replace relative import by absolute import. - Issue #21082: In os.makedirs, do not set the process-wide umask. Note this changes behavior of makedirs when exist_ok=True. - Issue #20875: Prevent possible gzip "'read' is not defined" NameError. Patch by Claudiu Popa. - Issue #11599: When an external command (e.g. compiler) fails, distutils now prints out the whole command line (instead of just the command name) if the environment variable DISTUTILS_DEBUG is set. - Issue #4931: distutils should not produce unhelpful "error: None" messages anymore. distutils.util.grok_environment_error is kept but doc-deprecated. - Issue #20283: RE pattern methods now accept the string keyword parameters as documented. The pattern and source keyword parameters are left as deprecated aliases. - Issue #21323: Fix http.server to again handle scripts in CGI subdirectories, broken by the fix for security issue #19435. Patch by Zach Byrne. Tests ----- - Issue #17752: Fix distutils tests when run from the installed location. - Issue #20946: Correct alignment assumptions of some ctypes tests. - Issue #20939: Fix test_geturl failure in test_urllibnet due to new redirect of http://www.python.org/ to https://www.python.org.
Pullup ticket #4441 - requested by he lang/python33: security patch Revisions pulled up: - lang/python33/Makefile 1.26 - lang/python33/distinfo 1.18 - lang/python33/patches/patch-Lib_http_server.py 1.1 - lang/python33/patches/patch-Lib_test_test__httpservers.py 1.1 - lang/python33/patches/patch-Misc_NEWS 1.1 --- Module Name: pkgsrc Committed By: he Date: Wed Jul 2 12:53:52 UTC 2014 Modified Files: pkgsrc/lang/python33: Makefile distinfo Added Files: pkgsrc/lang/python33/patches: patch-Lib_http_server.py patch-Lib_test_test__httpservers.py patch-Misc_NEWS Log Message: Add a fix, test-case and note for directory traversal vulnerability, ref. http://bugs.python.org/issue21766 Bump PKGREVISION.
Add a fix, test-case and note for directory traversal vulnerability, ref. http://bugs.python.org/issue21766 Bump PKGREVISION.
avoid conflicting declaration of gethostname on SunOS
Fix _multiprocessing import under DragonFly/amd64, fix packaging
Pullup ticket #4406 - requested by wiz lang/python33 OpenSSL security fix Revisions pulled up: - lang/python33/Makefile 1.24 - lang/python33/distinfo 1.15 - lang/python33/patches/patch-Lib_os.py 1.1 --- Module Name: pkgsrc Committed By: wiz Date: Thu May 15 12:33:10 UTC 2014 Modified Files: pkgsrc/lang/python33: Makefile distinfo Added Files: pkgsrc/lang/python33/patches: patch-Lib_os.py Log Message: Add fix for CVE-2014-2667. Bump PKGREVISION.
Add fix for CVE-2014-2667. Bump PKGREVISION.
fixes again, for the case pkgsrc openssl is prefered than builtin old openssl.
Fix building on OS X
Restrict to find openssl header files in SSLBASE/include. Fixes unwanted detection of builtin openssl over prefered pkgsrc one.
Disable spwd module, same as other python version. It is provided as devel/py-spwd in pkgsrc. Bump PKGREVISION.
Update to 3.3.5:
Python 3.3.5 was released on March 9th, 2014.
Python 3.3.5 includes fixes for these important issues:
a 3.3.4 regression in zipimport (see http://bugs.python.org/issue20621)
a 3.3.4 regression executing scripts with a coding declared
and Windows newlines (see http://bugs.python.org/issue20731)
potential DOS using compression codecs in bytes.decode() (see
http://bugs.python.org/issue19619 and
http://bugs.python.org/issue20404)
and also fixes quite a few other bugs.
This release fully supports OS X 10.9 Mavericks. In particular,
this release fixes an issue that could cause previous versions of
Python to crash when typing in interactive mode on OS X 10.9.
Pullup ticket #4320 - requested by obache lang/python33: security patch Revisions pulled up: - lang/python33/Makefile 1.14 - lang/python33/distinfo 1.8 - lang/python33/patches/patch-Modules_socketmodule.c 1.1 --- Module Name: pkgsrc Committed By: obache Date: Tue Feb 11 05:52:56 UTC 2014 Modified Files: pkgsrc/lang/python33: Makefile distinfo Added Files: pkgsrc/lang/python33/patches: patch-Modules_socketmodule.c Log Message: Fixes SA56624, taken from upstream. Bump PKGREVISION.
Changed 3.3.4: PEP 380, syntax for delegating to a subgenerator (yield from) PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds) A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications The import system (__import__) is based on importlib by default The new "lzma" module with LZMA/XZ support PEP 397, a Python launcher for Windows PEP 405, virtual environment support in core PEP 420, namespace package support PEP 3151, reworking the OS and IO exception hierarchy PEP 3155, qualified name for classes and functions PEP 409, suppressing exception context PEP 414, explicit Unicode literals to help with porting PEP 418, extended platform-independent clocks in the "time" module PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code PEP 362, the function-signature object The new "faulthandler" module that helps diagnosing crashes The new "unittest.mock" module The new "ipaddress" module The "sys.implementation" attribute A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing A "collections.ChainMap" class for linking mappings to a single unit Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()" Hash randomization, introduced in earlier bugfix releases, is now switched on by default
Fixes SA56624, taken from upstream. Bump PKGREVISION.
Changes 3.3.3: PEP 380, syntax for delegating to a subgenerator (yield from) PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds) A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications The import system (__import__) is based on importlib by default The new "lzma" module with LZMA/XZ support PEP 397, a Python launcher for Windows PEP 405, virtual environment support in core PEP 420, namespace package support PEP 3151, reworking the OS and IO exception hierarchy PEP 3155, qualified name for classes and functions PEP 409, suppressing exception context PEP 414, explicit Unicode literals to help with porting PEP 418, extended platform-independent clocks in the "time" module PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code PEP 362, the function-signature object The new "faulthandler" module that helps diagnosing crashes The new "unittest.mock" module The new "ipaddress" module The "sys.implementation" attribute A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing A "collections.ChainMap" class for linking mappings to a single unit Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()" Hash randomization, introduced in earlier bugfix releases, is now switched on by default
Always pass rpath argument with -Wl prefix, especially if clang is not called gcc. Bump revision.
Copy the patch which disables use of Posix semaphores on NetBSD from Python2 to Python3. Without that, selftests fail in multiple places. bump PKGREV
Fixes: * building some modules (lzma) on Darwin (use PREFIX, instead of /usr/local, to look for libraries) * building decimal module on certain enviroments (use relative path to look for includes, as absolute path might get rejected by a wrapper)
Update to 3.3.2: 3.3.2 This release fixes a few regressions found in Python 3.3.1. Complete list at http://docs.python.org/release/3.3.2/whatsnew/changelog.html 3.3.1 This is a 3.3 series bugfix release. It includes hundreds of bugfixes over 3.3.0. Complete list at http://docs.python.org/release/3.3.1/whatsnew/changelog.html
Fix syntax error.
Add Python 3.3.0