feed/packages.git
2 years agowg-installer: fix multiple namespaces
Nick Hainke [Sat, 22 Jan 2022 22:27:02 +0000 (23:27 +0100)]
wg-installer: fix multiple namespaces

Add flag "--lookup-default-namespace" to signal that wg-installer should
look already established wireguard sessions in the default namespace.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17543 from stintel/vallumd
Stijn Tintel [Sat, 22 Jan 2022 14:59:25 +0000 (16:59 +0200)]
Merge pull request #17543 from stintel/vallumd

vallumd: bump to 0.2.0

2 years agoMerge pull request #17665 from BKPepe/tvheadend-uriparser
Josef Schlehofer [Sat, 22 Jan 2022 13:37:30 +0000 (14:37 +0100)]
Merge pull request #17665 from BKPepe/tvheadend-uriparser

tvheadend: disable uriparser

2 years agojool: remove iptables support and update templates
Tiago Gaspar [Sat, 22 Jan 2022 01:49:31 +0000 (01:49 +0000)]
jool: remove iptables support and update templates

This commit removes iptables backend support and leaves only the
netfilter backend support. This means that:
-  iptables and nftables firewall based systems (firewall3 and firewall
4) are supported trough the netfilter instance mode
-  the iptables/xtables mode support is disabled

For more information on the modes and how to use the new netfilter
instance checkout https://www.jool.mx/en/intro-jool.html

This move is made out of the commit upstream that sets firewall4 as the
default for new default buils and based on the conversation in #16818
and was decided that the netfilter interface is the priority since
iptables support will be dropped in the foreseeable future.

While at it update the templates provided.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2 years agotvheadend: disable uriparser 17665/head
Josef Schlehofer [Fri, 21 Jan 2022 10:01:29 +0000 (11:01 +0100)]
tvheadend: disable uriparser

This avoids to add liburiparser as dependency.

Package tvheadend is missing dependencies for the following libraries:
liburiparser.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agolibreswan: fix build on macos
Sergey V. Lobanov [Thu, 20 Jan 2022 20:57:23 +0000 (23:57 +0300)]
libreswan: fix build on macos

libreswan makefile detects macos (darwin) and changes build logic
but OpenWrt is always Linux so it is required to specify linux as
target platfrom

This patch specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocrowdsec-firewall-bouncer: fix name in initd to start the process
Kerma Gérald [Sat, 15 Jan 2022 07:33:46 +0000 (08:33 +0100)]
crowdsec-firewall-bouncer: fix name in initd to start the process

crowdsec rename the binary from crowdsec-firewall-bouncer to cs-firewall-bouncer
the initd need the correct binary name to start the process
the link for github source need also to be fixed (only the information one)
fix the BuildDate
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2 years agodnsproxy: Update to 0.40.5
Tianling Shen [Fri, 21 Jan 2022 03:34:14 +0000 (11:34 +0800)]
dnsproxy: Update to 0.40.5

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agolighttpd: update to lighttpd 1.4.64 release hash
Glenn Strauss [Fri, 29 Oct 2021 03:16:03 +0000 (23:16 -0400)]
lighttpd: update to lighttpd 1.4.64 release hash

remove long-deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years agowg-installer: remove unused dependency
Nick Hainke [Thu, 20 Jan 2022 14:24:05 +0000 (15:24 +0100)]
wg-installer: remove unused dependency

Remove the dependency "coreutils-realpath" from
wg-installer-server-hotplug-olsrd.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: create wireguard key if it does not exist
Nick Hainke [Thu, 20 Jan 2022 13:10:12 +0000 (14:10 +0100)]
wg-installer: create wireguard key if it does not exist

Check if the key exists which is given by
    option wg_key '/etc/wgserver/wg.key'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: install cronjob
Nick Hainke [Thu, 20 Jan 2022 08:06:24 +0000 (09:06 +0100)]
wg-installer: install cronjob

Install a cronjob that removes unused wireguard interfaces every 10
minutes.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: check if a key is already inserted
Nick Hainke [Tue, 18 Jan 2022 17:31:46 +0000 (18:31 +0100)]
wg-installer: check if a key is already inserted

Check if a peer is already existing with a given public key. Introduce a
response code for signaling why the server rejected the request.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: rework code
Nick Hainke [Wed, 19 Jan 2022 17:40:16 +0000 (18:40 +0100)]
wg-installer: rework code

Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agodnsdist: update to 1.7.0
Peter van Dijk [Thu, 23 Sep 2021 12:19:37 +0000 (14:19 +0200)]
dnsdist: update to 1.7.0

