feed/packages.git
16 months agopython-editables: Update to 0.4 21563/head
Jeffery To [Thu, 13 Jul 2023 08:42:52 +0000 (16:42 +0800)]
python-editables: Update to 0.4

The build backend was changed from setuptools to flit-core.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9a5f66acc37d77ddfe98b87fcdcbd260365c9c70)

16 months agobanip: update 0.8.9-4
Dirk Brenken [Sun, 9 Jul 2023 05:01:17 +0000 (07:01 +0200)]
banip: update 0.8.9-4

* made the etag id parsing more bulletproof (to catch unverified etags as well)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 5e2a9f082aa271dd2b7c2bd7f884bc2aef0b9be6)

16 months agobanip: update 0.8.9-3
Dirk Brenken [Sat, 8 Jul 2023 17:51:52 +0000 (19:51 +0200)]
banip: update 0.8.9-3

* prevent superflous etag function calls during start action (on start backups will be used anyway)
* changed the ipthreat feed download URL (load a compressed file variant to save bandwidth)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 88e64a2ae488e1cd8d4d539c6d976c9ccc728d2f)

16 months agobanip: update 0.8.9-2
Dirk Brenken [Fri, 7 Jul 2023 18:03:08 +0000 (20:03 +0200)]
banip: update 0.8.9-2

* fix a corner case backup issue with empty feed downloads

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 137045faa904fd826be9e82b22aa2ee1d65229b7)

16 months agobanip: release 0.8.9-1
Dirk Brenken [Fri, 7 Jul 2023 16:28:21 +0000 (18:28 +0200)]
banip: release 0.8.9-1

* added HTTP ETag or entity tag support to download only ressources that have been updated on the server side,
  to save bandwith and speed up banIP reloads
* added 4 new feeds: binarydefense, bruteforceblock, etcompromised, ipblackhole (see readme)
* updated the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 68cdc3952dd7adf6fb1ed4b8138ec5478ac18b9a)

16 months agonginx: don't install all module for FULL variant 22877/head
Christian Marangi [Wed, 5 Jul 2023 00:32:56 +0000 (02:32 +0200)]
nginx: don't install all module for FULL variant

We currently have a more or less circular dependency with nginx ssl and
full variant.

FULL variant depends on every nginx module. Every nginx module depends
on nginx-ssl.

Since nginx-full depends on an nginx module, nginx-ssl is installed as
module depends on it and then the installation fails as nginx-full
conflicts with nginx-ssl.

nginx-full in it's meaning is nginx built with every config selected and
it should not have module as dependency. In fact an user should always
install them separetly as while other things, local modification to the
nginx config file are required to include the just installed module.

To fix this circular dependency problem, drop the dependency of every
nginx module for FULL variant.

Fixes: #21300
(cherry picked from commit 3d0183e9c50ee6c709affa830460f4cd9b0ec85e)
[ fix conflict error and bump pkg release ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
16 months agoMerge pull request #21494 from jefferyto/python-typing-extensions-4.7.1-openwrt-23.05
Tianling Shen [Wed, 5 Jul 2023 09:28:45 +0000 (17:28 +0800)]
Merge pull request #21494 from jefferyto/python-typing-extensions-4.7.1-openwrt-23.05

[openwrt-23.05] python-typing-extensions: Update to 4.7.1

16 months agorclone: Update to 1.63.0
Tianling Shen [Tue, 4 Jul 2023 08:04:54 +0000 (16:04 +0800)]
rclone: Update to 1.63.0

While at it fixed a typo error of license files variable.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 952844c976bae289c603f9c93662a08f6ff49290)

16 months agodnsproxy: Update to 0.51.0
Tianling Shen [Mon, 3 Jul 2023 14:05:28 +0000 (22:05 +0800)]
dnsproxy: Update to 0.51.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 9cf533dffe8363349530e808a2dedf5d7ee4685f)

16 months agovala: add self as maintainer of unmaintained package
W. Michael Petullo [Wed, 28 Jun 2023 13:09:55 +0000 (08:09 -0500)]
vala: add self as maintainer of unmaintained package

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit ae94714081336622afeeec6e46d441fdb9e015eb)

16 months agovala: patch to circumvent apparent pkgconf bug
W. Michael Petullo [Sun, 25 Jun 2023 20:36:28 +0000 (15:36 -0500)]
vala: patch to circumvent apparent pkgconf bug

There is an apparent bug in pkgconf 1.9 that broke building the OpenWrt
Vala package. This adds a patch to circumvent the bug. For the related
discussion, see:

https://github.com/openwrt/packages/issues/21359

The pkgconf bug appears similar to the one discussed here:

https://github.com/pkgconf/pkgconf/issues/268

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit a7e1ba32fdf4b736a44d467b0f79b7f4665ce32d)

16 months agopython-typing-extensions: Update to 4.7.1 21494/head
Jeffery To [Mon, 3 Jul 2023 06:41:18 +0000 (14:41 +0800)]
python-typing-extensions: Update to 4.7.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 207d01c3a918bf6452c5962660a605bb0d8b8d6b)

16 months agopython-markupsafe: Update to 2.1.3, add host build
Jeffery To [Wed, 28 Jun 2023 17:54:50 +0000 (01:54 +0800)]
python-markupsafe: Update to 2.1.3, add host build

The host build will be used for mako (to be added later).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ff51716aaae66c3e307b07f019f17aee3e455d03)

16 months agopython-libmodbus: Update to 0.6.2
Jeffery To [Wed, 28 Jun 2023 17:22:03 +0000 (01:22 +0800)]
python-libmodbus: Update to 0.6.2

