Commit Graph

222 Commits

Author SHA256 Message Date
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
Jan Matejek
46580c6555 - for SLE 12 SP1, disable SSL verification-by-default for backwards
compatibility (python-2.7.9-sles-disable-verification-by-default.patch)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=178
2015-05-21 13:58:17 +00:00
Jan Matejek
19fa21847c Accepting request 307908 from home:fstrba:freetype2
Revert the freetype2-bootstrap change, since it does not work

OBS-URL: https://build.opensuse.org/request/show/307908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=177
2015-05-21 13:52:43 +00:00
Jan Matejek
f19acd10ab Accepting request 305779 from home:fstrba:freetype2
For factory, build against the new freetype2-bootstrap package and avoid OBS build cycles

OBS-URL: https://build.opensuse.org/request/show/305779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=175
2015-05-11 14:16:17 +00:00
Jan Matejek
3bc216a11c - python-2.7.9-ssl_ca_path.patch - reintroduce support for CA directory path
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=174
2015-02-25 16:42:06 +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
bedd13ad31 - set fixed doc build date, lower sphinx requirement (for older openSUSE)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=171
2014-12-17 13:10:23 +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
ded2328edd Accepting request 257573 from home:elvigia:branches:devel:languages:python:Factory
- Only pkgconfig(x11) is required for build,not xorg-x11-devel.

OBS-URL: https://build.opensuse.org/request/show/257573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=168
2014-10-20 11:39:34 +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
fa1bcb4632 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=162 2014-02-13 17:06:03 +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
efd14d9baf OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=154 2013-11-22 16:53:15 +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
e297af7f87 Accepting request 199755 from home:elvigia:branches:devel:languages:python:Factory
- build with -DOPENSSL_LOAD_CONF so python honours 
 the system's openSSL configuration if any, allowing it to
 benefit from openssl ENGINE functionality.

OBS-URL: https://build.opensuse.org/request/show/199755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=151
2013-09-25 11:18:07 +00:00