Commit Graph

2382 Commits

Author SHA1 Message Date
Jeffery To f7a8607579
python3: Update to 3.7.17
This includes an updated patch for pip, as the bundled pip was also
updated with this release.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-12 17:35:45 +08:00
Jeffery To 509f4e2f83
python3: Update to 3.7.16, refresh patches
Includes fixes:

* 3.7.14:
  * CVE-2020-10735: Prevent DoS by large int<->str conversions
  * CVE-2021-28861: http.server: Open Redirection if the URL path starts with //

* 3.7.16:
  * CVE-2022-45061: Slow IDNA decoding with large strings
  * CVE-2022-37454: Buffer overflow in the _sha3 module
  * CVE-2015-20107: mailcap.findmatch: document shell command Injection danger in filename parameter

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-16 15:05:35 +08:00
Šimon Bořek f81c55e870
luajit: patch: PPC/e500 SPE: use soft float instead of failing
makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
(cherry picked from commit a4a484fbca)
2022-08-06 19:44:06 +02:00
Rosen Penev c6a780c7bf
luajit: backport softfloat ppc support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 24c0007ea2)
2022-06-23 05:08:17 +02:00
Sergey V. Lobanov 998fac7cfa
luajit: fix build on macos (ldconfig issue)
fix ldconfig build issue. This patch is a backport from upstream:
18c9cf7d37

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit 42c4d25455)
2022-06-22 14:38:23 +02:00
Luiz Angelo Daros de Luca 9c39582d99 ruby: update to 2.6.10
Fixes from 2.6.9:
- CVE-2021-41817: Regular Expression Denial of Service Vulnerability of
  Date Parsing Methods
- CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse

Fixes from 2.6.10:
- CVE-2022-28739: Buffer overrun in String-to-Float conversion

After this release, Ruby 2.6 reaches EOL.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-04-23 10:31:00 +02:00
Jeffery To 3398ed29b0
python3: Update to 3.7.13, refresh patches
Includes fixes for:
* Windows builds updated to bzip2 1.0.8 to mitigate CVE-2016-3189 and
  CVE-2019-12900
* CVE-2022-26488: Escalation of privilege via Windows Installer

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-22 02:16:36 +08:00
Michal Vasilek e234ea1ae4 ruby: update to 2.6.9
* fixes CVE-2021-41817 and CVE-2021-41819

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-02-06 08:32:42 -03:00
Giovanni Giacobbi 903d79b387
php7: Clean up and update distributed php.ini for php 7.2.34
Details:
- Cleaned up whitespace and removed comments (refer to official PHP documentation for that)
- Removed directives that no longer exist as of PHP 7.2.34
- Added '~E_DEPRECATED' to 'error_reporting'

Directives removed that no longer exist as of PHP 7.2.34:
- zend.ze1_compatibility_mode
- y2k_compliance
- register_globals
- register_long_arrays
- magic_quotes_gpc
- magic_quotes_runtime
- magic_quotes_sybase
- always_populate_raw_post_data

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-11-11 10:19:24 +00:00
Jeffery To 20a9e8700b
python-dateutil: Add missing HOST_PYTHON3_PACKAGE_BUILD_DEPENDS
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-10-17 01:08:02 +08:00
Jeffery To e933f6f749
python-importlib-metadata: Pin setuptools-scm version
While a pinned/working version of setuptools-scm is installed (by
python-zipp) by the time this package is compiled, pinning the version
in this package is still the correct thing to do.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-10-17 01:01:52 +08:00
Josef Schlehofer 746fa830c6
python-zipp: pin setuptools-scm version
The recent version of setuptools-scm depends on tomli, which has some build issues.
Older one works.

Suggested-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-10-13 12:39:34 +02:00
Eneas U de Queiroz 70bb6f15e8 perl: perlmod.mk: use flock when hostpkg/perl used
Avoid parallel relinking and usage of the host perl binary by wrapping
its usage around flock calls.

Sometimes, two packages will try to relink the static host perl binary
at the same time.  Neither of them will have the other's module linked
in, and one of them will unavoidably clobber the other one's binary.

This will lead to errors when a package will not be able to find a
module that was supposed to be installed.

To fix that, an exclusive flock is used when relinking, with a 900
seconds timeout to avoid locking up the build process forever.

This is not enough because the binary may be concurrently used to build
another module package; perl is used in Configure, Compile, and Install
procedures.  If timing is right, a package will fail with a "permission
denied" error.

