Commit graph

4212 commits

Author SHA1 Message Date
Stijn Tintel
6c942ec7fb
Revert "lxc: export systemd cgroups after install"
The postinst script is sourced during image build, which causes the
follow failure:
/home/stijn/Development/OpenWrt/openwrt/build_dir/target-x86_64_musl/root-x86/etc/init.d/lxc-auto: line 3: /lib/functions.sh: No such file or directory
postinst script ./usr/lib/opkg/info/lxc-auto.postinst has failed with exit code 1

Sourcing /lib/functions.sh is not needed, as /etc/rc.common does so
already. Unfortunately removing that line from the init script is not
enough to fix the problem. The postinst script should also check
IPKG_INSTROOT. As these two changes are unrelated, they should go in
separate commits, and the solution to the image build problem is to
revert the commit that introduced the breakage.

This reverts commit 2cde10b950.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 039912dec5)
2022-06-24 12:20:26 +02:00
Michal Vasilek
345ae974bc
lxc: export systemd cgroups after install
otherwise, a user would have to either manually run /etc/init.d/lxc-auto
boot or reboot the system to start using lxc.

originally committed in 2cde10b950
reverted in 039912dec5

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 7da7356539)
2022-06-24 12:17:28 +02:00
Etienne Champetier
27ff7f17de prometheus-node-exporter-lua: fix waiting for interface
Instead of waiting for interface to be up,
wait for it to have IPs, as this is what we need.

Also do not call procd_open_instance when not ready.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 1dd46bca62)
2022-06-16 22:31:35 -04:00
Jonathan Pagel
c7552ebf6f telegraf: update to version 1.23.0
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit e8f6600851)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-06-13 19:42:05 -07:00
Etienne Champetier
07f8725492
Merge pull request #18743 from champtar/prom-lua
[22.03] prometheus-node-exporter-lua: backport recent commits
2022-06-12 21:43:02 -04:00
Hannu Nyman
4d09e06374 irqbalance: upstream patch to fix segfault
Apply post-1.9.0 patch from upstream to fix a segfault.
savedptr can be NULL, so guard for that.

Fixes #18741

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ab7a23102e)
2022-06-12 20:33:24 +03:00
Hannu Nyman
827a6352be irqbalance: upstream patch to fix irq-module relation
Apply post-1.9.0 patch from upstream to fix the irq-->module
relation detection.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 358c2293fa)
2022-06-12 20:33:13 +03:00
Nick Hainke
942a091633 prometheus-node-exporter: fix ubus stations
Not every radio has also ubus support. Only query radios with ubus
functions.

Signed-off-by: Nick Hainke <vincent@systemli.org>
[fixup, call ubus.connect() once per scrape]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 0a07237514)
2022-06-12 10:43:33 -04:00
Etienne Champetier
a9accc565d prometheus-node-exporter-lua: use uhttpd-mod-lua
listen_ipv6 config option is removed and we now
listen on both ipv4 and ipv6 addresses.
HTTP keepalive is enabled and set to 70s by default.

With uhttpd-mod-lua there is a small change in behavior,
all code is loaded/parsed/executed once on startup as before,
but now each request is executed in his own fork, so we can't
keep a state between requests.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 60460f0046)
2022-06-12 10:43:16 -04:00
Etienne Champetier
ab327729c8 prometheus-node-exporter-lua: fixup openwrt collector
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 3afccecdb2)
2022-06-12 10:43:08 -04:00
René Treffer
a7110baf4c prometheus-node-exporter-lua: add netclass.lua collector
All current node_exporter netclass metrics will be available. This includes
speed metrics per lan port on supported DSA switches.

Signed-off-by: René Treffer <treffer@measite.de>
(cherry picked from commit a315c40b72)
2022-06-12 10:41:59 -04:00
Josef Schlehofer
afea2bcafc
beep: change git repository to fix CVE-2018-0492 and CVE-2018-1000532
1. Changed Git repository, which is used for Fedora packaging
https://github.com/johnath/beep/issues/11#issuecomment-450277122

Fixed CVEs:
CVE-2018-0492 - https://nvd.nist.gov/vuln/detail/CVE-2018-0492
CVE-2018-1000532 - https://nvd.nist.gov/vuln/detail/CVE-2018-1000532

2. Fixed SPDX License Identifier

