Commit Graph

1007 Commits

Author SHA1 Message Date
Tianling Shen
b62a01c747
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-30 21:31:52 +08:00
Rosen Penev
cd5c0054bd dtc: fix compilation with both libraries
Upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-03-29 23:42:22 +01:00
Tianling Shen
832a56f97c
pcat-manager: adjust stop priority
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-27 16:16:09 +08:00
Tianling Shen
1f6113a9e9
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-26 00:55:00 +08:00
Paul Spooren
c02a2db05e treewide: update PKG_MIRROR_HASH after APK version schema
With the change in version schema the downloaded files changed, too,
mostly the hash is now prefixed with a tilde `~` instead of a dash `-`.

Since each downloaded archive contains folder with the same name as the
archive, the checksum changed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-03-25 09:32:48 +01:00
Tianling Shen
4d22a8a2c4
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-24 21:24:08 +08:00
Hauke Mehrtens
f403824a6f firmware-utils: update to git HEAD
9067281 tplink-safeloader: add RE365 v1
e87f238 zycast: new tool for ZyXEL bootloader flashing
c1e69e6 tplink-safeloader: show compat_level with FW info
335d063 tplink-safeloader: bump EAP225-Outdoor v1 compat
c1e06da tplink-safeloader: bump EAP225-V3 compat_level
a5dfb5f tplink-safeloader: add TP-Link RE205 v3 support
17de365 zycast: disable build on non-Linux OS
6b24299 ptgen: fix limitation for active partition in GPT

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-03-23 15:51:15 +01:00
Paul Spooren
e8725a932e treewide: use APK compatible version schema
Different from OPKG, APK uses a deterministic version schema which chips
the version into chunks and compares them individually. This enforces a
certain schema which was previously entirely flexible.

 - Releases are added at the very and end prefixed with an `r` like
`1.2.3-r3`.
- Hashes are prefixed with a `~` like `1.2.3~abc123`.
- Dates become semantic versions, like `2024.04.01`
- Extra tags are possible like `_git`, `_alpha` and more.

For full details see the APK test list:
https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-03-22 22:14:22 +01:00
ZiMing Mo
f761272538
Merge Official Source
Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
2024-03-14 21:41:17 +08:00
Daniel Golle
b72a7bf186 fitblk: invert kernel version dependency
Allow building fitblk with Linux 6.6 by depending on !LINUX_5_15
instead of LINUX_6_1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-03-11 20:17:26 +01:00
Tianling Shen
f295771158
rockchip: enable wireless support for photonicat
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-28 00:20:10 +08:00
Tianling Shen
ec995609c6
pcat-manager: limit it to rockchip target
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-27 19:10:02 +08:00
Tianling Shen
67de39cb89
pcat-manager: add userspace watchdog daemon for photonicat
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-27 18:41:49 +08:00
Tianling Shen
fd566ca982
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-27 17:33:26 +08:00
Oskari Rauta
597f9cf6b3 e2fsprogs: add libe2p and development headers
this patch separates libe2p from e2fsprogs package, like all other
provided libraries are their own packages. Also some development headers
were missing so I added those along with pkg-config files.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2024-02-26 21:19:10 +01:00
Tianling Shen
acb88c40ea
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-23 23:28:51 +08:00
Jo-Philipp Wich
97ad8501ad ucode: update to Git HEAD (2024-02-21)
ee4af9b55cb4 vm: rework object iteration
a275399dd8e2 uci: refactor uci.changes() to match documentation
ba3855ae3775 lib: fix documentation typo for `pop()` function

Fixes: https://github.com/jow-/ucode/issues/188
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-02-22 09:17:25 +01:00
Tianling Shen
d2439a54dc
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-19 12:08:24 +08:00
Rosen Penev
24d3eb7629
lua5.3: backport CVE fix
Also refreshed some patches

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-17 01:55:49 +01:00
Rosen Penev
78b0106f7d
lua: fix CVE-2014-5461
Patch taken from Debian.

