feed/packages.git
2 years agov4l2tools: update to version 0.1.8
Josef Schlehofer [Wed, 9 Feb 2022 23:10:09 +0000 (00:10 +0100)]
v4l2tools: update to version 0.1.8

Changelog:
https://github.com/mpromonet/v4l2tools/releases/tag/v0.1.8

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agojool: update default config
Tiago Gaspar [Thu, 10 Feb 2022 14:58:36 +0000 (14:58 +0000)]
jool: update default config

Update the default configuration files to match the upstream example
ones.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2 years agodnsproxy: Update to 0.41.1
Tianling Shen [Thu, 10 Feb 2022 09:34:38 +0000 (17:34 +0800)]
dnsproxy: Update to 0.41.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agombusd: Repair UCI config file about parity
Chip Lee [Sun, 6 Feb 2022 18:08:19 +0000 (02:08 +0800)]
mbusd: Repair UCI config file about parity

in mbusd, parity must be N, E or O, can't be y.

Signed-off-by: Chip Lee <chplee@gmail.com>
2 years agoMerge pull request #17829 from neheb/6
Dirk Brenken [Thu, 10 Feb 2022 15:34:24 +0000 (16:34 +0100)]
Merge pull request #17829 from neheb/6

banip: make reproducible

2 years agoMerge pull request #17828 from neheb/5
Dirk Brenken [Thu, 10 Feb 2022 15:33:49 +0000 (16:33 +0100)]
Merge pull request #17828 from neheb/5

adblock: make reproducible

2 years agotdb: fix build on macos
Sergey V. Lobanov [Wed, 9 Feb 2022 22:43:04 +0000 (01:43 +0300)]
tdb: fix build on macos

This commit adds patch to the issue with 'echo -n' on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoavahi: fix build on some distributions
Michal Vasilek [Wed, 9 Feb 2022 20:48:29 +0000 (21:48 +0100)]
avahi: fix build on some distributions

This seems to happen only on some distributions (Void, Arch):

    /usr/lib/libgcc_s.so.1: file not recognized: file format not recognized
    collect2: error: ld returned 1 exit status
    libtool:   error: error: relink 'libdns_sd.la' with the above command before installing it

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agoknot: update to 3.1.6
Jan Hák [Wed, 9 Feb 2022 13:16:04 +0000 (14:16 +0100)]
knot: update to 3.1.6

Signed-off-by: Jan Hák <jan.hak@nic.cz>
2 years agolibtalloc: fix build on macos
Sergey V. Lobanov [Wed, 9 Feb 2022 23:03:57 +0000 (02:03 +0300)]
libtalloc: fix build on macos

This commit adds patch to fix the issue with 'echo -n' on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #17827 from skingry/snmpd_init_order
Stijn Tintel [Wed, 9 Feb 2022 17:28:59 +0000 (19:28 +0200)]
Merge pull request #17827 from skingry/snmpd_init_order

net-snmp: move start order from 50 to 99

2 years agonano: update to 6.1
Hannu Nyman [Wed, 9 Feb 2022 16:26:49 +0000 (18:26 +0200)]
nano: update to 6.1

Update nano to version 6.1.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agousteer: update to latest git head
David Bauer [Sun, 6 Feb 2022 22:47:23 +0000 (23:47 +0100)]
usteer: update to latest git head

6aebb75 local-node: check correct field
f42bf29 gitignore: add .orig files
3c0cd98 local-node: save latest bss-transition-response
1dc69d7 ubus: add get_connected_clients
04ef308 local-node: save beacon-reports
b0dab90 measurement: add handling of measurements
76ccae6 node: add methods to access nodes by bssid
3b51bfb local-node: obtain channel + op-class
c7830b5 policy: add min_snr_kick_delay
e36967f local-node: handle BSS transition queries
022635c policy: don't track roam_scan_done
742236f policy: fix incurrect handling of scan-requests with disabled timeout
9a78412 policy: add roam-scan timeout
7e999e0 policy: don't select better candidate with bad signal
3c1dd51 policy: export snr_to_signal to other source files
1c5a738 ubus: only request beacon-report for current SSID
5610ace config: make remote_node_timeout configurable
918b809 policy: only select candidates with better load
55e98d8 sta: uniform disconnect state handling
806e647 sta: remove duplicate code
2ccb99e policy: remove redundant candidate evaluation
bbf133f policy: fix not selecting better candidate on request