3. Add patch to comment out -D_FORTIFY_SOURCE
Otherwise, it can not be built by default.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6488eaf250)
2022-06-10 13:53:26 +02:00
Hannu Nyman
0060d7663d irqbalance: remove local patch for socket directory
Upstream has finally patched the UI communication socket
creation to happen only if the irqbalance UI is enabled.

As we do not use the irqbalance UI, we can remove
our local fix implemented by 4f0c847828.
(If you want to enable irqbalance UI, the fix is still needed.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 8e71e0ad97)
2022-06-05 20:04:07 +03:00
Hannu Nyman
cd35bee8b0 irqbalance: update to 1.9.0
Update irqbalance to version 1.9.0
* adopt AUTORELEASE

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e9002ff3d9)
2022-06-05 20:03:44 +03:00
Tianling Shen
62514d5963 yq: Update to 4.25.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 31f9d48ff3)
2022-06-01 13:52:36 -07:00
Michal Vasilek
6621ab68bc
miniflux: update to 2.0.36
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 68879aea20)
2022-05-20 23:09:39 +02:00
Eneas U de Queiroz
2abb60c164
audit: avoid interferece with base libaudit build
Both audit in the packages feed and libaudito from the base repo use the
same sources.

Have 'audit' use a different build directory than 'libaudit' package to
avoid interference between them.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit c0f26f4980)
2022-05-20 23:07:05 +02:00
Eneas U de Queiroz
964e972aff
audit: remove host build
The audit package in the packages feed share the same sources as the
libaudit package in the base repo.  libaudit performs a host build, used
only by libsemanage in base.

There is no package depending on 'audit/host', so we can remove it to
avoid possible confusion.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 1d54defb0f)
2022-05-20 23:06:59 +02:00
Eneas U de Queiroz
0c44bdceab
audit: Fix compilation with kernel 5.15
Linux 5.15 does not have the linux/ipx.h header.

The patch is a partial cherry-pick (skipped ChangeLog) of upstream
commit 6b09724c6 ("Make IPX packet interpretation dependent on the ipx
header file existing").

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 7be14da0d5)
2022-05-20 23:06:35 +02:00
David Bauer
223f6215ba poemgr: add package
Add the poemgr package. This package is required to control the PSE
controller for the PoE outputs on the Ubiquiti UniFi Switch Flex.

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-05-20 12:19:27 -07:00
Jeffery To
044425dc4b bluez: Update to 5.64, update/refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit d3cdfa3c30)
2022-05-20 12:14:56 -07:00
Gerard Ryan
30c39ca1d7 docker: Update to v20.10.16
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit b05dac5671)
2022-05-20 12:13:05 -07:00
Gerard Ryan
b23eb24dcb dockerd: Update to v20.10.16
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 81dd38677b)
2022-05-20 12:13:05 -07:00
Gerard Ryan
6f3e7f8798 libnetwork: Updated to 339b97 for docker v20.10.16
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 127aa63898)
2022-05-20 12:13:05 -07:00
Gerard Ryan
c5061b93d9 containerd: Update to v1.6.4 for docker v20.10.16
* Overrode `PREFIX` to have the old behaviour

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 9a7e3c0b7b)
2022-05-20 12:13:05 -07:00
Gerard Ryan
33d3642c85 runc: Update to v1.1.1 for docker v20.10.16
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 8cf4c156c4)
2022-05-20 12:13:05 -07:00
Jonathan Pagel
db966f7196 telegraf: Update to version 1.22.4
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit f43a5f03bb)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-05-18 09:15:55 +02:00
Liang Yang
9d2246b281 docker: fix compilation with glibc
Signed-off-by: Liang Yang <ggg17226@gmail.com>
(cherry picked from commit 624f48a602)
2022-05-15 07:57:39 -07:00
Liang Yang
5af6f2592e dockerd: fix compilation with glibc
Signed-off-by: Liang Yang <ggg17226@gmail.com>
(cherry picked from commit 9963312067)
2022-05-15 07:57:39 -07:00
Gerard Ryan
8905f9808d dockerd: Add firewall independent dependencies
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 1f96ec16ec)
2022-05-15 07:57:39 -07:00
Gerard Ryan
79614bb2ac dockerd: Sorted dependencies for better diffs
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit 34c77110f1)
2022-05-15 07:57:39 -07:00
Andy Dodd
c227c65c68 docker: Update to 20.10.14
Signed-off-by: Andy Dodd <atd7@cornell.edu>
(cherry picked from commit cd99c4cafb)
2022-05-15 07:57:39 -07:00
Andy Dodd
df8b28232c dockerd: Update to 20.10.14, and update version checking mechanism
a7a7c732c0
changed package pinning from commit hash to version for some dependencies
(but not all, libnetwork is still referenced by commit)

