Commit Graph

29515 Commits

Author SHA1 Message Date
Tianling Shen
23dec767fa 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 27e6796a83)
2023-06-14 13:48:02 +08:00
Kuan-Yi Li
7d5fc0878e 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 0c10c224be:

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 ba75322534)
2023-06-14 13:47:52 +08:00
Tianling Shen
84a7e3e6d8 dnsproxy: Update to 0.50.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit eda669c819)
2023-06-14 13:47:46 +08:00
Josef Schlehofer
064cb6ab18 Merge pull request #21360 from jefferyto/python-3.11.4-openwrt-23.05
[openwrt-23.05] python3: Update to 3.11.4, refresh patches
2023-06-13 07:21:21 +02:00
Jeffery To
a3e3e41e56 python3: Update to 3.11.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4627ed7c43)
2023-06-13 11:58:21 +08:00
Tianling Shen
c9b614b628 Merge pull request #21351 from jefferyto/golang-1.20.5-openwrt-23.05
[openwrt-23.05] golang: Update to 1.20.5
2023-06-13 04:12:33 +08:00
Christian Marangi
bf30d7d7ec 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 9365622f27)
2023-06-12 17:11:10 +02:00
Christian Marangi
5d36f84100 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 3f080e484e)
2023-06-12 17:11:08 +02:00
Nick Hainke
d184fd27fe 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 bd2b4f311a)
2023-06-12 16:50:46 +02:00
Nick Hainke
7340474c8b 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 8298ce8234)
2023-06-12 16:50:46 +02:00
Jeffery To
ef41089c4b 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 471ef14774)
2023-06-12 19:59:11 +08:00
Jitao Lu
4ed85ea247 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 5d27631d9f. Add it
back to fix the long broken build for mipsel_24kc_24kf.

Fixes: #19511
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
2023-06-11 20:56:12 +03:00
Christian Marangi
259b125f6a 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 add3cbfcd3)
2023-06-11 05:29:28 +02:00
Christian Marangi
0850879be3 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 15271cb467)
2023-06-11 05:29:28 +02:00
Ivan Pavlov
3d802d4294 openvpn: fix ipchange hotplug event
In f8a8b71e26 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 808f67d615)
2023-06-10 15:27:56 +08:00
Hirokazu MORIKAWA
2eabf45e4b 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-10 15:27:06 +08:00
Florian Eckert
4e23876d61 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 917ea9d214)
2023-06-10 02:58:30 +08:00
Toke Høiland-Jørgensen
5ba2629d58 acme-acmesh: Bump to version 3.0.6
Important security fix.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2023-06-09 19:54:50 +02:00
Tianling Shen
ac7a22d1fa Merge pull request #21306 from jefferyto/python3-asgiref-3.7.2-openwrt-23.05
[openwrt-23.05] python3-asgiref: Update to 3.7.2, rename source package
2023-06-09 21:11:35 +08:00
S. Brusch
eeeb8ee395 crowdsec: new upstream release version 1.5.2
Update crowdsec to latest upstream release version 1.5.2

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5

Description: update to latest version of upstream
(cherry picked from commit 1813bf2c6e)
2023-06-09 09:41:17 +08:00
Jeffery To
6359809fad python3-asgiref: Update to 3.7.2, rename source package
This renames the source package to python-asgiref to match other Python
packages.

This also updates the package title and URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b098f2ac40)
2023-06-08 15:46:04 +08:00
Oskari Rauta
7cbe77fb6d speedtestcpp: add new package
speedtestcpp is a fork of Taganaka's speedtest, rewritten.

It has some improvements such as
 - interactive result show
 - use server recommended profiles, which makes it faster (can be disabled)
 - and more..

It also provides it's functions in shared and static libraries
and offers development headers for integrating speedtest to
features to another projects.

This commit replaces speedtestpp since this fork has
all the same features + more.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit c5bf970241)
2023-06-08 14:01:07 +08:00
Tianling Shen
9745a8f925 Merge pull request #21295 from jefferyto/passlib-1.7.4-openwrt-23.05
[openwrt-23.05] passlib: Update to 1.7.4, rename source package
2023-06-07 21:53:23 +08:00
Tianling Shen
dc5f021f36 Merge pull request #21288 from jefferyto/python-typing-extensions-4.6.3-openwrt-23.05
[openwrt-23.05] python-typing-extensions: Update to 4.6.3
2023-06-07 21:53:12 +08:00
Tianling Shen
69b00c1f30 Merge pull request #21287 from jefferyto/python-poetry-core-1.6.1-openwrt-23.05
[openwrt-23.05] python-poetry-core: Update to 1.6.1
2023-06-07 21:52:57 +08:00
Tianling Shen
2ba8a0c4e2 Merge pull request #21286 from jefferyto/python-hatchling-1.17.1-openwrt-23.05
[openwrt-23.05] python-hatchling: Update to 1.17.1
2023-06-07 21:52:49 +08:00
Tianling Shen
e3fbc5a7fd rust: bump libc to 0.2.146
Fixes build with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ba267237e7)
2023-06-07 16:46:02 +08:00
Luca Barbato
3f2856dfa0 rust: update to 1.70.0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 81add12294)
2023-06-07 16:45:58 +08:00
Jeffery To
347e07e4a8 passlib: Update to 1.7.4, rename source package
This renames the source package from passlib to python-passlib to match
other Python packages.

