Commit Graph

25223 Commits

Author SHA1 Message Date
Josef Schlehofer e901f555fb knot-resolver: update to version 5.7.0
Changelog:
https://www.knot-resolver.cz/2023-01-26-knot-resolver-5.6.0.html
https://www.knot-resolver.cz/2023-08-22-knot-resolver-5.7.0.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a531468114)
2023-09-03 10:04:02 +02:00
Sergey V. Lobanov 5423228148 tcl: fix build on macos
configure script detects Darwin and uses flags incompatible with
Linux target build.

This patch uses fakeuname tool if host OS is MacOS to avoid Darwin
detection on target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit 6e9c701050)
2023-09-02 15:50:14 +02:00
Sergey V. Lobanov 8554a287cf stress-ng: fix build on macos
This patch adds KERNEL=Linux to MAKE_FLAGS to avod Darwin detection.
If Makefile detects Darwin, it removes -lbsd from build flags, but
this flag is required due to target is always Linux, not bsd-like.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit 53a51fb3d1)
2023-09-02 15:49:06 +02:00
Sergey V. Lobanov 84b66ce125 syslog-ng: fix build on macos
configure script detects Darwin and uses flags incompatible with
Linux target build.

This patch uses fakeuname tool if host OS is MacOS to avoid Darwin
detection on target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit 0a9a52ee77)
2023-09-02 15:45:46 +02:00
Sergey V. Lobanov dc10003c5e fakeuname: add package
This package provides fakeuname host tool to avoid build platform
detection for invalid configure/build scripts that are not
friendly to cross-platform build.

This fake uname tool returns Linux as OS name and target Linux
version as OS version.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit 4b6fc857be)
2023-09-02 15:44:32 +02:00
Michael Heimpold b3a6bb8390
Merge pull request #21815 from mhei/21.02-php8-update-to-8.0.30
[21.02] php8: update to 8.0.30
2023-08-15 07:40:22 +02:00
Michael Heimpold e76e8296ec php8: update to 8.0.30
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-13 11:47:04 +02:00
Tianling Shen 90e30040c8
yq: Update to 4.34.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1cb2590c17)
2023-07-16 03:17:42 +08:00
Tianling Shen ec90d11d44
yq: Update to 4.34.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 2ecf76e27d)
2023-07-16 03:17:39 +08:00
Tianling Shen 07d85984d4
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 952844c976)
2023-07-16 03:17:07 +08:00
Tianling Shen d0aa4c3f7a
rclone: Update to 1.62.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 392a68e247)
2023-07-16 03:17:03 +08:00
Noah Meyerhans 8df2214472 bind: bump to 9.18.16
Fixes CVEs:

- CVE-2023-2828: The overmem cleaning process has been improved, to
  prevent the cache from significantly exceeding the configured
  max-cache-size limit.
- CVE-2023-2911: A query that prioritizes stale data over lookup
  triggers a fetch to refresh the stale data in cache. If the fetch is
  aborted for exceeding the recursion quota, it was possible for named
  to enter an infinite callback loop and crash due to stack overflow.