So a shared flock call is added in Configure, Compile, and Install
definitions for host and target, with a shorter, 300 seconds timeout.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 1e18c4324f)
2021-10-08 09:48:01 -07:00
Josef Schlehofer 17f5a0cc83
python3: update to version 3.7.12
Fixes: CVE-2013-0340 (Windows and MacOS only) and smtplib multiple CRLF injection
Changelog: https://www.python.org/downloads/release/python-3712/

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-08 13:06:36 +02:00
Josef Schlehofer 684b71f0cd
click: update to version 7.0
- Change URL of the website and for PKG_SOURCE_URL
- Change TITLE and description
- Remove PKG_BUILD_DEPENDS, PKG_UNPACK as they are not necessary
- Add src package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 25e8b2cda2)
2021-09-05 14:16:26 +02:00
Eneas U de Queiroz 67f403b5e6 perl: perlmod.mk: use 'install' for host binaries
When installing a host perl module, the host perl binary in the staging
dir is replaced by using 'cp'.  However, if the binary is running in a
parallel job, cp will fail with a text file busy error.  Use
$(INSTALL_BIN), which unliks the file first to avoid the error.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 19c7496648)
2021-08-14 13:45:07 -07:00
Luiz Angelo Daros de Luca f795536f48 ruby: update to 2.6.8
This release includes security fixes like:

CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP
CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP
CVE-2021-31799: A command injection vulnerability in RDoc

We ordinally do not fix Ruby 2.6 except security fixes, but this release
also includes some regressed bugs and build problem fixes.

Ruby 2.6 is now under the state of the security maintenance phase, until
the end of March of 2022. After that date, maintenance of Ruby 2.6 will
be ended.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-07-16 15:57:54 +02:00
Rosen Penev 879838998e luajit: for powerpc, add FPU dependency
powerpc support as of 2.1 does not work with soft float.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d23ca0010c)
2021-07-14 19:26:19 -07:00
Rosen Penev be2f1b2c00 luajit: fix compilation with host clang
It errors out with this section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0e620f1fa1)
2021-07-14 19:26:19 -07:00
Donald Hoskins 29c5a802c4 [LuaJIT] Allow MIPS64 support
Signed-off-by: Donald Hoskins <grommish@gmail.com>
(cherry picked from commit d325fbffbe)
2021-07-14 19:26:19 -07:00
Rosen Penev e5e5c88919 luajit: do not install static libraries to InstallDev
The dynamic library change removed static libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 51de4b2e35)
2021-07-14 19:26:19 -07:00
Rosen Penev dd62736784 luajit: use dynamic buildmode
Reduces package size with about 50%

Fixes: https://github.com/openwrt/packages/issues/10848

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d9487590c6)
2021-07-14 19:26:19 -07:00
Josef Schlehofer a896cbac26
Merge pull request #16051 from BKPepe/openwrt-19.07
python3: update to version 3.7.11
2021-07-06 16:20:02 +02:00
Josef Schlehofer b18aab0d13
python3: update to version 3.7.11
Fixes: CVE-2021-3426

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-06 09:15:33 +02:00
Alexandru Ardelean 730e14da79 python-dateutil: pin setuptools-scm version to 5.0.2
This is known to still work with Python2.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-30 17:24:26 +03:00
Alexandru Ardelean d1aac139a6 Revert "python-dateutil: disable setuptools-scm for build"
This reverts commit 29da5d65b6.

That fix doesn't work fully correct as the egg directory has version 0.0.0.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-30 17:23:00 +03:00
Alexandru Ardelean 29da5d65b6 python-dateutil: disable setuptools-scm for build
Fixes https://github.com/openwrt/packages/issues/15988

It seems that the newer setuptools-scm package (6.0.1) has some
Python3-only syntax.
For the 19.07 release, where Python2 is still around this causes the
python-dateutil package to fail to build.

See https://github.com/pypa/setuptools_scm/issues/541

However, removing 'setuptools-scm' from the build also works.
This change does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-06-30 10:28:31 +02:00
Luiz Angelo Daros de Luca 5c16a052f5 ruby: update to 2.6.7
Fixes two CVEs:

CVE-2020-25613: Potential HTTP Request Smuggling Vulnerability in WEBrick
CVE-2021-28965: XML round-trip vulnerability in REXML

After this release, ruby 2.6 is now in security maintenance phase.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2021-04-12 23:00:46 -03:00
Josef Schlehofer 58ded3ff4c
Merge pull request #15214 from BKPepe/aiohttp-19.07
python-aiohttp: backport fix for CVE-2021-21330
2021-03-26 00:48:13 +01:00
Josef Schlehofer 41388ed8a2
php: add fix for updated ICU 68+
Recently, I updated icu for issues with node feed, but it broke
compiling of php7.

Error:
/foo/target-aarch64_cortex-a53_musl/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: error: 'TRUE' undeclared (first use in this function)
  collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
                          ^~~~
