1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
Commit Graph

26397 Commits

Author SHA1 Message Date
Sergey V. Lobanov
99515bdf96 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>
2022-01-17 21:12:53 -08:00
Rosen Penev
06d5252474 diffutils: update to 3.8
Fixes compilation with newer glibc.

Ported gnulib patch from m4.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-17 21:12:20 -08:00
Sergey V. Lobanov
7aec247dff 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>
2022-01-17 21:11:09 -08:00
Sergey V. Lobanov
3062e575dd 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>
2022-01-17 21:09:39 -08:00
Sergey V. Lobanov
5cd8b75f94 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>
2022-01-17 21:09:19 -08:00
Lucian Cristian
ec252c20cc libreswan: update to 4.6
this update also fixes a CVE

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-01-17 21:08:31 -08:00
Sebastian Kemper
3ca2094f62 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>
2022-01-17 20:53:34 -08:00
Vladimir Ermakov
df6cf458c4 qemu: add seccomp feature
Patch add an option to enable seccomp support,
adds dependency on libseccomp.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2022-01-18 12:53:27 +08:00
Vladimir Ermakov
421fb2fea4 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>
2022-01-18 12:53:27 +08:00
Othmar Truniger
a2ba5e57cb knxd: bump to new upstream version 0.14.53
Signed-off-by: Othmar Truniger <github@truniger.ch>
2022-01-17 20:52:03 -08:00
Nick Hainke
7cb73ae3b9 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>
2022-01-17 11:52:42 +01:00
Michael Heimpold
2123c94ef7
Merge pull request #17623 from mhei/mmc-utils
mmc-utils: update to latest git head
2022-01-17 08:16:37 +01:00
Michael Heimpold
6831c51a8c
Merge pull request #17534 from neheb/4
knxd: fix compilation with newer glibc
2022-01-16 15:39:17 +01:00
Michael Heimpold
c71b09aa92 mmc-utils: update to latest git head
While at, update project's reference URL.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-16 15:30:18 +01:00
Nick Hainke
b89eb0115f 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>
2022-01-16 11:05:27 +01:00
Nick Hainke
fea27cec05 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>
2022-01-16 10:39:19 +01:00
Florian Eckert
b4694bb82c
Merge pull request #17617 from hgl/ddns-cloudflare
ddns-scripts-cloudflare: fix shell conditional
2022-01-15 16:03:37 +01:00
Glen Huang
aed4dbf349 ddns-scripts-cloudflare: fix shell conditional
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-01-15 22:33:28 +08:00
Florian Eckert
e85fa926e6
Merge pull request #17600 from camarel/feature/ddns-scripts-wget-user-agent
ddns-scripts: pass user agent string
2022-01-15 15:24:43 +01:00
Claudio Marelli
dc0953fedd 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>
2022-01-15 10:07:30 +01:00
Josef Schlehofer
0f0c7b8ea4
Merge pull request #17432 from r4sas/i2pd-2.40.0
i2pd: Update to 2.40.0, update init.rc script, UCI config and Makefile
2022-01-14 16:27:24 +01:00
Josef Schlehofer
c280d64f85
Merge pull request #17608 from miska/mariadb-owner-fix
Mariadb owner fix & sudo dependency
2022-01-14 16:26:54 +01:00
Michal Hrusecky
0ffec9bd4b
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>
2022-01-14 15:32:48 +01:00
Michal Hrusecky
b41525cef4
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>
2022-01-14 15:32:48 +01:00
Paul Spooren
f535d77090 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>
2022-01-14 14:45:19 +01:00
R4SAS I2P
ac27fffff9
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>
2022-01-14 12:46:37 +00:00
Jeffery To
eeeb4a41d1
Merge pull request #16389 from paper42/apparmor-3.0.3
apparmor: cleanup
2022-01-14 15:18:47 +08:00
Aleksander Morgado
ab061c8ddd 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>
2022-01-13 15:54:02 -08:00
Michal Vasilek
aae551544b
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>
2022-01-13 11:59:58 +01:00
Hauke Mehrtens
dafb96c148 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>
2022-01-13 10:46:27 +00:00
James White
cf9d5a8870 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>
2022-01-13 10:39:08 +01:00
Florian Eckert
bd10c454f4
Merge pull request #17563 from TDT-AG/pr/20220110-stunnel
stunnel: update to 5.61
2022-01-13 10:32:58 +01:00
Josef Schlehofer
8b2003ba34
Merge pull request #17494 from BKPepe/update-atlas
Atlas SW probe to version 5040 and its busybox version
2022-01-13 10:17:14 +01:00
Othmar Truniger
a15aa08135 libfmt: bump to new upstream version 8.1.1
Signed-off-by: Othmar Truniger <github@truniger.ch>
2022-01-13 10:03:52 +01:00
Sergey V. Lobanov
d504cb206f 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>
2022-01-12 18:51:51 +00:00
Nick Hainke
53503c4a3a wg-installer: fix shell typo
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 18:58:46 +01:00
Philip Prindeville
7b6a35e0ef
Merge pull request #17592 from svlobanov/lcdproc-fix-build-on-macos
lcdproc: fix build on macos
2022-01-12 10:53:16 -07:00
Nick Hainke
ee879d3747 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>
2022-01-12 17:47:26 +01:00
Sergey V. Lobanov
5fbfba19c2 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>
2022-01-12 18:12:46 +03:00
Michal Vasilek
af37497c4f miniflux: update to 2.0.34
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-01-12 04:00:47 -08:00
Tiago Gaspar
98ac608fb8 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>
2022-01-12 04:00:30 -08:00
Rui Salvaterra
72974bed43 tor: bump to 0.4.6.9 stable
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-01-12 01:56:39 -08:00
Sergey V. Lobanov
4b23b2df3b iodine: fix build on macos
redefine TARGETOS=Linux due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-12 01:56:19 -08:00
Nick Hainke
6a59d41fbf wg-installer: private key as parameter
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 01:29:48 +01:00
Pascal Coudurier
f9bbc5173c 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>
2022-01-11 16:27:19 -08:00
Pascal Coudurier
0f91594e2a 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>
2022-01-11 16:27:19 -08:00
Pascal Coudurier
a46fd908df 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>
2022-01-11 16:27:19 -08:00
Sergey V. Lobanov
a00735ec8c 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>
2022-01-11 16:25:33 -08:00
Jeffery To
6754a2c80a 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>
2022-01-11 16:24:13 -08:00
Jeffery To
b9d10fc3e6 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>
2022-01-11 16:24:13 -08:00