* bump to 1.7.0
* add outgoing DNS over HTTPS support, using new dependency nghttp2

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agopdns-recursor: update to 4.6.0
Peter van Dijk [Wed, 19 Jan 2022 13:01:40 +0000 (14:01 +0100)]
pdns-recursor: update to 4.6.0

* bump to 4.7.0
* enable DNS over TLS (uses libssl which was already a dependency)
* add libcurl dependency for new zone-to-cache feature.

Co-Authored-By: wout@wbnet.eu
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agoola: fix build on macos
Sergey V. Lobanov [Sat, 15 Jan 2022 15:32:57 +0000 (18:32 +0300)]
ola: fix build on macos

Latest Apple clang (v13) defines __cplusplus=199711 by default, but
protobuf requires at least 201103 (c++11)

Backported patch to fix c++ detection:
https://github.com/OpenLightingProject/ola/commit/30fe936a885c8a364bdda507a692c8e259576621

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agofrr: update to latest
Lucian Cristian [Tue, 18 Jan 2022 21:08:25 +0000 (23:08 +0200)]
frr: update to latest

also fix mips compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2 years agotcsh: fix build on macos
Sergey V. Lobanov [Thu, 13 Jan 2022 22:29:08 +0000 (01:29 +0300)]
tcsh: fix build on macos

tcsh requires host-tool (gethost) to generate tc.defs.c file.
To build this tool on macos, it is required to run ./configure
script wihout target vars/flags, but this package is not
splitted to host and target build.

This patch splits build to host and target builds to compile
host-tool(gethost) first, then compile tsch.

Due to lack of support of separate building host and target,
OpenWrt Makefile is modified to do it in the order below:
1. build host-tool (gethost)
2. build sh.err.h header for target
3. build tc.const.h header for target
4. copy gethost tool from host staging dir to target build dir
5. touch (make -t) gethost to protect it from recompiling
6. build tsch for target

It is required to do step 2 and 3 because 'make -t' generates
empty files but these files required to build tcsh

Patch 020-cross.patch has been removed due to not required
anymore (gethost build is separated and not affected by
target configure flags and vars)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoperl-device-serialport: fix build on macos
Sergey V. Lobanov [Wed, 12 Jan 2022 23:51:30 +0000 (02:51 +0300)]
perl-device-serialport: fix build on macos

./configure script detects macos specific system headers
(IOKit/serial/ioss.h and sys/ttycom.h) that are not available
during compile time. There is no way to pass ac_cv_* vars to
./configure script due to perl wrappers

To fix this issue, fake(empty) headers provided during compile
time if build host is MacOS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agopython-curl: fix build on macos
Sergey V. Lobanov [Fri, 14 Jan 2022 17:45:31 +0000 (20:45 +0300)]
python-curl: fix build on macos

setup.py detects macos (darwin) and adds -flat_namespace flag. This
flag is not compatible with GCC that is used to compile target.

This patch patch disables darwin detection

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agogit: update to version 2.34.1
Josef Schlehofer [Thu, 30 Dec 2021 17:24:39 +0000 (18:24 +0100)]
git: update to version 2.34.1

- Refreshed patches

- Release notes 2.34.0:
https://github.com/git/git/blob/2ae0a9cb8298185a94e5998086f380a355dd8907/Documentation/RelNotes/2.34.0.txt

- Release notes 2.34.1:
https://github.com/git/git/blob/2ae0a9cb8298185a94e5998086f380a355dd8907/Documentation/RelNotes/2.34.1.txt

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomdio-tools: update to version 1.0.1
Robert Marko [Sun, 9 Jan 2022 20:30:27 +0000 (21:30 +0100)]
mdio-tools: update to version 1.0.1

Version 1.0.1 brought the following changes:
[v1.0.1] - 2021-11-26

Primarily fixes a few issues in the kernel module that were found
during a quick review from Russell King:

https://lore.kernel.org/netdev/YYPThd7aX+TBWslz@shell.armlinux.org.uk/
https://lore.kernel.org/netdev/YYPU1gOvUPa00JWg@shell.armlinux.org.uk/

- mdio: The mvls subcommand now supports flushing the ATU

- mdio-netlink: Plug some glaring holes around integer overflows of
  the PC.
- mdio-netlink: Release reference to MDIO bus after a transaction
  completes.

