Commit graph

3347 commits

Author SHA1 Message Date
Michael Heimpold
7268909184
Merge pull request #16635 from mhei/21.02-php7-update
[21.02] php7: update to 7.4.23
2021-09-16 08:14:00 +02:00
Michael Heimpold
6979ce4a62 php7: fix config file upgrade issue (fixes #14623)
The addressed issue is related to #6893 as its resolution
is actually causing the problem.

When changing the priority of the config file it happens
that after a sysupgrade the previous file is restored
and the new file is added, ending up in a situation
like this:

/etc/php7/15_openssl.ini
/etc/php7/20_openssl.ini

Causing a double extension=openssl.so to be parsed,
which is not appropriate and leads to error message.

The same problem might also occur for mysqli since there
was also a priority change - let's take care about this
at the same time.

The solution is to remove one of the files. Since it is
a configuration file, the user might have adjusted it, so
lets just use the previous version to replace the new
installed version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit e51a049301)
2021-09-15 21:18:31 +02:00
Michael Heimpold
2929694f87 php7: update to 7.4.23
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit fb9e05615b)
2021-09-15 21:18:19 +02:00
Alexandru Ardelean
2bb2a48d14 openpyxl: bump to version 3.0.8
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-14 20:17:10 -07:00
Jeffery To
3fdaf7d8dd
golang: Update to 1.17.1
Includes fix for CVE-2021-39293 (archive/zip: overflow in preallocation
check can cause OOM panic).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit aa96b8408f)
2021-09-13 05:55:21 +08:00
Alexandru Ardelean
e72cc2b0a1 python3: bump version to 3.9.7
Refreshed patches.
And apply hack for line-endings in pep517 (from pip).

Hack comment:
  # FIXME: [1] get rid of this asap; 'patch' doesn't like Windows endings, and this file is full of them...
  #        I actually tried this in a number of ways and the only way to fix this is to implement
  #        a poor-man's dos2unix using sed.
  #        The issue is with the pip package; it seems that it throws in some Windows line-endings
  #        and 'patch' won't handle them. So, we do a "dos2unix" and then patch.
  #        We can get rid of this once this is solved upstream and in pip:
  #            https://github.com/pypa/pep517/pull/130

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 26988f905f)
2021-09-10 13:10:53 -07:00
Alexandru Ardelean
a5109ac20b django: bump to version 3.2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-09 14:31:05 -07:00
Kerma Gérald
f056f252ce fail2ban: initial package of fail2ban version 0.11.2
python3-pyinotify: initial package version 0.9.6 of pyinotify for python3

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
(cherry picked from commit bcb8775e48eb8f99a76b05a8539a0140513e4158)
2021-09-09 16:23:49 -04:00
Alexandru Ardelean
dd093d4106
pillow: bump to version 8.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit afdcfb525c)
2021-09-07 16:49:39 +02:00
Josef Schlehofer
6256cf49dd
python-certifi: update to version 2021.5.30
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 571326bd48)
2021-09-06 17:32:20 +02:00
Robert Högberg
119a05ffdf perlbase-data: Add dependency on perlbase-scalar
Data::Dumper requires Scalar::Util -> add missing dependency.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-09-02 13:46:47 -07:00
Jeffery To
82dc4c08b1
python-cryptography: Update to 3.4.8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 69ae9c29a2)
2021-09-02 02:33:25 +08:00
Jeffery To
2b17d1ca9e golang: Update to 1.17
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit d0aab6b8bc)
2021-08-29 17:53:41 -07:00
Josef Schlehofer
fdee10fded
python3-setuptools: add _distutils_hack
I tried to install matplotlib by using pip and it failed with the following output:

