3482 Commits

Author SHA1 Message Date
Rosen Penev 9a6834549b Merge pull request #13762 from neheb/domo4
domoticz: fix compilation with python 3.9
2020-11-19 17:05:55 -08:00
Rosen Penev c564409971 Merge pull request #13964 from neheb/lxc2
lxc: update to 4.0.5
2020-11-19 16:41:04 -08:00
Daniel Golle a6d99126a8 gnupg2: package gnupg2-dirmngr
dirmngr is needed to download keys from keyservers.
That being a useful thing, let's package dirmngr.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-20 00:31:10 +00:00
Rosen Penev 66191f481e canutils: update to 2020.11.0
Renamed j* tools to their new versions.

Remove upstreamed patches.

Add missing time.h header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-19 16:17:42 -08:00
Rosen Penev cbe4b726da lxc: update to 4.0.5
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-19 16:16:43 -08:00
Michael Heimpold a1afbc7154 open-plc-utils: update to latest upstream version
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-11-19 22:49:42 +01:00
Daniel Golle 75cb9949b7 podman: ship storage.conf and use runc by default for now
Ship podman with defaults more coherent with user expectations and
more likely to work out-of-the-box.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-19 18:00:43 +00:00
Florian Eckert 6df16e50fb docker-ce: update PKG_RELEASE version
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:15 +01:00
Florian Eckert 96a11a9c02 docker-ce: do not delete generated iptables by docker-ce
Deleting rules that docker has created is error-prone, because with
every update docker we have  to check if anything has changed.
Cleaning up the firewall rules is part of the docker and should and must be
cleaned up and handeled by them when the service is terminated.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:12 +01:00
Florian Eckert 19fc933330 docker-ce: add device option to expand interface blocking
If docker-ce handles the firewall and fw3 is not envolved because the
rules get not proceed, then not only docker0 should be handled but also
other interfaces and therefore other docker networks.

This commit extends the handling and introduces a new uci option
`device` in the docker config firewall section. This can be used to specify
which device is allowed to access the container. Up to now only docker0
is covert.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:09 +01:00
Florian Eckert 7c9ed12fa1 docker-ce: remove not applicable uciupdate
As the protocol is set to none, this makes no sense here, as it cannot
be controlled and thus processed by the netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:07 +01:00
Florian Eckert f12071add9 docker-ce: set proto for docker bridge device to none
Set proto from `static` to `none`. This makes it clear that this
interface is not handled by the netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:04 +01:00
Florian Eckert 1af5593568 docker-ce: make docker-ce firewall handling configurable
Openwrt has a own firewall service called fw3, that supports firewall zones.
Docker can bypass the handling of the zone rules in openwrt via custom
tables. These are "always" processed before the openwrt firewall.
Which is prone to errors!

Since not everyone is aware that the firewall of openwrt will
not be passed. And this is a security problem because a mapped port is
visible on all interfaces and so also on the WAN side.
If the firewall handling in docker is switched off, then the port in
fw3 must be explicitly released and it cannot happen that the
port is accidentally exported to the outside world via the interfaces on
the WAN zone.

So all rules for the containers should and so must be made in fw3.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:20:02 +01:00
Florian Eckert dc9d9d2202 docker-ce: add arguments call to uciadd and ucidel
Up to now only the docker0 interface and bridge is created by default.
In order to create other interfaces and to integrate them into the
openwrt these functions can now be called with arguments.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-19 14:19:59 +01:00
Vasily Trotzky 56b842f0b7 watchcat: add nopingtime option + refactoring
nopingtime UCI option rationale:
I want relatively fast reaction(i.e. 1m or 2m) for 'no internet' condition,
but i don't want my router to reboot every 1 minute if there is still no
internet after reboot.

initd_watchcat:
* add: nopingtime uci option support
* add: defaults to all non-critical options
* add: log warnings for non-critical errors(when option is missed and
default is applyed)
* fix: error handling and config_get defaults are somtimes in conflict
because of config_get defaults. They are gone now, error handling improved.
* fix: calling watchcat.sh with 'period' mode instead of 'ping'. Typo?
* fix: pingperiod default changed from period/20 to more reasonable period/5

watchcat.sh:
* add: nopingtime uci option support( sleep if uptime < nopingtime )
* remove: [ "$mode" = "allways" ] && mode="always" - not needed, already
done by initd_watchcat in load_watchcat() func
* add: echo 1 > /proc/sys/kernel/sysrq before sysrq-trigger
* refactor: eliminated once used not needed variables, code size reduced.

* PKG_RELEASE bumped up

