Commit Graph

2934 Commits

Author SHA1 Message Date
Rosen Penev bf3b6af205
Merge pull request #13131 from jefferyto/python-pip-hash-checking
python3: Use hash-checking mode when installing host pip packages
2020-08-18 14:11:32 -07:00
Rosen Penev e4885ea55c
Merge pull request #13144 from jefferyto/python-cffi-1.14.2
python-cffi: Update to 1.14.2
2020-08-18 00:28:01 -07:00
Jeffery To 722a5b8efa
python3: Use hash-checking mode when installing host pip packages
In hash-checking mode[1], pip will verify downloaded package archives
(source tarballs in our case) against known SHA256 hashes before
installing the packages.

As a consequence, this requires the use of requirements files[2] and
pinning packages to known versions.

The syntax for package Makefiles has changed slightly;
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS no longer accepts requirement
specifiers like "foo>=1.0", only requirements file names (which are the
same as package names in the most common case).

This also updates affected packages, in particular:

* python-zipp: "setuptools_scm[toml]" has been split into
  "setuptools-scm toml" to reuse the requirements file for
  setuptools-scm (the extra depends installed by "setuptools_scm[toml]"
  is toml).

* python-pycparser: This previously used ply 3.10, whereas the
  requirements file will now install 3.11.

[1]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
[2]: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 23:05:49 +08:00
Josef Schlehofer 2512c8dcd0
Merge pull request #13135 from jefferyto/python-host-pip-cache-world-readable
python3: Add config PYTHON3_HOST_PIP_CACHE_WORLD_READABLE
2020-08-17 12:46:38 +02:00
Jeffery To baec9e9ce4
python-cffi: Update to 1.14.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 02:07:45 +08:00
Jeffery To 9277f74abd
python-hyperlink: Update to 20.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 01:56:47 +08:00
Jeffery To 001cd3c571
python3: Add config PYTHON3_HOST_PIP_CACHE_WORLD_READABLE
This adds a config option PYTHON3_HOST_PIP_CACHE_WORLD_READABLE; if
enabled, chmod will be run after pip install to make all
files/directories in the host pip cache world-readable.

Supersedes https://github.com/openwrt/packages/pull/13012.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-16 06:09:45 +08:00
Michael Heimpold cae992699b php7-pecl-redis: update to 5.3.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-08-16 00:01:41 +02:00
Michael Heimpold 9c1670ed61 php7: update to 7.4.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-08-12 23:15:44 +02:00
Rosen Penev d1f172a2f3
Merge pull request #13069 from neheb/microp
micropython: fix compilation without sys/cdefs
2020-08-12 13:10:08 -07:00
Jeffery To 8433270034
golang: Update to 1.14.7
This includes a fix for CVE-2020-16845 (encoding/binary: ReadUvarint and
ReadVarint can read an unlimited number of bytes from invalid inputs).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-12 04:38:38 +08:00
Rosen Penev de43b93fbc
Merge pull request #13083 from zokl/homebridge_1.1.1
node-homebridge: update to 1.1.1
2020-08-11 11:23:16 -07:00
Rosen Penev 7191212222
Merge pull request #13082 from zokl/javascript-obfuscator_1.9.0
javascript-obfuscator: update to 1.9.0
2020-08-11 11:23:04 -07:00
Josef Schlehofer 1df9f4272a
Merge pull request #13010 from ja-pa/python-pytest-xdist-new
python-pytest-xdist: add new package
2020-08-11 15:46:31 +02:00
Zbyněk Kocur 897b30f197 node-homebridge: update to 1.1.1
Signed-off-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz>
2020-08-11 10:35:19 +02:00
Zbyněk Kocur 46ec570c65 javascript-obfuscator: update to 1.9.0
New version of package node-javascript-obfuscator

Signed-off-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz>
2020-08-11 10:10:13 +02:00
Rosen Penev af76685638
micropython: fix compilation without sys/cdefs
sys/cdefs.h is not provided by musl. micropython also includes its own
copy.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:29:06 -07:00
Rosen Penev 65c66ddd71
Merge pull request #13039 from peter-stadler/django-rest-framework
django-restframework: update to version 3.11.1
2020-08-06 13:17:59 -07:00
Jan Pavlinec 2d7e32b1a5
python-pytest-forked: add new package (dependency for xdist)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec 274fcf4d6c
python-apipkg: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec d17b29cbdf
python-execnet: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Jan Pavlinec 0e83fb81ae
python-pytest-xdist: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 10:07:57 +02:00
Rosen Penev c2525df796
Merge pull request #13031 from neheb/erl
erlang: fix compilation without deprecated OpenSSL APIs
2020-08-05 13:12:45 -07:00
Rosen Penev df1edbd571
Merge pull request #13035 from ja-pa/python3-maxminddb-2.0.2
python3-maxminddb: update to version 2.0.2
2020-08-05 13:11:47 -07:00
Peter Stadler eec90365b8 django-restframework: update to version 3.11.1
update to newest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-05 21:19:32 +02:00
Jan Pavlinec e366ae2872
python3-maxminddb: update to version 2.0.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-05 11:05:08 +02:00
Alexandru Ardelean 79dfbd8016 python-pynacl: fix build with new libsodium patch
Fixes https://github.com/openwrt/packages/issues/13016
Patch [1] broke compilation for python-pynacl.

