Commit graph

3246 commits

Author SHA1 Message Date
Rosen Penev
549db8ee27
Merge pull request #14937 from nxhack/2102_add_node-yarn
[21.02] node-yarn: add new package - for building adguardhome
2021-02-28 01:30:07 -08:00
Eneas U de Queiroz
8d8d71b87d
php7: fix build with QUILT
When building with QUILT, unlike the regular build, Build/Prepare does
not apply the patches.  So when buildconf is called with QUILT on, at
the end of Build/Prepare, it will not have the patched sources, and
build will fail.

To fix the problem, run buildconf in Build/Prepare only when QUILT is
off, and do it in Build/Configure otherwise.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit d4979cff06)
2021-02-26 18:07:35 +01:00
Eneas U de Queiroz
6e200ab632
php7: fix pecl build with QUILT
Commit d741a64b7 ("lang/php7: Don't run phpize7 with QUILT") changed
pecl.mk to not run phpize7 during Package/prepare if QUILT is set.  The
intention was to allow prepare, refresh and update targets to run
without building dependencies.

As a side-effect, Package/configure and Package/compile fail when QUILT
is defined because they can't find ./configure or a Makefile.  It also
impacts the github tests run with pull requests, because QUILT is
defined there.

To avoid that failure and still keep the prepare, refresh, and update
speedup, call phpize7 before Package/Configure if QUILT is defined.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 3476816cc8)
2021-02-26 18:07:30 +01:00
Luiz Angelo Daros de Luca
276b28c196
ruby: update to 3.0.0
This release goal is performance, concurrency, and typing. See details
in https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/

New subpackages (reflect of mostly complete upstream ruby gemification)
- ruby-abbrev (from ruby-misc)
- ruby-base64 (from ruby-misc)
- ruby-coverage (from ruby-misc)
- ruby-continuation (from ruby-misc)
- ruby-debug (from ruby-debuglib)
- ruby-english (from ruby-misc)
- ruby-expect (from ruby-misc)
- ruby-fiber (from ruby-misc)
- ruby-find (from ruby-filelib)
- ruby-io-nonblock (from ruby-multithread)
- ruby-io-wait (from ruby-multithread)
- ruby-monitor (from ruby-multithread)
- ruby-net-ftp (from ruby-net)
- ruby-net-http (from ruby-net)
- ruby-net-imap (from ruby-net)
- ruby-net-pop (from ruby-net)
- ruby-net-protocol (from ruby-net)
- ruby-objspace (from ruby-debuglib)
- ruby-open-uri (from ruby-net)
- ruby-pathname (from ruby-filelib)
- ruby-pp (from ruby-prettyprint)
- ruby-pty (from ruby-misc)
- ruby-rbs (NEW)
- ruby-resolv (from ruby-socket)
- ruby-resolv-replace (from ruby-socket)
- ruby-securerandom (from ruby-misc)
- ruby-set (from ruby-misc)
- ruby-shellwords (from ruby-misc)
- ruby-syslog (from ruby-logger)
- ruby-tempfile (from ruby-filelib)
- ruby-tmpdir (from ruby-filelib)
- ruby-tsort (from ruby-misc)
- ruby-typeprof (NEW)
- ruby-un (from ruby-mkmf)
- ruby-weakref (from ruby-misc)

Removed subpackages
- ruby-debuglib (split into ruby-debug,ruby-objspace)
- ruby-filelib (split into ruby-find,ruby-pathname,ruby-tempfile,ruby-tmpdir)
- ruby-misc (split into ruby-abbrev,ruby-base64,ruby-continuation,
    ruby-coverage,ruby-english,ruby-expect,ruby-fiber,ruby-securerandom,
    ruby-set,ruby-shellwords,ruby-tsort,ruby-weakref)
- ruby-multithread (split into ruby-io-nonblock,ruby-io-wait,ruby-monitor)
- ruby-net (split into ruby-net-ftp,ruby-net-http,ruby-net-imap,ruby-net-pop,
    ruby-net-protocol,ruby-open-uri)
- ruby-net-telnet (removed upstream)
- ruby-sdbm (removed upstream)
- ruby-webrick (removed upstream)
- ruby-xmlrpc (removed upstream)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit fe4020f23e)
2021-02-26 13:04:06 +01:00
Hirokazu MORIKAWA
30a45f2810
node: bump to v14.16.0
Update to v14.16.0