So, update to the latest version and switch the kernel module back
to fetching tarballs like the userspace tool does.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2 years agolibunistring: update to 1.0
Espen Jürgensen [Tue, 18 Jan 2022 15:54:27 +0000 (16:54 +0100)]
libunistring: update to 1.0

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2 years agolpc21isp: fix build on macos
Sergey V. Lobanov [Tue, 18 Jan 2022 13:36:20 +0000 (16:36 +0300)]
lpc21isp: fix build on macos

lpc21isp Makefile detects Darwin and defines __APPLE__ that is not
required for cross-compile build for OpenWrt

This patch sets OSTYPE="Linux" due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocryptsetup: update to version 2.4.3
Josef Schlehofer [Tue, 18 Jan 2022 15:24:52 +0000 (16:24 +0100)]
cryptsetup: update to version 2.4.3

Fixes: CVE-2021-4122
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agowg-installer: cosmetic changes
Nick Hainke [Tue, 18 Jan 2022 16:39:53 +0000 (17:39 +0100)]
wg-installer: cosmetic changes

Use "ip addr" instead of "ip addres" or "ip a".

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17624 from jefferyto/python-3.10.2
Josef Schlehofer [Tue, 18 Jan 2022 16:24:26 +0000 (17:24 +0100)]
Merge pull request #17624 from jefferyto/python-3.10.2

python3: Update to 3.10.2, refresh patches

2 years agocrowdsec: update from upstream latest release 1.2.3
Kerma Gérald [Sat, 15 Jan 2022 09:59:49 +0000 (10:59 +0100)]
crowdsec: update from upstream latest release 1.2.3

update from latest upstream release 1.2.3
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2 years agoMerge pull request #17497 from corna/dockerd_log_driver
Florian Eckert [Tue, 18 Jan 2022 09:46:38 +0000 (10:46 +0100)]
Merge pull request #17497 from corna/dockerd_log_driver

dockerd: Add "log-driver" option

2 years agoMerge pull request #17586 from clayface/davfs2-secrets
Florian Eckert [Tue, 18 Jan 2022 08:28:56 +0000 (09:28 +0100)]
Merge pull request #17586 from clayface/davfs2-secrets

davfs2: add secrets file to conffiles definition

2 years agoluaossl: fix build on macos
Sergey V. Lobanov [Fri, 7 Jan 2022 20:15:47 +0000 (23:15 +0300)]
luaossl: fix build on macos

luaossl detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux so build OS detection is disabled

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agodiffutils: update to 3.8
Rosen Penev [Sun, 9 Jan 2022 04:25:33 +0000 (20:25 -0800)]
diffutils: update to 3.8

Fixes compilation with newer glibc.

Ported gnulib patch from m4.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agohwinfo: fix build on macos
Sergey V. Lobanov [Mon, 17 Jan 2022 23:34:12 +0000 (02:34 +0300)]
hwinfo: fix build on macos

hwinfo host-compile builds hwinfo entirely that is not really
required. It is required to build only some host tools to
generate ids and isdn related C-code

This patch changes host build to build only required host tools

Added patch to remove malloc.h using as deprecated, not required
and not supported on macos system (stdlib.h has required functions
on Linux and MacOS systems)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoneon: fix build on macos
Sergey V. Lobanov [Sun, 9 Jan 2022 20:37:45 +0000 (23:37 +0300)]
neon: fix build on macos

neon detects Darwin on target build and fails due to darwin-specific
build behaviour. OS detection is disable (as non required) via
ne_cv_os_uname=Linux as a part of CONFIGURE_VARS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoredsocks: fix build on macos
Sergey V. Lobanov [Tue, 11 Jan 2022 20:11:48 +0000 (23:11 +0300)]
redsocks: fix build on macos

fix cross-compile issues (on macos)
use $CC -dumpmachine instead of `uname`
use $CC instead of CC

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agolibreswan: update to 4.6
Lucian Cristian [Tue, 18 Jan 2022 03:20:34 +0000 (05:20 +0200)]
libreswan: update to 4.6

this update also fixes a CVE

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2 years agoexpat: bump to version 2.4.3
Sebastian Kemper [Mon, 17 Jan 2022 21:37:32 +0000 (22:37 +0100)]
expat: bump to version 2.4.3

CVE-2021-45960
CVE-2021-46143
CVE-2022-22822
CVE-2022-22823
CVE-2022-22824
CVE-2022-22825
CVE-2022-22826
CVE-2022-22827

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoqemu: add seccomp feature
Vladimir Ermakov [Thu, 13 Jan 2022 01:20:15 +0000 (04:20 +0300)]
qemu: add seccomp feature

