Commit Graph

5347 Commits

Author SHA1 Message Date
Daniel Golle
e989bbe8d9 i2c-tools: update to version 4.4
4.4 (2024-10-10)
  tools: Use getopt
         Implement and document option -h
  eeprog: Use force option when data comes from a pipe
  i2cdetect: Display more functionality bits with option -F
  i2cdump: Remove support for SMBus block mode
  i2cget: Document SMBus block mode
          Fix the return code of option -h
  i2cset: Fix the return code of option -h
  i2ctransfer: Sort command line options and add to help text
               Add an option to print binary data
               Drop redundant variable arg_idx
  py-smbus: Install in the defined prefix
            Use setuptools instead of distutils

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-04-26 15:27:15 +01:00
Daniel Golle
cd87977984 gawk: update to version 5.3.2
Changes from 5.3.1 to 5.3.2
---------------------------

1. The pretty printer now produces fewer spurious newlines; at the
   outermost level it now adds newlines between block comments and
   the block or function that follows them. The extra final newline
   is no longer produced.

2. OpenVMS 9.2-2 x86_64 is now supported.

3. On Linux and macos systems, the -no-pie linker flag is no longer required.
   PMA now works on macos systems with Apple silicon, and not just
   Intel systems.

4. Still more subtle issues related to uninitialized array elements have
   been fixed.

5. Associative arrays should now not grow quite as fast as they used to.

6. The code and documentation are now consistent with each other with
   respect to path searching and adding .awk to the filename. Both
   are always done, even with --posix and --traditional.

7. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

Changes from 5.3.0 to 5.3.1
---------------------------

1. More subtle issues related to uninitialized array elements have
   been fixed.

2. A number of bugs in the debugger related to handling of arrays
   have been fixed.

3. Some subtle bugs in the API have been fixed.

4. Use of MPFR is now possible again on 32-bit Power PC Mac systems.

5. Race conditions around broken pipes for system() and read and write
   pipes should now be closed off.

6. Support for OSF/1 has been removed.

7. The never-documented --nostalgia option has been removed. It was
   causing bug reports.

8. The implementation of printf/sprintf has been thoroughly reworked
   in order to make the code more maintainable and to fix a goodly
   number of corner cases.

9. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-04-26 15:26:51 +01:00
Vladimir Ermakov
72b20db976 qemu: update to 9.1.3
- Update version
- Refresh patches

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-04-24 19:46:08 +08:00
Vladimir Ermakov
1268618b49 qemu: fix guest agent patch
Replace to fix #25209

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-04-24 19:46:08 +08:00
Paul Donald
7f0772c1a4 ttyd: update to 1.7.7
Breaking Changes

    The web terminal is readonly by default now, to make it writable,
    use -W option.

Changelog 1.7.7

    Bump to 1.7.7
    cmake: add static version back

Changelog 1.7.6

    workflow: update actions packages
    cmake: get version from git ref

Changelog 1.7.5

    html: allow overriding client options with URL query
    server: add --exit-no-conn option
    html: add safari mobile full screen support
    html: Add Unicode 11 xterm.js addon
    html: upgrade to xterm 5.4.0
    add trzszDragInitTimeout option

Changelog 1.7.4

    Leverage Docker Layer System
    html: update dependencies
    build(deps): update zlib version 1.2.13 to 1.3 in cross-build.sh
    server: print working directory on start
    server: replace --readonly with --writable
    server: fix -U option not work
    server: do not expose port to public by default
    Add -y flag for easier installation
    improve support for trzsz
    info.max_http_header_data = 65535;
    Add Docker pulls badge
    fix flow control
    Fix typo, OPTOINS -> OPTIONS
    Bump CMake version to 2.8.12

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-04-24 12:50:04 +02:00
Javier Marcet
5af23930d3 docker-compose: Update to version 2.35.1
Release notes:
https://github.com/docker/compose/releases/tag/v2.35.1

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-04-24 17:56:29 +08:00
Maximilian Trüpschuch
711a19c4b2 jq: provide regex support in additional package jq-full
I modified the makefile, so that it will build two packages: jq and
jq-full. The former will remain unchanged and the latter will have a
dependency to the oniguruma library, so jq-full will have regex functions
enabled.

