Commit Graph

4708 Commits

Author SHA1 Message Date
Oskari Rauta
c42f1261f0 zsh: use autoreconf PKG_FIXUP to configure
In preparation to PCRE2 fixup, use autoreconf PKG_FIXUP as a better
configure system instead of configure script. This is needed to reduce
upcoming patch to migrate to PCRE2 library.

To correctly use autoreconf it's needed to declare empty
PKG_REMOVE_FILES.

zsh include custom macro in the default aclocal.m4
When autoreconf PKG_FIXUP is used, if PKG_REMOVE_FILES is not defined,
it's set to remove the file aclocal.m4 by default resulting in problem
with the custom macro AC_PROG_LN.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
[ split to 2 commit, add PKG_REMOVE_FILES, reword commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit a7f837c98b)
2023-10-16 14:52:14 +02:00
Christian Marangi
45498f4b8c zsh: backport PCRE2 patches and move to it
Backport PCRE2 patches from upstream and move package to PCRE2 library
as PCRE is EOL and won't receive any security update anymore.

Patch are backported with minimal change, only the Changelog change is
commented out as it would conflict and makes no sense to adapt for the
purpose of backport patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 5b929fde5f)
2023-10-16 14:51:06 +02:00
Tianling Shen
cea77ca4c5 Merge pull request #22376 from jefferyto/rust-build-performance-openwrt-23.05
[openwrt-23.05] rust: Improve build performance
2023-10-15 11:48:46 +08:00
Nick Hainke
58ade934e7 kmod: update to 31
Release Notes:
aff617ea87/NEWS (L1)

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit ca057f3e4e)
2023-10-14 14:19:05 +02:00
Oskari Rauta
7fe0677d0e podman: update to 4.7.1
Bugfixes

 - Fixed a bug involving non-English locales of Windows where machine installs using user-mode networking were rejected due to erroneous version detection (#20209).
 - Fixed a regression in --env-file handling (#19565).
 - Fixed a bug where podman inspect would fail when stat'ing a device failed.

API
 - The network list compat API endpoint is now much faster (#20035).

Openwrt updates: added patch to allow building with musl-1.2.4
Patch source is from gentoo c4c349f11a/app-containers/podman/files/podman-4.5.0-fix-build-with-musl-1.2.4.patch

Issue was discussed by @jefferyto at mattn/go-sqlite3#1177

remarks:
removed musl-1.2.4 patch from commit, since that version of musl
is not available with openwrt-23.05

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit e25d417f1a)
2023-10-14 14:32:57 +08:00
Oskari Rauta
a38348e645 slirp4netns: update to 1.2.2
v1.2.2 changes:
 - Enabled reproducible builds

v1.2.1 changes:
 - sandbox: Add support for escaping resolv.conf symlinks. This fixes usage in WSL environments which symlinks /etc/resolv.conf under a shared location under /mnt.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 8b3bf5bb88)
2023-10-14 14:32:20 +08:00
Oskari Rauta
35f99480cc crun: update to 1.9.2
changelog 1.9.2:
 - cgroup: reset the inherited cpu affinity after moving to cgroup. Old kernels do that automatically, but new kernels remember the affinity that was set before the cgroup move, so we need to reset it in order to honor the cpuset configuration.

changelog 1.9.1:
 - utils: ignore ENOTSUP when chmod a symlink. It fixes a problem on Linux 6.6 that always refuses chmod on a symlink.
 - build: fix build on CentOS 7
 - linux: add new fallback when mount fails with EBUSY, so that there is not an additional tmpfs mount if not needed.
 - utils: improve error message when a directory cannot be created as a component of the path is already existing as a non directory.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit bb3af8acb9)
2023-10-14 14:32:06 +08:00
Oskari Rauta
3fd6e9e057 conmon: update to 2.1.8
Bug fixes:
 - stdio: ignore EIO for terminals
 - ensure console socket buffers are properly sized
 - conmon: drop return after pexit()
 - ctrl: make accept4 failures fatal
 - logging: avoid opening /dev/null for each write
 - oom: restore old OOM score
 - Use default umask 0022

Misc changes:
 - cli: log parsing errors to stderr
 - Changes to build conmon for riscv64
 - Changes to build conmon for ppc64le
 - Fix close_other_fds on FreeBSD

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 3d88d18ee2)
2023-10-14 14:31:43 +08:00
Jeffery To
236da17e6a rust: Use make's jobserver when building packages
This allows cargo to use make's jobserver when building packages, by
marking the cargo command as recursive (with the + prefix[1]) and
setting MAKEFLAGS.