Refresh patches

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-17 01:55:21 +01:00
Daniel Golle
ddcc8f9f4e package: add fitblk util to release /dev/fit* devices
Add minimalistic tool to allow releasing /dev/fit* devices which is
needed on sysupgrade when using the fitblk driver.
The package is hidden in menuconfig, it should only be selected by
adding it to the default package selection of boards using it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 19:06:36 +00:00
Petr Štetiar
79888f9127
ugps: update to Git HEAD (2024-02-14)
69561a074d6f ugps: add quality measurement parameters

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-02-14 10:02:25 +00:00
Tianling Shen
251169853d
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-14 12:49:57 +08:00
Jo-Philipp Wich
7a1fac2dda ucode: update to Git HEAD (2024-02-13)
7e5830edfb38 nl80211: fix datatype of NL80211_BAND_IFTYPE_ATTR_HE_CAP_{MAC,PHY} attrs
5c8fd34bac42 nl80211: fix parsing of NL80211_BAND_ATTR_VHT_MCS_SET attribute
e8d4e4fe967d nl80211: fix decoding of NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET attribute
30a3f7ad0433 rtnl: store callback in listener registry only on success
9cbe8294909f rtnl: optimize reception of rtnl events
534417132e18 rtnl: increase event socket rx buffer size limit to 1 MiB
3f9811d2f7b7 compiler: close upvalues on loop control statements

Fixes: https://github.com/jow-/ucode.git/issues/187
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-02-13 17:16:04 +01:00
Tianling Shen
fbe7e9e021
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-02 11:21:19 +08:00
Chad Monroe
5a3f6c50ef
ucode: add libjson-c/host dependency
ensure host libjson-c is built prior to ucode

Signed-off-by: Chad Monroe <chad@monroe.io>
2024-02-01 16:22:11 +01:00
Tianling Shen
7bbb135477
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-30 12:47:48 +08:00
Álvaro Fernández Rojas
60ffcfdabc packages: drop bcm27xx-userland
bcm27xx-userland is deprecated and bcm27xx-utils should be used instead.
96a7334ae9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-28 10:07:55 +01:00
Tianling Shen
9b7e61b88e
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-28 12:19:24 +08:00
Álvaro Fernández Rojas
a1364fcd09 bcm27xx: switch to bcm27xx-utils
bcm27xx-userland is now deprecated and utils should be used instead.
96a7334ae9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-26 12:29:30 +01:00
Tianling Shen
1a52d50a77
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-24 11:22:29 +08:00
Jo-Philipp Wich
33f15dd6d4 jsonfilter: update to Git HEAD (2024-01-23)
013b75ab0598 jsonfilter: drop legacy json-c support
594cfa86469c main: fix spurious premature parse aborts in array mode

Fixes: https://bugs.openwrt.org/?task_id=3683
Fixes: https://github.com/openwrt/openwrt/issues/8703
Fixes: https://github.com/openwrt/openwrt/issues/11649
Fixes: https://github.com/openwrt/openwrt/issues/12344
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-01-23 09:07:16 +01:00
Paul Spooren
10180295b8 busybox: switch to sha256 for passwd
Right now sha256 is considered more secure than md5, use it to harden
against password decryption.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-01-20 13:22:58 +00:00
Paul Spooren
86e3016896 busybox: enable sha hash for /etc/shadow
It appears `md5` is no longer state of the art. Let's switch it to
something slightly newer to increase security.

Suggested-by: abnoeh <abnoeh@mail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-01-20 13:22:58 +00:00
Tianling Shen
3db6161c85
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-20 13:01:37 +08:00
Álvaro Fernández Rojas
90644fb2d0 bcm27xx-utils: update to latest version
Fixes build with GCC 13.
Disable LTO to fix build with CONFIG_USE_LTO.

Changelog:
e65f5ec eeptools: eepdump: init type before calling eepio_atom_start

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-18 12:47:37 +01:00
Álvaro Fernández Rojas
e57eb9f28e bcm27xx-utils: add new package
The raspberypi/userland repository has been deprecated and the RPi tools have
been moved to the raspberrypi/utils repository.
96a7334ae9

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-18 09:22:00 +01:00
Tianling Shen
7772a67f19
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-17 12:23:28 +08:00
Marty Jones
3df664101a bcm27xx-userland: update to latest version
This is the last update for bcm27xx-userland as it has been
deprecated but funcional up to raspberry pi 5.