Signed-off-by: Maximilian Trüpschuch <milanx@gmx.net>
2025-04-24 01:22:48 +08:00
Rye Sears
5ab824b7fb coremark: fix error when it was built in the second run
When there is an error building packages other than coremark 
and re-run with make -j1 V=s, the coremark package will report error.
the root cause is the folder was already created in the first run, 
and not removed before the second run.

To fix this, use 'mkdir -p' instead of 'mkdir'.

Co-authored-by: Jonas Gorski <jonas.gorski@gmail.com>

Signed-off-by: Rye Sears <xlighting@gmail.com>
2025-04-23 15:14:09 +02:00
David Bauer
533d32face poemgr: update to latest HEAD
eaaf7ea contrib: update GPIO numbering
28774ac poemgr: add error logging

Signed-off-by: David Bauer <mail@david-bauer.net>
2025-04-23 02:49:29 +02:00
Stephen Howell
6ade11fc3a realtek-poe: Build for all targets
* realtek-poe was only being built for realtek/rtl838x with mips-4kec
* needed by targets in realtek/rtl839x with mips-24kc

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
2025-04-20 16:34:22 +02:00
Eric Fahlgren
3e2576c54c owut: update to 2025.04.08
Bug fixes:
    efahl/owut@ef2bfb4d4c owut: remove trailing commas in json dump
Enhancements:
    efahl/owut@2586b2cfd5 owut: minor name cleanup

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2025-04-17 10:15:27 +02:00
George Sapkin
e076de270a syncthing: bump to 1.29.5
Bugfixes:

- use separate lock file instead of locking the certificate

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.5
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
George Sapkin
e23dceaf4d syncthing: bump to 1.29.4
Bugfixes:

- Tildes break directory autocomplete

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.4
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
George Sapkin
d7525fca43 syncthing: bump to 1.29.3
Bugfixes:

- Unintelligible error message "setting metadata: lookup failed"

Changelog: https://github.com/syncthing/syncthing/releases/tag/v1.29.3
Signed-off-by: George Sapkin <george@sapk.in>
2025-04-16 18:53:35 +02:00
John Audia
343f1151f9 lxc: update to 6.0.4
Added upstream patch to fix starting containers with complex hooks.
No existing patches needed to be rebased/simple version bump to 6.0.4.

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

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-04-16 18:53:16 +02:00
Javier Marcet
daa3161704 docker-compose: Update to version 2.35.0
Release notes:
https://github.com/docker/compose/releases/tag/v2.35.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-04-13 16:45:20 +08:00
Oliver Sedlbauer
f40137487e utils: add new package enterprise-numbers
Signed-off-by: Oliver Sedlbauer <osedlbauer@tdt.de>
2025-04-09 22:49:54 +02:00
Hannu Nyman
3d055f8dfb nano: Update to 8.4
Update nano edit to version 8.4.

Add configure flags to overcome upstream bug 66978, where the newly added
gnulib module for strcasecmp always fails in the configure step when
cross-compiling.
https://savannah.gnu.org/bugs/?66978
b2927d1b1f

The added flags disable the strcasecmp function from gnulib.
If upstream (gnulib?) fixes things later, the flags should be removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2025-04-06 19:57:10 +03:00
Christian Marangi
47fcb8018c crun: update to use SOURCE_VERSION for submodule download
Commit 9fc79e2e2622 ("download: don't overwrite VERSION variable")
changed the variable for direct download call from VERSION to
SOURCE_VERSION.

This cause the dl_github_archive script to pass empty value for
--version arg making it always clone HEAD.

Correctly update the variable to SOURCE_VERSION to actually clone the
expected commit HASH.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-06 08:44:43 +08:00
John Audia
3b68d2b60d nvme-cli: update to 1.12
Bump to latest upstream release.