This also adds a source package (python3-libmodbus-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 40b9f05a5818e3793271902771a8a6b9d93f8075)

16 months agopython-gnupg: Update to 0.5.0
Jeffery To [Wed, 28 Jun 2023 16:22:11 +0000 (00:22 +0800)]
python-gnupg: Update to 0.5.0

This also removes the dependency on gnupg as there are two packages for
gpg, gnupg and gnupg2; this library should work with either one.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 67af34188da75c737556fd439ab1a1a8c7d954a7)

16 months agopython-service-identity: Update to 23.1.0
Jeffery To [Mon, 26 Jun 2023 05:59:56 +0000 (13:59 +0800)]
python-service-identity: Update to 23.1.0

This adds new build dependencies as the package switched to
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e1ef13a30c8e5bc687e917edce75f75c60e56a86)

16 months agopython-hatchling: Update to 1.18.0
Jeffery To [Mon, 26 Jun 2023 05:00:05 +0000 (13:00 +0800)]
python-hatchling: Update to 1.18.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2ec3b9f09596224c7bfc2d656a26eea02d3052a4)

16 months agopython-pluggy: Update to 1.2.0
Jeffery To [Mon, 26 Jun 2023 05:38:11 +0000 (13:38 +0800)]
python-pluggy: Update to 1.2.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f6190a379bf1a9be9e9f5d6dc66f1357a2666ebd)

16 months agopython-werkzeug: Update to 2.3.6
Jeffery To [Wed, 28 Jun 2023 18:41:39 +0000 (02:41 +0800)]
python-werkzeug: Update to 2.3.6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit acc915083d44386cb4890818ddacd8221573b7b0)

16 months agopython-packages: Take over maintainership from Daniel Golle
Jeffery To [Mon, 26 Jun 2023 06:28:51 +0000 (14:28 +0800)]
python-packages: Take over maintainership from Daniel Golle

This was requested in
https://github.com/openwrt/packages/pull/21227#issuecomment-1567676980.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b5dbf77501b4b4921ebd4d6abc6389875b64d3fa)

16 months agonetbird: update to 0.21.7
Salem Huang [Sun, 25 Jun 2023 16:43:29 +0000 (00:43 +0800)]
netbird: update to 0.21.7

1. Release notes:
   https://github.com/netbirdio/netbird/releases/tag/v0.21.2
   https://github.com/netbirdio/netbird/releases/tag/v0.21.3
   https://github.com/netbirdio/netbird/releases/tag/v0.21.4
   https://github.com/netbirdio/netbird/releases/tag/v0.21.5
   https://github.com/netbirdio/netbird/releases/tag/v0.21.6
   https://github.com/netbirdio/netbird/releases/tag/v0.21.7
2. Update GO_PKG_LDFLAGS, because of https://github.com/netbirdio/netbird/commit/292ee260ad564d1e65199b1cb3430b0cd7ba9646
3. Define the configuration file.

Signed-off-by: Salem Huang <solohoh@hotmail.com>
(cherry picked from commit b9b785b00ba59ec2fb3835492c3a78606812b3f1)

16 months agopython-setuptools: Update to 68.0.0
Jeffery To [Mon, 26 Jun 2023 06:06:46 +0000 (14:06 +0800)]
python-setuptools: Update to 68.0.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c698a615f934e27c5c73d39b9ac22a7dcf05851f)

17 months agoadblock: update to 4.1.5-8
Dirk Brenken [Fri, 30 Jun 2023 05:28:16 +0000 (07:28 +0200)]
adblock: update to 4.1.5-8

* adapt adguard_tracking source changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e1fa285f325543cc96dcfe2beb17fe83cc1a76e3)

17 months agoMerge pull request #21436 from jefferyto/selinux-update-openwrt-23.05
Tianling Shen [Wed, 28 Jun 2023 19:02:04 +0000 (03:02 +0800)]
Merge pull request #21436 from jefferyto/selinux-update-openwrt-23.05

[openwrt-23.05] selinux: Update selinux packages to 3.5, setools to 4.4.2, reorganize packages

17 months agosemodule-utils: Update to 3.5, reorganize package 21436/head
Jeffery To [Fri, 9 Jun 2023 12:27:58 +0000 (20:27 +0800)]
semodule-utils: Update to 3.5, reorganize package

* Add separate packages for each tool (semodule-*)

* Update the semodule-utils package as a meta-package that installs all
  tools, keeping it functionally the same as the current semodule-utils
  package

* Remove host build (not used by any other package)

* Update package titles, descriptions, and license files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit aa4085a13f224e8bf5917aace318ae21b49adf2a)

17 months agoselinux-python: Update to 3.5, reorganize package
Jeffery To [Fri, 9 Jun 2023 04:41:13 +0000 (12:41 +0800)]
selinux-python: Update to 3.5, reorganize package

* Added packages:

  * python3-seobject

    Contains the seobject.py library file which was previously included
    in selinux-semanage

  * selinux-sepolicy

    Contains the sepolicy and sepolgen tools which were previously
    included in python3-sepolicy

  * selinux-sepolgen-ifgen

    Contains the sepolgen-ifgen tool which was previously included in
    selinux-audit2allow

  * selinux-python

    A meta-package to install all tools

* Change the python3-sepolgen data_dir from /usr/share/sepolgen to
  /etc/sepolgen (updated 0001-sepolgen-adjust-data_dir.patch), and add
  the directory to conffiles

  By default, the sepolgen-ifgen tool writes to a file named
  "interface_info" in the data directory, to be read by the audit2allow
  tool. The header comment in the perm_map file also suggests that the
  file is customizable.

  The best place for these files would be in /var/lib, but /etc is more
  appropriate than /usr.

