Commit graph

3449 commits

Author SHA1 Message Date
Rosen Penev
5b0c55ecb4
Merge pull request #14946 from G-M0N3Y-2503/docker-20.10.3
docker,dockerd: Updated to 20.10.3
2021-02-28 15:03:06 -08:00
Bernhard Voelker
17f2ef9a0e
utils/findutils: update to 4.8.0
* utils/findutils/Makefile (PKG_VERSION): Update to latest.
(PKG_RELEASE): Reset to 1.
(PKG_HASH): Update.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
(cherry picked from commit 3614a520d2)
2021-02-28 13:10:55 +01:00
Rosen Penev
3764821fee
vim: fix compile with BUILD_NLS
Avoids having to use msgfmt, which happens to be broken with gettext-full.

msgfmt is used for the desktop gvim application, which is not used here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d5ddc98cb6)
2021-02-28 13:10:21 +01:00
Gerard Ryan
fbb4eb90d1 docker,dockerd: Updated to 20.10.3
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 21:04:44 +10:00
Gerard Ryan
71ca7dd08a docker,dockerd: Added git-short-commit to verify short commit
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 21:04:16 +10:00
Gerard Ryan
59373d5e4d dockerd: Package release bump
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 10:25:45 +10:00
Gerard Ryan
f726fcfe9e dockerd: set docker zone chain defaults to ACCEPT
* Since the docker0 is a private network by default we can be
  more accepting like the LAN is by default

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 10:23:41 +10:00
Gerard Ryan
d758e89fa5 dockerd: Added option to set dns servers
* The default server is the default switch so that
  queries will go through the hosts dnsmasq by default

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 10:23:41 +10:00
Rosen Penev
112e7f5e7d
Merge pull request #14839 from G-M0N3Y-2503/dockerd-maintainence-backport
dockerd: misc maintainence
2021-02-27 15:46:10 -08:00
Gerard Ryan
1c848f1f2c dockerd: Package release bump
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:39:57 +10:00
Gerard Ryan
0c82aad0be dockerd: Added iptables wait to ensure rules are added
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:39:31 +10:00
Gerard Ryan
8bc1ac1589 dockerd: Made blocked_interfaces ip rule REJECT
* Changed from DROP to REJECT to be consistant with other firewall rules

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:39:31 +10:00
Gerard Ryan
348bcb6e68 dockerd: made registry_mirrors and hosts omittable
* Moved logic out of config writing
* Made default config only specify OpenWrt dictated defaults
  Otherwise, docker defaults can be assumed

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:39:31 +10:00
Gerard Ryan
f12f31cd10 dockerd: Normalized config quotation marks
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-27 13:39:31 +10:00
Rosen Penev
6f2829de2c sane-backends: update to 1.0.32
Dropped patches:
-102-pixma_Restore_old_behaviour_in_case_XML_support_is_missing.patch (merged)
-101-fix_uclibc_std_rand.patch std::round was unavailable because of a wrong configure
 var from the uClibc days. Fixed upstream with 1647790ae6202bd70b199e2aa44f8eb43e8d3af1

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit bf1a138f92)
(cherry picked from commit 49e75e8105)
2021-02-26 16:40:21 -03:00
Eneas U de Queiroz
782d320172
dockerd: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 8a4bb56478)
2021-02-26 12:48:48 +01:00
Gerard Ryan
2b00d0be06
dockerd: Package release bump
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
(cherry picked from commit e882ff47e5)
2021-02-26 12:48:43 +01:00
Eneas U de Queiroz
40b63e39aa
oci-runtime-tools: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit bb9641e702)
2021-02-26 12:47:31 +01:00
Eneas U de Queiroz
b0a410d378
libnetwork: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit d9f7dff4a0)
2021-02-26 12:47:26 +01:00
Eneas U de Queiroz
66ec425ce7
docker: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 5b2d0609c7)
2021-02-26 12:47:22 +01:00
Eneas U de Queiroz
751715e824
containerd: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 2d48a7b6e0)
2021-02-26 12:47:15 +01:00
Eneas U de Queiroz
aa382aad96
cni: fix build with golang 1.16
Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be
built in non-module mode.

Module-aware mode will be mandatory in the next golang release.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 619270da0e)
2021-02-26 12:47:10 +01:00
Eneas U de Queiroz
97bec5a53a
setools: Avoid using host libraries
This adds $STAGING_DIR to library search paths in setup.py, to avoid
picking up host libraries when linking.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 0aff79f29f)
2021-02-26 07:38:25 +01:00
Eneas U de Queiroz
673c341394
lxc: fix build without seccomp if libseccomp built
This fixes compiling lxc without seccomp support if libseccomp is
already installed to the staging dir.  Patches were applied upstream.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 470176905d)
2021-02-26 07:38:02 +01:00
Rosen Penev
2a5896dcae
Merge pull request #14884 from jefferyto/treewide-refresh-patches-openwrt-21.02
[openwrt-21.02] treewide: Run refresh on all packages
2021-02-25 14:05:23 -08:00
Hannu Nyman
7263be101b nano: update to version 5.6
Upgrade nano to version 5.6

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit dffdfe4ac8)
2021-02-25 16:59:31 +02:00
Ilya Lipnitskiy
b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00
Josef Schlehofer
5666034823 screen: backport fix for CVE-2021-26937
Security reports:
- https://lists.gnu.org/archive/html/screen-devel/2021-02/msg00000.html
This issue can be reproduced even on OpenWrt
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982435

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit c250298fa3)
2021-02-23 06:10:06 -05:00
Tianling Shen
4836e407d7
yq: Update to 4.6.0
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
(Backported from b8a2c86aa7)
2021-02-23 00:35:15 +08:00
Tianling Shen
bc23fd3d28
yq: remove myself from maintainters
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
(Backported from f56d697985)
2021-02-23 00:34:50 +08:00
Álvaro Fernández Rojas
af6827459a rng-tools: fix init START
We should be using "00" to deal with alphabetical order.

