Commit Graph

32454 Commits

Author SHA1 Message Date
Florian Eckert 9de61ea058 modemmanager: add missing ubus status backend via mmcli
The 'modemmanager' uses the 'dbus'. Status information can be retrieved
with the 'mmcli' command, this can also be output in json format.

This commit adds a new 'ubus' backend with which this information can
be easily accessed via ubus.

* ubus call modemmanager info
* ubus call modemmanager dump

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-07-10 12:26:51 +02:00
Javier Marcet 2c96a5bb1d luajit2: update to v2.1-20240626
- change: disable hash computation optimization because of the
 possibility of severe degradation.

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-07-10 10:24:39 +02:00
Florian Eckert b814db5618
Merge pull request #24533 from bretello/fix-lua-cjson-pkg-src-url
lua-cjson: fix broken PKG_SOURCE_URL
2024-07-10 08:13:41 +02:00
Yousong Zhou 49b83809b3 shadowsocks-libev: drop the package
The upstream project is declared as bugfix-only and received no update
for about 2 years.  The developement focus there has shifted.  It does
not compile with current openwrt main branch.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2024-07-10 07:16:46 +02:00
Milinda Brantini ba80a659a4 dnsproxy: Update to 0.72.0
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-10 10:37:35 +08:00
Hirokazu MORIKAWA ebc219db41 node: July 8, 2024 Security Releases
This is a security release.

Notable Changes

    CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
    CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
    CVE-2024-22018 - fs.lstat bypasses permission model (Low)
    CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low)
    CVE-2024-37372 - Permission model improperly processes UNC paths (Low)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2024-07-10 10:36:48 +08:00
Geoffrey Hausheer 6769d5cf11 luasocket: Enable serial module
Includes the serial module for luasockets (which is already being built)
in the final package. This allows using socket.select() on a serial port
(eg /dev/ttyACM0) which is the easiest way to use a serial-port with
coroutines.

Signed-off-by: Geoffrey Hausheer <rc2012@pblue.org>
2024-07-09 17:52:36 -07:00
Michael Heimpold 183810bd5b php8: update to 8.3.9
Upstream changelog:
https://www.php.net/ChangeLog-8.php#8.3.9

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-07-09 20:49:44 +02:00
brethil bretello 64ac0914f8
lua-cjson: fix broken PKG_SOURCE_URL
See 718f27293a

Signed-off-by: brethil bretello <bretello@distruzione.org>
2024-07-09 18:20:06 +02:00
Georgi Valkov 60f645f255 xtables-addons: bump to 3.26
extensions/ACCOUNT/Makefile.am
change ${top_srcdir} to ../../ (used in 3.24) to fix the following error
cp: cannot stat '/Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/ipkg-install/usr/lib/iptables/libxt_ACCOUNT.so': No such file or directory

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-07-09 05:08:14 -07:00
Georgi Valkov d9a7d152cf xtables-addons: merge patches
Merge the following patches
201-fix-lua-packetscript.patch
210-freebsd-build-fix.patch
since they modify files created by 200-add-lua-packetscript.patch

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-07-09 05:08:14 -07:00
Georgi Valkov 0f53ab8b3b xtables-addons: fix build error with target x64
Fixes
make[6]: Entering directory '/Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.36'
  CC [M]  /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.o
In file included from /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:20:
./include/net/checksum.h: In function 'csum_shift':
./include/net/checksum.h:90:40: error: implicit declaration of function 'ror32' [-Werror=implicit-function-declaration]
   90 |                 return (__force __wsum)ror32((__force u32)sum, 8);
      |                                        ^~~~~
In file included from ./include/linux/kernel.h:22,
                 from ./include/linux/skbuff.h:13,
                 from ./include/linux/tcp.h:17,
                 from ./include/net/tcp.h:20,
                 from /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:21:
./include/linux/bitops.h: At top level:
./include/linux/bitops.h:135:21: error: conflicting types for 'ror32'; have '__u32(__u32,  unsigned int)' {aka 'unsigned int(unsigned int,  unsigned int)'}
  135 | static inline __u32 ror32(__u32 word, unsigned int shift)
      |                     ^~~~~