Signed-off-by: David Bauer <mail@david-bauer.net>
2 years agotcpreplay: bump to version 4.4.0
Alexandru Ardelean [Mon, 7 Feb 2022 09:13:55 +0000 (11:13 +0200)]
tcpreplay: bump to version 4.4.0

Also need to use musl-fts when building with musl now.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2 years agobanip: make reproducible
Rosen Penev [Tue, 8 Feb 2022 06:02:26 +0000 (22:02 -0800)]
banip: make reproducible

Timestamp needs to be removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoadblock: make reproducible
Rosen Penev [Tue, 8 Feb 2022 06:00:12 +0000 (22:00 -0800)]
adblock: make reproducible

Need to get rid of the timestamp.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agonet-snmp: move start order from 50 to 99
Seth Kingry [Tue, 8 Feb 2022 05:36:36 +0000 (00:36 -0500)]
net-snmp: move start order from 50 to 99

Signed-off-by: Seth Kingry <sjkingry@gmail.com>
2 years agobind: support compile-time exclusion of DNS-over-HTTPS support
Noah Meyerhans [Thu, 3 Feb 2022 20:01:54 +0000 (12:01 -0800)]
bind: support compile-time exclusion of DNS-over-HTTPS support

DoH is enabled by default, but disabling it removes the need to link
against libnghttp2, which may be desirable more constrained
environments.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2 years agoi2pd: add service reload support
R4SAS I2P [Mon, 7 Feb 2022 19:19:14 +0000 (19:19 +0000)]
i2pd: add service reload support

Signed-off-by: R4SAS I2P <r4sas@i2pmail.org>
2 years agotesseract: fix build on macos
Sergey V. Lobanov [Mon, 7 Feb 2022 23:22:11 +0000 (02:22 +0300)]
tesseract: fix build on macos

tesseract build script checks /proc/cpuinfo file, but this file is
not exist or darwin. This check is used for getting  optimized build
flags depends on CPU. This feature does not work in cross-compile
case and should be explicitly disabled.

This patch disables CPU detection using cmake option
BUILD_TRAINING_TOOLS=OFF.

Generated binaries (aarch64 target) are exactly the same on
Ubuntu 20.04 x86_64 and MacOS 11.6 arm64. Binaries generated on
Linux build host are not changed (the same checksums before and
after applying this patch).

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoyq: Update to 4.19.1
Tianling Shen [Sun, 6 Feb 2022 11:57:57 +0000 (19:57 +0800)]
yq: Update to 4.19.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agogg: Update to 0.2.2
Tianling Shen [Sun, 6 Feb 2022 11:52:29 +0000 (19:52 +0800)]
gg: Update to 0.2.2

Updated PKG_LICENSE_FILES according to upstream change.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agolxc-create: update depends to include getopt
John Audia [Sun, 6 Feb 2022 17:11:05 +0000 (12:11 -0500)]
lxc-create: update depends to include getopt

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

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2 years agodbus: fix configure args for verbose mode
Florian Eckert [Mon, 7 Feb 2022 16:49:23 +0000 (17:49 +0100)]
dbus: fix configure args for verbose mode

When switching from cmake to autotools, the wrong logging was used for
the verbose compilations option. This commit fixes that.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agolxc: update to 4.10.12
John Audia [Thu, 3 Feb 2022 20:19:05 +0000 (15:19 -0500)]
lxc: update to 4.10.12

Bump to latest upstream release and rebase:
  010-Remove-distro-check.patch
  025-remove-unsupported-option.patch

After updating ran `make package/lxc/refresh` to clean dirty patches

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2 years agoMerge pull request #17822 from commodo/sudo
Josef Schlehofer [Mon, 7 Feb 2022 14:02:20 +0000 (15:02 +0100)]
Merge pull request #17822 from commodo/sudo

sudo: bump to version 1.9.9

2 years agosudo: bump to version 1.9.9
Alexandru Ardelean [Thu, 3 Feb 2022 06:41:47 +0000 (08:41 +0200)]
sudo: bump to version 1.9.9

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2 years agoMerge pull request #17785 from TDT-AG/pr/20220204-stunnel
Florian Eckert [Mon, 7 Feb 2022 08:12:40 +0000 (09:12 +0100)]
Merge pull request #17785 from TDT-AG/pr/20220204-stunnel

stunnel: update version to 5.62