96a7334 README: Update to make it clear that most code in this repo is deprecated
3c97f76 userland: dtoverlay: /boot/firmware is a valid path
153a235 Assorted clang static analysis fixes
eca070c bcm_host: Update kms/fkms check for pi5
06a7618 dtoverlay: Support bcm2712 as a platform
0489c07 dtoverlay: Add dtoverlay_first/next_subnode
a1c7f81 dtoverlay: Support literal assignments of path strings
44a3953 raspivid: Also flush PTS file if flush is enabled
cc1ca18 userland: dtoverlay: Use os_prefix if set
9d5250f libfdt: Add null-ptr check for prop-data to resolve clang --analyzer warning
50527c6 mmal: Only include Videocore components if not running on Videocore
df245ea tvservice: Update unsupported message to recommend kmsprint
de0cfe8 dtoverlay: Fix clang warnings
0182f05 dtoverlay: Fix various compiler warnings
2a6306b dtoverlay: Fix path rebasing and exports
d1e92d7 dtoverlay: Add support for string escape sequences
b1ee39e gencmd: Add a fallback to mailbox interface if vchiq is not available
54fd97a hello_pi: Fix some build issues

Signed-off-by: Marty Jones <mj8263788@gmail.com>
2024-01-16 13:57:14 +01:00
Tianling Shen
0b82d69188
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-29 10:21:22 +08:00
Chuanhong Guo
b196a9f6ce package: new package for usb gadget setup
Setting up usb gadgets using g_* kernel modules are considered a
legacy approach, but the usb_gadget configfs is a bit annoying
to use directly.
The usb_gadget configfs works by creating magic directories
and writing to magic files under /sys/kernel/config/usbgadget.
This new package is an init script to setup usb_gadget configfs
using uci. In the config file, gadget/configuration/function
sections create corresponding directories. UCI options are magic
files available in the configfs and strings/0x409 directories,
grabbed with a 'find' command. UDC option in gadget writes
the UDC file under the 'gadget' directory to attach the
generated gadget config.

It's also possible to apply pre-made config templates under
/usr/share/usbgadget. The templates use the same UCI config
format, with the 'gadget' entry named 'g1'. Currently, there
are templates for CDC-ACM and CDC-NCM gadgets written based
on existing g_*.ko module code.

Certain SBCs come with only a USB device port (e.g. Raspberry Pi
Zero). With this script, it's now possible to perform initial
setup on them by adding a default NCM gadget.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2023-12-28 13:10:32 +08:00
Tianling Shen
11a60e050c
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-18 15:17:43 +08:00
Sander Vanheule
5a85aada3f firmware-utils: update to git HEAD
Adds two changes improving compatibility with supported TP-Link devices.