Removed upstreamed: 021-pligins-netapp-add-include-of-libgen.h-for-basename.patch
Manually rebased: 010-gcc14.patch

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

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-04-05 16:12:41 +08:00
Ryan Press
c9220e58b6 lpac: Refresh 0001-driver-add-uqmi-backend.patch
Signed-off-by: Ryan Press <ryan@presslab.us>
2025-04-04 01:32:23 +02:00
Ryan Press
864d80aaeb lpac: Add support for MBIM backend
Signed-off-by: Ryan Press <ryan@presslab.us>
2025-04-04 01:32:23 +02:00
Jonas Jelonek
914fdcec95 eza: update to 0.21.0
[release notes]
0.20.21: https://github.com/eza-community/eza/releases/tag/v0.20.21
0.20.22: https://github.com/eza-community/eza/releases/tag/v0.20.22
0.20.23: https://github.com/eza-community/eza/releases/tag/v0.20.23
0.20.24: https://github.com/eza-community/eza/releases/tag/v0.20.24
0.21.0:  https://github.com/eza-community/eza/releases/tag/v0.21.0

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2025-04-02 20:19:56 +02:00
Vladimir Ulrich
df9015f9da zoneinfo: Updated to 2025b release.
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2025-03-25 17:43:19 +02:00
John Audia
ded6ab53ae nvme-cli: update to 2.11
Bump to latest upstream release.

Removed upstreamed: 020-replace_uint16_t
Manually rebased: 010-gcc14.patch

To fix the following build error, added two commits from upstream:
020-nvme-print-add-fallback-for-.patch
021-pligins-netapp-add-include-of-libgen.h-for-basename.patch

Tested the resulting binary and it seems fine:
% nvme smart-log /dev/nvme0 | grep "temperature"
temperature				: 42 °C (315 K)

Link to upstream issue: https://github.com/linux-nvme/nvme-cli/issues/2743

Build error:
../nvme-print.c: In function 'is_temperature_fahrenheit':
../nvme-print.c:805:19: error: 'LC_MEASUREMENT' undeclared (first use in this function)
  805 |         setlocale(LC_MEASUREMENT, "");
      |                   ^~~~~~~~~~~~~~
../nvme-print.c:805:19: note: each undeclared identifier is reported only once for each function it appears in

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

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-03-25 19:07:27 +08:00
John Audia
716cb3deac coreutils: apply PKG_FIXUP conditionally
PKG_FIXUP:=autoreconf introduced in this commit[1] to fix builds with GCC 14
does not play well with GCC 13. Apply it conditionally.

I build some coreutils packages under GCC 13 and again under GCC 14 and both
completed successfully.

Build system: x86/64
Build-tested: x86/64

Fixes https://github.com/openwrt/packages/issues/26175

1. b1a648e1ff

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-03-22 19:59:19 +02:00
Pascal Ernster
b1a648e1ff coreutils: Add PKG_FIXUP:=autoreconf and bump PKG_RELEASE
This fixes the build on GCC 14 and solves issue https://github.com/openwrt/packages/issues/26175

Maintainer: @hnyman
Compile tested: x86/64, QEMU Standard PC (Q35 + ICH9, 2009), r29064-696ad7b1aa09
Compile tested: ath79/generic, TP-Link Archer C7 v4, r29064-696ad7b1aa09
Compile tested: realtek/rtl838x, Netgear GS108T v3, r29064-696ad7b1aa09
Run tested: x86/64, QEMU Standard PC (Q35 + ICH9, 2009), r29064-696ad7b1aa09, booted and used for 7h without issues
Run tested: ath79/generic, TP-Link Archer C7 v4, r29064-696ad7b1aa09, booted and used for 7h without issues
Run tested: realtek/rtl838x, Netgear GS108T v3, r29064-696ad7b1aa09, booted and used for 7h without issues

Signed-off-by: Pascal Ernster <git@hardfalcon.net>
2025-03-22 09:21:37 +02:00
Vladimir Oltean
2f80944c2b dockerd: fix build issue with custom core.abbrev value in .gitconfig
As documented by "man git-rev-parse", the "--short" option shortens
commit sha1sums to at least "length" characters, equal to core.abbrev if
that is specified in ~/.gitconfig.

The development processes of some other open source projects require
having a

[core]
	abbrev = 12

in the .gitconfig, which is incompatible with the way in which docker
wants PKG_GIT_SHORT_COMMIT.

