Commit graph

4162 commits

Author SHA1 Message Date
Daniel Golle
1213cf98fd uvol: unbreak if LVM is installed but unused
Fix and simplify console output, make sure uvol doesn't break in case
of LVM being installed but not used.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 3959a9b22c)
2022-04-25 19:30:14 +01:00
Daniel Golle
33e89f46a0 uvol: yet another small compatibility hack
Shift ARGV until actual parameters start to compensate for older
versions of ucode passing the complete cmdline.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 31f02d5c1e)
2022-04-25 19:30:14 +01:00
Daniel Golle
17d2376261 uvol: fixes and adapt to in-tree ucode
Don't use features which are not yet present in the version of ucode
currently shipped with OpenWrt (such as `fs.access()` or assuming raw
mode by default).
Fix syntax error in main executable.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 74caff0d59)
2022-04-25 19:30:14 +01:00
Daniel Golle
3ef5254f4a uvol: unbreak build and adapt to updated ucode
* Fix build which was broken by a wrong path in the Makefile.

Adapt to ucode commit 4618807 ("main: rework CLI frontend"):
 * ucode now no longer needs the {% %} around each code file, remove
   that and safe one level of indentation.
 * ARGV now no longer includes ucode executable and script itself

Fixes: 6350c7bc6 ("uvol: replace with re-write in ucode")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 22d202e3a5)
2022-04-25 19:30:14 +01:00
Daniel Golle
27b395871d uvol: update to re-write in ucode
Replace previous Shell draft-quality implementation of uvol with a
rewrite in ucode[1].
While the new code is slightly larger, it performs much better (as
we no longer fork() for parsing strings like in Shell with grep, sed
and friends).

Before:
  time uvol list -j
  [ ... ]
  real	0m 0.82s
  user	0m 0.13s
  sys	0m 0.10s

After:
  time uvol list -j
  [ ... ]
  real	0m 0.47s
  user	0m 0.05s
  sys	0m 0.05s

[1]: https://github.com/jow-/ucode
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6350c7bc63)
2022-04-25 19:30:14 +01:00
Nick Hainke
ff9109ad7c prometheus-node-exporter-lua: improve ubnt-manager
It is costly in transmissions to add all information to each metric.
Instead, only use the "device" as a label and add all other important
labels to the "uptime" metric.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 9f3064a11c)
2022-04-25 14:21:58 +02:00
Rosen Penev
ea38786811 powertop: add gettext-version fixup
I hit this locally on Fedora 35 for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8324c1fe06)
2022-04-22 06:02:19 -07:00
Rosen Penev
6e04c2bcca powertop: update to 2.14
Upstream switched to github.

Fix license information.

Backport patch for ncurses 6.3. Remove other backported patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 32241d76d8)
2022-04-22 06:02:19 -07:00
Tianling Shen
342b647b88 yq: Update to 4.24.5
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit bedad06107)
2022-04-17 09:57:52 +02:00
Tianling Shen
cfb35eb34e yq: Update to 4.24.4
Updated GO_PKG due to upstream changes.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 07a29d211a)
2022-04-17 09:57:52 +02:00
Nick Hainke
99f859077c prometheus-node-exporter-lua: fix ubnt-manager collector
Update the version and add ubnt-manager to the build section.

Fixes: 76f27975a9 (" prometheus-node-exporter-lua: add ubnt-manager collector ")

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 42e841039b)
2022-04-16 17:31:42 -04:00
Nick Hainke
18b7f01e2b prometheus-node-exporter-lua: add ubnt-manager collector
Ubnt-manager-collector collects statistics from airos devices configured
in ubnt-manager.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 76f27975a9)
2022-04-16 17:31:42 -04:00
Nick Hainke
64029f426f ubnt-manager: add ubnt-manager
This app makes it easier to work with AirOS devices. So far, only monitoring is implemented.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit e4a8d3fc29)
2022-04-16 17:31:42 -04:00
Jeffery To
961c73ca7c syncthing: Update to 1.19.2
Includes patch based on upstream change[1] to fix compilation with Go
1.18.

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