The complete list of changes is available in the upstream release
notes at
https://ftp.isc.org/isc/bind9/cur/9.18/doc/arm/html/notes.html#notes-for-bind-9-18-16

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
(cherry picked from commit 9ac79ad469)
2023-06-25 21:37:51 -07:00
Michael Heimpold 19d5e96d35
Merge pull request #21397 from mhei/21.02-php8-update-to-8.0.29
[21.02] php8: update to 8.0.29
2023-06-20 08:01:29 +02:00
Michael Heimpold 0d98cdb6bf php8: update to 8.0.29
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-15 21:27:59 +02:00
Tianling Shen 0ba2e15c61
Merge pull request #21347 from jefferyto/python-3.9.17-openwrt-21.02
[openwrt-21.02] python3: Update to 3.9.17
2023-06-13 11:00:45 +08:00
Jeffery To 5661564a57
python3: Update to 3.9.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 16:17:50 +08:00
Hirokazu MORIKAWA 33f24874df 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 779af4d40c)
2023-06-11 13:39:18 +08:00
Toke Høiland-Jørgensen 50875d6789 net/acme: Bump acme.sh to v3.0.6
Important security fix.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-06-09 19:56:10 +02:00
Glenn Strauss 984dad6b0b lighttpd: update to lighttpd 1.4.71 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 19291ee195)
2023-05-28 15:43:14 +03:00
W. Michael Petullo e34d15a3eb syslog-ng: update to 4.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit 1fcea07981)
2023-05-28 08:06:21 +02:00
Alexandru Ardelean 8e2881eab3
Merge pull request #21185 from commodo/django-update-21.09
[21.02] django: bump to version 3.2.19
2023-05-27 21:15:32 +03:00
Alexandru Ardelean 17f8c876bf django: bump to version 3.2.19
Fixes CVE-2023-31047
Link: https://nvd.nist.gov/vuln/detail/CVE-2023-31047

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-05-26 13:17:58 +03:00
Rafał Miłecki 36ba94fcda wsdd2: fix stopping service
Function start_service() is called whenever service may need reloading.
If SMB server is not running it could be simply because it has been
stopped. Reloading service in such case is not an error so:
1. Don't log error as it isn't one
2. Don't exit with error code as it was confusing procd

This change fixes scenario like:
/etc/init.d/ksmbd stop
/etc/init.d/wsdd2 reload
(previously above wasn't stopping wsdd2)

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 6020ca52bf)
2023-05-21 10:21:13 +02:00
Li Zhang 2884d1072c wsdd2: Remove extra comma, which breaks the key-value pair of the '-b' parameter
Signed-off-by: Li Zhang <starsunyzl@gmail.com>
(cherry picked from commit 5fc06d939f)
2023-05-21 10:20:53 +02:00
Fritz D. Ansel 4a479d4118 wsdd2: dont use fqdn
workgroups use the name of the host without domain

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
(cherry picked from commit 3953ff956d)
2023-05-21 10:20:53 +02:00
Rafał Miłecki 550965cce6 lxc: set --with-runtime-path to the /var/run path
The default runtime directory used by LXC is /run which doesn't exist
in OpenWrt. It causes errors like:

Failed to create lock for foo
lxc-create: foo: tools/lxc_create.c: main: 260 Failed to create lxc container

There has been workaround for that in the lxc-auto.init but it requires
installing "lxc-auto" package. Replacing that "ln -s" workaround with
Makefile specifying --with-runtime-path allows using pure "lxc" in
OpenWrt (without the "lxc-auto").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 90fef036fe)
2023-05-19 17:48:03 +02:00
Marc Benoit ac57ec2dd8 lxc-auto: made init script compatible with image builder
Signed-off-by: Marc Benoit <marcb62185@gmail.com>
(cherry picked from commit e70844a9ca)
2023-05-19 17:46:13 +02:00
John Audia 828d92bd76 lxc: update to 4.10.12
Bump to latest upstream release and rebase:
  010-Remove-distro-check.patch
  025-remove-unsupported-option.patch

After updating ran `make package/lxc/refresh` to clean dirty patches

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
(cherry picked from commit 115bf07f6c)
2023-05-19 17:46:13 +02:00
John Audia 7d373e0fcb lxc-auto: step by 1 sec up to $max_timeout
If the user defines a $max_timeout of 30, the service will wait 30 seconds
before it considers lxc-stop complete even though lxc-stop might actually
finish much sooner.  This introduces an unneeded delay.

This commit changes the behavior to check once per second to see when lxc-stop
actually stops doing so up to $max_timeout.  It also slightly simplifies the
code with logic to append the -t $max_timeout to the script.

Signed-off-by: John Audia <graysky@archlinux.us>
(cherry picked from commit 7984d2d74a)
2023-05-19 17:46:13 +02:00
Jan Hák b881d3dc90 knot: update to version 3.2.6
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit bb946a19cd)
2023-05-18 07:22:43 +02:00
Jan Hák f51047ea19 knot: update to version 3.2.5
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit 94512aba16)
2023-05-18 07:22:35 +02:00
Josef Schlehofer e823a6dee8 syslog-ng: update to version 4.1.1
- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.1.1