This also:

* Give cargo/x.py the build directory instead of having to change the
  current directory (and opening subshells)

* Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable
  the use of make's jobserver

[1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0dfc1b508d)
[omit changes to arp-whisper and procs]
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-12 14:02:35 +08:00
Tianling Shen
40899bca79 yq: Update to 4.35.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit b46ff1fd8a)
2023-10-06 11:55:22 +08:00
Josef Schlehofer
4c79fddacf prometheus-node-exporter-lua: drop bmx6 package
In the OpenWrt routing feed, package bmx6 and luci-app-bmx6 were removed because the LuCI app was vulnerable to several CVEs, as found by dependabot. It has been reporting it for a few months and has even created an issue. These two packages are not maintained in OpenWrt as well in upstream.

Users should switch to the bmx7 package.

Fixes: 9fb9d9343ea27d6dbb5008ece10c0c843dd2c781 ("bmx6: drop package") in the routing feed

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 9c2bf85900)
2023-10-03 14:48:34 +02:00
Van Waholtz
13bd464288 syncthing: update to 1.24.0
This package can be built with Go 1.21 and QUIC can be enabled.

Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
(cherry picked from commit 86522d77f1)
2023-09-28 10:53:38 +02:00
Van Waholtz
5f79076fb6 syncthing: disable quic to support GO 1.21
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
(cherry picked from commit 23113ceb97)
2023-09-28 10:53:32 +02:00
Van Waholtz
133bddb2a9 syncthing: update to 1.23.7
Signed-off-by: Van Waholtz <brvphoenix@gmail.com>
(cherry picked from commit 0449b0f394)
2023-09-28 10:53:20 +02:00
Josef Schlehofer
c6656a6289 btrfs-progs: update to version 6.5.1
Release notes:
https://github.com/kdave/btrfs-progs/releases/tag/v6.5.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 16e484cad1)
2023-09-27 19:03:44 +02:00
Hirokazu MORIKAWA
244bc7e8a2 mg: switch pcre to pcre2
Switch pcre to pcre2
https://github.com/openwrt/packages/issues/22006

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 3d11e5c197)
2023-09-22 09:26:21 +02:00
Jeffery To
598e079a25 setools: Update to 4.4.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 0ea5e63b15)
2023-09-22 00:24:40 +02:00
Hannu Nyman
b507c937da collectd: remove target dependency from cpufreq plugin
We currently have more package architectures supporting
CPU frequency scaling than earlier, and the package architecture
vs. CPU target SDK matching does not fully reflect that.
(E.g. aarch64_cortex-a53 is currently using bcm27xx/bcm2710)

Simplify things by removing the target dependency and let the plugin
be built for all architectures.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 87a9305ddd)
2023-09-18 22:23:41 +03:00
Josef Schlehofer
51acc2633b treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 1e1b2051db)
2023-09-16 12:24:30 +02:00
Josef Schlehofer
02159e6a50 bandwidthd: drop this package
This package is not maintained by upstream anymore as they replace it by Ntopng 3. [1]
Upstream repository is archived and read only since February 2022 [2]

[1] https://community.nethserver.org/t/bandwidthd-for-nethserver-7/4071/18
[2] https://github.com/NethServer/bandwidthd

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit bb4c3b5a20)
2023-09-16 12:18:28 +02:00
Mathew McBride
ae8a98055b qemu: enable host support for armsr/armv8
As of OpenWrt main branch commit e505873e65f72 ("armsr: armv8:
enable KVM host") [merged 2023-08-15], armsr/armv8 has
KVM host support. We can now enable QEMU host for this
target.

For example, you can run OpenWrt armsr/armv8 as a guest
like so:
qemu-system-aarch64 -nographic -M virt -cpu host --enable-kvm \
	-bios u-boot.bin -smp 1 -m 1024 \
	-drive file=openwrt-armsr-armv8-generic-ext4-combined.img,format=raw,index=0,media=disk

A compatible u-boot.bin can be obtained from u-boot-qemu_armv8/u-boot.bin
that is built with the armsr target and available from
downloads.openwrt.org.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
(cherry picked from commit 821bbcdf8b)
2023-09-03 22:59:52 +08:00
Luca Barbato
f99d728916 nvme-cli: Fix categorization
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit b5463d16f1)
2023-09-03 18:27:45 +08:00
Robert Marko
a412d35777 mhz: respect CC and CFLAGS passed by buildsystem
It seems that the Makefile has both CC and CFLAGS hardcoded and does not
allow overriding them by ones being passed by the buildsystem.