February 2021 Security Releases
- HTTP2 'unknownProtocol' cause Denial of Service by resource exhaustion (Critical) (CVE-2021-22883)
- DNS rebinding in --inspect (CVE-2021-22884)
- OpenSSL - Integer overflow in CipherUpdate (CVE-2021-23840)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit a68820bb74)
2021-02-26 12:49:41 +01:00
Hirokazu MORIKAWA
6c47d84759
node: make hostpkg icu-enabled
Made the necessary changes to build the latest version of adguardhome.
See this thread : https://github.com/openwrt/packages/pull/14717

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 884761c4df)
2021-02-26 12:49:25 +01:00
Hirokazu MORIKAWA
243cc9a3f0 node-yarn: add new package - for building adguardhome
Add the necessary new package to build the latest version of adguardhome.
See this thread : https://github.com/openwrt/packages/pull/14717

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-02-26 17:48:28 +09:00
Alexandru Ardelean
cac54a66f4
django: bump to version 3.1.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmai.com>
(cherry picked from commit dd58d24699)
2021-02-26 07:38:51 +01:00
Ilya Lipnitskiy
b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00
Rosen Penev
597fbe5f03
Merge pull request #14834 from jefferyto/golang-1.16-openwrt-21.02
[openwrt-21.02] golang: Update to 1.16
2021-02-22 15:16:21 -08:00
Jeffery To
6ce32c3b5e
python3: Fix target python-config when building on macOS
The Python version of python-config is installed when building on macOS,
rather than the shell script version when building on Linux. When run on
macOS, the Python version of python-config will return values with
Mac-specific customizations.

This patches the python-config install recipe so that which version is
installed can be controlled by the package makefile. When building on
macOS, this installs the Python version for host Python and the shell
script version for target Python.

This also updates Host/Compile and Host/Install to use the default host
build recipes, so that the various HOST_* variables are taken into
account automatically.

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 18330902a0)
2021-02-22 22:09:54 +08:00
Jeffery To
75d276fe33
golang: Update to 1.16
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit dc587eccb7)
2021-02-22 17:08:36 +08:00
Matt Merhar
91902ec5e7
perl-try-tiny: use relative include of perlmod.mk
The $(TOPDIR) seemed to cause Makefile parsing issues with CI.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
(cherry picked from commit 52668b1e97)
2021-02-21 08:50:30 +01:00
Rosen Penev
ac4cbab7d8
Merge pull request #14743 from jefferyto/python-cffi-1.14.5
python-cffi: Update to 1.14.5
2021-02-15 03:08:19 -08:00
Rosen Penev
ceb32dc42c
Merge pull request #14753 from commodo/python-updates1
python-pytz,numpy: bump versions
2021-02-15 02:30:03 -08:00
Rosen Penev
3fc29f4716
Merge pull request #14744 from jefferyto/python-cryptography-3.3.2
python-cryptography: Update to 3.3.2
2021-02-15 00:49:06 -08:00
Alexandru Ardelean
09214dec38 numpy: bump to version 1.20.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 10:42:16 +02:00
Alexandru Ardelean
ca45446f16 python-pytz: bump to version 2021.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-15 09:14:59 +02:00
Rosen Penev
2726eb5bf1
Merge pull request #14722 from BKPepe/sqlalchemy
python-sqlalchemy: update to version 1.3.23
2021-02-14 16:06:22 -08:00
Rosen Penev
d99c828101
Merge pull request #14676 from httpstorm/perl-5.28.1.fix-macos
perl: fix build errors on macOS
2021-02-14 15:23:44 -08:00
Jeffery To
b86890b899
python-cryptography: Update to 3.3.2
This fixes CVE-2020-36242 (buffer overflows caused by integer overflow
in OpenSSL).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 06:26:38 +08:00
Jeffery To
4aba039a2d
python-cffi: Update to 1.14.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-15 05:35:23 +08:00
Josef Schlehofer
eef638f587
python-sqlalchemy: update to version 1.3.23
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-12 05:29:49 +01:00
Hirokazu MORIKAWA
4d7fe6ac7c node: update to v14.15.5
Description:
Update to v14.15.5
upgrade npm to 6.14.11

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-02-12 11:48:57 +09:00
Rosen Penev
4e00dc2048
Merge pull request #14689 from peter-stadler/django
django: update to 3.1.6 (fixing CVE-2021-3281)
2021-02-09 13:28:49 -08:00
Georgi Valkov
6375f73b29 perl: fix build errors on macOS
Added a check for macOS 11 and newer to resolve a compile error:
*** Unexpected product version 11.2.