Signed-off-by: Vasily Trotzky <trotzky.vas@gmail.com>
2020-11-19 14:50:39 +03:00
Michal Hrusecky 33e4899870 mariadb: Update to 10.4.17
Update to the latest version from 10.4 series

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2020-11-16 13:24:44 +01:00
Daniel Golle 1d57c600a4 inotify-tools: update to 3.20.11.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-15 21:57:42 +00:00
Florian Eckert 3ca4fa7c8b Merge pull request #13796 from G-M0N3Y-2503/docker-blocked-interfaces
docker-ce: Added blocked_interfaces config option
2020-11-11 14:25:54 +01:00
Daniel Golle cb45a0d268 podman: set PKG_USE_MIPS16:=0
podman fails to compile due to MIPS16 instructions somehow.
Disable use of MIPS16.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle aed97243ee cni-plugins: set PKG_USE_MIPS16:=0
cni-plugins fail to compile due to MIPS16 instructions somehow. Don't
use them.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle b51b59fe90 cni: set PKG_USE_MIPS16:=0
Compiling cni failes due to MIPS16 somehow. Disable it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Gerard Ryan fe48902bf0 docker-ce: blocked_interfaces release
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-11-11 18:28:15 +10:00
Gerard Ryan 6be2d43e68 docker-ce: Added blocked_interfaces config option
* blocked_interfaces blocks all packets to docker0 from the given
  interface. This is needed because all the iptables commands dockerd
  adds operate before any of the fw3 generated rules.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-11-11 18:28:15 +10:00
Gerard Ryan 93b13fafeb docker-ce: Refactored init script
* Changed iptables commands to use long options
* Added `uci_quiet` in missed instances

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-11-11 18:28:15 +10:00
Gerard Ryan 07c10ae46d docker-ce: Added mkdir for alt_config_file
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-11-11 18:28:15 +10:00
Gerard Ryan eb55c8b51a docker-ce: Made some shellcheck recommendations
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-11-11 18:28:15 +10:00
Rosen Penev 805f930a6b Merge pull request #13790 from zhanhb/procps-ng-alternatives
procps-ng: update alternatives
2020-11-10 22:44:26 -08:00
Rosen Penev 727c01a053 Merge pull request #13779 from bobafetthotmail/patch-1
docker-compose: move to Utilities in menuconfig
2020-11-10 22:43:42 -08:00
Jan Pavlinec 9cd9b60d36 checksec: update to version 2.4.0
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-11-10 12:41:03 +01:00
Rosen Penev 6e3c3c4b7c Merge pull request #13873 from 1715173329/new-yq
yq: add new package
2020-11-09 21:10:31 -08:00
Tianling Shen 4b0084a11b yq: add new package
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2020-11-10 12:47:01 +08:00
Rosen Penev 64bf4a1065 Merge pull request #13807 from PolynomialDivision/fix-node-exporter
prometheus-node-exporter-lua: fix hostapd exporter
2020-11-09 17:22:50 -08:00
Cobalt Chang 83db93d16a cgroupfs-mount: fix symbolic link name
Fix the symbolic link name to /etc/rc.d/S01cgroupfs-mount.
2020-11-09 21:19:35 +08:00
Daniel Golle 3b98ca2fcf podman: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Daniel Golle a565903c3f cni-plugins: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Daniel Golle e3a3bc3ed2 cni: add package
Thanks to @aparcar for help with porting this.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Daniel Golle 62a7bbf7d6 conmon: new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Daniel Golle 266c66d20a gnupg2: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Daniel Golle cb480a40b2 gnupg: prepare for gnupg2
Use ALTERNATIVES for /usr/bin/gpg and /usr/bin/gpgv, so upcoming gnupg2
variants can be selected instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Rosen Penev 5dcd919ca5 fuse3: update to 3.10.0
Backport two uClibc-ng patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-05 20:59:36 -08:00
Maxim Storchak 6b1cdcaee8 tmux: update to 3.1c
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-11-04 19:47:02 +02:00
Florian Eckert a4267bd6e3 docker-ce: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Rosen Penev 9a56ca92de domoticz: fix compilation with python 3.9
Added Fedora patch to fix compilation.

Added python3 dependency as it seems it's needed now.

Replaced custom boost 1.73 patch with upstream one. Removed CFLAG that
was supposed to fix this but didn't do anything.

Removed nls.mk. telldus-core was fixed to not require iconv.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-02 17:41:39 -08:00
Alexandru Ardelean da9e1e0c0d utils: stress-ng: bump to version 0.11.23
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2020-11-02 15:12:39 +02:00
Javier Marcet 5158b1a694 ctop: update to v0.7.4
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-11-01 13:40:13 +01:00
Nick Hainke 2bc32a7078 prometheus-node-exporter-lua: fix hostapd exporter
Fix "hostapd_ubus_stations.lua". The bit-lib that is imported and the
one specified as the dependency do not match. Use luabitop.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-10-29 18:52:33 +01:00
Rosen Penev 21f19a4cab setools: fix compilation with python 3.9
Don't warn on deprecated declarations.

Rename warning patch. It's specific to foritfy-headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-28 22:37:43 -07:00
Phil Eichinger 2e297d29c0 at: bump to version 3.2.1
Change upstream to official repository at
https://salsa.debian.org/debian/at

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
2020-10-28 17:49:48 -07:00
Rosen Penev 805e00a78d telldus-core: replace iconv with standard C++
Avoids iconv dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-28 02:35:37 -07:00
Huangbin Zhan 76d24dab3c coreutils: Add alternatives support for runcon
Avoid conflict with package busybox-selinux

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-10-27 20:51:12 -07:00