* Remove gui files from python3-sepolicy (0003-sepolicy-no-gui.patch)

* Fix ModuleNotFoundError raised by sepolicy
  (0004-sepolicy-fix-get_os_version-except.patch)

  Patch has been submitted upstream:
  https://lore.kernel.org/selinux/20230619063217.3165462-1-jeffery.to@gmail.com/

* Update package titles, descriptions, and dependencies

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6bd71dac0cb7711777feaf04d1156d2e0eb9e1bd)

17 months agoselinux-python: Add default sections for Python and util packages
Jeffery To [Fri, 9 Jun 2023 05:28:11 +0000 (13:28 +0800)]
selinux-python: Add default sections for Python and util packages

This also moves the python3-selinux dependency from the default section
into each util package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 61e79aad69015d71286d7b47f6bcccee20baf796)

17 months agoselinux-python: Order package sections alphabetically
Jeffery To [Fri, 9 Jun 2023 05:16:13 +0000 (13:16 +0800)]
selinux-python: Order package sections alphabetically

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 03225ca7b0755eb342191f7bff8871a8ddfddb1c)

17 months agopython3-libsemanage: Update to 3.5, rename source/target package
Jeffery To [Thu, 8 Jun 2023 08:45:07 +0000 (16:45 +0800)]
python3-libsemanage: Update to 3.5, rename source/target package

* Rename:

  * Source package from python3-libsemanage to python-semanage
  * Target package from python3-libsemanage to python3-semanage

* Update dependents with new target package name

* Update package title, license files, and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 23ff8177f030610f40300519cd888dbfd47f3e3a)

17 months agopython3-libselinux: Update to 3.5, rename source/target package
Jeffery To [Thu, 8 Jun 2023 07:34:09 +0000 (15:34 +0800)]
python3-libselinux: Update to 3.5, rename source/target package

* Rename:

  * Source package from python3-libselinux to python-selinux
  * Target package from python3-libselinux to python3-selinux

* Update dependents with new target package name

* Remove patches:

  * 010-setup-py-custom-cc.patch: LDSHARED is already set as part of
    $(PYTHON3_VARS)

  * 020-Make-use-of-variables-when-defining-libdir-and-inclu.patch: This
    package doesn't install the libselinux.pc file

* Update package title and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a205483547ca835d98d5da1284e8a77c88eb5f97)

17 months agosetools: Update to 4.4.2, reorganize package
Jeffery To [Fri, 9 Jun 2023 09:54:20 +0000 (17:54 +0800)]
setools: Update to 4.4.2, reorganize package

* Add separate packages for each tool (setools-*) and a package for the
  Python bindings (python3-setools)

* Update the setools package as a meta-package that installs all tools,
  keeping it functionally the same as the current setools package

* Remove gui tool (apol) and Python binding (setoolsgui)

* Simplify 030-remove-host-paths.patch (libraries installed by
  Build/InstallDev are placed in $(STAGING_DIR)/usr/lib only)

* Update package titles, descriptions, license, and dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6938f58a4528c6b3d314808fd2ec6da2a2dff77c)

17 months agohaproxy: update to v2.8.0
Huangbin Zhan [Wed, 14 Jun 2023 04:19:28 +0000 (12:19 +0800)]
haproxy: update to v2.8.0

- New major LTS release (https://www.mail-archive.com/haproxy@formilux.org/msg43600.html)

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
(cherry picked from commit 3e454f418da95e4dff75ac2ff995f204dfe3dc2c)

17 months agobanip: update 0.8.8-2
Dirk Brenken [Sat, 24 Jun 2023 11:09:40 +0000 (13:09 +0200)]
banip: update 0.8.8-2

* process local lists in strict sequential order to prevent possible race conditions
* support ranges in the IP search, too
* fix some minor search issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit c3084be415f5c701a319342c85ca626996b5b463)

17 months agobanip: release 0.8.8-1
Dirk Brenken [Wed, 21 Jun 2023 08:53:19 +0000 (10:53 +0200)]
banip: release 0.8.8-1

* Support MAC-/IPv4/IPv6 ranges in CIDR notation
* Support  concatenation of local MAC addresses with IPv4/IPv6 addresses, e.g. to enforce dhcp assignments (see readme)
* small fixes & cosmetics
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit b9bd6cdb0dcd85b30999b162a06a10c5229908e7)

17 months agobanip: release 0.8.7-1
Dirk Brenken [Mon, 5 Jun 2023 15:20:12 +0000 (17:20 +0200)]
banip: release 0.8.7-1

* Optionally auto-add entire subnets to the blocklist Sets based on an additional RDAP request with the
   monitored suspicious IP, set 'ban_autoblocksubnet' accordingly (disabled by default).
   For more information regarding RDAP see
   https://www.ripe.net/manage-ips-and-asns/db/registration-data-access-protocol-rdap for reference.
* small fixes & cosmetics
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 767d1ec663b980f86f31354ceaee07c6184656eb)

17 months agovsftpd: fix compilation with musl 1.2.4
Tianling Shen [Thu, 22 Jun 2023 06:27:18 +0000 (14:27 +0800)]
vsftpd: fix compilation with musl 1.2.4

musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a9cda9150232c4907607a3f19ad1d0833541bc89)

17 months agogitlab-runner: Update to 16.0.2
Tianling Shen [Mon, 19 Jun 2023 09:25:04 +0000 (17:25 +0800)]
gitlab-runner: Update to 16.0.2

* Added test.sh script
* Fixed build with riscv64
* Passed package version via go ldflags
* Refreshed patches
* Removed useless test binaries from package

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 27b4291bd474f1517fc1a00ee7b8e7e69ded8a55)