On my system, I get these errors:

  make[3]: Entering directory 'feeds/packages/utils/dockerd'
  (...)
  # Verify CLI is the same version
  ( CLI_MAKEFILE="../docker/Makefile"; CLI_VERSION=$( grep --only-matching --perl-regexp '(?<=PKG_VERSION:=)(.*)' "${CLI_MAKEFILE}" ); if [ "${CLI_VERSION}" != "27.3.1" ]; then echo "ERROR: Expected 'PKG_VERSION:=27.3.1' in '${CLI_MAKEFILE}', found 'PKG_VERSION:=${CLI_VERSION}'"; exit 1; fi )
  # Verify PKG_GIT_SHORT_COMMIT
  ( EXPECTED_PKG_GIT_SHORT_COMMIT=$( feeds/packages/utils/dockerd/git-short-commit.sh 'github.com/moby/moby' 'v27.3.1' 'tmp/git-short-commit/dockerd-27.3.1' ); if [ "${EXPECTED_PKG_GIT_SHORT_COMMIT}" != "41ca978" ]; then echo "ERROR: Expected 'PKG_GIT_SHORT_COMMIT:=${EXPECTED_PKG_GIT_SHORT_COMMIT}', found 'PKG_GIT_SHORT_COMMIT:=41ca978'"; exit 1; fi )
  Trying remote 'github.com/moby/moby'
  fatal: 'github.com/moby/moby' does not appear to be a git repository
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  Trying remote 'https://github.com/moby/moby'
  remote: Enumerating objects: 11117, done.
  From https://github.com/moby/moby
   * tag                         v27.3.1    -> FETCH_HEAD
  HEAD is now at 41ca978a0a54 Merge pull request #48525 from thaJeztah/27.x_backport_govulncheck_permissions
  ERROR: Expected 'PKG_GIT_SHORT_COMMIT:=41ca978a0a54', found 'PKG_GIT_SHORT_COMMIT:=41ca978'
  make[3]: *** [Makefile:198: build_dir/target-aarch64_generic_glibc/dockerd-27.3.1/.prepared_d76b59f2eb81424899b1fbb9e44f77e2_6664517399ebbbc92a37c5bb081b5c53] Error 1
  make[3]: Leaving directory 'feeds/packages/utils/dockerd'
  time: package/feeds/packages/dockerd/compile#1.71#1.18#5.38
      ERROR: package/feeds/packages/dockerd failed to build.

Since --short supports a length argument, use that to break the
dependency on the system .gitconfig.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2025-03-20 14:25:03 +08:00
Javier Marcet
0129618ea6 docker-compose: Update to version 2.34.0
Release notes:
https://github.com/docker/compose/releases/tag/v2.34.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-03-20 14:23:55 +08:00
Alexandru Ardelean
9aeff5f5e4 stress-ng: bump to version 0.18.11
Also fixes MIPS builds.
Seems there is some inline assembly that won't work with MIPS16
instructions.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-03-19 17:11:21 +02:00
Hannu Nyman
82852a9f15 coreutils: Adjust coreutils dependency in each app to be selective
Adjust the dependency to the virtual coreutils main package in
each app to be selective. Otherwise you need to first select the
main coreutils before the actuall apps can be selected. That has
prevented other applications from depending on just one individual
coreutils app, as they have needed to depend also on the empty main
coreutils package.

Reference to discussion in:
https://github.com/openwrt/luci/issues/7605

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2025-03-16 20:14:49 +02:00
Hannu Nyman
2d3f68cc8c coreutils: Upgrade to 9.6
Upgrade GNU coreutils to version 9.6
* refresh patch

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2025-03-16 20:14:49 +02:00
Yury V. Zaytsev
047ac71184 mc: update project URLs
Upstream is preparing the migration to a new website. As part of this, they
will be dropping the `www` prefix. Also, the package source is updated to use
mc's official OSU OSL mirror over HTTPS.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2025-03-15 22:56:51 +01:00
Álvaro Fernández Rojas
3141672cee bcm27xx-eeprom: update to v2025-02-12-2712
bcm2711:
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2711/release-notes.md#2024-12-07-enable-banklow-and-so-numa-by-default-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2711/release-notes.md#2024-12-07-enable-banklow-and-so-numa-by-default-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2711/release-notes.md#2025-02-11-recovery-walk-partitions-to-delete-recoverybin-latest