[1]: e30898ddb3

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4b7ff2df5e)
2022-04-16 17:10:14 +02:00
Hannu Nyman
7b0d4cf3fc haveged: update to 1.9.18
Update haveged to version 1.9.18

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 8579494bbb)
2022-04-11 18:25:53 +03:00
Jonathan Pagel
2a7e3cf470 telegraf: Update to version 1.22.1
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit 86b8b30683)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-04-09 09:33:52 +02:00
Jonathan Pagel
d1b8a40ced telegraf: Update to version 1.22.0
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
(cherry picked from commit 2c9c485822)
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-04-06 21:17:07 +02:00
Tianling Shen
59b8af69cf yq: Update to 4.24.2
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3cbdc7e422)
2022-04-02 06:54:26 -07:00
Tianling Shen
852b9ede3a yq: Update to 4.23.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 8d7b7fbfb4)
2022-03-27 22:30:08 +03:00
Daniel Golle
2f6f65b216
uvol: fix list output on LVM backend
'uvol list' was broken when introducing support for the hidden volumes.
Fix that by not using 'continue' keyword to break the loop (as that
lead to skipping 'json_select ..') and using if-clause instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 1337c44026)
2022-03-24 23:05:59 +00:00
Daniel Golle
34e0a97caf
auc: only add filesystem type if it is known
Prevent NULL-pointer on older versions of OpenWrt.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f1969ab584)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-24 23:05:47 +00:00
Daniel Golle
de6e5e899d
auc: bump to version 0.2.5
Request root filesystem type to since it is possible now after
9d8467a748

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6c9ab0e426)
2022-03-24 23:05:29 +00:00
Hannu Nyman
e85ba63871 nano: provide nano-full with most features enabled
Provide a new variant, nano-full, that enables almost
all functionality of nano. Only libmagic file type detection
has been left out.

Ship with a minimal /etc/nanorc that the user can modify.
nanorc documentation at
https://www.nano-editor.org/dist/latest/nanorc.5.html

Provide color highlighting for the uci config files.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 6a51794638)
2022-03-24 20:31:10 +02:00
Vladimir Ulrich
c1f48576f7 zoneinfo: updated to the latest release
Signed-off-by: Vladimir Ulrich <admin@evl.su>
(cherry picked from commit b15721d6d6)
2022-03-21 20:07:40 +02:00
Daniel Golle
63408123df lvm2: update to 2.03.15
Version 2.03.15 - 07th February 2022
====================================
  Remove service based autoactivation. global/event_activation = 0 is NOOP.
  Improve support for metadata profiles for --type writecache.
  Use cache or active DM device when available with new kernels.
  Introduce function to utilize UUIDs from DM_DEVICE_LIST.
  Increase some hash table size to better support large device sets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle
0dd218a2fb ccid: update to version 1.5.0
1.5.0 - 27 January 2022, Ludovic Rousseau
   - Add support of
     - ACS ACR1281U
     - Circle CCR7125 ICC
     - Circle CIR125 ICC
     - Circle CIR125-DOT ICC
     - Circle CIR215 CL with iProduct 0x2100
     - Circle CIR315 DI
     - Circle CIR315 with idProduct: 0x0324
     - Circle CIR315 with idProduct: 0x7004
     - Circle CIR415 CL
     - Circle CIR515 ICC
     - Circle CIR615 CL
     - Circle CIR615 CL & 1S
     - ELYCTIS CL reader
     - Nitrokey Nitrokey 3
     - Thales Shield M4 Reader
   - Add support of simultaneous slot access on multi slots readers
   - Use FeliCa instead of Felica on SONY request
   - Fix SafeNet eToken 5110 SC issue
   - Allow vendor control commands for Omnikey 5427 CK
   - always compute readTimeout to use a value greater than default 3 seconds
   - Check the bSeq value when receiving a CCID frame
   - Avoid logging errors when a reader is removed
   - Some other minor improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle
