Commit Graph

116 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
Jan Matejek
9877de58c4 Accepting request 266105 from home:Andreas_Schwab:Factory
- python-2.7.4-aarch64.patch: Remove obsolete patch
- python-2.7-libffi-aarch64.patch: Fix argument passing in libffi for
  aarch64

OBS-URL: https://build.opensuse.org/request/show/266105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=173
2014-12-22 16:49:53 +00:00
Jan Matejek
680cb721f9 * SSLv3 disabled by default (bnc#901715)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=172
2014-12-18 13:05:24 +00:00
Jan Matejek
cc099c9e1e - update to 2.7.9
* contains full backport of ssl module from Python 3.4 (PEP466)
  * HTTPS certificate validation enabled by default (PEP476)
  * SSLv3 disabled by default
  * backported ensurepip module (PEP477)
  * fixes several missing CVEs from last release: CVE-2013-1752,
    CVE-2013-1753
  * dozens of minor bugfixes
- dropped upstreamed patches: python-2.7.6-poplib.patch,
  smtplib_maxline-2.7.patch, xmlrpc_gzip_27.patch
- dropped patch python-2.7.3-ssl_ca_path.patch because we don't need it
  with ssl module from Python 3
- libffi was upgraded upstream, seems to contain our changes,
  so dropping libffi-ppc64le.diff as well
- python-2.7-urllib2-localnet-ssl.patch - properly remove unconditional
  "import ssl" from test_urllib2_localnet that caused it to fail without ssl
- drop HTML doc tarball, build HTML documentation from source

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=170
2014-12-15 15:06:19 +00:00
Jan Matejek
0a6b898b31 Accepting request 257990 from home:dirkmueller:branches:devel:languages:python:Factory
- skip test_thread in qemu_linux_user mode

OBS-URL: https://build.opensuse.org/request/show/257990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=169
2014-10-22 13:32:56 +00:00
Jan Matejek
ad45ed7669 - update to 2.7.8
* bugfix-only release, dozens of bugs fixed
  * fixes CVE-2014-4650 directory traversal in CGIHTTPServer
  * fixes CVE-2014-7185 (bnc#898572) potential buffer overflow in buffer()
- dropped upstreamed CVE-2014-4650-CGIHTTPserver-traversal.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=167
2014-09-30 15:34:42 +00:00
Jan Matejek
13e614b70b - CVE-2014-4650-CGIHTTPServer-traversal.patch: CGIHTTPServer file
disclosure and directory traversal through URL-encoded characters
  (CVE-2014-4650, bnc#885882)
- python-2.7.7-mhlib-linkcount.patch: remove link count optimizations
  that are incorrect on btrfs (and possibly other filesystems)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=166
2014-07-24 14:33:34 +00:00
Jan Matejek
71551512cd - update to 2.7.7
* bugfix-only release, over a hundred bugs fixed
  * backported hmac.compare_digest from python3, first step of PEP 466
- drop upstreamed patches:
  * CVE-2014-1912-recvfrom_into.patch
  * python-2.7.4-no-REUSEPORT.patch
  * python-2.7.6-bdist-rpm.patch
  * python-2.7.6-imaplib.patch
  * python-2.7.6-sqlite-3.8.4-tests.patch
- refresh patches:
  * python-2.7.3-ssl_ca_path.patch
  * python-2.7.4-canonicalize2.patch
  * xmlrpc_gzip_27.patch
- added python keyring and signature for the main tarball

- update to 2.7.7

- update to 2.7.7
  * bugfix-only release, over a hundred bugs fixed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=165
2014-06-20 13:47:06 +00:00
Jan Matejek
b15d1e2b45 Accepting request 226488 from home:Andreas_Schwab:Factory
- Use profile-opt only when profiling is enabled
- python-2.7.2-disable-tests-in-test_io.patch: removed, no longer needed
- update testsuite exclusion list:
  * test_signal and test_posix fail due to qemu bugs

OBS-URL: https://build.opensuse.org/request/show/226488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=164
2014-03-17 17:14:24 +00:00
Jan Matejek
5a079e8806 Accepting request 226022 from home:AndreasStieger:branches:devel:languages:python:Factory
Fix build with SQLite 3.8.4 [bnc#867887], fixing SQLite tests

OBS-URL: https://build.opensuse.org/request/show/226022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=163
2014-03-17 16:14:14 +00:00
Jan Matejek
11f0210274 - CVE-2014-1912-recvfrom_into.patch: fix potential buffer overflow
in socket.recvfrom_into (CVE-2014-1912, bnc#863741)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=161
2014-02-13 16:49:05 +00:00
Jan Matejek
765b7c8fe4 - python-2.7.6-bdist-rpm.patch: fix broken "setup.py bdist_rpm" command
(bnc#857470, issue18045)
- multilib patch: add "~/.local/lib64" paths to search path
  (bnc#637176)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=160
2014-02-11 19:29:19 +00:00
Jan Matejek
4f815b3251 - added patches for CVE-2013-1752 (bnc#856836) issues that are
missing in 2.7.6:
  python-2.7.6-imaplib.patch
  python-2.7.6-poplib.patch
  smtplib_maxline-2.7.patch
- CVE-2013-1753 (bnc#856835) gzip decompression bomb in xmlrpc client:
  xmlrpc_gzip_27.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=159
2014-02-10 14:35:47 +00:00
Sascha Peilicke
73549b66f0 Accepting request 213741 from openSUSE:Factory:PowerLE
- Add Obsoletes/Provides for python-ctypes.

OBS-URL: https://build.opensuse.org/request/show/213741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=158
2014-01-14 10:02:19 +00:00
Jan Matejek
87ae076e4e Accepting request 209702 from openSUSE:Factory:PowerLE
Please submit to factory.
- Ignore uuid testcase in the testsuite, it relies on unreliable
  ifconfig output.

OBS-URL: https://build.opensuse.org/request/show/209702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=157
2014-01-02 13:28:57 +00:00
Sascha Peilicke
ea9eb9ef07 Accepting request 209414 from openSUSE:Factory:PowerLE
Fix python for ppc64le, please forward to factory asap

OBS-URL: https://build.opensuse.org/request/show/209414
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=156
2013-12-06 10:30:57 +00:00
Jan Matejek
5b3091d163 complete the previous commit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=155
2013-11-26 16:14:13 +00:00
Jan Matejek
89a17d80b1 - update to 2.7.6
* bugfix-only release
  * SSL-related fixes
  * upstream fix for CVE-2013-4238
  * upstream fixes for CVE-2013-1752

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=153
2013-11-21 15:55:48 +00:00
Sascha Peilicke
e210a1f9aa Accepting request 202906 from devel:ARM:Factory
- exclude test_mmap under qemu_linux_user - emulation fails here
  as the tests mmap address conflicts with qemu

OBS-URL: https://build.opensuse.org/request/show/202906
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=152
2013-10-11 08:23:43 +00:00
Sascha Peilicke
5b1624f712 Accepting request 182602 from home:jengelh:db6
- Add python-bsddb6.diff to support building against libdb-6.0

OBS-URL: https://build.opensuse.org/request/show/182602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=147
2013-07-15 08:03:24 +00:00