The fix is to patch PyNaCl to consider that
PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 is always available.

[1] 3ef28a4ab0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-05 08:39:51 +03:00
Rosen Penev 13b76d1b10
erlang: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:15:55 -07:00
Alexandru Ardelean d00604dfeb numpy: bump to version 1.19.1
Recommended Cython version is 0.29.21

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:09:38 +03:00
Alexandru Ardelean 215a536e6a python-asn1crypto: bump to version 1.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:05:26 +03:00
Alexandru Ardelean 9a0907b8be python-cffi: bump to version 1.14.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-08-03 14:04:25 +03:00
Rosen Penev 4860c5cc5b
Merge pull request #12997 from neheb/pyt
python3: fix host compilation with clang
2020-08-03 02:22:01 -07:00
Rosen Penev 95698aa083
vala: fix compilation under clang
Used under macOS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:50:39 -07:00
Rosen Penev b40c40151c
python3: fix host compilation with clang
Matched rpath parameter with Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:49:30 -07:00
Jan Pavlinec 895a784160
python3-maxminddb: update to version 2.0.1
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-30 14:32:28 +02:00
Rosen Penev 8d01a3e104
Merge pull request #12939 from jefferyto/python-3.8.5
python3: Update to 3.8.5
2020-07-26 23:33:52 -07:00
Jeffery To b6eef2af19
python-cryptography: Update to 3.0
Also:
* Remove patches that are included in the update
* Replace the python3 dependency with a smaller list (python3-urllib is
  needed because it is a dependency of python3-email)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-27 05:40:30 +08:00
Jeffery To 7d6fcf20e7
python3: Update to 3.8.5
This version includes fixes for:
* CVE-2020-15801 - Fixes python3x._pth being ignored on Windows
* CVE-2019-20907 - Avoid infinite loop when reading specially crafted
  TAR files using the tarfile module

This also:
* Remove patches that are included in the update
* Add a dependency in python3-distutils for python3-email[1]

[1]: https://github.com/python/cpython/blob/v3.8.5/Lib/distutils/dist.py#L10

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-27 04:33:28 +08:00
Maxim Storchak c3501bad23 luaposix: update to v35.0
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-07-26 12:29:54 +03:00
Rosen Penev ec183eedae
vala: update to 0.48.7
Adjusted path linker argument to fix wrong linking to the host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 18:58:10 -07:00
Josef Schlehofer 9828dac28f
python-urllib3: update to version 1.25.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-23 14:39:01 +02:00
Alexandru Ardelean c50dda22fc python-simplejson: bump to version 3.17.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:35:50 +03:00
Alexandru Ardelean 5a6ea6fb26 pymysql: bump to version 0.10.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:31:59 +03:00
Alexandru Ardelean 3f0099bff1 python-lxml: bump to version 4.5.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-07-22 10:30:31 +03:00
Rosen Penev f4e878c215
Merge pull request #12885 from peter-stadler/django-cors-headers
python3-django-cors-headers: update to version 3.4.0
2020-07-20 14:08:09 -07:00
Peter Stadler f81ad44a62 python3-django-cors-headers: update to version 3.4.0
update to latest version changing the URL and DEPENDS, too.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-20 18:11:45 +02:00
Peter Stadler bb4107c4f2 python3-asgiref: update version to 3.2.10
update to latest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-20 13:24:04 +02:00
Jeffery To 1a3cef77d4
python3: Update to 3.8.4, refresh/rework patches, backport patches
This version includes fixes for:
* CVE-2020-14422: Hash collisions in IPv4Interface and IPv6Interface
* CVE-2020-15523: Python uses invalid DLL path after calling Py_SetPath
  on Windows

This version also includes support for OpenSSL 1.1.x builds that use
'no-deprecated' and '--api=1.1.0'[1], and so this removes the previous
OpenSSL-related patches.

This also backports fixes for security issues, including:
* CVE-2019-20907: Infinite loop in the tarfile module

This also updates the setuptools and pip packages to 47.1.0 and 20.1.1,
respectively.

[1]: https://github.com/python/cpython/pull/20566

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-20 17:30:14 +08:00
Jeffery To adb43f7643
golang: Update to 1.14.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-20 03:10:57 +08:00
Jeffery To 34a3e58a12 golang: Add GO_PKG_TAGS for Go packages
This adds a new Makefile variable, GO_PKG_TAGS, for Go packages. When
set, the value is passed as the parameter of the -tags option for 'go
install'.

This also updates syncthing to use this variable.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-15 21:09:17 -10:00