17 months agopython-ble2mqtt: fix installation of python program
Quintin Hill [Tue, 20 Jun 2023 21:39:58 +0000 (22:39 +0100)]
python-ble2mqtt: fix installation of python program

This was broken when the init script was added in 408502ee0.

(cherry picked from commit 5cf30460555ba0687bbd61769c30edfb43e39949)
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
17 months agoc-ares: bump to 1.19.1
Hirokazu MORIKAWA [Thu, 15 Jun 2023 06:49:25 +0000 (15:49 +0900)]
c-ares: bump to 1.19.1

This is a security and bugfix release.

Security
o CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service
o CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
query IDs
o CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton()
o CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
compilation

Fixing libcares.pc
 The pkg-config file libcares.pc in version 1.19.1 has been changed to be unsuitable for OpenWrt
 and causes build errors with Openwrt packages that use libcares.
 For this reason, libcares.pc was replaced.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 4c4d3b900197785292ef92055effcccd7f3b805b)

17 months agocloudflared: Update to 2023.6.1
Tianling Shen [Wed, 21 Jun 2023 12:47:19 +0000 (20:47 +0800)]
cloudflared: Update to 2023.6.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1aa41e92ac8733be9a25b77eddea7cdac3bedc34)

17 months agov2ray-geodata: Update to latest version
Tianling Shen [Tue, 20 Jun 2023 05:11:16 +0000 (13:11 +0800)]
v2ray-geodata: Update to latest version

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit e4a22284cb5ddbcaccdea1ad850a573f9d783026)

17 months agoxray-core: update to 1.8.3
Tianling Shen [Tue, 20 Jun 2023 05:11:04 +0000 (13:11 +0800)]
xray-core: update to 1.8.3

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit c912e2bcedfcfb50c1ee02d0fa120f0b0025ac2c)

17 months agocloudflared: Update to 2023.6.0
Tianling Shen [Mon, 19 Jun 2023 06:44:12 +0000 (14:44 +0800)]
cloudflared: Update to 2023.6.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 194cf52a82df2bdf98d52687762287ae689b6fc6)

17 months agonode: June 20 2023 Security Releases
Hirokazu MORIKAWA [Wed, 21 Jun 2023 02:27:48 +0000 (11:27 +0900)]
node: June 20 2023 Security Releases

Update to v18.16.1

The following CVEs are fixed in this release:
* CVE-2023-30581: mainModule.__proto__ Bypass Experimental Policy Mechanism (High)
* CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
* CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
* CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
* CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)
* OpenSSL Security Releases (Depends on shared library provided by OpenWrt)
    * OpenSSL security advisory 28th March.
    * OpenSSL security advisory 20th April.
    * OpenSSL security advisory 30th May
* c-ares vulnerabilities: (Depends on shared library provided by OpenWrt)
    * GHSA-9g78-jv2r-p7vc
    * GHSA-8r8p-23f3-64c2
    * GHSA-54xr-f67r-4pc4
    * GHSA-x6mf-cxr9-8q6v

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 286d1d11ae451e9e90897aacd7ae20ec76e2cab5)

17 months agomodemmanager: if an alias name is used do not check sysfs path
Florian Eckert [Thu, 15 Jun 2023 13:38:34 +0000 (15:38 +0200)]
modemmanager: if an alias name is used do not check sysfs path

If an alias name is used for the modem, then a check if the device exists
in sysfs does not work. To fix this remove the check if the sysfs device
exists. The protocoll handler already checks if the modem is responsible
for this device on the next line.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit fd63e400ba1c2cf7242517ebb5675bfdcd22fc3f)

17 months agomodemmanager: do not cache virtual device events
Florian Eckert [Thu, 15 Jun 2023 12:31:51 +0000 (14:31 +0200)]
modemmanager: do not cache virtual device events

On small systems with many virtual devices, the modem manager sometimes
could not start because it took too long until all devices for the modem
were recognised. This is because all system events that are stored in
the file events.cache have to be processed. To speed up the processing,
all devices under /sys/devices/virtual are now filtered out so that they
do not have to be processed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit e66fead6d479b5870280918ea42160c7dd0fc532)

17 months agoMerge pull request #21413 from stangri/openwrt-23.05-https-dns-proxy
Stan Grishin [Tue, 20 Jun 2023 15:58:14 +0000 (09:58 -0600)]
Merge pull request #21413 from stangri/openwrt-23.05-https-dns-proxy

[23.05] https-dns-proxy: update to 2023-05-25-2

17 months agodockerd: Update to 24.0.2
Gerard Ryan [Tue, 6 Jun 2023 10:23:07 +0000 (20:23 +1000)]
dockerd: Update to 24.0.2

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 17589190e58ea5686e88379140de6f2291f5aac7)

17 months agodocker: Update to 24.0.2
Gerard Ryan [Tue, 6 Jun 2023 10:22:01 +0000 (20:22 +1000)]
docker: Update to 24.0.2

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit b089ccb0836b90b1dde2a9c9f34b30f863db6c12)

17 months agocontainerd: Update to 1.7.1 for docker 24.0.2
Gerard Ryan [Tue, 6 Jun 2023 10:21:22 +0000 (20:21 +1000)]
containerd: Update to 1.7.1 for docker 24.0.2

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit e1e05fef027aedefebd1062b5c8782726c2cedbc)

17 months agorunc: Update to 1.1.7 for docker 24.0.2
Gerard Ryan [Tue, 6 Jun 2023 10:20:40 +0000 (20:20 +1000)]
runc: Update to 1.1.7 for docker 24.0.2

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 754db89160ef37eb60e4a91d84ab7c43a23fb545)