Support the version-based pinning mechanism in addition to commit-based

Signed-off-by: Andy Dodd <atd7@cornell.edu>
(cherry picked from commit c3166c5a22)
2022-05-15 07:57:39 -07:00
Andy Dodd
23547de3c9 containerd: Update to 1.5.11
Signed-off-by: Andy Dodd <atd7@cornell.edu>
(cherry picked from commit a134a23a07)
2022-05-15 07:57:39 -07:00
Michal Vasilek
c79b4f85b2 runc: update to 1.0.3
* fixes CVE-2021-43784

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 9a4423995a)
2022-05-15 07:57:39 -07:00
Michal Vasilek
6f606107e7
lxc: export systemd cgroups after install
otherwise, a user would have to either manually run /etc/init.d/lxc-auto
boot or reboot the system to start using lxc.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 2cde10b950)
2022-05-15 07:29:39 +02:00
Jeffery To
770de80cad
Merge pull request #18332 from clarkwang/v22.03-sexpect
[22.03] sexpect: Expect for Shells
2022-05-11 03:51:11 +08:00
Jeffery To
b688080365
Merge pull request #18333 from clarkwang/v22.03-passh
[22.03] passh: an sshpass alternative
2022-05-11 03:49:26 +08:00
Matthias Schiffer
948ea0e9c0
ecdsautils: update to v0.4.1
This fixes CVE-2022-24884.

Also update the package URL to match the source repository.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit de5671e582)
2022-05-05 18:47:20 +02:00
Josef Schlehofer
97333939db
hwdata: update to version 0.359
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 600eecbac6)
2022-05-04 18:11:54 +02:00
Tianling Shen
09da83968e yq: Update to 4.25.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 514ca20255)
2022-04-30 14:00:23 +02:00
Jonathan Pagel
8949136a8c telegraf: upgrade to version 1.22.3
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit c5b668df5b)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-04-30 12:16:02 +02:00
Hannu Nyman
afacf250a0 nano: update to 6.3
Update nano editor to version 6.3

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e076a9a40d)
2022-04-29 19:15:11 +03:00
Clark Wang
f26d5e5462 passh: updated per OpenWrt's common practice
- removed extra white spaces in Makefile
- changed license from GPL-3.0 to GPL-3.0-only
- added test.sh

Signed-off-by: Clark Wang <dearvoid@gmail.com>
(cherry picked from commit 580fe568d6)
2022-04-29 09:30:54 +08:00
Clark Wang
3bd1d510e4 passh: an sshpass alternative
Sshpass does not work well in a few scenarios. Passh is an sshpass
alternative which tries to fix the issues.

Signed-off-by: Clark Wang <dearvoid@gmail.com>
(cherry picked from commit 1221ceed8d)
2022-04-29 09:30:54 +08:00
Clark Wang
7fddd201f8 sexpect: updated per OpenWrt's common practice
- removed extra white spaces in Makefile
- changed license from GPL-3.0 to GPL-3.0-only
- added test.sh

Signed-off-by: Clark Wang <dearvoid@gmail.com>
(cherry picked from commit 17d4d05fd5)
2022-04-28 21:25:30 +08:00
Clark Wang
40e42950cd sexpect: Expect for Shells
Sexpect is another implementation of Expect which is specifically
designed for shells. It's lightweight and has no dependency on other
packages.

Signed-off-by: Clark Wang <dearvoid@gmail.com>
(cherry picked from commit 49b1e63444)
2022-04-28 21:25:30 +08:00
Jitao Lu
ee9f2b16c5 kitty-terminfo: Terminfo for kitty, an OpenGL-based terminal emulator
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
2022-04-27 22:05:18 -07:00
Jonathan Pagel
ee93a159bc telegraf: Update to version 1.22.2
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit a93b3baba1)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-04-26 10:54:12 +02:00
Daniel Golle
c3960c7c44 uvol: update to version 0.8
Bump version to reset PKG_RELEASE counter.
Add missing dependency on ucode-mod-math which is needed for the
mkdtemp() implementation used to format UBI volumes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-04-25 19:30:14 +01:00