Patch add an option to enable seccomp support,
adds dependency on libseccomp.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2 years agoqemu: update to 6.2.0
Vladimir Ermakov [Wed, 12 Jan 2022 21:41:31 +0000 (00:41 +0300)]
qemu: update to 6.2.0

Qemu version updated to 6.2.0, patch set refreshed for it.

Options --disable-jemalloc --disable-tcmalloc was replaced
by --enable-malloc=CHOICE, defaults to system.

Libudev search was moved from configure to meson.build, and now it's
not so easy to disable it. Even though --disable-mpath present.

Delete patches 0008-falloc and 0009-fs - they're already in 6.2.0.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2 years agoknxd: bump to new upstream version 0.14.53
Othmar Truniger [Mon, 17 Jan 2022 17:49:24 +0000 (18:49 +0100)]
knxd: bump to new upstream version 0.14.53

Signed-off-by: Othmar Truniger <github@truniger.ch>
2 years agodawn: update to 2022-01-17
Nick Hainke [Mon, 17 Jan 2022 09:16:59 +0000 (10:16 +0100)]
dawn: update to 2022-01-17

877e2dc iwinfo: fix get_bandwidth_iwinfo
9ce01ec datastorage: fix multi-SSID
9187665 treewide: improve maintaince
6bf9b6d memory: Tighten up some memory handling to help spot errors
4df0c98 treewide: improve logging

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17623 from mhei/mmc-utils
Michael Heimpold [Mon, 17 Jan 2022 07:16:37 +0000 (08:16 +0100)]
Merge pull request #17623 from mhei/mmc-utils

mmc-utils: update to latest git head

2 years agopython3: Update to 3.10.2, refresh patches 17624/head
Jeffery To [Sun, 16 Jan 2022 20:29:10 +0000 (04:29 +0800)]
python3: Update to 3.10.2, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agoMerge pull request #17534 from neheb/4
Michael Heimpold [Sun, 16 Jan 2022 14:39:17 +0000 (15:39 +0100)]
Merge pull request #17534 from neheb/4

knxd: fix compilation with newer glibc

2 years agommc-utils: update to latest git head 17623/head
Michael Heimpold [Sun, 16 Jan 2022 14:30:18 +0000 (15:30 +0100)]
mmc-utils: update to latest git head

While at, update project's reference URL.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2 years agowg-installer: switch to ubus call for olsrd hotplug
Nick Hainke [Sun, 16 Jan 2022 09:21:53 +0000 (10:21 +0100)]
wg-installer: switch to ubus call for olsrd hotplug

Use ubus ipc calls to add and remove interfaces.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: rework iproute2 commands
Nick Hainke [Sun, 16 Jan 2022 09:04:36 +0000 (10:04 +0100)]
wg-installer: rework iproute2 commands

- Use ip address add instead of ip a a
- Directly add broadcast address

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17617 from hgl/ddns-cloudflare
Florian Eckert [Sat, 15 Jan 2022 15:03:37 +0000 (16:03 +0100)]
Merge pull request #17617 from hgl/ddns-cloudflare

ddns-scripts-cloudflare: fix shell conditional

2 years agoddns-scripts-cloudflare: fix shell conditional 17617/head
Glen Huang [Sat, 15 Jan 2022 14:33:07 +0000 (22:33 +0800)]
ddns-scripts-cloudflare: fix shell conditional

Signed-off-by: Glen Huang <heyhgl@gmail.com>
2 years agoMerge pull request #17600 from camarel/feature/ddns-scripts-wget-user-agent
Florian Eckert [Sat, 15 Jan 2022 14:24:43 +0000 (15:24 +0100)]
Merge pull request #17600 from camarel/feature/ddns-scripts-wget-user-agent

ddns-scripts: pass user agent string

2 years agoddns-scripts: pass user agent string 17600/head
Claudio Marelli [Sat, 15 Jan 2022 09:07:30 +0000 (10:07 +0100)]
ddns-scripts: pass user agent string

This adds a user agent string to the wget request.

Fixes #17507

Signed-off-by: Claudio Marelli <camarelli@gmx.net>
2 years agoMerge pull request #17432 from r4sas/i2pd-2.40.0
Josef Schlehofer [Fri, 14 Jan 2022 15:27:24 +0000 (16:27 +0100)]
Merge pull request #17432 from r4sas/i2pd-2.40.0

