460 Commits

Author SHA256 Message Date
Dominique Leuenberger
1a89e27c82 Accepting request 645305 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/645305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=134
2018-12-10 11:21:19 +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
Dominique Leuenberger
6cb1aaa70d Accepting request 638809 from devel:languages:python:Factory
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/request/show/638809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=133
2018-10-02 17:41:22 +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
Dominique Leuenberger
1ac4794a8c Accepting request 611151 from devel:languages:python:Factory
- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

- update to 2.7.15
  * dozens of bugfixes, see NEWS for details
- removed obsolete patches:
  * python-ncurses-6.0-accessors.patch
  * python-fix-shebang.patch
  * gcc8-miscompilation-fix.patch
- add patch from upstream:
  * do-not-use-non-ascii-in-test_ssl.patch

OBS-URL: https://build.opensuse.org/request/show/611151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=132
2018-05-25 19:36:18 +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
Dominique Leuenberger
b5d9aa6c98 Accepting request 593955 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/593955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=131
2018-04-07 18:54:08 +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
Dominique Leuenberger
b02c1e2d33 Accepting request 578360 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/578360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=130
2018-02-25 11:19:49 +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
Dominique Leuenberger
473fe5982f Accepting request 573233 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/573233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=129
2018-02-09 14:43:50 +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
Dominique Leuenberger
7454a5d492 Accepting request 572016 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/572016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=128
2018-02-05 09:48:15 +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
Dominique Leuenberger
eb0cdb8685 Accepting request 571147 from devel:languages:python:Factory
- Add patch python-fix-shebang.patch to fix bsc#1078326

OBS-URL: https://build.opensuse.org/request/show/571147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=127
2018-02-01 20:25:39 +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
Dominique Leuenberger
fae4c9c6ed Accepting request 561149 from devel:languages:python:Factory
- exclude test_regrtest for s390, where it does not segfault as it should
  (fixes bsc#1073269)
- fix segfault while creating weakref - bsc#1073748, bpo#29347
  (this is actually fixed by the 2.7.14 update; mentioning this for purposes
  of bugfix tracking)

OBS-URL: https://build.opensuse.org/request/show/561149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=126
2018-01-06 17:45:50 +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
Dominique Leuenberger
9a5b66b8a8 Accepting request 544427 from devel:languages:python:Factory
- 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/request/show/544427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=125
2017-11-30 11:33:14 +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
Dominique Leuenberger
5fd92c7a72 Accepting request 538777 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/538777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=124
2017-11-10 13:37:24 +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
Dominique Leuenberger
3bd4735eaf Accepting request 527332 from devel:languages:python:Factory
1

OBS-URL: https://build.opensuse.org/request/show/527332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=123
2017-09-28 10:32:34 +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
Dominique Leuenberger
5a9a69da3e Accepting request 517921 from devel:languages:python:Factory
1

OBS-URL: https://build.opensuse.org/request/show/517921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=122
2017-08-29 09:36:03 +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
Dominique Leuenberger
eb03038310 Accepting request 482570 from devel:languages:python:Factory
1

OBS-URL: https://build.opensuse.org/request/show/482570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=121
2017-04-19 16:03:38 +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
Dominique Leuenberger
302ad2c36c Accepting request 448858 from devel:languages:python:Factory
- 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
- update python-2.7.10-overflow_check.patch
  with python-2.7.13-overflow_check.patch, incorporating upstream changes
- add "-fwrapv" to optflags explicitly because upstream code still
  relies on it in many places

- 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

OBS-URL: https://build.opensuse.org/request/show/448858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=120
2017-01-11 10:55:54 +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
Dominique Leuenberger
72dda7f316 Accepting request 405901 from devel:languages:python:Factory
- 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)
    CVE-2016-5699 httplib header injection (bsc#985348)
      (this one is actually fixed since 2.7.10)
- removed upstreamed python-2.7.7-mhlib-linkcount.patch
- refreshed multilib patch
- python-2.7.12-makeopcode.patch - run newly-built python interpreter
  to make opcodes, in order not to require pre-built python
- 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/request/show/405901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=119
2016-07-07 13:08:43 +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
Dominique Leuenberger
bc787ce1cf Accepting request 361136 from devel:languages:python:Factory
1

OBS-URL: https://build.opensuse.org/request/show/361136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=118
2016-02-28 01:26:10 +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
Stephan Kulow
bc41d3aa08 Accepting request 331039 from devel:languages:python:Factory
- copy strict-tls-checks subpackage from SLE to retain future compatibility
  (not built in openSUSE)
- do this properly to fix bnc#945401
- Add python-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/331039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=117
2015-09-19 04:52:47 +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