2 years agoMerge pull request #17784 from TDT-AG/pr/20220204-keepalived
Florian Eckert [Mon, 7 Feb 2022 08:12:28 +0000 (09:12 +0100)]
Merge pull request #17784 from TDT-AG/pr/20220204-keepalived

keepalived: update version to 2.2.7

2 years agoruby: fix build on macos
Sergey V. Lobanov [Sun, 6 Feb 2022 20:39:39 +0000 (23:39 +0300)]
ruby: fix build on macos

1. ruby/host build fails on macos due to Apple ld generates warning
if a folder from LDFLAGS is not exist. configure script catches this
warning and fails. This patch disables ld warnings for macos

2. ruby build fails on macos due /bin/true is not exist on macos.
This patch replaces /bin/true with true in OpenWrt Makefile

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #17819 from pprindeville/update-perl-cgi-4.54
Philip Prindeville [Sun, 6 Feb 2022 20:44:22 +0000 (13:44 -0700)]
Merge pull request #17819 from pprindeville/update-perl-cgi-4.54

perl-cgi: Update to 4.54

2 years agoperl-cgi: Update to 4.54
Philip Prindeville [Sun, 6 Feb 2022 18:07:40 +0000 (11:07 -0700)]
perl-cgi: Update to 4.54

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2 years agoMerge pull request #17743 from turris-cz/dnspython-bump
Josef Schlehofer [Sun, 6 Feb 2022 15:11:52 +0000 (16:11 +0100)]
Merge pull request #17743 from turris-cz/dnspython-bump

python-dns: update to version 2.2.0

2 years agoruby: update to 3.0.3
Michal Vasilek [Fri, 4 Feb 2022 14:04:17 +0000 (15:04 +0100)]
ruby: update to 3.0.3

* fixes CVE-2021-41817, CVE-2021-41816 and CVE-2021-41819

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agoMerge pull request #17811 from stangri/master-https-dns-proxy
Stan Grishin [Sun, 6 Feb 2022 06:12:09 +0000 (22:12 -0800)]
Merge pull request #17811 from stangri/master-https-dns-proxy

https-dns-proxy: init script refactoring

2 years agohttps-dns-proxy: init script refactoring
Stan Grishin [Sun, 6 Feb 2022 05:58:03 +0000 (05:58 +0000)]
https-dns-proxy: init script refactoring

* consolidate dnsmasq config manipulation into one function
* more elegant code for PROCD data processing (Thanks @jow-!)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2 years agoMerge pull request #17797 from autobakterie/python-sentry-sdk_bump-to-1-5-4
Josef Schlehofer [Fri, 4 Feb 2022 20:23:02 +0000 (21:23 +0100)]
Merge pull request #17797 from autobakterie/python-sentry-sdk_bump-to-1-5-4

python-sentry-sdk: update to 1.5.4

2 years agoemailrelay: don't disable fortify source
Rosen Penev [Sat, 29 Jan 2022 22:03:40 +0000 (14:03 -0800)]
emailrelay: don't disable fortify source

GCC8 and 9 are gone.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoslide-switch: Update to 0.9.6
Jeffery To [Fri, 4 Feb 2022 11:22:06 +0000 (19:22 +0800)]
slide-switch: Update to 0.9.6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agopython-sentry-sdk: update to 1.5.4
Šimon Bořek [Fri, 4 Feb 2022 17:45:12 +0000 (18:45 +0100)]
python-sentry-sdk: update to 1.5.4

changelog: https://github.com/getsentry/sentry-python/blob/f6d3adcb3d7017a55c1b06e5253d08dc5121db07/CHANGELOG.md#154

Signed-off-by: Šimon Bořek <borek@autobakterie.cz>
2 years agov2rayA: Update to 1.5.6.2
Tianling Shen [Fri, 4 Feb 2022 09:26:22 +0000 (17:26 +0800)]
v2rayA: Update to 1.5.6.2

Manually added new env variable `XDG_DATA_HOME` which won't be passed
by procd by default.

Removed upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agov2raya: init: convert arguments into env variables
Tianling Shen [Fri, 4 Feb 2022 10:12:09 +0000 (18:12 +0800)]
v2raya: init: convert arguments into env variables

Suggested by upstream, to provide forward compatibility.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agoxray-core: Update to 1.5.3
Tianling Shen [Fri, 4 Feb 2022 09:34:24 +0000 (17:34 +0800)]
xray-core: Update to 1.5.3

Removed outdated `alterId` in sample config.