17 months agoMerge pull request #21284 from stangri/openwrt-23.05-curl
Stan Grishin [Tue, 20 Jun 2023 03:00:03 +0000 (21:00 -0600)]
Merge pull request #21284 from stangri/openwrt-23.05-curl

[23.05] curl: update to 8.1.2

17 months agohttps-dns-proxy: update to 2023-05-25-2 21413/head
Stan Grishin [Tue, 20 Jun 2023 02:02:45 +0000 (02:02 +0000)]
https-dns-proxy: update to 2023-05-25-2

bugfix: proper mdns object creation
bugfix: prevent fw errors by allowing custom interfaces in config

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit a31640ac7cfab78c75808e22fc7fc2da48bd8e7f)

17 months agogost_engine: disable tests, reset patches dir
Eneas U de Queiroz [Mon, 12 Jun 2023 14:28:52 +0000 (11:28 -0300)]
gost_engine: disable tests, reset patches dir

Tests are breaking compilation for mipsel targets because of the removal
of the sysmips call.  Let's just not build them.

While at it, remove patches from 1.1 version and move the current ones
to the default 'patches' directory.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 085dc8d965a4baa06e60845e98fa7e23869ad213)

17 months agolibuv: bump to 1.45.0
Hirokazu MORIKAWA [Sat, 17 Jun 2023 00:52:25 +0000 (09:52 +0900)]
libuv: bump to 1.45.0

1.45.0
* linux: introduce io_uring support
* src: add new metrics APIs
* unix,win: give thread pool threads an 8 MB stack
* win,unix: change execution order of timers

1.44.2
* loop: better align order-of-events behavior between platforms
* zos: fix fs event not fired if the watched file is moved/removed/recreated
* win: Fix pipe resource leak if closed during connect (and other bugs)
* zos: don't error when killing a zombie process
* macos: avoid posix_spawnp() cwd bug
* kqueue: skip EVFILT_PROC events when invalidating events for an fd.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit cf7e9a77c991d5d394a0f434783a37bda85bff03)

17 months agoCI: update build architectures
Tianling Shen [Sun, 11 Jun 2023 05:28:03 +0000 (13:28 +0800)]
CI: update build architectures

- armvirt target has been renamed to armsr (Arm SystemReady) [1].
- armsr-armv8 has been switched to aarch64_generic architecture [2].

1. https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1
2. https://github.com/openwrt/openwrt/commit/e0f06ddc23b2503a1791ae7e97b02e2647e8a70d

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit bf88b371c5be3513b26592d6056a7de0419b0d87)

17 months agoqemu: change references from armvirt to armsr
Tianling Shen [Sun, 11 Jun 2023 05:26:34 +0000 (13:26 +0800)]
qemu: change references from armvirt to armsr

armvirt target has been renamed to armsr (Arm SystemReady) [1],
so the dependency need to be changed as well.

https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit e007556915a8528986539e6c1c9a40d938c757cb)

17 months agocollectd: change references from armvirt to armsr
Tianling Shen [Sun, 11 Jun 2023 05:26:27 +0000 (13:26 +0800)]
collectd: change references from armvirt to armsr

armvirt target has been renamed to armsr (Arm SystemReady) [1],
so the dependency need to be changed as well.

1. https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 21538459c2fb00339d718037aac6d5605328b139)

17 months agoMerge pull request #21396 from 1715173329/of/packr
Jeffery To [Mon, 19 Jun 2023 02:19:44 +0000 (10:19 +0800)]
Merge pull request #21396 from 1715173329/of/packr

[openwrt-23.05] packr: remove package

17 months agomhz: add new package
Robert Marko [Sat, 17 Jun 2023 06:47:39 +0000 (08:47 +0200)]
mhz: add new package

mhz is a tool for mathematically calculating the current CPU frequency, it
has proven to be a really good help while developing CPU frequency scaling
solutions as it allows to independently prove that scaling actually works.

Now that the author has added a license we can package it for the all to
use.

Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 89123b308f98de6e6e77a1bf21586c8fafc83413)

17 months agoicu: bump to 73.2
Hirokazu MORIKAWA [Thu, 15 Jun 2023 01:30:22 +0000 (10:30 +0900)]
icu: bump to 73.2

ICU 73.2 updates to CLDR 43.1 locale data. These are maintenance releases for ICU 73 and CLDR 43, with limited sets of bug fixes and no API or structural changes.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit a5e21caa8215d69140ad4bd46b35e49c1898d9e9)

17 months agopackr: remove package 21396/head
Tianling Shen [Sun, 4 Jun 2023 16:50:02 +0000 (00:50 +0800)]
packr: remove package

In Go 1.18+ embedded files is natively supported, so this package
is useless now. It has been archived on Jun 2022 and failed to build
on the riscv64 target.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 92059f19b01c36bee1d0aee34cd7b07a8fa5a7cf)

17 months agoMerge pull request #21381 from mhei/23.05-php8-update-to-8.2.7
Michael Heimpold [Fri, 16 Jun 2023 06:08:19 +0000 (08:08 +0200)]
Merge pull request #21381 from mhei/23.05-php8-update-to-8.2.7

[23.05] php8: update to 8.2.7

17 months agopython-ble2mqtt: update to 0.1.7
Quintin Hill [Fri, 9 Jun 2023 22:39:17 +0000 (23:39 +0100)]
python-ble2mqtt: update to 0.1.7

(cherry picked from commit b5ae4fc15cad7e4fbad7b1033a2451f5051d4f61)
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
17 months agopython-bleak: upgrade to 0.20.2
Quintin Hill [Fri, 9 Jun 2023 22:38:52 +0000 (23:38 +0100)]
python-bleak: upgrade to 0.20.2