bcm2712:
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2024-11-27-rp1fw-add-fifo_state--drain_tx-fix-can_add_program-default
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2024-12-07-enable-banklow-and-so-numa-by-default-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2024-12-15-add-net-install-to-boot-menu-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2024-12-19-disable-fan-pwm-before-shutdown-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-06-stop-the-fan-after-after-fan-probe-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-07-fixup-m2-hat-detection-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-08-update-sdram-refresh-timings-for-bcm2712d0-products-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-13-improved-sdram-refresh-timings-for-pi5-16gb-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-14-add-set_reboot_order-api-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-22-add-dt-chosen-property-signed-boot-bootimg-hash-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-01-27-walk-the-partition-table-if-the-requested-partition-is-not-bootable-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-02-11-cm5-no-wifi-stability-improvements-latest
https://github.com/raspberrypi/rpi-eeprom/blob/v2025.02.12-2712/firmware-2712/release-notes.md#2025-02-12-fixup-change-to-disable-37v-pmic-output-on-cm5-no-wifi-latest

Full changelog: https://github.com/raspberrypi/rpi-eeprom/compare/v2024.11.12-2712...v2025.02.12-2712

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-03-15 14:54:52 +01:00
John Audia
6fe80f5586 lxc: add two files to default backup list
Users running unprivileged containers will need to create
/etc/subgid and /etc/subuid and want to have them preserved
across updates. This commit adds them to the default backup set.

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
2025-03-15 21:32:58 +08:00
John Audia
f32083fa27 lxc: lxc-checkconfig fix typo
Fix a typo introduced in fd686a3220
which partially broke lxc-checkconfig

Build system: x86/64
Build-tested: bcm27xx/bcm2712
Run-tested: bcm27xx/bcm2712

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-03-15 20:38:08 +08:00
Eric Fahlgren
a0c4010b07 owut: update to 2025.03.14
Bug fixes:
    efahl/owut@15d7342377 owut: fix incorrect log levels on list and blob commands
    efahl/owut@3867b98d0e owut: fix parsing of certain APK versions

Enhancements:
    efahl/owut@52e7d44c99 owut: allow user to override 'package_changes'

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
2025-03-15 20:35:22 +08:00
Keith T. Garner
f2aa53cdef dockerd: add docker-storage to init
Docker's backend storage driver can be configurable for certain
filesystems. The default is the overlay storage driver, but if you run
openwrt on a system with btrfs, this will allow you to override the
default configuration by settings the storage_driver in uci in dockerd's
global section. This value will be used in the created dockerd.json
file.

Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2025-03-14 00:51:21 +08:00
Florian Eckert
ace9f160ce gpsd: migrate option device to a list devices
More than one device can be added to the gpsd at startup. Currently the gpsd
service start script in OpenWrt treats this as an option with only one value.
To allow multiple devices to be specified, the uci 'option device' must be
removed and a new uci 'list devices' is added.

This change means that several devices can be specified at gpsd start with
the new uci 'list devices' configuration.

Running configurations in the field are migrated by a migration script.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
e377d07afd gpsd: add readonly option to uci
The 'readonly' option tells the GPSD that it is not allowed to write to the
GPS TTY, only reading the NMEA data stream is allowed. This option of the
GPSD must be set for my mobile radio device MV31, otherwise the GPSD can not
read the NMEA data stream on the GPS TTY because the GPSD blocks during
plugin probing.

gpsd:PROG: CORE: Probing "Garmin USB binary" driver...
gpsd:PROG: CORE: Probe not found "Garmin USB binary" driver...
gpsd:PROG: CORE: Probing "GeoStar" driver...
gpsd:PROG: Sent GeoStar packet id 0xc1

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
c954b960c4 gpsd: only add device to procd start call if device option is configured
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
d7fae14030 gpsd: add hotplug handling
The 'gpsd' offers the possibility to call the script '/etc/gpsd/device-hook'
when a GPS source was added or removed via gpsdctl.

In addition to the '/etc/gpsd/device-hook' call an event is now triggered
too after the 'gpsd' has started. This allows scripts to configurre 'gpsd'
receivers.

The following events are available for '/etc/hotplug.d/gpsd' scripts:

* ACTIVATE   via '/etc/gpsd/device-hook'
* DEACTIVATE via '/etc/gpsd/device-hook'
* STARTED    via '/etc/init.d/gpsd'

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
7ca3ffebff gpsd: add the possibility to start the gpsd with a different log level
This simplifies the handling of log levels if we need more log information
during development.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Florian Eckert
f420a7bb37 gpsd: add control socket '/var/run/gpsd.sock' on startup
This change makes it possible to add new gps device without restarting the
'gpsd' service by using the 'gpsdctl' command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-28 08:13:00 +01:00
Javier Marcet
034505d969 docker-compose: Update to version 2.33.1
Release notes:
https://github.com/docker/compose/releases/tag/v2.33.1