Updated geodata to latest version while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agoMerge pull request #17792 from TDT-AG/pr/20220104-dbus
Florian Eckert [Fri, 4 Feb 2022 14:54:47 +0000 (15:54 +0100)]
Merge pull request #17792 from TDT-AG/pr/20220104-dbus

dbus: switching back to autotools to fix big endian issue

2 years agotinyionice: add package
Michal Vasilek [Thu, 3 Feb 2022 18:52:50 +0000 (19:52 +0100)]
tinyionice: add package

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agodbus: switching back to autotools to fix big endian issue
Florian Eckert [Fri, 4 Feb 2022 10:30:38 +0000 (11:30 +0100)]
dbus: switching back to autotools to fix big endian issue

According to the upstream developers of dbus, cmake is only inteded for
windows. Unix like operating systems should continue to use the
autotools stack.

Since the changeover to cmake, the dbus was no longer usable on all big
endian systems because the name binding no longer worked.

In cmake, it is not evaluated whether it should run on a little endian
or big endian system.

This fixes issue #17780. The original problem occurred when using the
modem manager on the big endian system (MIPS).

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agostunnel: update version to 5.62
Florian Eckert [Mon, 24 Jan 2022 09:28:30 +0000 (10:28 +0100)]
stunnel: update version to 5.62

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agokeepalived: update version to 2.2.7
Florian Eckert [Mon, 24 Jan 2022 10:52:48 +0000 (11:52 +0100)]
keepalived: update version to 2.2.7

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2 years agoutils/findutils: update to 4.9.0
Bernhard Voelker [Thu, 3 Feb 2022 22:18:09 +0000 (23:18 +0100)]
utils/findutils: update to 4.9.0

* utils/findutils/Makefile (PKG_VERSION): Update to latest.
(PKG_HASH): Update.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2 years agoMerge pull request #17671 from tohojo/sqm-nft
Hannu Nyman [Thu, 3 Feb 2022 18:00:09 +0000 (20:00 +0200)]
Merge pull request #17671 from tohojo/sqm-nft

sqm-scripts: Change iptables dependency to iptables-nft

2 years agortklib: update to 2.4.3 b34; fix patches
Yaroslav Petrov [Sun, 30 Jan 2022 23:59:09 +0000 (00:59 +0100)]
rtklib: update to 2.4.3 b34; fix patches

Signed-off-by: Yaroslav Petrov <info@lank.me>
2 years agoMerge pull request #17748 from neheb/8
Florian Eckert [Thu, 3 Feb 2022 08:16:28 +0000 (09:16 +0100)]
Merge pull request #17748 from neheb/8

xinetd: fix bad printf formats

2 years agomutt: update to 2.1.5
Matthew Hagan [Tue, 4 Jan 2022 17:02:59 +0000 (17:02 +0000)]
mutt: update to 2.1.5

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2 years agomutt: add header caching support via libgdbm
Matthew Hagan [Tue, 4 Jan 2022 15:54:17 +0000 (15:54 +0000)]
mutt: add header caching support via libgdbm

Add header caching option to mutt, using the libgdbm database routines.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2 years agomutt: move configurables to Config.in
Matthew Hagan [Tue, 4 Jan 2022 14:14:18 +0000 (14:14 +0000)]
mutt: move configurables to Config.in

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
2 years agoMerge pull request #17762 from stangri/master-https-dns-proxy
Stan Grishin [Wed, 2 Feb 2022 17:12:20 +0000 (09:12 -0800)]
Merge pull request #17762 from stangri/master-https-dns-proxy

https-dns-proxy: update to 2021-11-22-1

2 years agoadguardhome: Bump adguardhome to v0.107.3 stable
James White [Wed, 26 Jan 2022 09:05:02 +0000 (09:05 +0000)]
adguardhome: Bump adguardhome to v0.107.3 stable

Signed-off-by: James White <james@jmwhite.co.uk>
2 years agoapache2: security update to version 2.4.52
Josef Schlehofer [Fri, 28 Jan 2022 16:05:28 +0000 (17:05 +0100)]
apache2: security update to version 2.4.52

Fixes CVEs:
- CVE-2021-44790
- CVE-2021-44224