5c22f49175 pcsc-lite: update to version 1.9.5
1.9.5: Ludovic Rousseau 4 December 2021
 - pcscd: autoexit even if no client connects
 - Fix variable substitution in systemd units
 - fix potential race conditions with powerState handling
 - Add and use tag TAG_IFD_DEVICE_REMOVED
 - UnitaryTests: port code to Python 3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Jeffery To
9f3f7a07c7 slide-switch: Update to 1.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-17 11:39:20 -07:00
Jeffery To
2f81f907c2 python3: Add Py3Build/InstallBuildDepends recipe
This adds a recipe, Py3Build/InstallBuildDepends, that installs the
requirements listed in HOST_PYTHON3_PACKAGE_BUILD_DEPENDS. This allows
other (non-Python) packages to install host Python packages by calling
this recipe, without having to know the internals of python3-package.mk.

This also updates apparmor to call this recipe.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-17 11:38:19 -07:00
Florian Eckert
896a0f0db6 collectd: smart: add patch to check udev_enumerate_scan_devices return value
The function udev_enumarte_scan_devices returns a value less than 0 on
failure. If this is the case then we terminate the read for this smart
information.

This change was already send upstream. And could be delete in feature
collectd versions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-03-17 14:11:41 +01:00
Florian Eckert
a9ea1cf6ed collectd: remove not needed fix
This was not a real fix but a workaround. It is no longer clear to me
why this was necessary. Deleting the patch restores the upstream
behaviour of the collected for the smart plugin. I have tested it and on
my system the hard disk to be monitored is recognised.

root@system ~ # cat /sys/class/block/sda/uevent
MAJOR=8
MINOR=0
DEVNAME=sda
DEVTYPE=disk

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-03-17 14:11:41 +01:00
Rosen Penev
74daf78dd6 vim: remove vim/host
The only use of it is for xxd. tools/xxd was added in base so this can
go.

https://github.com/openwrt/openwrt/commit/c4dd2441e7