Added Internals::getcwd.
Fallback to the built-in getcwd to resolve compile errors on macOS:
Can't locate Errno.pm in @INC
/miniperl not found

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
2021-02-09 10:45:30 +02:00
Peter Stadler
18e696fedc django: update to 3.1.6
fix for CVE-2021-3281

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-02-09 08:45:29 +01:00
Michael Heimpold
a64ca69141
Merge pull request #14694 from mhei/php7-update
php7: update to 7.4.15
2021-02-09 08:16:24 +01:00
Erik Larsson
f8e15596fc python-ubus: add package
Python bindings for ubus.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-02-09 03:20:17 +01:00
Michael Heimpold
1e2fc720ab php7: update to 7.4.15
This fixes:
    - CVE-2021-21702

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-08 22:34:58 +01:00
Rosen Penev
702216588d
Merge pull request #14685 from jefferyto/golang-1.15.8
golang: Update to 1.15.8
2021-02-07 15:32:00 -08:00
Jeffery To
0101070676
python-hyperlink: Update to 21.0.0, refresh patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-08 04:49:55 +08:00
Jeffery To
ded955be9b
golang: Update to 1.15.8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-08 02:40:18 +08:00
Michael Heimpold
8cb6bb35a6 php8: Don't run phpize8 with QUILT
Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.

This is d741a64b7 applied to php8.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-06 14:26:25 +01:00
Michael Heimpold
4f20c737cb
Merge pull request #14659 from mhei/php8-update
php8: update to 8.0.2
2021-02-05 19:20:54 +01:00
Michael Heimpold
43140d77ee
Merge pull request #14658 from mhei/php8-fix-x86_64-build
php8: fix cross-compiling for x86_64
2021-02-05 19:20:22 +01:00
Michael Heimpold
0b531c4ec0 php8: update to 8.0.2
This fixes:
  - CVE-2021-21702

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-05 00:01:41 +01:00
Michael Heimpold
0119aa5280 php8: fix cross-compiling for x86_64
The build process uses a minilua helper for code generation
which must not be compiled with target cross-compiler but
the host compiler.

This error was spotted by buildbots:
ext/opcache/minilua /builder/shared-workdir/build/sdk/build_dir/
 target-x86_64_musl/php-8.0.1/ext/opcache/jit/dynasm/dynasm.lua
 -D X64=1 -o ext/opcache/jit/zend_jit_x86.c /builder/shared-workdir
 /build/sdk/build_dir/target-x86_64_musl/php-8.0.1/ext/opcache/jit/zend_jit_x86.dasc
/bin/bash: ext/opcache/minilua: No such file or directory
Makefile:406: recipe for target 'ext/opcache/jit/zend_jit_x86.c' failed
make[4]: *** [ext/opcache/jit/zend_jit_x86.c] Error 127

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-04 23:47:52 +01:00
Ilya Lipnitskiy
d741a64b70
lang/php7: Don't run phpize7 with QUILT
Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-03 20:40:54 -08:00
Alexandru Ardelean
005e77c7cb numpy: bump to version 1.20.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-02-02 16:25:10 +02:00
Jan Pavlinec
42b50c1da0 python-execnet: update to version 1.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-02-01 23:33:48 +02:00
Michael Heimpold
b1c44ae9fd php8: introduce new major version package
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-01 07:49:01 +01:00
Michael Heimpold
73833e6a24 php7: move into own submenu to prepare for upcoming php8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-01 07:49:01 +01:00
Michael Heimpold
1ada2dd2f9 php7: rename PECLPackage to PHP7PECLPackage to prepare PHP8 transition
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-01 07:49:01 +01:00
Michael Heimpold
e621e17516 php7-pecl-propro: cleanup dead code
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-02-01 07:49:01 +01:00
Erik Larsson
b6a85b9272 python-uci: add package
Python bindings for libuci, useful for writing ansible modules to manage OpenWRT systems.
Reused Makefile from upstream: https://gitlab.nic.cz/turris/turris-os-packages/-/blob/develop/lang/python-uci/Makefile

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2021-01-31 18:58:00 +01:00
Jan Pavlinec
7adb6d2599 python-pytest: update to version 6.2.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:52:14 +02:00
Jan Pavlinec
b38bf0bd97 python-pytest-xdist: update to version 2.2.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:41 +02:00
Jan Pavlinec
edf63727c3 python-psutil: update to version 5.8.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-01-27 17:51:12 +02:00
Jeffery To
c0fb05d670
golang: Update to 1.15.7
This includes fixes for:
* CVE-2021-3114: crypto/elliptic: incorrect operations on the P-224
  curve
* CVE-2021-3115: cmd/go: packages using cgo can cause arbitrary code
  execution on Windows

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-01-25 17:22:25 +08:00