summaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* packages: refresh patchesRosen Penev2024-05-313-11/+4
| | | | | | CI is supposed to catch all of these. Some of these predate CI. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* apk: update to latest HEAD 2024-05-19Paul Spooren2024-05-201-3/+3
| | | | | | Upstream refactoring caused some mbedtls issues, now fixed again. Signed-off-by: Paul Spooren <mail@aparcar.org>
* apk: update to latest HEAD 2024-05-18Paul Spooren2024-05-182-718/+3
| | | | | | | | Drop downstream mbedtls patch since it went upstream. Signed-off-by: Paul Spooren <mail@aparcar.org> Link: https://github.com/openwrt/openwrt/pull/15522 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* apk: disable helptext for host buildPaul Spooren2024-05-171-3/+2
| | | | | | | | The host build would need Lua to compile which currently adds a race condition. Instead of tracking that down just disable helptext for the host build. Signed-off-by: Paul Spooren <mail@aparcar.org>
* build: add APK package build capabilitiesPaul Spooren2024-05-171-374/+172
| | | | | | | | | A new option called `USE_APK` is added which generated APK packages (.apk) instead of OPKG packages (.ipk). Some features like fstools `snapshot` command are not yet ported Signed-off-by: Paul Spooren <mail@aparcar.org>
* apk: add missing PROVIDESPaul Spooren2024-05-171-0/+1
| | | | | | | Add PROVIDES:=apk to the Makefile so we can default to install `apk` by default as a dependency. Signed-off-by: Paul Spooren <mail@aparcar.org>
* rpcd: fix package dependency for APKPaul Spooren2024-05-171-1/+1
| | | | | | | Version dependencies must not contain spaces to be compatible with both OPKG and APK. Signed-off-by: Paul Spooren <mail@aparcar.org>
* opkg: fix stray \ warnings with grep-3.8Georgi Valkov2024-05-141-1/+1
| | | | | | | | | | | | | | | | We simply grep for "src/". So no need for "\/". Furthermore, since grep-3.8 this creates warnings. As written in the grep-3.8 announcement: Regular expressions with stray backslashes now cause warnings, as their unspecified behavior can lead to unexpected results. For example, '\a' and 'a' are not always equivalent <https://bugs.gnu.org/39678>. Fixes a warning during the first boot: grep: warning: stray \ before / Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
* mtd: fix build with GCC 14Rui Salvaterra2024-05-121-2/+3
| | | | | | Also fix a couple of warnings while at it. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* procd: make mDNS TXT record parsing more solidChristian Marangi2024-04-291-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mDNS broadcast can't accept empty TXT record and would fail registration. Current procd_add_mdns_service checks only if the first passed arg is empty but don't make any verification on the other args permittins insertion of empty values in TXT record. Example: procd_add_mdns "blah" \ "tcp" "50" \ "1" \ "" \ "3" Produce: { "blah_50": { "service": "_blah._tcp.local", "port": 50, "txt": [ "1", "", "3" ] } } The middle empty TXT record should never be included as it's empty. This can happen with scripts that make fragile parsing and include variables even if they are empty. Prevent this and make the TXT record more solid by checking every provided TXT record and include only the non-empty ones. The fixed JSON is the following: { "blah_50": { "service": "_blah._tcp.local", "port": 50, "txt": [ "1", "3" ] } } Fixes: b0d9dcf84dd0 ("procd: update to latest git HEAD") Reported-by: Paul Donald <newtwen@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15331 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* apk: add packagePaul Spooren2024-04-293-0/+1025
| | | | | | | | | | | | | APK (Alpine Package Keeper) is the package manager of Alpine Linux and has multiple advantages over OPKG. While Alpine uses APK version 2, this commit adds version 3 with a heavily optimised database structure and additional feature making it suitable for OpenWrt. This commit will be followed by many more to add APK build capabilities to the OpenWrt build system, firstly enabling side by side builds of APK and OPKG packages, later replacing OPKG entirely. Signed-off-by: Paul Spooren <mail@aparcar.org>
* ubox: update to Git HEAD (2024-04-26)Robert Marko2024-04-271-3/+3
| | | | | | | | 85f1053019ca kmodloader: fix insmod path logic Signed-off-by: Robert Marko <robimarko@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15288 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ubox: update to Git HEAD (2024-03-02)Tony Ambardar2024-04-231-4/+4
| | | | | | | | | d413903016c4 kmodloader: support duplicate module names and aliases 1c9aaefc119a kmodloader: fix memleak adding to avl tree 4c5c45c6beac kmodloader: fix invalid write during insmod, CodeQL warnings 6a59975afc2c kmodloader: improve memory accounting and deallocation Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* nu801: update PKG_MIRROR_HASH to zstRobert Marko2024-04-071-1/+1
| | | | | | | | When using zst instead of xz, the hash changes. This was missed in the initial treewide updated. Fixes: b3c1c57a35a0 ("treewide: update PKG_MIRROR_HASH to zst") Signed-off-by: Robert Marko <robimarko@gmail.com>
* treewide: update PKG_MIRROR_HASH to zstPaul Spooren2024-04-0613-13/+13
| | | | | | | When using zst instead of xz, the hash changes. This commit fixes the hash for packages and tools in core. Signed-off-by: Paul Spooren <mail@aparcar.org>
* procd: update to Git HEAD (2024-03-30)Robert Marko2024-04-021-3/+3
| | | | | | | 254810d16cf1 watchdog: always close fd on watchdog stop 946552a7b598 trace: use standard POSIX header for basename() Signed-off-by: Robert Marko <robimarko@gmail.com>
* procd: update to Git HEAD (2024-03-25)Robert Marko2024-03-251-3/+3
| | | | | | | | | | | | 79f8cfa58ee7 ci: add github test workflow 428f40e7984f test commit fixing warnings 63058d1f81a5 ci: enable ujail builds 49ea930a862c utils: add key-value offset support to get_cmdline_val() ca8c30208d5e inittab: fallback when multiple "console=" is detected Required for the recent Elecom multiple console commits. Signed-off-by: Robert Marko <robimarko@gmail.com>
* treewide: use APK compatible version schemaPaul Spooren2024-03-2213-13/+13
| | | | | | | | | | | | | | | | | 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>
* ca-certificates: add missing license informationFlorian Eckert2024-03-211-0/+3
| | | | | | The package has no licence information. So let's fix it. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* uci: fix variable declarationPaul Spooren2024-03-171-1/+1
| | | | | | | | | Using := doesn't fly well when including other variables. In fact this would cause the variable to be empty and break cloning of the git repo. Fix: "c354c069b3 uci: fix Makefile formatting" Signed-off-by: Paul Spooren <mail@aparcar.org>
* ubox: make logread as an alternativeSergey Ponomarev2024-03-081-3/+5
| | | | | | | The logread can be replaced with syslog-ng. To support this it should be an alternative itself. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* procd: update to git HEADDaniel Golle2024-02-241-3/+3
| | | | | | | 2f94972 hotplug-dispatch: don't filter empty env variables 1901aba system: break infite loop resolving rootfs type Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* rpcd: update to latest git HEADDaniel Golle2024-02-231-3/+3
| | | | | | 8ef4c25 sys: use "Auto-Installed" field for packagelist Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ca-certificates: update to version 20240203Seo Suchan2024-02-181-2/+2
| | | | | | Update Mozilla certificate authority bundle to version 2.64 Signed-off-by: Seo Suchan <tjtncks@gmail.com>
* ubox: update to Git HEAD (2024-01-24)Christian Marangi2024-01-241-3/+3
| | | | | | 2c5887cb4688 kmodloader: fix invalid read outside mapped region Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* fstools: update to Git HEAD (2024-01-22)Christian Marangi2024-01-221-3/+3
| | | | | | | 2171f6261556 libfstools: force mkfs when formatting overlay 08cd7083cac4 libfstools: fit: improve fit_volume_find string handling Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ubox: update to Git HEAD (2024-01-22)Christian Marangi2024-01-221-3/+3
| | | | | | | | b2f6da671f7c kmodloader: Fix NULL pointer dereferences error 202d7c05029a kmodloader: fix memory leak in print_modinfo 6cf7d837ee7e kmodloader: fix TOCTOU problem with scan_builtin_modules Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ubox: update to Git HEAD (2024-01-15)Christian Marangi2024-01-191-3/+3
| | | | | | | | | | | 11cb29e15d68 kmodloader: remove unneeded uname() call 811ca6c2234a kmodloader: fix memory leak in scan_loaded_modules() 8c95fc7039cb kmodloader: support loadable module parameters in modinfo 4ffc29e4041c kmodloader: add basic support for builtin modules ba3908351232 kmodloader: add modinfo support for builtin modules c006dccecb6f kmodloader: cleanup duplicated mmap() code Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* fstools: update to Git HEAD (2024-01-15)Christian Marangi2024-01-151-2/+2
| | | | | | 325d63d67006 mount_root: fix compilation error for wrong condition Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* fstools: update to Git HEAD (2024-01-15)Christian Marangi2024-01-151-3/+3
| | | | | | | | | | | 97bacb70138a libfstools: query drivers by priority 41e619ed1352 block: recognize /dev/fit* block devices bc3b8cdd3de3 libfstools: add uImage.FIT fitblk driver 846302d09246 libfstools: partname: raise priority to 25 1a5695925ecf mount_root: add support for passing args to mount_root start 1858a492c300 mount_root: permit to pass mount options for rootfs mount Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq807x: add support for Linksys MX4200 V1 and V2Mohammad Sayful Islam2024-01-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linksys MX4200 is a 802.11ax Tri-band router/AP. Specifications: * CPU: Qualcomm IPQ8174 Quad core Cortex-A53 1.4GHz * RAM: 512MB of DDR3 * Storage: 512Mb NAND * Ethernet: 4x1G RJ45 ports (QCA8075) * WLAN: * 2.4GHz: Qualcomm QCN5024 2x2 802.11b/g/n/ax 574 Mbps PHY rate * 5GHz: Qualcomm QCN5054 2x2@80MHz or 2x2@160MHz 802.11a/b/g/n/ac/ax 2402 PHY rate * 5GHz: Qualcomm QCN5054 4x4@80MHz or 2x2@160MHz 802.11a/b/g/n/ac/ax 2402 PHY rate * LED-s: * RGB system led * Buttons: 1x Soft reset 1x WPS * Power: 12V DC Jack Installation instructions: Open Linksys Web UI - http://192.168.1.1/ca or http://10.65.1.1/ca depending on your setup. Login with your admin password. The default password can be found on a sticker under the device. To enter into the support mode, click on the “CA” link and the bottom of the page. Open the “Connectivity” menu and upload the squash-factory image with the “Choose file” button. Click start. Ignore all the prompts and warnings by click “yes” in all the popups. The Wifi radios are turned off by default. To configure the router, you will need to connect your computer to the LAN port of the device. Then you would need to write openwrt to the other partition for it to work - First Check booted partition fw_printenv -n boot_part - Then install Openwrt to the other partition if booted in slot 1: mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq807x-linksys_mx4200v(X)-squashfs-factory.bin alt_kernel - If in slot 2: mtd -r -e kernel -n write openwrt-qualcommax-ipq807x-linksys_mx4200v(X)-squashfs-factory.bin kernel Replace (X) with your model version either 1 or 2 Signed-off-by: Mohammad Sayful Islam <sayf.mohammad01@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>
* procd: update to Git HEAD (2023-11-28)Felix Fietkau2023-11-301-5/+5
| | | | | | | d852f877920b service: Fix retriggering of init.d-scripts. 7e6c6efd6fbc udebug: add support for logging via udebug Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to Git HEAD (2023-11-30)Felix Fietkau2023-11-301-5/+5
| | | | | | | cc34fb7b922f logd: add support for subscribing to the log object c08709cceb55 logd: add udebug support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubus: update to Git HEAD (2023-11-28)Felix Fietkau2023-11-281-3/+3
| | | | | | | 2b39a27d8bcc libubus: fix reconnect with auto subscribe f84eb5998c6e libubus: fix initial subscribe with autosubscribe Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: add acl file for logdFelix Fietkau2023-11-282-1/+6
| | | | | | Fixes ubus reconnect, since the process user id changes to 'logd' Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubus: update to Git HEAD (2023-11-14)Felix Fietkau2023-11-201-3/+3
| | | | | | b3e8c4ef07eb Add auto subscribe support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: bump to git HEADDaniel Golle2023-11-091-3/+3
| | | | | | | | | 3a07943 block: support skipping uuid check 56a9b4e block: consider currently mounted root device first 9cd09d4 block: try to find the root device on both / and /rom c1a8d95 block: support extroot on already mounted overlay Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* urngd: update to version 2023-11-01Hauke Mehrtens2023-11-011-3/+3
| | | | | | | | Fix compilation with glibc 44365eb Deactivate _FORTIFY_SOURCE in jitterentropy-base.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: disable QUILT refresh for unsupported packagesChristian Marangi2023-10-201-0/+3
| | | | | | | | | Some packages won't ever have something to patch as they normally install files or are meta-packages. For these special packages, disable QUILT refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* uci: fix Makefile formattingOskari Rauta2023-10-011-2/+2
| | | | | | Fix wrong declaration for PKG_SROUCE_URL and PKG_VERSION variables and add missing colon Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* treewide: Add extra CPE identifierHauke Mehrtens2023-09-251-0/+1
| | | | | | | This adds some Common Platform Enumerations (CPE) identifiers which I found. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* procd: create /dev/fd symlinkErik Karlsson2023-09-162-1/+2
| | | | | | | | This is needed for ksh/bash style process substitution such as <(command) and >(command) which was introduced in ash as of busybox version 1.34.0 to work. Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
* uci: update to git HEADHauke Mehrtens2023-08-101-3/+3
| | | | | | | 3cda251 file: Fix uci -m import command 5781664 remove internal usage of redundant uci_ptr.last Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ubus: update to the latest versionFelix Fietkau2023-08-101-3/+3
| | | | | | f787c97b3489 libubus: add missing uloop_fd_delete call in ubus_shutdown Signed-off-by: Felix Fietkau <nbd@nbd.name>
* urngd: fix archived tar hashRafał Miłecki2023-07-301-1/+1
| | | | | | | | | Due to some hiccup my local urngd-2023-07-25-7aefb47b.tar.xz ended up being different from archived one. Repackaging it locally confirmed the previous hash was incorrect. Fixes: c74b5e09e692 ("urngd: update to the latest master") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* procd: improve status reporting for partially running servicesJo-Philipp Wich2023-07-272-5/+27
| | | | | | | | | | | | | | | | The existing implementation incorrectly reported `running` for services without any instances or with all instances stopped/terminated. Improve the default implementation of `/etc/init.d/* status` to properly report services with not running instances. In case a service exists, but without running instance, the status call will now report "not running" with exit code 5. In case some instances are running and some are stopped/terminated, the call will report "running (X/Y)" where `X` denoted the amount of running instances and `Y` the amount of total registered ones. Ref: https://forum.openwrt.org/t/x/159443 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* urngd: update to the latest masterRafał Miłecki2023-07-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 7aefb47 jitterentropy-rngd: update to the v1.2.0 What's interesting about jitterentropy-rngd v1.2.0 release is that it bumps its copy of jitterentropy-library from v2.2.0 to the v3.0.0. That bump includes a relevant commit 3130cd9 ("replace LSFR with SHA-3 256"). When initializing entropy jent calculates time delta. Time values are obtained using clock_gettime() + CLOCK_REALTIME. There is no guarantee from CLOCK_REALTIME of unique values and slow devices often return duplicated ones. A switch from jent_lfsr_time() to jent_hash_time() resulted in many less cases of zero delta and avoids ECOARSETIME. Long story short: on some system this fixes: [ 6.722725] urngd: jent-rng init failed, err: 2 This is important change for BCM53573 which doesn't include hwrng and seems to have arch_timer running at 36,8 Hz. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* rpcd: update to latest git HEADHauke Mehrtens2023-07-011-3/+3
| | | | | | c07ab2f iwinfo: update byte counter to 64bit Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* procd: update to latest git HEADHauke Mehrtens2023-06-251-3/+3
| | | | | | | 122a5e3 Revert "sysupgrade: print errno on failure" 2db8365 system: add RISC-V CPU info Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rpcd: update to latest git HEADHauke Mehrtens2023-06-251-3/+3
| | | | | | 31c3907 file: strengthen exec access control Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>