9abff58a55
Testing S12merge
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=258
2019-11-12 14:04:49 +00:00
Tomáš Chvátal
00800c2a14
Accepting request 745290 from home:StevenK:branches:devel:languages:python:Factory
...
- Add adapted-from-F00251-change-user-install-location.patch fixing
pip/distutils to install into /usr/local.
OBS-URL: https://build.opensuse.org/request/show/745290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=257
2019-11-05 07:55:07 +00:00
5167eaaa6a
Accepting request 742619 from home:mcepl:branches:devel:languages:python:Factory
...
- Update to 2.7.17:
- a bug fix release in the Python 2.7.x series. It is expected
to be the penultimate release for Python 2.7.
- Removed patches included upstream:
- CVE-2018-20852-cookie-domain-check.patch
- CVE-2019-16935-xmlrpc-doc-server_title.patch
- CVE-2019-9636-netloc-no-decompose-characters.patch
- CVE-2019-9947-no-ctrl-char-http.patch
- CVE-2019-9948-avoid_local-file.patch
OBS-URL: https://build.opensuse.org/request/show/742619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=255
2019-10-24 14:12:02 +00:00
Tomáš Chvátal
f5ffed7eba
Accepting request 736435 from home:mcepl:branches:devel:languages:python:Factory
...
- Add CVE-2019-16935-xmlrpc-doc-server_title.patch fixing
bsc#1153238 (aka CVE-2019-16935) fixing a reflected XSS in
python/Lib/DocXMLRPCServer.py
OBS-URL: https://build.opensuse.org/request/show/736435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=253
2019-10-09 10:17:50 +00:00
Tomáš Chvátal
e4bf1a5dfb
Accepting request 733188 from home:bmwiedemann:branches:devel:languages:python:Factory
...
Add bpo36302-sort-module-sources.patch (boo#1041090)
similar to SR 733152
OBS-URL: https://build.opensuse.org/request/show/733188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=251
2019-09-25 15:35:20 +00:00
Tomáš Chvátal
8d87a05715
Accepting request 724264 from home:jayvdb:branches:devel:languages:python:Factory
...
Remove xrpm from subpackage tk description
OBS-URL: https://build.opensuse.org/request/show/724264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=249
2019-08-18 07:24:48 +00:00
4a730b55c6
Accepting request 717086 from home:mcepl:branches:devel:languages:python:Factory
...
Add CVE patch.
OBS-URL: https://build.opensuse.org/request/show/717086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=247
2019-07-19 12:54:06 +00:00
Tomáš Chvátal
f532ba5ac3
- Skip test_urllib2_localnet that randomly fails in OBS
...
- Skip test_urllib2_localnet that randomly fails in OBS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=246
2019-07-19 11:20:26 +00:00
Tomáš Chvátal
9002c333c4
Accepting request 706251 from openSUSE:Factory:Staging:N
...
- Set _lto_cflags to nil as it will prevent to propage LTO
for Python modules that are built in a separate package.
- Set _lto_cflags to nil as it will prevent to propage LTO
for Python modules that are built in a separate package.
OBS-URL: https://build.opensuse.org/request/show/706251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=244
2019-05-29 09:09:16 +00:00
2f5ed5b585
Accepting request 700428 from home:mcepl:branches:devel:languages:python:Factory
...
- bsc#1130840 (CVE-2019-9947): add CVE-2019-9947-no-ctrl-char-http.patch
Address the issue by disallowing URL paths with embedded
whitespace or control characters through into the underlying
http client request. Such potentially malicious header
injection URLs now cause a ValueError to be raised.
OBS-URL: https://build.opensuse.org/request/show/700428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=243
2019-05-03 15:46:24 +00:00
88ffffeead
Accepting request 692400 from home:mcepl:branches:devel:languages:python:Factory
...
- bsc#1130847 (CVE-2019-9948) add CVE-2019-9948-avoid_local-file.patch
removing unnecessary (and potentially harmful) URL scheme
local-file://.
- bsc#1129346: add CVE-2019-9636-netloc-no-decompose-characters.patch
Characters in the netloc attribute that decompose under NFKC
normalization (as used by the IDNA encoding) into any of ``/``,
``?``, ``#``, ``@``, or ``:`` will raise a ValueError. If the
URL is decomposed before parsing, or is not a Unicode string,
no error will be raised.
Upstream commits e37ef41 and 507bd8c.
- Update to 2.7.16:
* bugfix-only release: complete list of changes on
https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.16rc1.rst
* Removed openssl-111.patch and CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch
which are fully included in the tarball.
* Updated patches to apply cleanly:
CVE-2019-5010-null-defer-x509-cert-DOS.patch
bpo36160-init-sysconfig_vars.patch
do-not-use-non-ascii-in-test_ssl.patch
openssl-111-middlebox-compat.patch
openssl-111-ssl_options.patch
python-2.5.1-sqlite.patch
python-2.6-gettext-plurals.patch
python-2.7-dirs.patch
python-2.7.2-fix_date_time_compiler.patch
python-2.7.4-canonicalize2.patch
python-2.7.5-multilib.patch
python-2.7.9-ssl_ca_path.patch
OBS-URL: https://build.opensuse.org/request/show/692400
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=241
2019-04-08 22:40:36 +00:00
c457f4f6ba
- bsc#1122191: add CVE-2019-5010-null-defer-x509-cert-DOS.patch
...
fixing bpo-35746.
An exploitable denial-of-service vulnerability exists in the
X509 certificate parser of Python.org Python 2.7.11 / 3.7.2.
A specially crafted X509 certificate can cause a NULL pointer
dereference, resulting in a denial of service. An attacker can
initiate or accept TLS connections using crafted certificates
to trigger this vulnerability.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=239
2019-01-20 01:08:59 +00:00
228d743281
Accepting request 660118 from home:TheBlackCat:branches:devel:languages:python:Factory
...
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros.
OBS-URL: https://build.opensuse.org/request/show/660118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=237
2018-12-20 00:22:31 +00:00
Tomáš Chvátal
a74bb24131
Accepting request 645303 from home:vitezslav_cizek:branches:devel:languages:python:Factory
...
- Enable all the tests in %check
- Add more patches to successfully build with openssl 1.1.1
(bsc#1113755)
* openssl-111-middlebox-compat.patch
* openssl-111-ssl_options.patch
OBS-URL: https://build.opensuse.org/request/show/645303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=235
2018-10-29 15:14:27 +00:00
Tomáš Chvátal
20d7b72031
- Add patch openssl-111.patch to work with openssl-1.1.1
...
- Add patch openssl-111.patch to work with openssl-1.1.1
- Add patch openssl-111.patch to work with openssl-1.1.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=234
2018-10-26 12:53:54 +00:00
9eba14b8c5
- Apply "CVE-2018-1000802-shutil_use_subprocess_no_spawn.patch" which
...
converts shutil._call_external_zip to use subprocess rather than
distutils.spawn. [bsc#1109663, CVE-2018-1000802]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=232
2018-09-27 14:11:14 +00:00
Tomáš Chvátal
a253d3727a
* dozens of bugfixes, see NEWS for details
...
- add patch from upstream:
* do-not-use-non-ascii-in-test_ssl.patch
* dozens of bugfixes, see NEWS for details
- add patch from upstream:
* do-not-use-non-ascii-in-test_ssl.patch
* dozens of bugfixes, see NEWS for details
- add patch from upstream:
* do-not-use-non-ascii-in-test_ssl.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=230
2018-05-22 08:07:44 +00:00
Tomáš Chvátal
1e548f3452
Accepting request 611078 from home:stroeder:branches:devel:languages:python:Factory
...
update to 2.7.15
OBS-URL: https://build.opensuse.org/request/show/611078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=229
2018-05-22 08:06:13 +00:00
Tomáš Chvátal
7fc40ecb9b
Accepting request 593954 from home:marxin:branches:devel:languages:python:Factory
...
- Add gcc8-miscompilation-fix.patch (boo#1084650).
OBS-URL: https://build.opensuse.org/request/show/593954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=227
2018-04-06 10:15:40 +00:00
Tomáš Chvátal
461b84379a
Accepting request 578354 from home:bmwiedemann:reproducible
...
Add python-sorted_tar.patch (boo#1081750)
OBS-URL: https://build.opensuse.org/request/show/578354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=225
2018-02-20 13:42:29 +00:00
Tomáš Chvátal
82f2fe190c
Accepting request 573219 from home:michel_mno:branches:devel:languages:python:Factory
...
- exclude test_socket & test_subprocess for PowerPC boo#1078485
(same ref as previous change)
OBS-URL: https://build.opensuse.org/request/show/573219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=223
2018-02-06 09:03:38 +00:00
Tomáš Chvátal
aa4187efd5
Accepting request 572013 from home:michel_mno:branches:devel:languages:python:Factory
...
- Add python-skip_random_failing_tests.patch bypass boo#1078485
and exclude many tests for PowerPC
OBS-URL: https://build.opensuse.org/request/show/572013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=221
2018-02-02 12:44:43 +00:00
Tomáš Chvátal
9cc8a2d881
- Add patch python-fix-shebang.patch to fix bsc#1078326
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=219
2018-01-30 16:10:19 +00:00
Jan Matejek
de4df0721d
(fixes bsc#1073269)
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=217
2018-01-02 15:38:55 +00:00
Jan Matejek
4f2570c3f1
- exclude test_regrtest for s390, where it does not segfault as it should
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=216
2018-01-02 15:34:11 +00:00
Jan Matejek
978021f10d
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=214
2017-11-22 15:01:47 +00:00
Jan Matejek
70d78d4e2f
- update to 2.7.14
...
* dozens of bugfixes, see NEWS for details
* fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
* fixed segfaults with dict mutated during search
* fixed possible free-after-use problems with buffer objects with custom indexing
* fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch
- update to 2.7.14
* dozens of bugfixes, see NEWS for details
* fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
* fixed segfaults with dict mutated during search
* fixed possible free-after-use problems with buffer objects with custom indexing
* fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch
- update to 2.7.14
* dozens of bugfixes, see NEWS for details
* fixed possible integer overflow in PyString_DecodeEscape (CVE-2017-1000158, bsc#1068664)
* fixed segfaults with dict mutated during search
* fixed possible free-after-use problems with buffer objects with custom indexing
* fixed urllib.splithost to correctly parse fragments (bpo-30500)
- drop upstreamed python-2.7.13-overflow_check.patch
- drop unneeded python-2.7.12-makeopcode.patch
- drop upstreamed 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=213
2017-11-21 18:28:14 +00:00
Jan Matejek
1482566264
Accepting request 538481 from home:pluskalm:branches:devel:languages:python:Factory
...
- Call python2 instead of python in macros
OBS-URL: https://build.opensuse.org/request/show/538481
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=211
2017-11-03 14:32:45 +00:00
Jan Matejek
79ff2b8efe
Accepting request 527330 from home:vitezslav_cizek:branches:devel:languages:python:Factory
...
Fix patch name in changelog to pass Factory checkers
* add 0001-2.7-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3094.patch
OBS-URL: https://build.opensuse.org/request/show/527330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=209
2017-09-19 14:51:05 +00:00
Jan Matejek
7cbe1492c5
Accepting request 526160 from home:vitezslav_cizek:branches:devel:languages:python:Factory
...
- Fix test broken with OpenSSL 1.1 (bsc#1042670)
* add 0001-3.6-bpo-30714-ALPN-changes-for-OpenSSL-1.1.0f-3093.patch
OBS-URL: https://build.opensuse.org/request/show/526160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=208
2017-09-19 14:28:25 +00:00
Jan Matejek
0b843a9f57
- obsolete/provide python-argparse and provide python2-argparse,
...
because the argparse module is available from python 2.7 up
- drop SUSE_ASNEEDED=0 as it is not needed anymore
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=206
2017-08-28 13:29:37 +00:00
Jan Matejek
acb48c1f8a
Accepting request 517529 from home:kukuk:branches:devel:languages:python:Factory
...
- Add libnsl-devel build requires for glibc obsoleting libnsl
- Add libnsl-devel build requires for glibc obsoleting libnsl
OBS-URL: https://build.opensuse.org/request/show/517529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=205
2017-08-21 12:25:25 +00:00
Jan Matejek
536145348f
Accepting request 478704 from home:bmwiedemann:reproducible:test
...
- Add reproducible.patch to allow reproducible builds of various
python packages like python-amqp
Upstream: https://github.com/python/cpython/pull/296
OBS-URL: https://build.opensuse.org/request/show/478704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=203
2017-03-24 17:13:29 +00:00
Jan Matejek
e76bc8d64f
- update python-2.7.10-overflow_check.patch
...
with python-2.7.13-overflow_check.patch, incorporating upstream changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=201
2017-01-05 11:54:43 +00:00
Jan Matejek
3a2ae521f8
* dozens of bugfixes, see NEWS for details
...
* updated cipher lists for openssl wrapper, support openssl >= 1.1.0
* properly fix HTTPoxy (CVE-2016-1000110)
* profile-opt build now applies PGO to modules as well
- drop python-2.7.10-overflow_check.patch which is solved in upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=200
2017-01-03 17:42:38 +00:00
Jan Matejek
1ca0d56f57
- update to 2.7.13
...
* dozens of bugfixes, see NEWS for details
* updated cipher lists for openssl wrapper, support openssl >= 1.1.0
* properly fix HTTPoxy (CVE-2016-1000110)
* profile-opt build now applies PGO to modules as well
- drop python-2.7.10-overflow_check.patch which is solved in upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=199
2017-01-03 17:42:02 +00:00
Jan Matejek
f21ffdf240
- provide python2-* symbols, for support of new packages built as
...
python2-foo
- rename macros.python to macros.python2 accordingly
- require python-rpm-macros package, drop macro definitions from
macros.python2
- provide python2-* symbols, for support of new packages built as
python2-foo
- provide python2-* symbols, for support of new packages built as
python2-foo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=198
2016-12-02 15:37:55 +00:00
Jan Matejek
23d372d986
CVE-2016-5699 httplib header injection (bsc#985348)
...
(this one is actually fixed since 2.7.10)
CVE-2016-5699 httplib header injection (bsc#985348)
(this one is actually fixed since 2.7.10)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=196
2016-07-01 13:16:46 +00:00
Jan Matejek
3d29b362e3
CVE-2016-5699 httplib header injection (bsc#985348)
...
(this one is actually fixed since 2.7.10)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=195
2016-07-01 13:15:24 +00:00
Jan Matejek
95238b7fc9
- update LD_LIBRARY_PATH to use $PWD instead of "." because the test
...
process escapes to its own directory
- modify shebang-fixing scriptlet to ignore makeopcodetargets.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=194
2016-06-30 13:10:14 +00:00
Jan Matejek
05220bdba0
- python-2.7.12-makeopcode.patch - run newly-built python interpreter
...
to make opcodes, in order not to require pre-built python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=193
2016-06-30 12:56:08 +00:00
Jan Matejek
91b628d395
- update to 2.7.12
...
* dozens of bugfixes, see NEWS for details
* fixes multiple security issues:
CVE-2016-0772 TLS stripping attack on smtplib (bsc#984751)
CVE-2016-5636 zipimporter heap overflow (bsc#985177)
- removed upstreamed python-2.7.7-mhlib-linkcount.patch
- refreshed multilib patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=192
2016-06-30 10:50:57 +00:00
Jan Matejek
1e93af4043
Accepting request 361067 from openSUSE:Factory:Staging:Gcc6
...
- Add python-2.7.10-overflow_check.patch to fix broken overflow checks.
[bnc#964182]
OBS-URL: https://build.opensuse.org/request/show/361067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=190
2016-02-23 15:31:19 +00:00
Jan Matejek
c890c9fda8
- copy strict-tls-checks subpackage from SLE to retain future compatibility
...
(not built in openSUSE)
- do this properly to fix bnc#945401
- implement python-strict-tls-checks subpackage
* when present, Python will perform TLS certificate checking by default.
it is possible to remove the package to turn off the checks
for compatibility with legacy scripts.
* as discussed in fate#318300
* this is not built for openSUSE, but retained here in case we want
to build the package for a SLE system
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=188
2015-09-14 15:36:31 +00:00
Dominique Leuenberger
fd8094b044
Accepting request 330364 from home:dimstar:Factory
...
Fixup last changes entry... too much copy-paste while fixing all the packages; sorry
OBS-URL: https://build.opensuse.org/request/show/330364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=187
2015-09-11 08:41:53 +00:00
Jan Matejek
7f32046662
Accepting request 330043 from home:dimstar:Factory
...
- Add python3-ncurses-6.0-accessors.patch: Fix build with
NCurses 6.0 and OPAQUE_WINDOW set to 1.
- Add python3-ncurses-6.0-accessors.patch: Fix build with
NCurses 6.0 and OPAQUE_WINDOW set to 1.
OBS-URL: https://build.opensuse.org/request/show/330043
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=186
2015-09-10 14:02:25 +00:00
Jan Matejek
08c864955f
Accepting request 311436 from home:dirkmueller:branches:devel:languages:python:Factory
...
- add __python2 compatibility macro (used by Fedora)
OBS-URL: https://build.opensuse.org/request/show/311436
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=184
2015-06-10 17:15:11 +00:00
Jan Matejek
216e03b9de
proper uploads for doc files
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=182
2015-06-02 16:10:37 +00:00
Jan Matejek
6ab14a1a5b
Accepting request 308528 from home:stroeder:branches:devel:languages:python:Factory
...
update to 2.7.10, tested on Tumbleweed x86_64
OBS-URL: https://build.opensuse.org/request/show/308528
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=181
2015-06-02 14:52:07 +00:00
Jan Matejek
7825b670ab
Accepting request 307974 from home:Andreas_Schwab:Factory
...
- Reenable test_posix on aarch64
OBS-URL: https://build.opensuse.org/request/show/307974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=179
2015-05-21 15:02:40 +00:00