This works fine until CONFIG_PKG_ASLR_PIE_ALL is selected, then building
will fail with:
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
arm-openwrt-linux-muslgnueabi/bin/ld.bfd: mhz.o(.text+0x75c): unresolvable R_ARM_CALL relocation against symbol `__aeabi_l2d@@GCC_3.5

So, lets add a patch pending upstream that allows both CC and CFLAGS to be
overriden so that ones passed by the buildsystem are actually respected.

Fixes: 89123b308f ("mhz: add new package")
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 6c28f46f37)
2023-09-03 10:44:35 +02:00
Alex Shumsky
f724ad5349 collectd-mod-ipstatistics: fix handling of long /proc lines
`/proc/net/netstat` `TcpExt:` line is 2064 chars long on linux 6.1

Signed-off-by: Alex Shumsky <alexthreed@gmail.com>
[PKG_RELEASE bump added]
(cherry picked from commit b5bf5927f7)
2023-09-02 20:01:09 +03:00
Nuno Gonçalves
97f29998c2 gl-mifi-mcu: remove package as it is device specific and I can't test it anymore
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit e95955f40b)
2023-09-02 16:11:34 +02:00
Nuno Gonçalves
5d8780bf12 gl-mifi-mcu: make compatible with newer kernel (fix #21198)
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 9536d28384)
2023-09-02 16:11:28 +02:00
Luca Barbato
0ae68980d7 nvme-cli: Add new package
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 06e9fdfe00)
2023-09-02 16:10:03 +02:00
Paul Spooren
0a32a6129c prometheus: drop package
The package is terribly outdated and bundling it with the web UI is a
task I don't find myself willing to take. Dropping it.

FIX: #16008

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-09-02 16:09:04 +02:00
John Audia
4c4ee8b8f5 tree: bump to 2.1.1
Build system: x86_64
    Build-tested: bcm2711/RPi4B
    Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 58719c0aa4)
2023-09-02 09:08:51 +03:00
Nikos Mavrogiannopoulos
dab745d8ac tang: tang-show-keys defaults on the default 9090 port
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-08-31 18:43:28 +02:00
Nikos Mavrogiannopoulos
eb822fe281 tang: tang-show-keys uses wget instead of curl
Resolves: #15592

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-08-31 18:43:28 +02:00
Nikos Mavrogiannopoulos
2ab4f79922 tang: do not require bash
It is not used by its included scripts.

Resolves: #21799

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-08-30 09:27:08 +02:00
Nikos Mavrogiannopoulos
8b7ab56e2d tang: corrected hash for v14
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-08-30 09:26:50 +02:00
Nikos Mavrogiannopoulos
5b6d6aa668 tang: updated to v14
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-08-29 11:35:51 +02:00
Tianling Shen
3da7903aba yq: Update to 4.35.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 9c63068154)
2023-08-23 08:24:09 +08:00
Hannu Nyman
aeebe35c72 xz: Update to 5.4.4
Update xz

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 0985b4004d)
2023-08-19 14:07:48 +03:00
Tianling Shen
ea0b97c08e reptyr: Update to 0.10.0
* 0.10.0 (Jun 04, 2023)
 - Add arm7 and aarch64 support for FreeBSD

* 0.9.0 (Jun 12, 2022)
 - Add RISCV64 support on Linux
 - Fix tty-stealing on PowerPC

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 4792b6405b)
2023-08-16 11:36:36 +02:00
Georgi Valkov
0878b2e812 gptfdisk: fix incorrect TARGET on non-linux host
Fixed by defining TARGET=linux, as suggested in the README.

By default TARGET is derived from the host using uname -s,
which produces build errors on a non-linux hosts:

TARGET is not set; trying to determine target based on host OS....
Detected OS is Darwin
Build target is macos
...
x86_64-openwrt-linux-musl-g++: error: unrecognized command-line option '-arch'

Helped-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
(cherry picked from commit 94315cfaa8)
2023-08-13 17:56:33 +08:00
Florian Eckert
7ceceaec90 collectd: fix implicit dependence for collect-mod-disk to libudev
Fix missing dependencies for 'collectd-mod-disk' to 'libudev' if
collectd-mod-smart is not enabled.

Package collectd-mod-disk is missing dependencies for the following
libraries:
libudev.so.1

The package 'collect-mod-disk' is now build always with 'libudev' support,
independent of the enable/disable build state of 'collectd-mod-smart'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 79201361b0)
2023-08-11 10:06:06 +02:00
Florian Eckert
5780816266 collectd: unify configure args handling for collectd-mod-smart
If 'collectd-mod-smart' is not enabled, the use of lubudev does not need
to be explicitly disabled. This library could be a dependency for other
modules in the future. If this is explicitly disabled, then the other
module cannot be built.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 1aac8ada87)
2023-08-07 13:48:07 +02:00
Florian Eckert
a9b6b04401 collectd: fix ampq1 vs. amqp1 typo
The name 'ampq1' does not exist.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 730806a51e)
2023-08-07 13:47:52 +02:00
Alexandros Kosiaris
ed5ccb6867 collectd: Support config of mqtt plugin
mqtt plugin is already built and shipped in
collectd-mod-mqtt, however it is not possible to configure it via
uci currently, instead having to rely on populating the config file manually.

Add support by adding 2 functions, process_mqtt() and
process_mqtt_block(). First one just enables/disables the plugin.
The second one, in the spirit of the curl plugin, adds support for
populating multiple <Publish> and <Subscribe> blocks under <Plugin mqtt>
with support for some parameters. Those are:

* blocktype. Publish or Subscribe. Mandatory
* name. The name of the block. Mandatory
* Host. Mandatory
* Port. Optional
* User. Optional
* Password. Optional
* ClientId. Optional
* QoS. Optional
* Prefix. Optional
* Retain. Optional
* StoreRates. Optional
* CleanSession. Optional
* Topic. Optional

Bump PKG_RELEASE per comments in PR

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
(cherry picked from commit 530ccbc90d)
2023-08-07 13:47:48 +02:00
Gerard Ryan
420aee737e docker: Update to 24.0.5
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit be96e7db6b)
2023-08-04 15:33:14 +08:00
Gerard Ryan
821ba40f1b dockerd: Update to 24.0.5
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 51d6788aed)
2023-08-04 15:33:14 +08:00
Gerard Ryan
6214bd8034 runc: Update to 1.1.8 for docker v24.0.5
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 276e9a7722)
2023-08-04 15:33:14 +08:00
Hirokazu MORIKAWA
8c85e647ec mg: bump to 7.3
Description:
Sync to OpenBSD 7.3

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit e25f57b602)
2023-07-29 04:25:01 +08:00
源 文雨
fb4b7a4aaa base16384: bump to version 2.2.4
Signed-off-by: 源 文雨 <fumiama@foxmail.com>
(cherry picked from commit 95a0e51ba4)
2023-07-24 18:08:12 +08:00
Tianling Shen
493f151887 yq: Update to 4.34.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1cb2590c17)
2023-07-16 03:08:16 +08:00
Jeffery To
10b464ce3b semodule-utils: Update to 3.5, reorganize package
* Add separate packages for each tool (semodule-*)

* Update the semodule-utils package as a meta-package that installs all
  tools, keeping it functionally the same as the current semodule-utils
  package

* Remove host build (not used by any other package)

* Update package titles, descriptions, and license files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit aa4085a13f)
2023-06-26 12:27:05 +08:00
Jeffery To
73616f30e5 selinux-python: Update to 3.5, reorganize package
* Added packages:

  * python3-seobject

    Contains the seobject.py library file which was previously included
    in selinux-semanage

  * selinux-sepolicy

    Contains the sepolicy and sepolgen tools which were previously
    included in python3-sepolicy

  * selinux-sepolgen-ifgen

    Contains the sepolgen-ifgen tool which was previously included in
    selinux-audit2allow

  * selinux-python

    A meta-package to install all tools

* Change the python3-sepolgen data_dir from /usr/share/sepolgen to
  /etc/sepolgen (updated 0001-sepolgen-adjust-data_dir.patch), and add
  the directory to conffiles

  By default, the sepolgen-ifgen tool writes to a file named
  "interface_info" in the data directory, to be read by the audit2allow
  tool. The header comment in the perm_map file also suggests that the
  file is customizable.

  The best place for these files would be in /var/lib, but /etc is more
  appropriate than /usr.

* Remove gui files from python3-sepolicy (0003-sepolicy-no-gui.patch)

* Fix ModuleNotFoundError raised by sepolicy
  (0004-sepolicy-fix-get_os_version-except.patch)

  Patch has been submitted upstream:
  https://lore.kernel.org/selinux/20230619063217.3165462-1-jeffery.to@gmail.com/

* Update package titles, descriptions, and dependencies

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6bd71dac0c)
2023-06-26 12:26:45 +08:00