5e14973d2199 tplink-safeloader: add Archer A6 v2 (RU)
d87b6c4b6423 tplink-safeloader: bump EAP615-Wall compat_level

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2023-12-17 19:39:53 +01:00
Tianling Shen
76b04b600b
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-12 14:00:28 +08:00
Nick Hainke
2807dca071 util-linux: update to v2.39.3
Changes:
2da5c904e build-sys: release++ (v2.39.3)
03c939edd docs: update v2.39.3-ReleaseNotes
dafb120ef docs: update AUTHORS file
bfc9691ce po-man: merge changes
d2232b609 po: merge changes
4ab356c1c po: add ro.po (from translationproject.org)
7e147d16c po: update es.po (from translationproject.org)
e8cb61f07 lsfd: fix memory leak in append_filter_expr()
192d8aaa0 lsfd: avoid undefined behavior
756588f8c lsfd: (man) fix the form for the optional argument of --inet option
8d78c1306 Add Phytium FTC310 & FTC664 support
b75322cdb Add Phytium FTC862 cpu model. fix:#2486
ec1b0eb36 libmount: accept '\' as escape for options separator
2e5f5c8d8 tests: add ts_skip_docker
0b3254cac Merge branch 'stable-2.39/bcachefs-fixes' of https://github.com/t-8ch/util-linux into PR/stable-v2.39.3
649843934 tests: skip broken tests on docker
fa9b53658 libblkid: (bcachefs) add support for sub-device labels
3c5d991b0 libblkid: (bcachefs) adapt to major.minor version
ece194082 libuuid: avoid truncate clocks.txt to improve performance
84a62c1a5 libuuid/src/gen_uuid.c: fix cs_min declaration
93239aa78 libmount: fix possible NULL dereference [coverity scan]
a6def815e meson: install wall executable with group 'tty'
c6c1c69c3 meson: install write executable with group 'tty'
bf2cd1d5a libmount: improve mnt_table_next_child_fs()
c14f5bf37 docs: add SPDX to boilerplate.c
fdd9f11f5 disk-utils: add SPDX and Copyright notices
e7dbe9c78 include/audit-arch: add missing SPDX
5ec7b14a7 setterm: avoid restoring flags from uninitialized memory
64d2300e6 Fix man page for col to correct documentation error
7cc2c9625 Update col.c to fix option mistake
122d7e7af umount: handle bindmounts during --recursive
da18b31ff lscpu: fix caches separator for --parse=<list>
3a5c9c1dd Use empty libuser config file.
7058d793d libblkid: exfat: fix fail to find volume label
d065ff00a blkpr: store return value of getopt_long in int
9ca6f1712 lib/path: Set errno in case of fgets failure
e2f0aa5c2 autotools: fix AC_DEFINE_UNQUOTED() use
cefd05c47 autotools: fix librtas check
f27fbafb2 lib/path: fix typos
f8ab70477 lib/path: set errno in case of error
5ec30a362 lib/path: fix possible out of boundary access
edc723cd3 libblkid: reset errno before calling probefuncs
8de89778b setpriv: fix group argument completion
41599054c libfdisk: reset errno before calling read()
cce4e4405 blkid: fix call to err_exclusive_options
b718f985c docs: use HTTPS for GitHub clone URLs
2bddfa692 libblkid: (probe) handle probe without chain gracefully
3d3121678 lib/idcache: always gracefully handle null cache
368521e45 script-playutils: close filestream in case ignore_line() fails
087b0d238 libblkid: (vxfs) report endianness
7e5056f33 libblkid: (ntfs) validate that sector_size is a power of two
f368ccc75 libsmartcols: handle nameless tables in export format
f5cace8da ldattach: don't call exit() from signal handler
03c12a34c lslogins: fix realloc() loop allocation size
83ba179b1 lib/env: avoid underflow of read_all_alloc() return value
813851fba libblkid: avoid memory leak of cachefile path
4459623cd libmount: gracefully handle NULL path in mnt_resolve_target()
dbde7a537 more: avoid out-of-bound access
c26badd5d libfdisk: handle allocation failure in fdisk_new_partition
5c250aa64 login: Use pid_t for child_pid
be3f1712e login: move comment
98be90b5b build-sys: fix libmount/src/hooks.c use
a711af02d lscpu: Use 4K buffer size instead of BUFSIZ
45c6136cb autotools: fix typos
aa98c4ecc libmount: make.stx_mnt_id use more robust
c697c2bb6 libmount: report statx in features list
13711f3ab libmount: fix statx() includes
e9ed5a2b8 libblkid: (vfat) avoid modifying shared buffer
d2cadf099 libblkid: (jmicron_raid) use checksum APIs
c54c99efd libblkid: (jmicron_raid) avoid modifying shared buffer
64418c52b libblkid: (zonefs) avoid modifying shared buffer
b66da7ce4 losetup: fix JSON MAJ:MIN
44d7bf2c8 lslogins: (man) fix -y option formatting
7d6c71e51 include: add DragonFlyBSD GPT partition types
6b9fda87c libblkid: (bcachefs) fix size validation
acbf17ae8 libblkid: (bcachefs) fix compiler warning [-Werror=sign-compare]
1ec71634a libblkid: (bcachefs) fix not detecting large superblocks
68564ebb5 libmount: Fix regression when mounting with atime

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-12-11 15:53:33 +01:00
Christian Marangi
25e215c14e
lua5.3: fix typo calling lua53 instead of lua5.3 for Package Default
Fix typo calling lua53 instead of lua5.3 for Package Default definition.

This cause only missing description of the package and doesn't cause
any build regression.

Fixes: c52ca08d40 ("lua5.3: build shared library")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-12-10 11:46:30 +01:00
Tianling Shen
423483f9a9
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-09 00:55:01 +08:00
Jo-Philipp Wich
01d1c1ad29 ucode: adjust module dependencies
Let ucode-mod-* packages select the ucode interpreter instead of depending
on it to avoid recursive dependency chains in unrelated packages.

Fixes: https://github.com/openwrt/packages/issues/22837
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-12-08 00:08:11 +01:00
Tianling Shen
68a5ed9809
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-12-01 17:58:46 +08:00
Felix Fietkau
fdb92d2d6f ucode: update to Git HEAD (2023-11-30)
96f74b5be829 ubus: make ubus_context first in uc_ubus_connection_t

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-11-30 20:08:56 +01:00