Commit Graph

100 Commits

Author SHA256 Message Date
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
Sascha Peilicke
472801f247 Accepting request 182401 from openSUSE:Factory:Core
- have python-devel require python:
  http://lists.opensuse.org/opensuse-factory/2013-06/msg00622.html

Note that talloc and libxml2 need to be in factory before this

OBS-URL: https://build.opensuse.org/request/show/182401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=146
2013-07-08 13:12:23 +00:00
Sascha Peilicke
4c9ece027a Accepting request 181629 from home:Andreas_Schwab:Factory
- Disable test_multiprocessing in QEmu build

OBS-URL: https://build.opensuse.org/request/show/181629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=145
2013-07-02 08:17:32 +00:00
Jan Matejek
e6418348cd Accepting request 181155 from home:Andreas_Schwab:Factory
- Disable test_asyncore in QEmu build
- Reenable testsuite on arm

OBS-URL: https://build.opensuse.org/request/show/181155
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=144
2013-06-27 16:01:09 +00:00
Jan Matejek
4541ffca4e Accepting request 177274 from home:matejcik:dev
- python-2.7.4-aarch64.patch: add missing bits of aarch64 support
- python-2.7.4-no-REUSEPORT.patch: disable test of
  missing kernel functionality
- drop unnecessary patch: python-2.7.1-distutils_test_path.patch
- switch to xz archive

OBS-URL: https://build.opensuse.org/request/show/177274
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=142
2013-06-03 15:40:08 +00:00
Jan Matejek
58c938cba7 Accepting request 176926 from home:saschpe:branches:devel:languages:python:Factory
- Update to version 2.7.5:
  + Issue #15535: Fixed regression in the pickling of named tuples by
    removing the __dict__ property introduced in 2.7.4.
  + Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
    such as was shipped with Centos 5 and Mac OS X 10.4.
  + Issue #17703: Fix a regression where an illegal use of Py_DECREF() after
    interpreter finalization can cause a crash.
  + Issue #16447: Fixed potential segmentation fault when setting __name__ on a
    class.
  + Issue #17610: Don't rely on non-standard behavior of the C qsort() function. 12 
  See http://hg.python.org/cpython/file/ab05e7dd2788/Misc/NEWS for more
- Drop upstreamed patches:
  + python-2.7rc2-configure.patch
  + python-2.7.3-multiprocessing-join.patch
  + ctypes-libffi-aarch64.patch
  + python-2.7.3-fix-dbm-64bit-bigendian.patch
  + python-test_structmembers.patch
- Rebased other patches

- Update to version 2.7.5:
  + Issue #15535: Fixed regression in the pickling of named tuples by
    removing the __dict__ property introduced in 2.7.4.
  + Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
    such as was shipped with Centos 5 and Mac OS X 10.4.
  + Issue #17703: Fix a regression where an illegal use of Py_DECREF() after
    interpreter finalization can cause a crash.
  + Issue #16447: Fixed potential segmentation fault when setting __name__ on a
    class.
  + Issue #17610: Don't rely on non-standard behavior of the C qsort() function. 12 
  See http://hg.python.org/cpython/file/ab05e7dd2788/Misc/NEWS for more

OBS-URL: https://build.opensuse.org/request/show/176926
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=141
2013-06-03 10:24:54 +00:00
Sascha Peilicke
e3f7011a45 Accepting request 175238 from home:dirkmueller:branches:devel:languages:python:Factory
- add aarch64 to the list of 64-bit platforms 
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/request/show/175238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=139
2013-05-13 09:28:28 +00:00
Jan Matejek
fbe895940c - update to 2.7.4
* bugfix-only release
- drop upstreamed patches:
    pypirc-secure.diff
    python-2.7.3-multiprocessing-join.patch
    ctypes-libffi-aarch64.patch
- drop python-2.7rc2-configure.patch as it doesn't seem necessary anymore

- removed %docdir/python/README from package (conflict with python-base)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=137
2013-05-09 16:15:40 +00:00
Jan Matejek
3f16f9c855 Accepting request 162848 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

- Add Source URL, see https://en.opensuse.org/SourceUrls
- Fix installation so we don't create double sub-directories

- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/162848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=136
2013-04-05 15:26:42 +00:00
Sascha Peilicke
f0434c3a5b Accepting request 156732 from home:Andreas_Schwab:Factory
- Add aarch64 to the list of lib64 platforms

OBS-URL: https://build.opensuse.org/request/show/156732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=135
2013-02-28 08:44:28 +00:00
Jan Matejek
5be43c0452 Accepting request 155551 from home:Andreas_Schwab:Factory
- Add ctypes-libffi-aarch64.patch: import aarch64 support for libffi in
  _ctypes module

OBS-URL: https://build.opensuse.org/request/show/155551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=133
2013-02-18 16:21:05 +00:00
Jan Matejek
7c3370e837 - multiprocessing: thread joining itself (bnc#747794)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=132
2013-02-08 15:13:03 +00:00
Jan Matejek
1b714c33b3 - gettext: fix cases where no bundle is found (bnc#794139)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=131
2013-02-06 19:02:27 +00:00
Jan Matejek
f335b9efae Accepting request 139264 from home:coolo:branches:openSUSE:Factory
(forwarded request 139263 from coolo)

OBS-URL: https://build.opensuse.org/request/show/139264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=130
2012-10-25 16:13:51 +00:00
Factory Maintainer
db446870cd Accepting request 138185 from home:coolo:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/138185
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=129
2012-10-16 05:26:27 +00:00
Jan Matejek
37356310c6 - remove distutils.cfg (bnc#658604)
* this changes default prefix for distutils to /usr
  * see ML for details:
http://lists.opensuse.org/opensuse-packaging/2012-09/msg00254.html

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=127
2012-10-08 16:17:52 +00:00
Jan Matejek
a5bf6b85c9 Accepting request 129866 from home:dimstar:branches:devel:languages:python:Factory
gettext: also find locale files in /usr/share/bundle-locale. Fixes issues like bnc#617751, where bundle-lang-gnome-<xx> is installed, provides the .mo file, yet the python app does not translate. Installing <app>-lang would solve the issues, but would work against our bundle-lang package strategy... suggestive, this should also  be ported to 12.2

OBS-URL: https://build.opensuse.org/request/show/129866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=125
2012-08-06 16:21:50 +00:00