added it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-17 10:04:40 +01:00
Javier Marcet
83357a7fe4 docker-compose: Update to version 2.3.3
What's Changed:

 - use plain text progress when ansi=never is set by @ndeloof
 - build full compose model from resources, then filter by services by
 @ndeloof
 - add run with dependencies e2e test by @glours
 - add support for device_cgroup_rules by @ndeloof
 - composeService to use dockerCli's In/Out/Err streams by @ndeloof
 - fix generated YAML missing an "examples" section, and update
 cli-docs-tool to v0.4.0 by @thaJeztah

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-16 19:44:14 -07:00
Oskari Rauta
21d2575a95 podman: updates podman package
- add missing runtime depency catatonit
 - removed SELinux variant, add config option for it instead, I do not believe we need variant of EVERY SELinux support capable software
 - add config option for iptables firewall setup in default cni network config, otherwise skip iptables part (part of nftables transition, use cni-plugins-nft for nftables fw support or better; forget about cni fw completely, instead use openwrt's own as that way your rules for containers do not disappear on firewall restart)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-16 19:39:06 -07:00
Daniel Golle
c0d2c82528
auc: don't segfault on invalid URL
Show error message instead of segfaulting in case of an invalid URL
being read from UCI config.

Fixes: #17971
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-13 23:49:25 +00:00
Rosen Penev
196e15162d treewide: remove rpath-link
Most usages seem to be outdated and fixed a long time ago.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-13 00:02:02 -08:00
Oskari Rauta
845083213f catatonit: add new package
podman uses catatonit now for container init, so new package for
catatonit is required.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-11 13:07:20 +01:00
Tianling Shen
b31615c63c yq: Update to 4.22.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-10 15:51:26 -08:00
Gerard Ryan
dbd1fd07e8 cache-domains: Fixed hotplug script not running
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-03-08 21:55:31 -08:00
Javier Marcet
862ab6e4d4 docker-compose: Update to version 2.3.2
What's Changed:

- 2.3.2:
  - Fix json format for version command by @victor-timofei
  - filter containers after project has been rebuilt from resources by
  @ndeloof
  - publish a draft release with auto generate release notes by
  @glours
  - map --interactive to StdinOpen by @ndeloof

- 2.3.1:
  - Support COMPOSE_IGNORE_ORPHANS for compose run by @PIG208
  - don't try to start dependencies when there are none by @ndeloof
  - don't failed when trying to stop or rm services with no containers
  ru… by @glours

- 2.3.0:
  - Don't wait forever for unhealthy dependencies by @benesch
  - Add progress output while waiting for dependencies by @benesch
  - Discard env_file section on convert/config by @ulyssessouza
  - Return only numbers in short version by @guillaumerose
  - Don't SetRawTerminal() when exec is run with -T by @x-yuri
  - only remove volumes set by compose file by @ndeloof
  - Set NetworkMode correctly according to network priorities by
  @laurazard
  - go.mod: github.com/buger/goterm v1.0.4 by @thaJeztah
  - Fix typo in reference/compose_up.md by @danBamikiya
  - Fix pause/unpause by only applying to running containers by
  @ulyssessouza
  - use CustomLabels for composeV2 metadata and not impact service
  hash by @ndeloof
  - use golangci-lint-action by @ndeloof
  - Adds support to list the config files on docker compose ls by
  @KoditkarVedant
  - declare --volume as an alias for --volumes by @ndeloof
  - bump buildx to 0.7.1 by @ndeloof
  - Wait and scale 0 by @glours
  - Bump github.com/containerd/containerd from 1.5.8 to 1.6.0 by
  @dependabot
  - COMPOSE_REMOVE_ORPHANS can be set to always apply --remove-orphans
  by @ndeloof
  - Using start, stop, restart from outside the working directory
  using --project-name (#9147) by @arhemd
  - exclude com.docker.compose.image label from service hash by
  @ndeloof
  - Bump compose-go 1.0.9 by @ulyssessouza
  - Bump compose-go 1.1.0 by @ulyssessouza
  - Bump docker/distribution -> v2.8.0 by @ulyssessouza
  - report external volume name not found by @ndeloof
  - Bump github.com/containerd/containerd from 1.6.0 to 1.6.1 by
  @dependabot
  - CONTRIBUTING.md file. Update slack sign-up link by @teror4uks
  - Add function to convert strings to bool by @ulyssessouza
  - Add -i and -t to run and exec by @ulyssessouza

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:25 -08:00
Rosen Penev
c0adcdd83a zstd: update to 1.5.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-08 21:53:07 -08:00
Aleksander Jan Bajkowski
4faa63f394 coremark: bump to 2022-01-03
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-03-06 12:03:40 +01:00
Oskari Rauta
938b9b42a6 cni-plugins-nft: change names to support fw4
added patch with following features:

 - forces table family always to inet instead of ip or ip6.
 - force fw4 table using
 - change default chain names for fw4

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-04 06:26:53 -08:00
Oskari Rauta
5899a16f4b gptfdisk: fix some warnings treated as errors
fixes error: format not a string literal and no format arguments [-Werror=format-security] during compile

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 23:13:34 -08:00
Oskari Rauta
076449f504 nsutils: new package
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 23:12:20 -08:00
Alif M. Ahmad
849f524c62 mksh: resign as maintainer
Remove myself from maintainer.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
2022-03-02 18:52:07 -08:00
Oskari Rauta
1d55ac917f conmon: update to version 2.1.0
This release contains Bug fixes
patch refreshed

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:19 -08:00
Oskari Rauta
76c311d1c5 crun: update to version 1.4.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:13 -08:00
Oskari Rauta
c36c8ed94c podman: update to version 4.0.2
- Patch had became obsolete, it's contents were merged to upstream. Patch removed.
 - Version updated, long list of changes is available at https://github.com/containers/podman/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:08 -08:00
Rosen Penev
5e2df7e38e sumo: update to 1.12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 16:30:40 -08:00