./include/net/checksum.h:90:40: note: previous implicit declaration of 'ror32' with type 'int()'
   90 |                 return (__force __wsum)ror32((__force u32)sum, 8);
      |                                        ^~~~~
cc1: some warnings being treated as errors

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-07-09 05:08:14 -07:00
Hannu Nyman 3dbefd299a Revert "postgresql: update to version 16.3"
This reverts commit 6a46887e60
from PR https://github.com/openwrt/packages/pull/24327

Postgresql version upgrade fails in buildbot for all targets
with error like:

[236/1612] Generating src/fe_utils/psqlscan with a custom command
FAILED: src/fe_utils/psqlscan.c
/builder/shared-workdir/build/sdk/staging_dir/host/bin/python3 ../src/tools/pgflex --builddir . --srcdir .. --privatedir src/fe_utils/psqlscan.c.p --flex /builder/shared-workdir/build/sdk/staging_dir/host/bin/flex --perl /builder/shared-workdir/build/sdk/staging_dir/host/bin/perl -i ../src/fe_utils/psqlscan.l -o src/fe_utils/psqlscan.c --no-backup --fix-warnings -- -Cfe -p -p
flex: fatal internal error, exec of /builder/shared-workdir/build/staging_dir/host/bin/m4 failed
[237/1612] Compiling C object src/interfaces/libpq/libpq.so.5.16.p/pqexpbuffer.c.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:264: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/postgresql-16.3/.built] Error 1

Several dozen packages depend upon postgresql, so the fallout is
rather large. Let's revert the upgrade until a fix is found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-07-09 13:09:18 +03:00
Dirk Brenken f0856fa385
Merge pull request #24537 from JetVarimax/patch-1
banip: Correct Mb to MB when referring to RAM in README.md
2024-07-09 06:15:43 +02:00
Rui Salvaterra 3f52c7e59a lolcat: bump to 1.5
No changelog, but only a single commit since last version, fixing uncoloured stderr
interleaved with coloured stdout.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2024-07-08 16:49:22 -07:00
Milinda Brantini 18aaf0cc44 golang: Update to 1.22.5
go1.22.5 (2024-07-02) includes security fixes to the net/http package, 
as well as bug fixes to the compiler, cgo, the go command, the linker, 
the runtime, and the crypto/tls, go/types, net, net/http, and os/exec.

Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-08 16:49:12 -07:00
Othmar Truniger b7f06b5688 libfmt: bump to new release 11.0.1
Signed-off-by: Othmar Truniger <github@truniger.ch>
2024-07-08 16:49:03 -07:00
JetVarimax bda55290f4
banip: Correct Mb to MB when referring to RAM in README.md
Signed-off-by: JetVarimax <140423365+JetVarimax@users.noreply.github.com>
2024-07-08 20:21:30 +01:00
Karol Kolacinski 710abc0b3a transmission: fix compilation with miniupnpc 2.2.8
Backport pending patch, which was submitted to upstream via GitHub
to use modified function to compile it against miniupnpc 2.2.8.

Signed-off-by: Karol Kolacinski <kolacinskikarol@live.com>
2024-07-07 21:44:21 +01:00
Karol Kolacinski c32139757c transmission: update to version 4.0.6
Release notes:
https://github.com/transmission/transmission/releases/tag/4.0.6

Remove temporary patch included in 4.0.6 release.