Refreshed patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agominiflux: update to 2.0.35
Michal Vasilek [Wed, 2 Feb 2022 12:02:46 +0000 (13:02 +0100)]
miniflux: update to 2.0.35

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agomc: fix mksh subshell
Michal Vasilek [Thu, 13 Jan 2022 16:43:30 +0000 (17:43 +0100)]
mc: fix mksh subshell

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2 years agoMerge pull request #17690 from svlobanov/syslog-ng-fix-build-on-macos
Josef Schlehofer [Wed, 2 Feb 2022 10:41:50 +0000 (11:41 +0100)]
Merge pull request #17690 from svlobanov/syslog-ng-fix-build-on-macos

syslog-ng: fix build on macos

2 years agoMerge pull request #17719 from BKPepe/ffmpeg-update
Josef Schlehofer [Wed, 2 Feb 2022 10:10:47 +0000 (11:10 +0100)]
Merge pull request #17719 from BKPepe/ffmpeg-update

ffmpeg: update to version 4.3.3

2 years agostrongswan: Update to 5.9.5
Philip Prindeville [Mon, 31 Jan 2022 03:15:15 +0000 (20:15 -0700)]
strongswan: Update to 5.9.5

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2 years agolibradiotap: fix bad format
Rosen Penev [Mon, 31 Jan 2022 06:50:31 +0000 (22:50 -0800)]
libradiotap: fix bad format

Found with -Wformat

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agobluelog: fix build on macos
Sergey V. Lobanov [Tue, 1 Feb 2022 21:38:57 +0000 (00:38 +0300)]
bluelog: fix build on macos

bluelog can not be compiled on macos due to Apple zcat is not
compatible with GNU zcat.

This patch replaces `zcat` with `gzip -dc`. `gzip -dc` has the
same behavior on GNU and Apple environments.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agosqm-scripts: Change iptables dependency to iptables-nft
Toke Høiland-Jørgensen [Fri, 21 Jan 2022 20:56:16 +0000 (21:56 +0100)]
sqm-scripts: Change iptables dependency to iptables-nft

There's only one of the shaper scripts (simple.qos) that uses iptables, and
it should be fine with iptables-nft for compatibility with the new default
nft-based firewall. Confusingly, we still need the iptables-mod-ipopt
package to get the DSCP match module; we never used CONNMARK, though, so
drop the iptables-mod-conntrack-extra dependency while we're at it.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2 years agowg-installer: use babeld add_interface function
Nick Hainke [Tue, 1 Feb 2022 20:56:23 +0000 (21:56 +0100)]
wg-installer: use babeld add_interface function

With commit 385200443554 ("babeld: add add_interface function") babeld
has a new ubus function allowing to dynamically add an interface.

Before the add_interface function, we were required to reload babeld.
The reload influenced the babeld routing. However, the remove part is
still missing and will be added at a later stage.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agobind: bump to 9.18.0
Noah Meyerhans [Tue, 1 Feb 2022 05:04:14 +0000 (21:04 -0800)]
bind: bump to 9.18.0

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2 years agosamba4: update to 4.14.12
Andy Walsh [Tue, 1 Feb 2022 11:35:40 +0000 (12:35 +0100)]
samba4: update to 4.14.12

* update to 4.14.12
* fixes: CVE-2021-44142, CVE-2022-0336

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2 years agochaosvpn: fix build on macos
Sergey V. Lobanov [Mon, 31 Jan 2022 22:07:56 +0000 (01:07 +0300)]
chaosvpn: fix build on macos

chaosvpn Makefile detects Darwin (macos) and changes compilation
flags for macos target, but OpenWrt is always Linux so build fails.
This patch redefines OS=Linux to use Linux compilation flags.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agohttps-dns-proxy: update to 2021-11-22-1
Stan Grishin [Mon, 31 Jan 2022 21:42:59 +0000 (21:42 +0000)]
https-dns-proxy: update to 2021-11-22-1