(cherry picked from commit e948029331de767dbe4a5c40c451995de43f5cca)
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
17 months agopython-dbus-fast: update to 1.86.0
Quintin Hill [Fri, 9 Jun 2023 22:37:52 +0000 (23:37 +0100)]
python-dbus-fast: update to 1.86.0

(cherry picked from commit c5988895b4921c4fe3848a48b02cce6910273592)
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
17 months agophp8: update to 8.2.7 21381/head
Michael Heimpold [Wed, 14 Jun 2023 06:43:04 +0000 (08:43 +0200)]
php8: update to 8.2.7

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 1db2070f0092ea4675e04913e97f76a3fb1e6691)

17 months agolibmraa: riscv64 not supported
Hirokazu MORIKAWA [Mon, 12 Jun 2023 04:57:05 +0000 (13:57 +0900)]
libmraa: riscv64 not supported

Addresses buildbot errors

> CMake Error at CMakeLists.txt:193 (message):
>  Only x86, arm, mips, PERIPHERALMAN and mock platforms currently supported

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 8b777d2ec6c6c1f51c5bf84bef9cffa62fb4f965)

17 months agorust: enable riscv64 support
Tianling Shen [Wed, 7 Jun 2023 11:00:54 +0000 (19:00 +0800)]
rust: enable riscv64 support

rust natively supports riscv64 so let's enable it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 7ace3bb7d66048d87290d360a2d200f4eded6bf4)

17 months agogolang: Enable riscv64 for Go compiler and packages
Jeffery To [Fri, 2 Jun 2023 17:23:53 +0000 (01:23 +0800)]
golang: Enable riscv64 for Go compiler and packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3906e54c086417b0812d0000835e0ac518097b5f)

17 months agoCI: Add build test for riscv64_riscv64
Jeffery To [Fri, 2 Jun 2023 14:09:46 +0000 (22:09 +0800)]
CI: Add build test for riscv64_riscv64

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3b59118c4f5932f238b426ba3879e9af2fe8fbed)

17 months agoCI: Sort build architectures in alphabetical order
Jeffery To [Fri, 2 Jun 2023 14:04:38 +0000 (22:04 +0800)]
CI: Sort build architectures in alphabetical order

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 1651f7f16d26ab1042b2f45964ccdc11cea15e9f)

17 months agoCI: add concurrency rules to skip redundant build
Christian Marangi [Fri, 26 May 2023 12:43:12 +0000 (14:43 +0200)]
CI: add concurrency rules to skip redundant build

Add concurrency rules to skip redundant build to skip extra build test
on force push on pull request.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit d26e21ef40b4872007e753e821c2908bfe93b678)

17 months agomtools: update to version 4.0.43
Oskari Rauta [Sun, 11 Jun 2023 12:22:36 +0000 (15:22 +0300)]
mtools: update to version 4.0.43

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit f142b1e0025bf7a4af0a6fdc283864a6f08f1233)

17 months agonetavark: update to v1.6.0
Oskari Rauta [Sun, 11 Jun 2023 12:43:49 +0000 (15:43 +0300)]
netavark: update to v1.6.0

netavark v1.6.0 was released, so instead of using
git version, use release. Does not contain very
much of changes, but list is available from netavark's
commit log.

Software now comes with additional tool named
netavark-dhcp-proxy-client which is now included
in package.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit da8c4ee3b8e89d8f093901cf187bc1814923dd2c)

17 months agopodman: update to v4.5.1
Oskari Rauta [Sun, 11 Jun 2023 13:02:26 +0000 (16:02 +0300)]
podman: update to v4.5.1

Contains several bug fixes.
Package now contains additional tool quadlet.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 4f8c885fb1a77894a84cace8e644cf44cef437bb)

17 months agoaardvark-dns: update to v1.6.0
Oskari Rauta [Sun, 11 Jun 2023 13:11:39 +0000 (16:11 +0300)]
aardvark-dns: update to v1.6.0

aardvark-dns v1.6.0 was released,
so instead of using git version, use release -
similarly like netavark.
Very much hasn't changed but list of changes
is in git commit log of aardvark-dns.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit b6c2ed0b8dc13416e20c99310c994d75b6feb39a)

17 months agoparted: update to v3.6.0
Oskari Rauta [Sun, 11 Jun 2023 11:04:27 +0000 (14:04 +0300)]
parted: update to v3.6.0

Lot's of changes, but no online release notes
available, check ChangeLog file once extracted
if necessary

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 6117fb98cc41a962b8e43de64f53b3fbfdff5f4d)

17 months agocrun: update v1.8.5
Oskari Rauta [Sun, 11 Jun 2023 10:55:58 +0000 (13:55 +0300)]
crun: update v1.8.5

Moved to from git to release version,
but release version does not have submodule
libocispec included, so additional download added.

Release notes: https://github.com/containers/crun/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 6b75cb2860321523e4ce896db853f89d2251fcbc)

17 months agognu-efi: update to version 3.0.17
Oskari Rauta [Sun, 11 Jun 2023 12:17:30 +0000 (15:17 +0300)]
gnu-efi: update to version 3.0.17

update library + add new package containing efi programs
provided by gnu-efi library.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 232b73ed9a03b962e3b089c950dc6c4d02836c63)

17 months agonetbird: update to 0.21.1
Oskari Rauta [Sun, 11 Jun 2023 09:44:54 +0000 (12:44 +0300)]
netbird: update to 0.21.1