i2pd: Update to 2.40.0, update init.rc script, UCI config and Makefile

2 years agoMerge pull request #17608 from miska/mariadb-owner-fix
Josef Schlehofer [Fri, 14 Jan 2022 15:26:54 +0000 (16:26 +0100)]
Merge pull request #17608 from miska/mariadb-owner-fix

Mariadb owner fix & sudo dependency

2 years agomariadb: Add sudo dependency 17608/head
Michal Hrusecky [Thu, 13 Jan 2022 14:11:01 +0000 (15:11 +0100)]
mariadb: Add sudo dependency

During update we use sudo to start an instance. It probably could be
workarounded, but given the MariaDB size, dependency on sudo shouldn't
be an issue.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2 years agomariadb: Check and fix datadir owner issues during upgrade
Michal Hrusecky [Thu, 13 Jan 2022 14:04:57 +0000 (15:04 +0100)]
mariadb: Check and fix datadir owner issues during upgrade

If you are migrating to MariaDB package, you might have old datadir
stored somewhere using different setup with different users. If you
trust us enough to enable autoupgrade, you probably trust us enough to
chown your datadir as well. This can prevent some potential issues.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2 years agoCI: fix runtime testing for non master branch
Paul Spooren [Thu, 13 Jan 2022 23:55:36 +0000 (00:55 +0100)]
CI: fix runtime testing for non master branch

The runtime testing always ran on master branch aka snapshots since the
branch wasn't passed over to the container execution!

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 years agoi2pd: Update to 2.40.0 and update package sources 17432/head
R4SAS I2P [Sun, 26 Dec 2021 04:29:58 +0000 (04:29 +0000)]
i2pd: Update to 2.40.0 and update package sources