* update to 2021-11-22 upstream source
* update patch file
* update init script to preserve manual entries
(fixes https://github.com/stangri/source.openwrt.melmac.net/issues/149)
* update init script service_triggers

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2 years agonut: fix build on macos
Sergey V. Lobanov [Mon, 31 Jan 2022 21:02:14 +0000 (00:02 +0300)]
nut: fix build on macos

nut build fails on macos due to:
1. configure script can not use AR env var due to OpenWrt build
system provides only executable name (e.g. aarch64-openwrt-linux-musl-gcc-ar)
but configure script checks if AR has '/'. As a result, configure
script ignores AR env var and uses system `ar` but macos `ar` is
not compatible with the objects generated by OpenWrt GCC toolchain.

This commit explicitly sets ac_cv_path_AR=$(TARGET_AR) to use
OpenWrt toolchain AR.

2. configure script detects if build host is macos and adds
macosx_ups driver as a build target, but this driver can not be
build with OpenWrt toolchain because OpenWrt is Linux.

This commit explicitly disables macosx_ups driver using configure
flag --without-macosx_ups

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agosoftethervpn: fix build on macos
Sergey V. Lobanov [Fri, 14 Jan 2022 23:45:17 +0000 (02:45 +0300)]
softethervpn: fix build on macos

host-compile fails on macos due to several reasons:
1. host-compile Makefile always selected for linux
2. macos host cc (clang) fails due to implicit-function-declaration
3. ar and ranlib tools are hardcoded in softethervpn Makefiles

All three issues are fixed by this patch

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agomtdev: fix bad printf formats
Rosen Penev [Mon, 31 Jan 2022 06:51:22 +0000 (22:51 -0800)]
mtdev: fix bad printf formats

Easiest to just change the type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolibdrm: fix bad formats for mips64 and ppc64
Rosen Penev [Mon, 31 Jan 2022 06:57:30 +0000 (22:57 -0800)]
libdrm: fix bad formats for mips64 and ppc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agonano: Add a plus variant with more features
Hannu Nyman [Mon, 31 Jan 2022 16:04:08 +0000 (18:04 +0200)]
nano: Add a plus variant with more features

Nano is by default built as "tiny" with most features disabled.
That is suitable for basic tasks in routers with small flash.

Add a new nano-plus variant that enables selected additional
features in the build config:
 * multiple files (multibuffer)
 * Unicode/utf8
 * justify
 * .nanorc support
 * help
 * also some key bindings get enabled as "tiny" configure option
   is removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agobridge-utils: update to 1.7.1
Rosen Penev [Sun, 30 Jan 2022 04:00:38 +0000 (20:00 -0800)]
bridge-utils: update to 1.7.1

Added missing limits header for PATH_MAX.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolibowfat: fix build on macos
Sergey V. Lobanov [Mon, 31 Jan 2022 00:09:55 +0000 (03:09 +0300)]
libowfat: fix build on macos

libowfat target-build fails on macos due to using system `ar` and
`ranlib` tools not compatible with the objects generated by
OpenWrt GCC toolchain.

This patch specifies CROSS= make flag that is used as a prefix for
`ar` and `ranlib` tools.

This patch also specifies CCC= make flag due to CCC= has invalid
value after specifying CROSS= make flag (CCC=$(CROSS)$(CC))

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agosockread: add missing header
Rosen Penev [Sun, 30 Jan 2022 03:51:31 +0000 (19:51 -0800)]
sockread: add missing header

Needed for memset, memcpy, and strerror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolinuxptp: fix bad formats with ppc64 and mips64
Rosen Penev [Mon, 31 Jan 2022 06:47:45 +0000 (22:47 -0800)]
linuxptp: fix bad formats with ppc64 and mips64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoMerge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample
Florian Eckert [Mon, 31 Jan 2022 10:28:47 +0000 (11:28 +0100)]
Merge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample

ddns-scripts: remove extra pipe

2 years agoddns-scripts: remove extra pipe
André Herbst [Mon, 31 Jan 2022 09:46:40 +0000 (10:46 +0100)]
ddns-scripts: remove extra pipe

The extra pipe caused an error WARN : PID 'xyz' exit WITH ERROR '2' when executing ddns update.
Signed-off-by: André Herbst <moormaster@gmx.net>
2 years agocmdpad: fix bad scanf format
Rosen Penev [Sun, 30 Jan 2022 04:03:56 +0000 (20:03 -0800)]
cmdpad: fix bad scanf format

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolrzsz: fix various format warning
Rosen Penev [Mon, 31 Jan 2022 06:56:31 +0000 (22:56 -0800)]
lrzsz: fix various format warning

Found with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agohdparm: fix formats for mips64 and ppc64
Rosen Penev [Mon, 31 Jan 2022 06:55:09 +0000 (22:55 -0800)]
hdparm: fix formats for mips64 and ppc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoxinetd: fix bad printf formats
Rosen Penev [Mon, 31 Jan 2022 06:53:30 +0000 (22:53 -0800)]
xinetd: fix bad printf formats

Easier to use the proper C macro.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoknxd: fix build on macos
Sergey V. Lobanov [Sun, 30 Jan 2022 22:54:53 +0000 (01:54 +0300)]
knxd: fix build on macos

knxd compilation fails on macos due to clang does not support
exit() builtin function that is used to detect build cc

This commit adds a patch to fix this issue (replaces `exit 0` by
`return 0` in conftest.c)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agopython-dns: update to version 2.2.0
Josef Schlehofer [Mon, 31 Jan 2022 05:37:23 +0000 (06:37 +0100)]
python-dns: update to version 2.2.0

- Removed PYPI_SOURCE_EXT as this release provides tarball with .tar.gz
extension, which is default.

- Changelog: https://dnspython.readthedocs.io/en/stable/whatsnew.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agodnsproxy: Update to 0.41.0
Tianling Shen [Sun, 30 Jan 2022 06:04:43 +0000 (14:04 +0800)]
dnsproxy: Update to 0.41.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agoyq: Update to 4.18.1
Tianling Shen [Sun, 30 Jan 2022 06:02:57 +0000 (14:02 +0800)]
yq: Update to 4.18.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agocoova-chilli: add interface_trigger "wan"
Thibaut VARÈNE [Thu, 27 Jan 2022 11:05:32 +0000 (12:05 +0100)]
coova-chilli: add interface_trigger "wan"

This intends to replace the hotplug script. It still hardcodes "wan"
interface name (as several other packages do) for lack of a deterministic
way to detect the actual wan iface before it is brought up, but at least
it is fully integrated with procd and will not start a disabled service.

The interface trigger forcefully restarts chilli as a simple reload may
not be sufficient to recover from wan changes.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: remove hotplug call
Thibaut VARÈNE [Thu, 27 Jan 2022 10:14:58 +0000 (11:14 +0100)]
coova-chilli: remove hotplug call

This hotplug trigger unconditionaly restarts coova-chilli when the "wan"
interface sees action "ifup", without checking whether or not the
service is disabled or the upstream interface is actually called "wan".

This hotplug could be replaced by a suitable service trigger instead.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: execute firewall cleanup at shutdown
Thibaut VARÈNE [Thu, 27 Jan 2022 11:00:38 +0000 (12:00 +0100)]
coova-chilli: execute firewall cleanup at shutdown

Coova Chilli creates "undo" firewall scripts that are intended to be run
when the daemon is shut down. Failure to do so results in leftover
entries in firewall and duplicated ones if chilli is subsequently
restarted.

Execute these scripts when the service stops.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: postpone startup until wan is available
Thibaut VARÈNE [Thu, 27 Jan 2022 10:28:15 +0000 (11:28 +0100)]
coova-chilli: postpone startup until wan is available

Coova Chilli will fail to start if e.g. it cannot resolve names in its
configuration (like uamserver, radiusserver, etc) which is typically the
case when wan is unavailable. Prevent this situation by delaying startup
if wan is not available.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocanutils: fix format strings for mips and powerpc
Rosen Penev [Sat, 29 Jan 2022 22:23:34 +0000 (14:23 -0800)]
canutils: fix format strings for mips and powerpc

It seems a define is needed to get these platforms to have the same
formats. Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoflac: disable vsx
Rosen Penev [Sat, 29 Jan 2022 22:05:04 +0000 (14:05 -0800)]
flac: disable vsx

Fixes compilation with powerpc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agogerbera: fix compilation with fmt 8.1
Rosen Penev [Sat, 29 Jan 2022 22:12:33 +0000 (14:12 -0800)]
gerbera: fix compilation with fmt 8.1

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoradsecproxy: fix compilation with newer GCC
Rosen Penev [Sat, 29 Jan 2022 22:16:59 +0000 (14:16 -0800)]
radsecproxy: fix compilation with newer GCC

Errors on uninitialized variable. Only on powerpc64 for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agofdk-aac: fix compilation with powerpc64
Rosen Penev [Sat, 29 Jan 2022 22:29:44 +0000 (14:29 -0800)]
fdk-aac: fix compilation with powerpc64

Backported upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agosane-backends: fix build on macos
Sergey V. Lobanov [Sat, 29 Jan 2022 21:12:47 +0000 (00:12 +0300)]
sane-backends: fix build on macos

MacOS does not have /bin/true, but OpenWrt Makefile uses it so
build fails on macos

This patch removes absolute path (replaces /bin/true to true)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>