Release notes: https://github.com/netbirdio/netbird/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 9bc2733f31fb9ef083d7b2ed8235ffef9dbc3b21)

17 months agogpsd: update to 3.25
Nick Hainke [Mon, 12 Jun 2023 10:33:21 +0000 (12:33 +0200)]
gpsd: update to 3.25

Release Information:
https://gitlab.com/gpsd/gpsd/-/blob/release-3.25/NEWS?ref_type=tags

Remove the backport that is now contained in the release:
- 003_sconscript-cross-platform-build-support.patch

Latest olsrd version needs this bump.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 234b43572520145ede1e59e1892166ac62928be0)

17 months agocloudreve: Update to 3.8.0
Tianling Shen [Mon, 12 Jun 2023 19:36:41 +0000 (03:36 +0800)]
cloudreve: Update to 3.8.0

- Fixed packing web frontend assets
- Enabled build for riscv64

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 27e6796a832e76ac4eee30de2347ad47c085c7ed)

17 months agotreewide: remove COMMITCOUNT
Kuan-Yi Li [Sat, 10 Jun 2023 03:43:42 +0000 (11:43 +0800)]
treewide: remove COMMITCOUNT

Automatically compute and substitute current values for all
$(COMMITCOUNT) instances as this feature is deprecated and shouldn't be
used.

Based on commit 0c10c224be81:

Change COMMITCOUNT in rules.mk to:
```
COMMITCOUNT = $(if $(DUMP),0,$(shell sed -i "s/\$$(COMMITCOUNT)/$(call commitcount)/" $(CURDIR)/Makefile))
```