Fixes: d9cea6747 ("rng-tools: start as early as possible")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from 55b22d131)
2021-02-20 09:00:55 +01:00
Álvaro Fernández Rojas
d9cea67477 rng-tools: start as early as possible
Raspberry Pi devices (bcm2708) need this to get from:
[  102.310494] random: crng init done
to:
[   12.539744] random: crng init done

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit e9a126c14)
2021-02-20 08:49:20 +01:00
Eneas U de Queiroz
603be683aa
reptyr: Don't build for mipsel
The package does not support any mips archs, including mipsel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit ac3beceb96)
2021-02-19 16:42:36 -03:00
Álvaro Fernández Rojas
294f08020e bcm27xx-eeprom: update to latest version
New eeprom firmwares support recently added RPi 400 and CM4.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit 7bbf6d1d0)
2021-02-19 11:13:58 +01:00
Josef Schlehofer
b5028ca6e3
klish: add include for nls when BUILD_NLS is enabled
In recent commit for libxml2 [1], there was enabled support for iconv,
but it relieves issue with klish that it does not compile as it fails with
following output:

checking for xmlNewDoc in -lxml2... no
configure: error: cannot find libxml2 library
make[2]: *** [Makefile:73: /foo/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/klish-2.2.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[2]: Leaving directory '/foo/build/feeds/packages/utils/klish'

[1] d18692c926

Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-15 22:29:08 +01:00
Nick Hainke
495cdbb39d prometheus-node-exporter-lua: fix wifi
The "get_wifi_interfaces" function is not returning the wifi interface
names. This causes the bug #14625.

Fix the "get_wifi_interfaces" function.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-02-15 08:39:09 -05:00
Rosen Penev
23e0bc9f9c
Merge pull request #14747 from neheb/o
open-vm-tools: update to 11.2.5
2021-02-15 02:26:47 -08:00
Rosen Penev
65dfaba35f apk: update to 2.12.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-14 20:17:28 -10:00
Rosen Penev
34ff9b538e open-vm-tools: update to 11.2.5
Work around a quilt bug where instead of showing a rename, it removes
and duplicates the file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-14 21:56:35 -08:00
Rosen Penev
ebc85bbc9d
Merge pull request #14684 from rsa9000/atheepmgr-integration
atheepmgr: add new package
2021-02-14 19:50:05 -08:00
Steven Honson
2c54762f7f
uhubctl: update to 2.4.0
Signed-off-by: Steven Honson <steven@honson.id.au>
2021-02-15 13:18:41 +11:00
Sergey Ryazanov
fe23f181f4 atheepmgr: add new package
This utility is intended to analyze EEPROM/boarddata content of Atheros
based boards: load, dump, parse and perform quick edit. Mostly it is
used to work with binary dumps/blobs on a host, but sometime it is
useful to be able to run it on a board, e.g. to make an EEPROM content
dump or to quickly analyze ART/boarddata without copying it to a host.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
2021-02-12 00:13:29 +03:00
Tianling Shen
8356aaafc5
yq: Update to 4.5.1
added test script as well.

Changelog: https://github.com/mikefarah/yq/releases/tag/v4.5.1

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-10 19:14:01 +08:00
Josef Schlehofer
b1b7237834
Merge pull request #14700 from BKPepe/psmisc
psmisc: update to version 23.4
2021-02-09 12:55:15 +01:00
Josef Schlehofer
1890e82677
psmisc: update to version 23.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-02-09 04:41:51 +01:00
Hauke Mehrtens
bee40286e9
Merge pull request #14572 from dhewg/dsl
prometheus-node-exporter-lua: use the new ubus dsl metrics
2021-02-08 23:07:54 +00:00
Daniel Golle
6b9fdf2e77 oci-runtime-tools: add package
Package oci-runtime-tool itself as well as oci-runtime-tests containing
runtime validation test executables as well as rootfs tarballs used by
the tests.

oci-runtime-tool can be used to generate OCI spec files or validate
OCI bundles.

To validate the OCI runtime (runc, crun, uxc, maybe others) itself,
install the 'oci-runtime-tests' package as well as 'node-npm', use
npm to install node-tap and symlink the tap executable to /usr/bin.
Then
cd /usr/libexec/oci-runtime-tests
tap *.t

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-08 01:39:32 +00:00
Tianling Shen
f45bb2981d
ttyd: force enable authentication for login
Currently, we called `/usr/libexec/login.sh` as login command, but unfortunately the auth
is disabled by default in it[1], and this is really serious as it could be a free "backdoor"
for any spoiler who has conntectd to the router via LAN or wireless.

In my option, it shouldn't be exposed to anyone without auth, so I set the default login
command to `/bin/login`. And for those who really want that, they can do it themselves.

1. `login.sh` adjusts whether use authentication or not from system config named ttylogin,
which is set to disabled by default. See package/base-files/files/bin/config_generate#L243.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-08 02:03:37 +08:00
Jianhui Zhao
028732a159 rtty: update to 7.3.2
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2021-02-06 22:28:25 +08:00
Nick Hainke
93ff4cc743 collectd: add plugin to compare ipv4,ipv6 stats
Add "ipstatistics"-plugin. This plugin parses "/proc/net/netstat" and
"/proc/net/snmp6" to get the overall ipv4 and ipv6 usage.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-02-04 09:26:49 +02:00