Signed-off-by: Karol Kolacinski <kolacinskikarol@live.com>
2024-07-07 21:44:21 +01:00
Nathaniel Wesley Filardo 5bf463bd96 pcsc-lite: install libpcsclite_real.{a,so*}, too
74ee2fa489 failed to notice that libpcsclite now supports redirection, as of
1faab672aa
(first present in upstream release 2.1.0).  It's important to include the real
implementation, even if redirection permits loading others.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
2024-07-07 12:35:37 +01:00
Luiz Angelo Daros de Luca 8ba4b78dc7 motion: add non/ffmpeg variants
With ffmpeg support, motion can encode videos and process network camera
streams. It is a small code base and buinding it twice will not
significantly impact a full build.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2024-07-06 10:29:11 -07:00
Jan Chren ~rindeal fa9a6f7cd2 wifischedule: completely overhaul the script
Squashed using these commits:

 - wifischedule: use `service` instead of direct path
 - wifischedule: use `sort -u` instead of `uniq`
 - wifischedule: restart cron only at the end of batch instead of after every change
 - wifischedule: remove `[[` bash-isms
 - wifischedule: trim trailing ws
 - wifischedule: reduce `if` blocks
 - wifischedule: quote variables and remove some more bash-isms
 - wifischedule: simplify _get_uci_value`
 - wifischedule: don't exit whole script just because `uci get somekey` fails somewhere
 - wifischedule: revamp `_should_enable_wifi()`
 - wifischedule: revamp `_format_daysofweek_list()`
 - wifischedule: revamp `_enable_wifi_schedule()`
 - wifischedule: minor refactoring
 - wifischedule: mega revamp
 - wifischedule: fixes
 - wifischedule: touch-ups
 - wifischedule: use only `awk` in `_cfg_list_entries()` to filter `uci`
 - wifischedule: improve code docs
 - wifischedule: inline `_crontab_format_dow_field()`
 - wifischedule: refactor `_crontab_append_line()`
 - wifischedule: add `_uci_bool()` and refactor `_arith_bool()`
 - wifischedule: rename some functions
 - wifischedule: refactor using shellcheck
 - wifischedule: refactor `_wifi_get_interfaces()`
 - wifischedule: refactor `_wifi_get_devices()`
 - wifischedule: shellcheck fixes
 - wifischedule: use logger instead of a logfile
 - wifischedule: refactor global consts
 - wifischedule: introduce main() func
 - wifischedule: bump version

Signed-off-by: Jan Chren ~rindeal <dev.rindeal@gmail.com>
2024-07-05 13:43:57 -07:00
Peter van Dijk 25c197c9ea pdns-recursor: update to 5.0.7
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2024-07-05 13:42:36 -07:00
Wesley Gimenes 6bd94129b1 netbird: update to 0.28.4
Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-07-05 13:42:14 -07:00
Andreas Gnau 7e5332e3cd jq: Add PKG_CPE_ID
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2024-07-05 13:41:56 -07:00
Andreas Gnau 9477f71f99 uwsgi: Add PKG_CPE_ID
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2024-07-05 13:41:56 -07:00
Andreas Gnau fc043c0039 mxml: Add PKG_CPE_ID
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2024-07-05 13:41:56 -07:00
Sean Khan c7f099a19c openssh: fix incompatible ptr type error GCC 14.1
The `ssh_systemd_notify` function is causing compilation errors
when built against GCC 14.1. This is due to an incompatible pointer
type being passed to the connect function.

The connect function expects a pointer to `struct sockaddr`, but
was receiving a pointer to `struct sockaddr_un`.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-07-05 13:41:33 -07:00
Yegor Yefremov 24248b6f7c libs/glib2: remove pcre2 fallback workaround
pcre2 can now be properly linked statically. Hence, remove both
the patch and -Dforce_fallback_for=libpcre2-8 option.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-07-03 22:57:10 -07:00
Yegor Yefremov a5060c9d2d libs/glib2: remove the upstream patch
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-07-03 22:57:10 -07:00
Yegor Yefremov 468610d9a7 libs/glib2: remove the deprecated option force_posix_threads
Resolves the following warning:

glib-2.80.3/meson.build:2053:
WARNING: DEPRECATION: Option 'force_posix_threads' is deprecated and
will be removed after GLib 2.72; please file an issue with your use case
if you still require it

For more information, see the following merge request:

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2474

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-07-03 22:57:10 -07:00
Jonas Jelonek 3ff411fe02 eza: update to 0.18.21
Release notes:
0.18.19: https://github.com/eza-community/eza/releases/tag/v0.18.19
0.18.20: https://github.com/eza-community/eza/releases/tag/v0.18.20
0.18.21: https://github.com/eza-community/eza/releases/tag/v0.18.21

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2024-07-03 16:58:44 -07:00
Jonas Jelonek 7f5df4684b croc: update to 10.0.9
Release notes:
https://github.com/schollz/croc/releases/tag/v10.0.9

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2024-07-03 16:58:35 -07:00
Wesley Gimenes 514e8df3ea netbird: update to 0.28.3
Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-07-03 16:58:15 -07:00
Milinda Brantini bdae046c88 tailscale: Update to 1.68.2
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-03 16:58:01 -07:00
Clemens Hopfer 1cf592503b openvpn: fix startup with script-security lower than 2
External scripts may only be specified with script-security 2 or higher,
otherwise OpenVPN fails at tunnel startup with an error.
This changes the previously hardcoded hotplug scripts to only be added if
script-security is 2 or higher is used.

Signed-off-by: Clemens Hopfer <openwrt@wireloss.net>
2024-07-03 12:55:24 -07:00
Robert Marko 24f1c9b490 utils: lpac: fix passing CMAKE options
Turns out that having a comment for QMI over QRTR in the CMAKE_OPTIONS will
drop anything after it, so lets move the comment above CMAKE_OPTIONS.

Fixes: 34f9d96b4c ("lpac: make APDU backends configurable")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2024-07-03 20:19:12 +02:00
Lu jicong 84464a656c rust: select correct architecture for armv5
Currently, armv5 and armv6 targets are both using armv6 rustc.
Without this patch, rust programs in armv5 targets throw illegal instruction
error.

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
2024-07-04 02:09:45 +08:00
Tianling Shen 309687f01a
v2ray-geodata: Update to latest version
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-04 02:06:49 +08:00
Daniel Golle 080d5f04ef i2csfp: add package
Add i2csfp utility which comes handy when dealing with some SFP modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-03 02:44:16 +01:00
Daniel Golle 6a46887e60 postgresql: update to version 16.3
Switch to new major version 16.
Use meson to build for target, however, old autotools-style configure is
needed to clean the source directory before being able to run meson, and
host build of the timezone compiler ('zic') also still requires using the
old build system.

See also https://www.postgresql.org/docs/16/release-16.html

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-03 02:32:40 +01:00
Robert Marko 34f9d96b4c lpac: make APDU backends configurable
Currently, lpac will be built with the PCSC and AT APDU backends by default
and its not configurable in OpenWrt.

Since smart card reads are not really common on OpenWrt devices lets
disable PCSC backend by default so we dont have to include PCSC lib and
daemon by default.

AT backend is left enabled by default since it has no external dependecies
and all modems have it.

QMI over QRTR backend is not selectable even though it is part of the 2.0.2
relase since it requires unstable libqmi 1.35.4 or newer and we are still
using 1.34 stable branch.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2024-07-02 09:52:03 -07:00
Tianling Shen 7224e0ff04 miniupnpc: Update to 2.2.8
Updated binary path, rebased patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-02 09:50:57 -07:00
Tianling Shen 2d00a149c6 libnatpmp: Update to 20230423
Rebased patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-02 09:36:28 -07:00
John Audia 75674f0439 openssh: bump to 9.8p1
Release notes: https://www.openssh.com/txt/release-9.8

* 9.8p1 fixes CVE-2024-6387
* Adjusted Makefile to provide /usr/lib/sshd-session
* Given the troubles with -fzero-call-used-regs and all the
  broken checks, makes sense to skip it

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-07-02 09:30:45 -07:00
Yegor Yefremov ffefbb2645 libs/glib2: update to 2.80.3
Explicitly disable gobject introspection option.

Set runtime_dir to /var/run as current glib2 version sets this option
to /run by default.

Add a patch removing the Python packaging module dependency.

Refresh patches.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-07-02 04:57:41 -07:00
Eric Fahlgren ed1bd0b386 owut: update to 2024.07.01
- bugs
  1ed0c8d6c6 partial fix for 'what-provides'
  189b27210f bad sutype

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2024-07-02 19:01:49 +08:00
Tianling Shen a75d9912f1
Merge pull request #24497 from p-w-p/patch-5
docker: Update to 27.0.3
2024-07-02 19:01:09 +08:00
Milinda Brantini e7ef6ae485
dockerd: Update to 27.0.3
Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-02 15:26:38 +08:00