then update all affected packages by:
```
for i in $(git -C feeds/packages grep -l COMMITCOUNT | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
(cherry picked from commit ba75322534f73923f7c1f457aca9e461aea57c16)

17 months agodnsproxy: Update to 0.50.2
Tianling Shen [Sun, 11 Jun 2023 16:55:32 +0000 (00:55 +0800)]
dnsproxy: Update to 0.50.2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit eda669c819fcd6ea2cf1f50ad3a21ea5b52fdeba)

17 months agoMerge pull request #21360 from jefferyto/python-3.11.4-openwrt-23.05
Josef Schlehofer [Tue, 13 Jun 2023 05:21:21 +0000 (07:21 +0200)]
Merge pull request #21360 from jefferyto/python-3.11.4-openwrt-23.05

[openwrt-23.05] python3: Update to 3.11.4, refresh patches

17 months agopython3: Update to 3.11.4, refresh patches 21360/head
Jeffery To [Mon, 12 Jun 2023 06:10:01 +0000 (14:10 +0800)]
python3: Update to 3.11.4, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4627ed7c430860806c352a2430f1abcb63aae327)

17 months agoMerge pull request #21351 from jefferyto/golang-1.20.5-openwrt-23.05
Tianling Shen [Mon, 12 Jun 2023 20:12:33 +0000 (04:12 +0800)]
Merge pull request #21351 from jefferyto/golang-1.20.5-openwrt-23.05

[openwrt-23.05] golang: Update to 1.20.5

17 months agonginx: create empty directory for module.d include
Christian Marangi [Mon, 12 Jun 2023 15:06:16 +0000 (17:06 +0200)]
nginx: create empty directory for module.d include

Fix a bug on installation of nginx-mod-luci where module.d directory
is not found and luci.module creation fails.
Correctly create empty directory for module.d include for dynamic module
loading by placing file in this directory.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 9365622f27284e1541ef24a1f4a52d32a439e24b)

17 months agonginx: bump to new 1.25.0 release
Christian Marangi [Sun, 11 Jun 2023 02:40:49 +0000 (04:40 +0200)]
nginx: bump to new 1.25.0 release

Bump nginx to new 1.25.0 release.
Changes:

 *) Feature: experimental HTTP/3 support.

Every patch automatically refreshed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 3f080e484e0ce17a64f2df33bcf78ec92d5fc19e)

17 months agotunneldigger: add package for establishing L2TPv3 tunnels over UDP
Nick Hainke [Thu, 8 Jun 2023 12:34:09 +0000 (14:34 +0200)]
tunneldigger: add package for establishing L2TPv3 tunnels over UDP

In the previous commit we already added tunneldigger-broker. Add the
corresponding client.

This PR is just a refactoring of the already existing opkg package from
wlanslovenija [0].

[0] - https://github.com/wlanslovenija/firmware-packages-opkg/tree/master/net/tunneldigger

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit bd2b4f311a95b64e019ef29f7c01326a3dfee7d1)

17 months agotunneldigger-broker: add broker for tunneldigger
Nick Hainke [Thu, 8 Jun 2023 10:36:33 +0000 (12:36 +0200)]
tunneldigger-broker: add broker for tunneldigger

In mesh communities, tunneldigger is widely used to create L2TPv3 tunnels
and mesh via them. Since the broker is typically installed on other
distributions, the openwrt broker package has not received any
maintenance in recent years [0]. I  take now care of the further maintaince
of this package. Furthermore, I consulted with the maintainers to ensure
that they were comfortable with the change [1].

This PR is just a refactoring of the already existing opkg package from
wlanslovenija. It fixes config parsing and in general the config, adapts
to the new python syntax and fixes dependency handling.

- [0] https://github.com/wlanslovenija/firmware-packages-opkg/tree/master/net/tunneldigger-broker
- [1] https://github.com/wlanslovenija/firmware-packages-opkg/issues/24

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 8298ce82346817c09cfb6ace2f991bacf79a6071)

17 months agogolang: Update to 1.20.5 21351/head
Jeffery To [Mon, 12 Jun 2023 04:04:53 +0000 (12:04 +0800)]
golang: Update to 1.20.5

Includes fixes for:

* CVE-2023-29402: cmd/go: cgo code injection
* CVE-2023-29403: runtime: unexpected behavior of setuid/setgid binaries
* CVE-2023-29404: cmd/go: improper sanitization of LDFLAGS
* CVE-2023-29405: cmd/go: improper sanitization of LDFLAGS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 471ef14774caffc31dbe82333332cac3121e38e6)

17 months agoglib2: disable gnulib printf
Jitao Lu [Sun, 11 Jun 2023 13:01:18 +0000 (21:01 +0800)]
glib2: disable gnulib printf

A compiler bug (suspiciously) blocks gnulib compilation for
mipsel_24kc_24kf. While we had this patch to disable gnulib, it was
accidentally removed by 5d27631d9fbca076eb6377fc8c10f474ce9f4fea. Add it
back to fix the long broken build for mipsel_24kc_24kf.

Fixes: #19511
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
17 months agonginx: fix problem with migration of uci conf template
Christian Marangi [Sun, 11 Jun 2023 02:29:54 +0000 (04:29 +0200)]
nginx: fix problem with migration of uci conf template

Fix some problem with migration of uci conf template and include of
module.d directive.

Fix 2 case:
- uci.conf.template not versioned but with the include module.d
  resulting in double include module.d

- uci.conf.template version 1.1 with the include module.d at the end
  of the config. This is problematic for nginx as modules must be
  included before any http directive.

Handle this 2 case to restore a working uci.conf.template configuration
on migrated config.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit add3cbfcd3dfb1ce64d5d6f67a831c6410b99776)

17 months agonginx-util: bump uci conf template version
Christian Marangi [Sun, 11 Jun 2023 01:53:41 +0000 (03:53 +0200)]
nginx-util: bump uci conf template version

Bump uci conf template version to 1.2 to sync with nginx version
handling some migration problem.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 15271cb46794f79681b993ffe719400d02c71d3b)

17 months agoopenvpn: fix ipchange hotplug event
Ivan Pavlov [Wed, 7 Jun 2023 17:58:42 +0000 (20:58 +0300)]
openvpn: fix ipchange hotplug event

In f8a8b71e26b9bdbf86fbb7d4d1482637af7f3ba4 openvpn introduced new hotplug events.
For server config, ipchange hotplug event produces an error.
So, make ipchange hotplug event for client only

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

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
(cherry picked from commit 808f67d6152fcac09dcda4d66e2bb285878fb3d4)

17 months agoavahi: Import patches for security fixes
Hirokazu MORIKAWA [Thu, 8 Jun 2023 05:37:38 +0000 (14:37 +0900)]
avahi: Import patches for security fixes

Imported patches included in debian and other package.

* 200-Fix-NULL-pointer-crashes-from-175.patch
  CVE-2021-3502
   A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.

* 201-Avoid-infinite-loop-in-avahi-daemon-by-handling-HUP-event.patch
  CVE-2021-3468
   A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered.

* 202-avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
   avahi_dns_packet_consume_uint32 left shifts uint8_t values by 8, 16 and 24 bits to combine them into a 32-bit value. This produces an undefined behavior warning with gcc -fsanitize when fed input values of 128 or 255 however in testing no actual unexpected behavior occurs in practice and the 32-bit uint32_t is always correctly produced as the final value is immediately stored into a uint32_t and the compiler appears to handle this "correctly".
Cast the intermediate values to uint32_t to prevent this warning and ensure the intended result is explicit.

* 203-Do-not-disable-timeout-cleanup-on-watch-cleanup.patch
   This was causing timeouts to never be removed from the linked list that tracks them, resulting in both memory and CPU usage to grow larger over time.

* 204-Emit-error-if-requested-service-is-not-found.patch
   It currently just crashes instead of replying with error. Check return
value and emit error instead of passing NULL pointer to reply.

* 205-conf-file-line-lengths.patch
   Allow avahi-daemon.conf file to have lines longer than 256 characters (new limit 1024).

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 779af4d40ccdc0f2a798ee6b6849abb37d202f1b)

17 months agolcd4linux: fix build error for custom build
Florian Eckert [Tue, 23 May 2023 06:30:06 +0000 (08:30 +0200)]
lcd4linux: fix build error for custom build

This change fixes the following build error:
hecking that generated files are newer than configure... done
configure: error: conditional "ANSICXX" was never defined.
Usually this means the macro was only invoked conditionally.
make[2]: *** [Makefile:300:
/home/feckert/openwrt/build_dir/target-x86_64_musl/lcd4linux-custom/lcd4linux-2019-07-19-0b83bb3a/.configured_a17fb5ef857664f03cd0ce37cc5ea591]
Error 1
make[2]: Leaving directory
'/home/feckert/feeds/packages/utils/lcd4linux'
time: package/feeds/packages/lcd4linux/custom/compile#15.43#0.79#16.92
ERROR: package/feeds/packages/lcd4linux failed to build (build
variant: custom).
make[1]: *** [package/Makefile:120:
package/feeds/packages/lcd4linux/compile] Error 1
make[1]: Leaving directory
'/home/feckert/openwrt'
make: ***
[/home/feckert/openwrt/include/toplevel.mk:231:
package/feeds/packages/lcd4linux/compile] Error 2

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Suggested-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 917ea9d214fe4a6ef8e000c50761ac6d302f8162)

17 months agoacme-acmesh: Bump to version 3.0.6
Toke Høiland-Jørgensen [Fri, 9 Jun 2023 13:19:55 +0000 (15:19 +0200)]
acme-acmesh: Bump to version 3.0.6

Important security fix.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>