Signed-off-by: Javier Marcet <javier@marcet.info>
2025-02-26 16:47:47 +08:00
John Audia
96c96fe041 lxc: fix decompression of rootfs tarballs
Modified 025-remove-unsupported-option.patch to both remove
the bsdtar command as it ends in errors, see below, and to
circumvent an error when extracting to overlayfs[1].

Error when extracting rootfs tarball with bsdtar:
tar --absolute-names --numeric-owner '--xattrs-include=*' -xpJf /var/cache/lxc//download/archlinux/current/amd64//default/rootfs.tar.xz -C /mnt/data/lxc/test/rootfs
./usr/bin/newgidmap: Cannot restore extended attributes on this system: Illegal byte sequence
lxc-create: test: ../src/lxc/lxccontainer.c: create_run_template: 1589 Failed to create container from template
lxc-create: test: ../src/lxc/tools/lxc_create.c: lxc_create_main: 318 Failed to create container test

1. https://github.com/openwrt/openwrt/issues/15888

Signed-off-by: John Audia <therealgraysky@proton.me>

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

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-25 00:20:14 +08:00
John Audia
b74dc8a119 lxc: add gnu-tar as a depends to fix lxc-create
Add gnu-tar as a dependency for lxc-create which is needed to
properly extract the root file system tarball. Without it,
symlink target of /bin/tar is busybox and it lacks proper
support to extract with xattrs.  The default gnu-tar is actually
built without this support as well, but it is able to extract
the rootfs tarballs with a warning not an error which is not the
case with busybox which ends in an error.

Signed-off-by: John Audia <therealgraysky@proton.me>

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne
2025-02-25 00:20:14 +08:00
John Audia
ba7e4dccec lxc: add missing deps
Several deps are missing based the output of lxc-checkconfig shown below
before this commit is applied.

CONFIG_IP_NF_TARGET_MASQUERADE and CONFIG_IP6_NF_TARGET_MASQUERADE are
only needed for lxc-net which we do not package.

% lxc-checkconfig | grep missing
Cgroup device: missing
CONFIG_IP_NF_TARGET_MASQUERADE: missing
CONFIG_IP6_NF_TARGET_MASQUERADE: missing
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: missing
FUSE (for use with lxcfs): missing
checkpoint restore: missing
CONFIG_UNIX_DIAG: missing
CONFIG_INET_DIAG: missing
CONFIG_PACKET_DIAG: missing
CONFIG_NETLINK_DIAG: missing

Additionally, two new patches have been added which remove checks for
options that OpenWrt currently does not package and can serve are
false positives for missing items from our kernel config, namely:
lxc-net and lxc-checkpoint

After applying this commit, below is the output showing that the kernel
config[1] should pass all tests for functionality:

% CONFIG=config ./lxc-checkconfig
LXC version 6.0.3

--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Namespace limits:
  cgroup: 383849
  ipc: 383849
  mnt: 383849
  net: 383849
  pid: 383849
  time: 383849
  user: 383849
  uts: 383849

--- Control groups ---
Cgroups: enabled
Cgroup namespace: enabled
Cgroup v1 mount points:
Cgroup v2 mount points:
 - /sys/fs/cgroup
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled, loaded
Macvlan: enabled, not loaded
Vlan: enabled, not loaded
Bridges: enabled, loaded
Advanced netfilter: enabled, loaded
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled, not loaded
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled, loaded

--- Checkpoint/Restore ---
checkpoint restore: missing
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled

1. Generated on 23-Feb-2025 running bcm27xx/bcm2712 on r28869+1

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-24 16:08:31 +08:00
John Audia
57434a290d lxc: remove check for options we do not package
We do not package lxc-net or lxcfs so remove the lines within
lxc-checkconfig that looks forCONFIG_IP_NF_TARGET_MASQUERADE and
CONFIG_IP6_NF_TARGET_MASQUERADE which, as far as I know, is the only
part of lxc that needs them. Also remove the check for FUSE since we do
not pakcage lxcfs.

Without this commit, users will see these two as missing.

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-02-24 16:08:31 +08:00
Gerard Ryan
adce350700 containerd: Added reverse dependency version check
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2025-02-20 20:50:04 +08:00