/foo/target-aarch64_cortex-a53_musl/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/foo/target-aarch64_cortex-a53_musl/php-7.2.34/ext/intl/collator/collator_sort.c: In function 'zif_collator_asort':
/foo/target-aarch64_cortex-a53_musl/php-7.2.34/ext/intl/collator/collator_sort.c:543:26: error: 'FALSE' undeclared (first use in this function); did you mean 'FILE'?
  collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
                          ^~~~~
                          FILE
make[3]: *** [Makefile:1031: ext/intl/collator/collator_sort.lo] Error 1

More details:
https://github.com/php/php-src/commit/8eaaabd

Backport of patch from PHP7.3 didn't work for me, but this one was suggested that
Homebrew is using it and it works for me. However, PHP7.2 is EoL.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-22 13:57:13 +01:00
Josef Schlehofer 1952a1c2ae
python-aiohttp: backport fix for CVE-2021-21330
More details:
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-22 01:41:14 +01:00
Alexandru Ardelean 2faeeb18eb
python-maho-mqtt: bump to versio 1.5.1
Docs say it also supports MQTT 5.0.
Added to description.
Updated title as on pypi.org

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit ee0e11c1ab)
2021-03-01 00:48:56 +01:00
Jeffery To f05ba1bbca
python3: Update to 3.7.10, refresh patches
Includes fixes for:
* CVE-2021-3177 - ctypes: Buffer overflow in PyCArg_repr
* CVE-2021-23336 - urllib parse_qsl(): Web cache poisoning - semicolon
  as a query args separator

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-22 21:05:28 +08:00
Josef Schlehofer ad186135ac
python-paho-mqtt: Update to version 1.5.0
Try to fix license according to SPDX.
Add PKG_LICENSE_FILES.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit f8e36f9fd6)
[use pypi.mk for Python package]
2021-02-12 16:12:19 +01:00
Giovanni Giacobbi 11e9a2e179
php7: Fix prepare target incorrectly referencing 'configure.in' instead of 'configure.ac'
Package release version unchanged as it does not impact the build result in any way.

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-01-25 10:38:19 +00:00
Michael Heimpold cafbae7121 php7: drop patch for openssl deprecated API (fixes #14357)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-12-30 00:30:05 +01:00
Michael Heimpold 5b3870890d php7: update to 7.2.34
This fixes:
  - CVE-2020-7069
  - CVE-2020-7070

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-11-07 21:44:02 +01:00
Jeffery To acb77d5beb
python3: Update to 3.7.9, refresh/remove backported patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-17 01:35:19 +08:00
Jan Pavlinec 2f7338b621
python-urllib3: update to version 1.25.10 (security fix)
Fixes:
CVE-2020-26137

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-14 12:20:18 +02:00
Fabian Lipken 25b2751f85
python-pytz: update to 2019.03
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
(cherry picked from commit 0f2cf9ebd6)
2020-10-05 18:08:35 +02:00
Josef Schlehofer f705a5a931
python-sentry-sdk: Update to version 0.12.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit fd9ebe3d70)
2020-10-02 11:17:49 +02:00
Josef Schlehofer 9461ae47a1
Werkzeug: Update to version 0.16.0
- Remove PKG_BUILD_DEPENDS as it is no longer necessary.
- The Python3 is already included in DEPENDS.
- Remove PKG_BUILD_DIR and PKG_UNPACK was for dual Python version.
- Change TITLE and description
- Add source package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 267796c316)
2020-09-30 18:31:26 +02:00
Daniel Golle f9d9ae8c83
Flask: update to version 1.1.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 90790b6b8f)
2020-09-30 18:30:19 +02:00
Josef Schlehofer 4a833e3a8b
Flask: Update to version 1.1.1
- Change TITLE and URL to better one
- Add source package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 19e12971b8)
2020-09-30 18:29:28 +02:00
Josef Schlehofer 8a71cdd6ab
python-ifaddr: update to version 0.1.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 98eb81ccd6)
2020-09-30 09:28:29 +02:00
Josef Schlehofer 3f0e266378
python-zeroconf: update to version 0.28.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 1c2f729c9d)
2020-09-23 16:43:08 +02:00
Josef Schlehofer fe7ceaa653
python-zeroconf: update to version 0.24.4
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 8ed94a07fc)
2020-09-23 16:41:55 +02:00
Michael Heimpold 473ca554f5 php7: update to 7.2.33
This fixes:
  - CVE-2020-7068

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-09-10 20:52:44 +02:00
Jan Pavlinec 1cf41a88c5
python-rsa: downgrade to version 4.5 for python2
Note:
This fixes error introduced in 7af8eaad11
Version 4.6 doesn't support python2

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-08 12:16:38 +02:00
Jan Pavlinec 7af8eaad11
python-rsa: update to version 4.6 (security fix)
Fixes CVE-2020-13757

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 4e211927f3)
2020-09-03 13:35:34 -07:00