2021-08-18T11:52:26,171 Collecting matplotlib
2021-08-18T11:52:26,173   Created temporary directory: /tmp/pip-unpack-wuth2u0e
2021-08-18T11:52:26,565   Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
2021-08-18T11:52:38,659   Added matplotlib from https://files.pythonhosted.org/packages/21/37/           197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.                       gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip-   req-tracker-u30x8pht'
2021-08-18T11:52:38,660     Running setup.py (path:/tmp/pip-install-afiyiers/                            matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib
2021-08-18T11:52:38,661     Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq
2021-08-18T11:52:38,662     Running command python setup.py egg_info
2021-08-18T11:52:38,831     Traceback (most recent call last):
2021-08-18T11:52:38,832       File "<string>", line 1, in <module>
2021-08-18T11:52:38,832       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module>
2021-08-18T11:52:38,833     ModuleNotFoundError: No module named '_distutils_hack'

More details about it:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410

Once I applied the patch from the bug tracker, I got further to install
it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit feaaacc10f)
2021-08-19 21:24:20 +02:00
Eneas U de Queiroz
b3c416b2d8 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:44:42 -07:00
Alexandru Ardelean
20ff270f29 django: bump to version 3.2.6
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-13 11:37:24 +03:00
Daniel Golle
9cb317541b
Flash: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 2abbf288ed)
2021-08-11 23:32:56 +02:00
Daniel Golle
eb5e13d370
Jinja2: update to version 3.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 7b5b9b9d11)
2021-08-11 23:32:49 +02:00
Daniel Golle
573338fe41
Werkzeug: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 65c12b3c2f)
2021-08-11 23:32:45 +02:00
Daniel Golle
d1007d29f2
MarkupSafe: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit c30b804842)
2021-08-11 23:32:35 +02:00
Daniel Golle
9fa4ce04ae
click: update to version 8.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 01620b9cfb)
2021-08-11 23:32:31 +02:00
Daniel Golle
735f9ed872
itsdangerous: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6ab3b605cf)
2021-08-11 23:32:25 +02:00
Rosen Penev
ac2b25aacd
Merge pull request #16309 from jefferyto/golang-1.16.7-openwrt-21.02
[openwrt-21.02] golang: Update to 1.16.7
2021-08-09 13:59:26 -07:00
Jeffery To
a2819fab7e
golang: Update to 1.16.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4d7a71a7cb)
2021-08-09 17:53:22 +08:00
Jeffery To
1a3687049f
python-twisted: Update to 21.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4fa4cd8322)
2021-08-09 17:28:33 +08:00
Rosen Penev
4bd6eb8064
Merge pull request #16266 from nxhack/2102_node_14174
[21.02] node: bump to 14.17.4
2021-08-01 13:29:40 -07:00
Michael Heimpold
49b1a6f4cc
Merge pull request #16264 from mhei/21.02-php8-update
[21.02] php8 update to 8.0.9
2021-08-01 12:32:47 +02:00
Michael Heimpold
51de4b108e php7: update to 7.4.22
This fixes:
    - CVE-2021-21704
    - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

(cherry picked from commits
  - 555d0c9a29
  - f15aba89f7
  - 741d6d6768)
2021-08-01 06:51:18 +02:00
Michael Heimpold
e928ef733e php8: add CI runtime test
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 2dad652446)
2021-07-31 15:34:11 +02:00
Michael Heimpold
91be67942d php8: update to 8.0.9
Also update opcache makefile patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commits
 - 5e82e6be71
 - 0154157b6c
 - 961b7c5a25
 - 7ddd5280d4
 - 9080dce60f)
2021-07-31 15:34:11 +02:00
Hirokazu MORIKAWA
bc6d77a7ce node: bump to 14.17.4
July 2021 Security Releases:

Use after free on close http2 on stream canceling (High) (CVE-2021-22930)
Node.js is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
You can read more about it in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22930

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-07-31 11:30:27 +09:00
Rosen Penev
d2cb8f4eed
erlang: disable PIE
Fails to compile with it on.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 5685d92268)
2021-07-21 23:53:42 +02:00
Jeffery To
ec9700fee4
golang: Update to 1.16.6
Includes fix for CVE-2021-34558 (crypto/tls: clients can panic when
provided a certificate of the wrong type for the negotiated parameters).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c0c62227bd)
2021-07-19 07:18:08 +08:00
Luiz Angelo Daros de Luca
23925c77a7 ruby: update to 3.0.2
This release fixes some bugs and these vulnerabilities:

* 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

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit 1b41e8f641)
2021-07-16 16:07:23 +02:00
Alexandru Ardelean
79417f0a37 python-cffi: bump to version 1.14.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e08b94b753)
2021-07-14 11:22:04 +03:00
Alexandru Ardelean
02a0c8a4fb python-simplejson: bump to version 3.17.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 3f2d7052743500e993a5f4a39cef0dc0eaac4d60)
2021-07-14 09:41:10 +03:00
Alexandru Ardelean
4bc55dd043 python3: do a simple ls on pip & setuptools if not selected for build
I seem to forget to check/select setuptools and pip (that come bundled with
Python).
This change will do a simple 'ls' on the 2 wheel files, so that the build
fails even if just building Python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:30 +02:00
Alexandru Ardelean
ef50ed85a5 python3: update to version 3.9.6
Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 44e009364f5a115172f5825fbfd8c0b3730021a5)
2021-07-06 16:20:30 +02:00
Alexandru Ardelean
c605f4cb4c django: bump to version 3.2.5
Several bug-fixes.
Fix CVE-2021-35042

Release notes:
  https://docs.djangoproject.com/en/3.2/releases/3.2.5/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 3ee863421a675c41848261a17df145716a23d907)
2021-07-05 10:48:42 +03:00
Alexandru Ardelean
5201d8739c python-dateutil: add setuptools-scm build dep
Following:
  https://github.com/openwrt/packages/pull/16004
  https://github.com/openwrt/packages/pull/15995
  https://github.com/openwrt/packages/issues/15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit e2026346cc)
2021-07-02 16:23:23 +03:00
Alexandru Ardelean
56e4da231d python-lxml: bump to version 4.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 89a6254b0a)
2021-06-22 14:33:16 +02:00
Alexandru Ardelean
535bcdb578 pillow: bump to version 8.1.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit c6f8536efa)
2021-06-22 14:33:16 +02:00
Rosen Penev
b033c0dcda
Merge pull request #15901 from nxhack/2102_node_14171
[21.02] node: bump to 14.17.1
2021-06-19 00:41:33 -07:00
Alexandru Ardelean
c3b06713b9 python-cryptography: bump to version 3.4.7
Dropped patches:
  0004-Replace-EVP_CIPHER_CTX_cleanup-with-EVP_CIPHER_CTX_r.patch
  0005-Switch-get_-Update-APIs-to-get0.patch

Reworked patches:
  0001-Add-new-ASN1_STRING_get0_data-API.patch
  0006-Add-X509_STORE_CTX_trusted_stack-compatibility-macro.patch
These 2 require that we keep only the CUSTOMIZATIONS stuff for now. Maybe
later we can drop this.

Ran 'make package/python-cryptography/refresh'.

Added patch:
  0004-disable-rust.patch
upstream did a sloppy job with the CRYPTOGRAPHY_DONT_BUILD_RUST logic; we
need to patch it, to make sure the setuptools-rust isn't installed.
We may need to carry this patch in our tree for a bit longer than upstream,
because in newer versions, CRYPTOGRAPHY_DONT_BUILD_RUST logic gets removed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 01d1b4581e)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-18 13:06:26 +03:00
Hirokazu MORIKAWA
4c22932e23 node: bump to 14.17.1
Notable Changes:
deps: update ICU to 69.1 (Michaël Zasso)
errors: align source-map stacks with spec (Benjamin Coe)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-06-18 18:06:04 +09:00
Alexandru Ardelean
92744fd598 django: bump to version 3.2.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 24a8f5874155398df8e64b29897a511d5d603e03)
2021-06-15 14:58:30 +03:00
Jeffery To
5c43da5e10 python3: Add readline to dependency finder script
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 1eeeba60d8cffc2f655c1ecbb277ca6734ac46b7)
2021-06-15 08:57:00 +03:00
Alexandru Ardelean
608a7422e0
python3: add python3-readline subpackage
Python3 comes with a built-in readline module. It wasn't included up until
now; mostly because it wasn't considered.

This change introduces it as a sub-package of the main Python3 package.
readline support is included in Python.

libreadline pulls libncursesw as a package, so python3-ncurses was
updated to pull libncursesw as well.
It should be the same package; mostly done for consistency.

Resolves the issue reported here:
  https://forum.openwrt.org/t/python3-repl-missing-readline/90039

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 49faf5d7ca)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-06-14 02:28:02 +08:00
Jeffery To
f66c5950ff
python-twisted: Add tls/conch dependencies
By adding these dependencies, it is much easier for users (both
applications that use Twisted and end users) to have secure
communications by default.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8349546208)
2021-06-12 19:01:35 +08:00
Jeffery To
f295e21aa9
python-twisted: Update to 21.2.0, redo patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4b6e05d1fd)
2021-06-12 06:22:52 +08:00