- Updated version in config

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 7de98324c7)
2023-05-18 07:19:58 +02:00
Glenn Strauss 96bf440dd2 lighttpd: QUILT patches; fix build patches
QUILT patches; fix build patches to re-merge deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-15 18:12:03 +08:00
Glenn Strauss 526b9d9880 lighttpd: include mod_h2 in base package
The next version of lighttpd will move HTTP/2 support from the lighttpd
base executable into a separate module: mod_h2

Include patch to do so now, and update packaging to handle it.

HTTP/2 support is enabled by default since lighttpd 1.4.59, but if
HTTP/2 support is explicitly disabled in the configuration, then mod_h2
will not be loaded, thereby reducing lighttpd memory use.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit f4152fccad)
2023-05-15 18:12:03 +08:00
Glenn Strauss 61bc2c5572 lighttpd: update to lighttpd 1.4.70 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 0d5b110077)
2023-05-15 18:12:03 +08:00
Glenn Strauss 93f8972595 lighttpd: adjust packages for built-in modules
(.so is no longer built, but package still contains config files)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 7fda9563de)
2023-05-15 18:12:03 +08:00
Glenn Strauss 4f88b07856 lighttpd: fix package DEPENDS syntax
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ae5135a913)
2023-05-15 18:12:03 +08:00
Tianling Shen c6fc6dd635
librespeed-go: update file permissions for ujail
This fixes "permission denied" error when access files as a normal user.

Reported-by: Anya Lin <hukk1996@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 42d340bce0)
2023-04-29 14:29:05 +08:00
Javier Marcet 48242ee7a1 bind: disable geoip
Signed-off-by: Javier Marcet <javier@marcet.info>
[modified also PKG_RELEASE]
(cherry picked from commit 073ee02500)
2023-04-18 17:01:07 +02:00
Tianling Shen 299ad7a6dd
Merge pull request #20799 from gstrauss/lighttpd-1.4.69-1-openwrt-21.02
lighttpd: update to lighttpd 1.4.69 release hash - backport to openwrt 21.02
2023-04-16 04:08:06 +08:00
Glenn Strauss a10a509a00 lighttpd: patch to restore removed modules
patch to restore removed modules to preserve state for 21.02

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-04-14 17:14:35 -04:00
Hannu Nyman 9e95523374 ocserv: disable libmaxminddb detection
Disable libmaxminddb detection to fix a build error
due to missing dependency.
(the libmaxminddb library is now detected, but is unncessary.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 508c4548dc)
2023-04-14 15:43:39 -04:00
Hannu Nyman a46dc44589 knot: disable libmaxminddb detection
Disable libmaxminddb detection to fix a build error due to
missing dependency.
(the libmaxminddb library is now detected, but is unncessary.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ce46bf8a43)
2023-04-14 15:43:31 -04:00
Glenn Strauss bea91ecd92 lighttpd: fix package DEPENDS syntax
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-14 15:21:16 -04:00
Rosen Penev c7ae8c42f2 libmaxminddb: install pkgconfig file
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit fe018482f8)

(cherry pick reduced for backport)
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-04-14 15:18:46 -04:00
Glenn Strauss 1a8c25d221 lighttpd: update to lighttpd 1.4.69 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 8f2fbf093a)
2023-04-14 13:58:33 -04:00
Glenn Strauss b6f0f40d7a lighttpd: add lighttpd-mod-webdav_min package
add lighttpd-mod-webdav_min package alternative to lighttpd-mod-webdav

lighttpd-mod-webdav_min is more minimal than full lighttpd-mod-webdav.
lighttpd-mod-webdav_min does not support PROPPATCH, LOCK, UNLOCK, and
by not supporting those methods, removes dependencies on libxml2,
libsqlite3, and libuuid.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit ed6fe528c1)
2023-04-14 13:58:33 -04:00
Glenn Strauss 4659527c35 lighttpd: collect mods now built into lighttpd exe
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 85279b49ce)
2023-04-14 13:58:33 -04:00
Glenn Strauss ee3febfc1c lighttpd: remove patch included upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 66001d5a91)
2023-04-14 13:58:33 -04:00
Glenn Strauss be5ea629de lighttpd: update to lighttpd 1.4.68 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 6383ae9407)
2023-04-14 13:58:33 -04:00