* Updating i2pd package to 2.40.0
* Rewrite Makefile
* Remove usage of PKG_INSTALL (package's make install)
* Rewrite init.rc configuration and script
* Remove '--service' option from init, which only sets datadir to /var/lib/i2pd
* Use '--datadir' option in init, otherwise datadir changing via uci is not works
* Update patch for i2pd.conf

Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
2 years agoMerge pull request #16389 from paper42/apparmor-3.0.3
Jeffery To [Fri, 14 Jan 2022 07:18:47 +0000 (15:18 +0800)]
Merge pull request #16389 from paper42/apparmor-3.0.3

apparmor: cleanup

2 years agomodemmanager: remove 2s timeout before reporting cached events
Aleksander Morgado [Wed, 12 Jan 2022 14:41:55 +0000 (15:41 +0100)]
modemmanager: remove 2s timeout before reporting cached events

When ModemManager is started on boot we may end up with hotplug events
reported directly to the daemon, plus some others already cached in
the cache file before the daemon was started.

If the cached events correspond to the same device that is still
notifying ports directly, we may end up with a modem object created
before the cached events have been emitted, so the modem may not
handle all control/data ports it should.

E.g.:

  - modem detected
  - hotplug event for wwan0 port, cached as MM not running
  - hotplug event for cdc-wdm0 port, cached as MM not running
  - hotplug event for ttyUSB0, cached as MM not running
  - MM starts
  - hotplug event for ttyUSB1, directly processed as MM is running
  - hotplug event for ttyUSB2, directly processed as MM is running
  - modem object created with ttyUSB1 and ttyUSB2
  - 2s after MM starts, cached events for wwan0, cdc-wdm0 and ttyUSB0
    happen, but are ignored because the modem object has already been
    created

MM expects that ports of the same device are reported with less than
1500ms in between ports. In other words, if ports are reported more
than 1500ms after the last reported port, they may get ignored.

If we remove the 2s timeout, the report of the cached events will
happen as soon as MM starts, which makes it much more likely to happen
in the timeslot that MM expects for ports of the same device reported.
The logic is still not perfect, and we may also need to increase that
1500ms timeout inside MM, but removing the 2s timeout right away here
makes sense.

This 2s timeout was introduced along with the new wrapper launcher for
the daemon, it didn't exist before.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2 years agoapparmor: cleanup 16389/head
Michal Vasilek [Fri, 12 Nov 2021 16:02:51 +0000 (17:02 +0100)]
apparmor: cleanup

* replace 020-fix-ss-path.patch with an upstream patch 020-remove-which-dep.patch
* remove 030-remove-pynotify2-dep.patch and do not install aa-notify
* simplify 060-openwrt-dnsmasq-profile.patch
* add two upstream patches for Python 3.10 compatibility
* add an upstream patch to move from deprecated distutils which broke
  the build with Python 3.10+

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agogpgme: Fix compile with glibc 2.34
Hauke Mehrtens [Sun, 9 Jan 2022 18:45:49 +0000 (18:45 +0000)]
gpgme: Fix compile with glibc 2.34

This backports a patch from upstream gpgme to fix compilation with glibc 2.34.

It fixes the following build problem:
posix-io.c: In function '_gpgme_io_spawn':
posix-io.c:577:23: error: void value not ignored as it ought to be
  577 |             while ((i = closefrom (fd)) && errno == EINTR)
      |                       ^
make[5]: *** [Makefile:947: posix-io.lo] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 years agonetdata: Update init script to use -D rather than -nd
James White [Fri, 31 Dec 2021 16:45:25 +0000 (16:45 +0000)]
netdata: Update init script to use -D rather than -nd

The current init script is using the deprecated -nd flag. This updates netdata to be started with -D.

Signed-off-by: James White <james@jmwhite.co.uk>
2 years agoMerge pull request #17563 from TDT-AG/pr/20220110-stunnel
Florian Eckert [Thu, 13 Jan 2022 09:32:58 +0000 (10:32 +0100)]
Merge pull request #17563 from TDT-AG/pr/20220110-stunnel

stunnel: update to 5.61

2 years agoMerge pull request #17494 from BKPepe/update-atlas
Josef Schlehofer [Thu, 13 Jan 2022 09:17:14 +0000 (10:17 +0100)]
Merge pull request #17494 from BKPepe/update-atlas

Atlas SW probe to version 5040 and its busybox version

2 years agolibfmt: bump to new upstream version 8.1.1
Othmar Truniger [Wed, 12 Jan 2022 16:54:47 +0000 (17:54 +0100)]
libfmt: bump to new upstream version 8.1.1

Signed-off-by: Othmar Truniger <github@truniger.ch>
2 years agoserdisplib: fix build on macos
Sergey V. Lobanov [Wed, 12 Jan 2022 13:25:40 +0000 (16:25 +0300)]
serdisplib: fix build on macos

./configure script detects if serdisplib is built on non-linux build
host and disables framebuffer driver. It blocks touchscreen_tool
compilation. This detection is not required on cross-compile build
so it is disabled via ac_cv_build=$(GNU_TARGET_NAME) in Makefile

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agowg-installer: fix shell typo
Nick Hainke [Wed, 12 Jan 2022 17:25:13 +0000 (18:25 +0100)]
wg-installer: fix shell typo

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17592 from svlobanov/lcdproc-fix-build-on-macos
Philip Prindeville [Wed, 12 Jan 2022 17:53:16 +0000 (10:53 -0700)]
Merge pull request #17592 from svlobanov/lcdproc-fix-build-on-macos

lcdproc: fix build on macos

2 years agowg-installer: allow defining link costs for hotplugs
Nick Hainke [Tue, 11 Jan 2022 11:18:49 +0000 (12:18 +0100)]
wg-installer: allow defining link costs for hotplugs

Add options to set link costs in mesh routing daemons.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agolcdproc: fix build on macos 17592/head
Sergey V. Lobanov [Wed, 12 Jan 2022 15:12:46 +0000 (18:12 +0300)]
lcdproc: fix build on macos

./configure script detects mtab file and fails build if mtab is not
found on build host. It is not required for OpenWrt build due to
mtab is always /etc/mtab on OpenWrt

MacOS doesn't have mtab file so disable it via ac_cv_mtab_file var

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agominiflux: update to 2.0.34
Michal Vasilek [Wed, 12 Jan 2022 11:12:10 +0000 (12:12 +0100)]
miniflux: update to 2.0.34

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agojool: update to 4.1.6, add init files and default configuration
Tiago Gaspar [Mon, 10 Jan 2022 13:42:12 +0000 (13:42 +0000)]
jool: update to 4.1.6, add init files and default configuration

This commit adds support for starting and running jool through init
scripts, with default config files as examples.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2 years agotor: bump to 0.4.6.9 stable
Rui Salvaterra [Tue, 11 Jan 2022 11:46:27 +0000 (11:46 +0000)]
tor: bump to 0.4.6.9 stable

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2 years agoiodine: fix build on macos
Sergey V. Lobanov [Tue, 11 Jan 2022 09:39:57 +0000 (12:39 +0300)]
iodine: fix build on macos

redefine TARGETOS=Linux due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agowg-installer: private key as parameter
Nick Hainke [Tue, 11 Jan 2022 23:19:44 +0000 (00:19 +0100)]
wg-installer: private key as parameter

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agonut: refactor upssched uci-defaults script
Pascal Coudurier [Tue, 4 Jan 2022 13:12:31 +0000 (14:12 +0100)]
nut: refactor upssched uci-defaults script

Add checks not to overwrite defaultnotify options in the nut-sendmail-notify fashion.
Use lists for defaultnotify instead of option.
Add check not to overwrite notifycmd if already defined.
upssched-cmd script must not be called directly, it is called by the upssched binary with needed arguments.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2 years agonut: refactor nut-monitor uci config file
Pascal Coudurier [Tue, 4 Jan 2022 13:11:14 +0000 (14:11 +0100)]
nut: refactor nut-monitor uci config file

Convert notifyflags options to lists as supported by the init script, so multiple options can be chosen.
Add SYSLOG default option to individuals notifyflags instead of deprecated flag 1|0.
Add comment for defaultnotify and individuals notifyflags about possible values.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2 years agonut: fix typo in nut-monitor init script
Pascal Coudurier [Tue, 4 Jan 2022 13:07:59 +0000 (14:07 +0100)]
nut: fix typo in nut-monitor init script

This fixes a typo in the nut-monitor init script when building config file from uci config.

Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
2 years agoluasql: fix build on macos
Sergey V. Lobanov [Fri, 7 Jan 2022 21:28:57 +0000 (00:28 +0300)]
luasql: fix build on macos

luasql ./config scripts checks `uname -s` output and changes
LIB_OPTION from '-static' to macos specific if detected OS is
Darwin. These flags are not compatible with GCC

OpenWrt is always Linux, this patch removes Darwin
specific stuff from compilation flags

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agomicropython-lib: Update to latest master
Jeffery To [Tue, 11 Jan 2022 09:52:47 +0000 (17:52 +0800)]
micropython-lib: Update to latest master

The last tagged release (v1.9.3) was in 2017. This updates the package
to the most recent commit of the master branch.

This also sets myself at the maintainer.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agomicropython: Update to 1.17, reorganize package
Jeffery To [Tue, 11 Jan 2022 09:33:40 +0000 (17:33 +0800)]
micropython: Update to 1.17, reorganize package

Previous versions used a bundled version of the axTLS library. The
MicroPython project maintains their own fork[1], as development of the
library appears to have stopped (the last release was version 2.1.5 in
2019[2]).

This replaces the use of axTLS with two variants, one using mbedTLS and
one with no TLS support (and no upip, as it uses the ussl module). The
external mbedTLS patch (040-extmod-use-external-mbedtls.patch) comes
from Debian[3].

This also sets myself as the maintainer.

[1]: https://github.com/micropython/axtls
[2]: https://sourceforge.net/projects/axtls/files/
[3]: https://salsa.debian.org/yangfl-guest/micropython/-/blob/master/debian/patches/0006-extmod-Use-system-mbedtls.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agolynx: fix build on macos
Sergey V. Lobanov [Tue, 11 Jan 2022 23:46:40 +0000 (02:46 +0300)]
lynx: fix build on macos

lynx uses host C-compiler to build internal utility that is used to
generate files required for target build. On MacOS it uses internal
clang with MacOS system headers so host build fails due to MacOS is
not Linux

Forced to use OpenWrt host C compiler using --with-build-*
./configure flags

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agontpd: Fix compile with glibc 2.34
Hauke Mehrtens [Sun, 9 Jan 2022 18:49:05 +0000 (18:49 +0000)]
ntpd: Fix compile with glibc 2.34

This adds a patch from Open embedded to fix compilation with glibc 2.34.
This patch was taken from here:
https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/ntp/ntp/0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch

It fixes the following build problem:
work_thread.c:45:57: error: missing binary operator before token "("
   45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
      |                                                         ^~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:892: work_thread.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 years agogolang: Update to 1.17.6
Jeffery To [Tue, 11 Jan 2022 13:13:00 +0000 (21:13 +0800)]
golang: Update to 1.17.6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agoradsecproxy: Fix compile with glibc 2.34
Hauke Mehrtens [Sun, 9 Jan 2022 18:47:40 +0000 (18:47 +0000)]
radsecproxy: Fix compile with glibc 2.34

This backports a patch from upstream radsecproxy to fix compilation with glibc 2.34.

It fixes the following build problem:
radsecproxy.h:35:5: error: missing binary operator before token "("
   35 | #if PTHREAD_STACK_MIN > PTHREAD_STACK_SIZE
      |     ^~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:623: dtls.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 years agodavfs2: add secrets file to conffiles definition 17586/head
Matthew Hagan [Wed, 12 Jan 2022 00:16:45 +0000 (00:16 +0000)]
davfs2: add secrets file to conffiles definition

davfs2 username and password information is typically stored in
/etc/davfs2/secrets. This information should be kept across sysupgrades.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2 years agolibmodbus: update to 3.1.7
Michael Heimpold [Tue, 11 Jan 2022 06:56:27 +0000 (07:56 +0100)]
libmodbus: update to 3.1.7

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2 years agowg-installer: generate new keys for every connection
Nick Hainke [Tue, 11 Jan 2022 22:06:22 +0000 (23:06 +0100)]
wg-installer: generate new keys for every connection

Generate new keys on every new connection.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agomblaze: fix build on macos
Sergey V. Lobanov [Tue, 11 Jan 2022 10:44:46 +0000 (13:44 +0300)]
mblaze: fix build on macos

redefine OS=Linux due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agostubby: explicitly disable static linking
Rui Salvaterra [Mon, 3 Jan 2022 23:13:09 +0000 (23:13 +0000)]
stubby: explicitly disable static linking

Although undocumented, there's a way to explicitly disable static linking in
Stubby, setting the CMake build option ENABLE_GETDNS_STATIC_LINK to OFF (ON by
default). Make it so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2 years agorpcsvc-proto: bump to 1.4.3
Georgi Valkov [Tue, 11 Jan 2022 18:40:18 +0000 (20:40 +0200)]
rpcsvc-proto: bump to 1.4.3

Fixes: rpcgen build (host-compile) on macOS
https://github.com/openwrt/packages/pull/17430
https://github.com/openwrt/openwrt/pull/4638

Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
2 years agoMerge pull request #17535 from hgl/ddns-cloudflare
Florian Eckert [Tue, 11 Jan 2022 15:13:04 +0000 (16:13 +0100)]
Merge pull request #17535 from hgl/ddns-cloudflare

ddns-scripts-cloudflare: allow explicit zone_id

2 years agogerbera: fix build on macos
Sergey V. Lobanov [Mon, 10 Jan 2022 19:27:23 +0000 (22:27 +0300)]
gerbera: fix build on macos

cmake LINK_WHAT_YOU_USE is not supported on macos, disable it if
macos is used to build gerbera package

compiled binary (sha256sum) exactly the same on macos and ubuntu

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agobash: update to 5.1.16
Huangbin Zhan [Sat, 20 Nov 2021 13:56:30 +0000 (21:56 +0800)]
bash: update to 5.1.16

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2 years agobash: add /etc/profile.d/sys_bashrc.sh as conffile
Huangbin Zhan [Thu, 11 Nov 2021 08:21:08 +0000 (16:21 +0800)]
bash: add /etc/profile.d/sys_bashrc.sh as conffile

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2 years agowg-installer: fix using symlinks for conf files 17559/head
Nick Hainke [Mon, 10 Jan 2022 22:56:36 +0000 (23:56 +0100)]
wg-installer: fix using symlinks for conf files

It is useful to symlink babeld and olsrd to /tmp/ if we frequently
write to those config files.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoiputils: bump to 20211215
Noah Meyerhans [Sat, 1 Jan 2022 20:35:10 +0000 (12:35 -0800)]
iputils: bump to 20211215

Drop the tftpd binary, which is no longer provided upstream.  Users
should switch to the atftp server as a replacement.

Avoid executing runtime tests, which are not supported in cross-build
environments.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2 years agostunnel: add new protocol option capwin and capwinctrl 17563/head
Florian Eckert [Mon, 10 Jan 2022 13:52:41 +0000 (14:52 +0100)]
stunnel: add new protocol option capwin and capwinctrl

The new protocol capwin and capwinctrl was added in version 5.61
https://www.stunnel.org/NEWS.html

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agostunnel: update to 5.61
Florian Eckert [Mon, 10 Jan 2022 13:37:09 +0000 (14:37 +0100)]
stunnel: update to 5.61

Signed-off-by: Florian Eckert <fe@dev.tdt.de>