This also updates the package URL and list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5b965e4d79)
2023-06-07 13:38:59 +08:00
Tianling Shen
112b237f14 gawk: disable mpfr detection
Disable mpfr detection to fix a build error due to (unncessary)
missing dependency:

```
Package gawk is missing dependencies for the following libraries:
libgmp.so.10
libmpfr.so.6
```

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3d9b6df7d8)
2023-06-07 12:04:35 +08:00
Tianling Shen
002cea57c0 python3-bottle: Update to 0.12.25
Fix build with Python 3.11

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a6980eb933)
2023-06-06 13:44:05 +02:00
Tianling Shen
050ed92068 python-yarl: Update to 1.9.2
Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0e6fe09a34)
2023-06-06 13:43:43 +02:00
Jeffery To
6e94390c0b python-typing-extensions: Update to 4.6.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b638f3f8c0)
2023-06-06 13:26:38 +08:00
Jeffery To
66019fd42f python-poetry-core: Update to 1.6.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ac59c69237)
2023-06-06 13:23:29 +08:00
Jeffery To
234049b6e6 python-hatchling: Update to 1.17.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0aed79d2a7)
2023-06-06 13:21:08 +08:00
Alexandru Ardelean
fa33800891 Merge pull request #21278 from 1715173329/2305-n
[openwrt-23.05] numpy: bump version to 1.24.3
2023-06-05 16:50:36 +03:00
Alexandru Ardelean
1abc7665d8 numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 8f176e30f3)
2023-06-05 19:38:41 +08:00
Etienne Champetier
72bccf6b5f Merge pull request #21271 from champtar/zabbix-url-23.05
[23.05] zabbix: Add "oldstable" source URL
2023-06-05 05:11:43 -04:00
Jeffery To
03d4cf031f zabbix: Add "oldstable" source URL
Zabbix moved the 6.2 directory from "stable" into "oldstable". This adds
the "oldstable" URL to PKG_SOURCE_URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c196aac4b1)
2023-06-04 21:07:46 -04:00
Dengfeng Liu
cfaf2a8a06 xfrpc: update to 2.6.633
support socks5

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-06-04 13:59:17 +08:00
Tianling Shen
20bc01f63d Merge pull request #21266 from jefferyto/micropython-1.20.0-openwrt-23.05
[openwrt-23.05] micropython: Update to 1.20.0, update/add related packages
2023-06-04 13:58:17 +08:00
Jeffery To
e9dda77cc4 micropython-mpremote: Add new package
From the README:

This CLI tool provides an integrated set of utilities to remotely
interact with and automate a MicroPython device over a serial
connection.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a83dcf0d5c)
2023-06-04 01:00:22 +08:00
Jeffery To
b4ae1c5dd0 python-hatch-requirements-txt: Add new host-only package
From the README:

Hatchling plugin to read project dependencies from requirements.txt

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9071deb1c7)
2023-06-04 01:00:22 +08:00
Jeffery To
761ba28159 micropython-lib: Update to master, split target package
The package has been reworked to install the same files that are
available to be downloaded/installed by mip, the package manager new to
MicroPython 1.20.0.

This also splits the original target package into four:

* micropython-lib
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains mpy bytecode files

* micropython-lib-src
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains py source files

* micropython-lib-unix
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains mpy bytecode files
  * Installs a specific launcher (micropython-unix) that adds the Unix
    package directory into MicroPython's library path

* micropython-lib-unix-src
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains py source files

This also updates the package license, title, and description.

Patches:

* 001-build-unix-ffi.patch

  This enables the repo build script to also build the Unix-specific
  packages. Not sure if upstream is open to accepting this since the
  Unix-specific packages don't fit well into the existing package
  distribution mechanism.

* 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch

  These fix instances where the unix-ffi version of the os package is
  overridden by the python-stdlib version. These have been submitted to
  upstream: https://github.com/micropython/micropython-lib/pull/672

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 9390bd0262)
2023-06-04 01:00:21 +08:00
Jeffery To
ea58dfac60 micropython: Update to 1.20.0, refresh/rework patches
Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit a4ae38494f)
2023-06-04 01:00:21 +08:00
Dengfeng Liu
6971beac8c apfree-wifidog: Update to 6.02.1939
1. support fw4
2. support openssl3.0

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
2023-06-03 00:10:41 +08:00
Maxim Storchak
d8092a26f3 collectd: enable AllPortsSummary for tcpconns plugin
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry picked from commit 8270bd173e)
2023-06-02 17:47:39 +03:00
Maxim Storchak
fb42a3a145 nfs-kernel-server: remove libwrap from the dependencies
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry picked from commit 33e1deadf8)
2023-06-02 21:31:52 +08:00
Ted Hess
1bc4ba94e6 Zile: Remove autoreconf.
It is no longer required since gnulib is now local to host build environment (tools/gnulib).

Signed-off-by: Ted Hess <thess@kitschensync.net>
(cherry picked from commit b7afecad9d)
2023-06-02 21:27:06 +08:00
Tianling Shen
6866f8b134 dnsproxy: Update to 0.49.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d717bace8d)
2023-06-02 21:16:03 +08:00