feed/packages.git
3 years agoMerge pull request #16074 from neheb/nss3
Rosen Penev [Sun, 18 Jul 2021 07:15:05 +0000 (00:15 -0700)]
Merge pull request #16074 from neheb/nss3

nss: disable parallel compilation

3 years agoMerge pull request #16142 from micmac1/sane-usbids
Luiz Angelo Daros de Luca [Sun, 18 Jul 2021 03:53:54 +0000 (00:53 -0300)]
Merge pull request #16142 from micmac1/sane-usbids

sane-backends: fix usbid generation

3 years agosane-backends: use macros (properly), remove chmod 16142/head
Sebastian Kemper [Sat, 17 Jul 2021 12:03:40 +0000 (14:03 +0200)]
sane-backends: use macros (properly), remove chmod

- use $(INSTALL_DIR) instead of mkdir
- using $(INSTALL_CONF) and then running chmod is pointless, use
  $(INSTALL_DATA) directly
- /etc/xinetd.d/sane-port doesn't need read protection from non-root
  users, use $(INSTALL_DATA) as well

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agosane-backends: fix usbid file generation
Sebastian Kemper [Sat, 17 Jul 2021 11:55:46 +0000 (13:55 +0200)]
sane-backends: fix usbid file generation

On some build systems (build bots, Debian Buster for example) the
current mechanism in the Build/Install define doesn't run. Replace it
with shell fu that works.

Issue was reported, see [1].

[1] https://github.com/openwrt/packages/issues/16085

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agouvol: general clean up
Daniel Golle [Fri, 16 Jul 2021 21:01:26 +0000 (22:01 +0100)]
uvol: general clean up

 * make sure new volumes are in state 'down' until explicitely
   requested to transition to 'up' state. Useful for additional
   verification steps after writing a read-only volume.
 * remove unused ubus events as blockd does that much better now

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoMerge pull request #16118 from commodo/python-updates1
Rosen Penev [Thu, 15 Jul 2021 18:46:40 +0000 (11:46 -0700)]
Merge pull request #16118 from commodo/python-updates1

python-{simplejson,cffi,pillow}: update versions

3 years agoMerge pull request #16134 from luizluca/ruby-3.0.2
Rosen Penev [Thu, 15 Jul 2021 18:43:18 +0000 (11:43 -0700)]
Merge pull request #16134 from luizluca/ruby-3.0.2

ruby: update to 3.0.2

3 years agoMerge pull request #16127 from 1715173329/yq
Rosen Penev [Thu, 15 Jul 2021 18:41:29 +0000 (11:41 -0700)]
Merge pull request #16127 from 1715173329/yq

yq: Update to 4.9.8

3 years agoMerge pull request #16124 from neheb/spa
Rosen Penev [Thu, 15 Jul 2021 18:40:52 +0000 (11:40 -0700)]
Merge pull request #16124 from neheb/spa

boost: fix compilation error under SPARC

3 years agoruby: update to 3.0.2 16134/head
Luiz Angelo Daros de Luca [Thu, 15 Jul 2021 16:56:52 +0000 (13:56 -0300)]
ruby: update to 3.0.2

This release fixes some bugs and these vulnerabilities:

* CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP
* CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP
* CVE-2021-31799: A command injection vulnerability in RDoc

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
3 years agoyq: Update to 4.9.8 16127/head
Tianling Shen [Thu, 15 Jul 2021 09:24:46 +0000 (17:24 +0800)]
yq: Update to 4.9.8

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
3 years agoMerge pull request #15934 from lnslbrty/package/httptunnel
Rosen Penev [Thu, 15 Jul 2021 02:22:37 +0000 (19:22 -0700)]
Merge pull request #15934 from lnslbrty/package/httptunnel

httptunnel: add new package

3 years agoMerge pull request #15899 from jefferyto/addrwatch-fixes
Rosen Penev [Thu, 15 Jul 2021 02:21:35 +0000 (19:21 -0700)]
Merge pull request #15899 from jefferyto/addrwatch-fixes

addrwatch: Various fixes

3 years agoMerge pull request #15702 from dangowrt/kplex-sierra-gps-start
Rosen Penev [Thu, 15 Jul 2021 02:19:41 +0000 (19:19 -0700)]
Merge pull request #15702 from dangowrt/kplex-sierra-gps-start

kplex: add support for Sierra Wireless Gobi GPS

3 years agoboost: fix compilation error under SPARC 16124/head
Rosen Penev [Wed, 14 Jul 2021 22:36:22 +0000 (15:36 -0700)]
boost: fix compilation error under SPARC

Missing braces.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #16120 from sartura/uci2-1.0-5606418
Luka Perkov [Wed, 14 Jul 2021 11:59:00 +0000 (13:59 +0200)]
Merge pull request #16120 from sartura/uci2-1.0-5606418

uci2: bump to git HEAD as of 2021-07-12

3 years agouci2: bump to revision v1.0-5606418 16120/head
Jakov Petrina [Mon, 28 Jun 2021 07:25:58 +0000 (09:25 +0200)]
uci2: bump to revision v1.0-5606418

Pull in latest API changes from upstream.

Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr>
3 years agopillow: bump to version 8.3.1 16118/head
Alexandru Ardelean [Tue, 13 Jul 2021 08:20:19 +0000 (11:20 +0300)]
pillow: bump to version 8.3.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agopython-cffi: bump to version 1.14.6
Alexandru Ardelean [Tue, 13 Jul 2021 08:20:08 +0000 (11:20 +0300)]
python-cffi: bump to version 1.14.6

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agopython-simplejson: bump to version 3.17.3
Alexandru Ardelean [Tue, 13 Jul 2021 08:13:23 +0000 (11:13 +0300)]
python-simplejson: bump to version 3.17.3

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agowhois: remove nls.mk
Rosen Penev [Sun, 11 Jul 2021 07:47:56 +0000 (00:47 -0700)]
whois: remove nls.mk

whois as implemented in the OpenWrt package does not use gettext. Fixes
compilation issue with glibc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #16115 from haraldg/elektra_0.9.7
Rosen Penev [Wed, 14 Jul 2021 02:13:56 +0000 (19:13 -0700)]
Merge pull request #16115 from haraldg/elektra_0.9.7

elektra: update to 0.9.7

3 years agoMerge pull request #15863 from commodo/python-gdbm
Rosen Penev [Wed, 14 Jul 2021 01:22:57 +0000 (18:22 -0700)]
Merge pull request #15863 from commodo/python-gdbm

python3: use gdbm for Berkley dbm

3 years agoelektra: update to 0.9.7 16115/head
Harald Geyer [Tue, 13 Jul 2021 21:41:08 +0000 (23:41 +0200)]
elektra: update to 0.9.7

Notable changes:
* Use toml as new default storage backend:
  Upstream has removed the ini plugin, we have been using in the
  past. toml is still somewhat experimental, but upstream has
  designated it as future recommended default.
* Remove the dependency on boost. The only plugin needing that has
  been removed upstram.
* Enable plugins for libev and libuv event loop integration. This
  adds two new packages with the respective dependencies.
  Upstream has fixed the bugs preventing us from using this.
* Enable the internal notification plugin/system. This allows
  applications to automatically receive notifications about changes
  to their configuration. Again upstream fixing bugs enables this
  for us.
* Set the environment variable $XDG_CACHE_HOME to "/tmp/" globally
  to prevent elektra (and possibly other applications) from
  writing temporary data to flash.

Signed-off-by: Harald Geyer <harald@ccbib.org>
3 years agopython3: use gdbm for Berkley dbm 15863/head
Alexandru Ardelean [Wed, 19 May 2021 11:46:06 +0000 (14:46 +0300)]
python3: use gdbm for Berkley dbm

Python works with GNU DBM and with Berkley DBM.
Berkley DBM has been under Oracle for some time.

And it's not clear how many Python users actually use DBM.

In the packages feed, we have both libdb47 (which is now under Oracle) and
GNU DBM. The GNU DBM has a compatibility layer for Berkley DBM.
There are newer versions than libdb47, but it's probably not worth having
them yet. The libbd47 tarball is ~40+ MB. Odds are newer versions will be
bigger and more bloated.

This change merges the old `python3-gdbm` package into the `python3-dbm`
package, since they are effectively using the same underlying library now,
i.e. gdbm.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agolibs: gdbm: enable/install Berkley DBM compat layer
Alexandru Ardelean [Wed, 19 May 2021 14:16:43 +0000 (17:16 +0300)]
libs: gdbm: enable/install Berkley DBM compat layer

Python supports both GNU dbm and Berkley DBM.
GNU dbm also has a compatibility layer for Berkeley.

The current Berkley DB in OpenWrt is 4.7 and hasn't been updated in ages.
It's also pretty big.

So, an alternative for Python is to use GNU dbm for both (GNU and Berkley).

Also, removing static shared libraries from the build, to encourage the
usage of the shared ones.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agoMerge pull request #16108 from nxhack/libuv_1411
Rosen Penev [Tue, 13 Jul 2021 06:15:05 +0000 (23:15 -0700)]
Merge pull request #16108 from nxhack/libuv_1411

libuv: bump to 1.41.1

3 years agoopenvpn: enable LZO support by default for OpenSSL variant
Etienne Champetier [Sun, 4 Jul 2021 18:14:30 +0000 (14:14 -0400)]
openvpn: enable LZO support by default for OpenSSL variant

User that don't control both OpenVPN client and server
might still need LZO support, so keep it enable by default for at least
OpenSSL variant.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
3 years agosyslog-ng: disable mqtt
Josef Schlehofer [Mon, 12 Jul 2021 14:14:31 +0000 (16:14 +0200)]
syslog-ng: disable mqtt

For now, disable mqtt as it was automatically enabled as the build
system finds compiled libpaho-mqtt-c and requires dependency.

---
Here is the output:
Package syslog-ng is missing dependencies for the following libraries:
libpaho-mqtt3c.so.1
---

This is a new feature since syslog-ng 3.33.1 and if anyone is interested
in it, it can be enabled.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agolibuv: bump to 1.41.1 16108/head
Hirokazu MORIKAWA [Mon, 12 Jul 2021 05:20:33 +0000 (14:20 +0900)]
libuv: bump to 1.41.1

Update to 1.41.1
 include fix CVE-2021-22918

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
3 years agoMerge pull request #16105 from turris-cz/syslog-ng/update
Philip Prindeville [Sun, 11 Jul 2021 19:31:20 +0000 (13:31 -0600)]
Merge pull request #16105 from turris-cz/syslog-ng/update

syslog-ng: update to version 3.33.1

3 years agoMerge pull request #16089 from turris-cz/lxc-switch-gpg-keyserver
Josef Schlehofer [Sun, 11 Jul 2021 18:43:48 +0000 (20:43 +0200)]
Merge pull request #16089 from turris-cz/lxc-switch-gpg-keyserver

lxc: add patch to switch GPG server

3 years agosyslog-ng: update to version 3.33.1 16105/head
Josef Schlehofer [Sun, 11 Jul 2021 18:16:47 +0000 (20:16 +0200)]
syslog-ng: update to version 3.33.1

- Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.33.1

- Bump version in config
It fixes:
WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.33 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.31'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agodawn: update to 2021-07-11
Nick Hainke [Sun, 11 Jul 2021 12:01:14 +0000 (14:01 +0200)]
dawn: update to 2021-07-11

ec9a3a9 fix GCC11 compilation

Thanks to neheb and cotequeiroz.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 years agoapache: update to 2.4.48
Rosen Penev [Wed, 16 Jun 2021 01:36:03 +0000 (18:36 -0700)]
apache: update to 2.4.48

Refreshed patch.

Fixes:

CVE-2019-17567
CVE-2020-13938
CVE-2020-13950
CVE-2020-35452
CVE-2021-26690
CVE-2021-26691
CVE-2021-30641
CVE-2021-31618

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #16096 from neheb/ibr
Rosen Penev [Sun, 11 Jul 2021 09:04:12 +0000 (02:04 -0700)]
Merge pull request #16096 from neheb/ibr

ibrdtn stuff: fix compilation with GCC11

3 years agonss: update to 3.67 16074/head
Rosen Penev [Wed, 7 Jul 2021 03:02:49 +0000 (20:02 -0700)]
nss: update to 3.67

Switch to AUTORELEASE for simplicity.

Disable parallel compilation as there's something wrong with NSS' build
system. Reliably fails with make -j 12 on a ryzen 3600.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoibrcommon: fix compilation with GCC11 16096/head
Rosen Penev [Wed, 7 Jul 2021 03:54:09 +0000 (20:54 -0700)]
ibrcommon: fix compilation with GCC11

GCC11 defaults to C++17, which does not allow throw specifiers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoibrdtn-tools: fix compilation with GCC11
Rosen Penev [Wed, 7 Jul 2021 20:37:55 +0000 (13:37 -0700)]
ibrdtn-tools: fix compilation with GCC11

throw() is not supported with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoibrdtnd: fix compilation with GCC11
Rosen Penev [Wed, 7 Jul 2021 20:36:49 +0000 (13:36 -0700)]
ibrdtnd: fix compilation with GCC11

throw() is not compatible with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoibrdtn: fix compilation with GCC11
Rosen Penev [Wed, 7 Jul 2021 04:11:40 +0000 (21:11 -0700)]
ibrdtn: fix compilation with GCC11

GCC11 defaults to C++17, which does now allow specifying throw().

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #15945 from neheb/tv
Rosen Penev [Sun, 11 Jul 2021 07:18:38 +0000 (00:18 -0700)]
Merge pull request #15945 from neheb/tv

tvheadend: fix compilation with GCC 9 and 10

3 years agoMerge pull request #16068 from neheb/kea
Rosen Penev [Sun, 11 Jul 2021 07:13:25 +0000 (00:13 -0700)]
Merge pull request #16068 from neheb/kea

kea: fix compilation with GCC11

3 years agoMerge pull request #16073 from neheb/hashdeep
Rosen Penev [Sun, 11 Jul 2021 07:12:03 +0000 (00:12 -0700)]
Merge pull request #16073 from neheb/hashdeep

hashdeep: fix compilation with GCC11

3 years agotransmission: bump PKG_RELEASE
Daniel Golle [Sat, 10 Jul 2021 21:51:14 +0000 (22:51 +0100)]
transmission: bump PKG_RELEASE

The commit updating the seccomp filter didn't bump PKG_RELEASE.
Do that now.

Fixes: 1141ee1e5 ("transmission: add new syscalls to seccomp filter)"
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agotransmission: add new syscalls to seccomp filter
Daniel Golle [Fri, 9 Jul 2021 01:12:00 +0000 (02:12 +0100)]
transmission: add new syscalls to seccomp filter

Testing showed that additional syscalls are needed on ARMv7.
Add "getegid32", "geteuid32", "getgid32" and "getrandom" as they are
all innocent.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoautopart: work on MBR/DOS partitioned disks
Daniel Golle [Fri, 9 Jul 2021 00:25:56 +0000 (01:25 +0100)]
autopart: work on MBR/DOS partitioned disks

Using GPT/UUID parition table is not always a possible choice.
Add support for MBR/DOS partitioned disks to make autopart work on
legacy targets like mt7623.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agolxc: add patch to switch GPG server 16089/head
Josef Schlehofer [Sat, 10 Jul 2021 14:33:08 +0000 (16:33 +0200)]
lxc: add patch to switch GPG server

By default, there was used sks-keyservers.net pool, which has invalid
SSL certificate and they also announced that their service is deprecate
and no longer maintained.

Use the same GPG server as LXC is using by default in the newer
releases.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agoMerge pull request #16072 from neheb/nutt
Rosen Penev [Fri, 9 Jul 2021 19:54:17 +0000 (12:54 -0700)]
Merge pull request #16072 from neheb/nutt

nut: fix compilation with GCC11

3 years agoMerge pull request #16077 from wodu/linuxptp_maint
Josef Schlehofer [Fri, 9 Jul 2021 06:49:14 +0000 (08:49 +0200)]
Merge pull request #16077 from wodu/linuxptp_maint

linuxptp: Upgrade to version 3.1.1

3 years agoMerge pull request #16066 from TDT-AG/pr/20210707-mwan3
Florian Eckert [Fri, 9 Jul 2021 06:47:50 +0000 (08:47 +0200)]
Merge pull request #16066 from TDT-AG/pr/20210707-mwan3

mwan3: add internal command

3 years agolinuxptp: Upgrade to version 3.1.1 16077/head
Wojciech Dubowik [Thu, 8 Jul 2021 08:14:14 +0000 (10:14 +0200)]
linuxptp: Upgrade to version 3.1.1

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@westermo.com>
3 years agodawn: update to latest version
Nick Hainke [Thu, 8 Jul 2021 14:45:55 +0000 (16:45 +0200)]
dawn: update to latest version

555268b ubus: filter neighbors by SSID when preparing nr
3db9607 data storage: match SSID when searching ap entry
a22f5a7 storage: ensure SSID strings are NULL-terminated

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 years agomwan3: bump PKG_VERSION to 2.10.11 16066/head
Florian Eckert [Wed, 7 Jul 2021 15:16:41 +0000 (17:16 +0200)]
mwan3: bump PKG_VERSION to 2.10.11

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agomwan3: add troublshoot command from LuCI
Florian Eckert [Mon, 5 Jul 2021 14:15:02 +0000 (16:15 +0200)]
mwan3: add troublshoot command from LuCI

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agomwan3: cleanup help output
Florian Eckert [Mon, 5 Jul 2021 09:26:37 +0000 (11:26 +0200)]
mwan3: cleanup help output

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 years agoMerge pull request #16063 from 1715173329/yq
Josef Schlehofer [Thu, 8 Jul 2021 04:22:19 +0000 (06:22 +0200)]
Merge pull request #16063 from 1715173329/yq

yq: Update to 4.9.7

3 years agodtc: update to 1.6.1
Rosen Penev [Wed, 7 Jul 2021 02:11:18 +0000 (19:11 -0700)]
dtc: update to 1.6.1

Fixes compilation with GCC11.

Reorganized Makefile variables for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #16075 from neheb/ebml
Rosen Penev [Wed, 7 Jul 2021 23:59:37 +0000 (16:59 -0700)]
Merge pull request #16075 from neheb/ebml

libebml: fix compilation with GCC11

3 years agoMerge pull request #16069 from neheb/ele
Rosen Penev [Wed, 7 Jul 2021 23:59:15 +0000 (16:59 -0700)]
Merge pull request #16069 from neheb/ele

libelektra: fix compilation with GCC11

3 years agolibebml: fix compilation with GCC11 16075/head
Rosen Penev [Wed, 7 Jul 2021 02:41:21 +0000 (19:41 -0700)]
libebml: fix compilation with GCC11

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agohashdeep: fix compilation with GCC11 16073/head
Rosen Penev [Wed, 7 Jul 2021 03:05:24 +0000 (20:05 -0700)]
hashdeep: fix compilation with GCC11

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agonut: fix compilation with GCC11 16072/head
Rosen Penev [Wed, 7 Jul 2021 03:20:29 +0000 (20:20 -0700)]
nut: fix compilation with GCC11

nut is a C++98 project which does not compile with GCC11's default of
C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agolibelektra: fix compilation with GCC11 16069/head
Rosen Penev [Wed, 7 Jul 2021 07:36:22 +0000 (00:36 -0700)]
libelektra: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agokea: fix compilation with GCC11 16068/head
Rosen Penev [Wed, 7 Jul 2021 20:30:02 +0000 (13:30 -0700)]
kea: fix compilation with GCC11

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years agoMerge pull request #16061 from nxhack/libupm_fix_build_error_with_gcc11
Rosen Penev [Wed, 7 Jul 2021 20:04:21 +0000 (13:04 -0700)]
Merge pull request #16061 from nxhack/libupm_fix_build_error_with_gcc11

libupm: Workaround for errors with GCC11

3 years agoyq: Update to 4.9.7 16063/head
Tianling Shen [Wed, 7 Jul 2021 12:28:06 +0000 (20:28 +0800)]
yq: Update to 4.9.7

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
3 years agolibupm: Workaround for errors with GCC11 16061/head
Hirokazu MORIKAWA [Wed, 7 Jul 2021 09:25:48 +0000 (18:25 +0900)]
libupm: Workaround for errors with GCC11

https://github.com/openwrt/packages/issues/16060

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
3 years agoMerge pull request #16044 from tru7/libfmt
Rosen Penev [Wed, 7 Jul 2021 07:28:33 +0000 (00:28 -0700)]
Merge pull request #16044 from tru7/libfmt

libfmt: bump to version 8.0.1

3 years agoMerge pull request #16055 from BKPepe/yt-update
Josef Schlehofer [Wed, 7 Jul 2021 07:03:29 +0000 (09:03 +0200)]
Merge pull request #16055 from BKPepe/yt-update

youtube-dl: update to version 2021.6.6

3 years agoMerge pull request #16049 from nxhack/libuv_CVE-2021-22918
Rosen Penev [Wed, 7 Jul 2021 06:02:13 +0000 (23:02 -0700)]
Merge pull request #16049 from nxhack/libuv_CVE-2021-22918

libuv: fix CVE-2021-22918

3 years agoMerge pull request #16053 from PowerDNS/pdns-recursor-4.5.4
Rosen Penev [Wed, 7 Jul 2021 06:01:35 +0000 (23:01 -0700)]
Merge pull request #16053 from PowerDNS/pdns-recursor-4.5.4

pdns-recursor: update to 4.5.4

3 years agosyncthing: update to v1.18.0
Paul Spooren [Wed, 7 Jul 2021 01:30:27 +0000 (15:30 -1000)]
syncthing: update to v1.18.0

See upstream release notes for changes:
https://github.com/syncthing/syncthing/releases/tag/v1.18.0

Signed-off-by: Paul Spooren <mail@aparcar.org>
3 years agopostgresql: prevent addition of ARM target flag
Sebastian Kemper [Tue, 6 Jul 2021 21:07:56 +0000 (23:07 +0200)]
postgresql: prevent addition of ARM target flag

configure.in checks for "ARMv8 CRC32C intrinsics" and goes as far as
adding "-march=armv8-a+crc" to the target flags if the compiler allows
it. This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:

  cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch

This commit prevents configure.in from adding the mentioned flag. The
addition is unwanted when cross-compiling.

An issue was raised for this recently, see [1].

[1] https://github.com/openwrt/packages/issues/16034

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 years agoprometheus-node-exporter-lua: Bump PKG_RELEASE
Martin Weinelt [Sun, 4 Jul 2021 21:25:39 +0000 (23:25 +0200)]
prometheus-node-exporter-lua: Bump PKG_RELEASE

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoprometheus-node-exporter-lua: lower case bssid label value in wifi exporter
Martin Weinelt [Tue, 29 Jun 2021 01:31:04 +0000 (03:31 +0200)]
prometheus-node-exporter-lua: lower case bssid label value in wifi exporter

To allow cross matching bssids between different exporters we need to
use the same case, as label matching is case senstive.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoprometheus-node-exporter-lua: fix corner case in hostapd_stations
Martin Weinelt [Sat, 26 Jun 2021 00:15:17 +0000 (02:15 +0200)]
prometheus-node-exporter-lua: fix corner case in hostapd_stations

There was a corner case, when a vif had no stations, that
evaluate_metrics for a station that was nil and had no collected metrics
would have been called.

Comment the code, to make it easier to understand and follow, and
simplify some variable names along the way.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoprometheus-node-exporter-lua: normalize metric names in hostapd_stations
Martin Weinelt [Thu, 24 Jun 2021 16:34:47 +0000 (18:34 +0200)]
prometheus-node-exporter-lua: normalize metric names in hostapd_stations

Normalizes metrics according to the Prometheus upstream metric
guidelines available at https://prometheus.io/docs/practices/naming/.

Drops the `hostapd_station_wpa` metric, because it is misleading, as it
is not a differentiator between WPA versions, like one could be led to
assume.

Exposes more flags in a more consistent manner. Their metric was
previously only exposed if the flag was present, but not if it wasn't.
The same applies issue was fixed with regards to vht caps.

After this commit the following breaking changes are in place:

- All flags have been moved below `hostapd_station_flags_$flagname`:
  - `hostapd_station_ht` is now `hostapd_station_flag_ht`
  - `hostapd_station_mfp` is now `hostapd_station_flag_mfp`
  - `hostapd_station_vht` is now `hostapd_station_flag_vht`
  - `hostapd_station_wmm` is now `hostapd_station_flag_wmm`

- New flags have been exposed:
  - `hostapd_station_flag_he` for high-efficency connections
  - `hostapd_station_flag_short_preamble` for short preamble connections
  - `hostapd_station_flag_auth` for authentication state
  - `hostapd_station_flag_assoc` for association state

- Some metrics have had their unit normalized to the SI base unit or
  embedded into the metrics name:
  - `hostapd_station_inactive_msec` is now
    `hostapd_station_inactive_seconds`, the value is still float64 and
    as such has enough precision anyway, but becomes easier to reason
    about
  - `hostapd_station_connected_time` has been renamed to
    `hostapd_station_connected_seconds_total` so the unit, as well as
    the nature of the counter is reflected
  - `hostapd_station_signal` now includes its unit and is therefore
    named `hostapd_station_signal_dbm`

- The packet counter metrics have been normalized to what the node
  exporter uses, so it is more in line with the defaults in the
  Prometheus ecosystem:
  - `hostapd_station_rx_packets` is now
    `hostapd_station_receive_packets_total`
  - `hostapd_station_rx_bytes` is now
    `hostapd_station_receive_bytes_total`
  - `hostapd_station_tx_packets` is now
    `hostapd_station_transmit_packets_total`
  - `hostapd_station_tx_bytes` is now
    `hostapd_station_transmit_bytes_total`

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoprometheus-node-exporter-lua: handle empty lines in all_sta output correctly
Martin Weinelt [Thu, 24 Jun 2021 15:50:01 +0000 (17:50 +0200)]
prometheus-node-exporter-lua: handle empty lines in all_sta output correctly

An empty line has a name and value that is nil and setting a table
index to nil breaks metrics for every vif after the first one.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoprometheus-node-exporter-lua: increase label density in hostapd_stations
Martin Weinelt [Sun, 8 Nov 2020 23:15:34 +0000 (00:15 +0100)]
prometheus-node-exporter-lua: increase label density in hostapd_stations

Correlating data is only possible when we have more metadata, this adds
a bunch of labels for each client, that will increase the depth of
dashboards yet to come.

In particular the changes in this commit are:
 - renames the `ifname` label to `vif`
 - adds `frequency`, `channel`, `bssid`, `ssid`, `encryption` and `mode`

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
3 years agoaddrwatch: Various fixes 15899/head
Jeffery To [Fri, 18 Jun 2021 08:33:55 +0000 (16:33 +0800)]
addrwatch: Various fixes

Makefile changes include:

* Remove USE_UCLIBC, as uclibc is no longer supported

* Package output modules

* Move main binary (back) to /usr/sbin, as it is system administration
  related and requires superuser privileges

New patches:

* 003-add-space-for-null-byte.patch - from
  https://github.com/fln/addrwatch/commit/374cfd2cabe4db9882d8a210adff430cc579f859

* 004-more-specific-library-linking.patch - from
  https://github.com/fln/addrwatch/commit/27b57d9da322fc16c6904d8e35aae4557a3e517b

* 005-use-c99-format-macro-constants.patch - from
  https://github.com/fln/addrwatch/pull/28

Init script changes include:

* Change from explicit disable to explicit enable, so that the service
  is disabled by default and on first install

* Set config option default values to default values of the main binary

* Fix command-line option names and format (from
  https://forum.openwrt.org/t/cant-start-addrwatch-service/60499/3)

* Always use the --quiet command-line option, as the procd instance is
  not configured to capture stdout/stderr

* Change the syslog config option to start the syslog output module

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
3 years agoyoutube-dl: update to version 2021.6.6 16055/head
Josef Schlehofer [Tue, 6 Jul 2021 15:09:41 +0000 (17:09 +0200)]
youtube-dl: update to version 2021.6.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
3 years agopython3: do a simple ls on pip & setuptools if not selected for build
Alexandru Ardelean [Mon, 5 Jul 2021 08:28:38 +0000 (11:28 +0300)]
python3: do a simple ls on pip & setuptools if not selected for build

I seem to forget to check/select setuptools and pip (that come bundled with
Python).
This change will do a simple 'ls' on the 2 wheel files, so that the build
fails even if just building Python.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agopython3: update to version 3.9.6
Alexandru Ardelean [Mon, 5 Jul 2021 06:28:07 +0000 (09:28 +0300)]
python3: update to version 3.9.6

Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agopdns-recursor: update to 4.5.4 16053/head
Peter van Dijk [Tue, 6 Jul 2021 11:37:59 +0000 (13:37 +0200)]
pdns-recursor: update to 4.5.4

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 years agoMerge pull request #16047 from oskarirauta/apparmor_utils
Florian Eckert [Tue, 6 Jul 2021 08:55:23 +0000 (10:55 +0200)]
Merge pull request #16047 from oskarirauta/apparmor_utils

apparmor: add missing parser.conf

3 years agoMerge pull request #16029 from dangowrt/mwan3-rttables
Florian Eckert [Tue, 6 Jul 2021 05:54:32 +0000 (07:54 +0200)]
Merge pull request #16029 from dangowrt/mwan3-rttables

mwan3: use default routes from additional tables

3 years agolibuv: fix CVE-2021-22918 16049/head
Hirokazu MORIKAWA [Tue, 6 Jul 2021 04:49:15 +0000 (13:49 +0900)]
libuv: fix CVE-2021-22918

idna: fix OOB read in punycode decoder

libuv was vulnerable to out-of-bounds reads in the uv__idna_toascii()
function which is used to convert strings to ASCII. This is called by
the DNS resolution function and can lead to information disclosures or
crashes.

https://github.com/libuv/libuv/commit/b7466e31e4bee160d82a68fca11b1f61d46debae
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990561
https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
3 years agouvol: fix units with lvm backend
Daniel Golle [Tue, 6 Jul 2021 04:20:12 +0000 (05:20 +0100)]
uvol: fix units with lvm backend

Free and total bytes are now properly returned as bytes by LVM2 as
requested. No longer multiply values.
Fix parameter order of 'create' command in usage output while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoapparmor: add missing parser.conf 16047/head
Oskari Rauta [Tue, 6 Jul 2021 00:38:44 +0000 (03:38 +0300)]
apparmor: add missing parser.conf

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
3 years agoMerge pull request #16038 from mhei/php7-update
Michael Heimpold [Mon, 5 Jul 2021 18:58:41 +0000 (20:58 +0200)]
Merge pull request #16038 from mhei/php7-update

php7: update to 7.4.21

3 years agoMerge pull request #16037 from mhei/php8-update
Michael Heimpold [Mon, 5 Jul 2021 18:58:30 +0000 (20:58 +0200)]
Merge pull request #16037 from mhei/php8-update

php8: update to 8.0.8

3 years agomwan3: use default routes from additional tables 16029/head
Daniel Golle [Sat, 3 Jul 2021 14:04:33 +0000 (15:04 +0100)]
mwan3: use default routes from additional tables

Until now the additional tables listed in gobal 'rt_table_lookup' were
not considered for interfaces.
In order to be able to also use interface-defined routes from tables
other than main, consider also tables listed in 'rt_table_lookup'.
Update version to 2.10.10 as requested by maintainer.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agolibfmt: bump to version 8.0.1 16044/head
Othmar Truniger [Mon, 5 Jul 2021 14:41:21 +0000 (16:41 +0200)]
libfmt: bump to version 8.0.1

Signed-off-by: Othmar Truniger <github@truniger.ch>
3 years agoMerge pull request #16043 from commodo/pillow
Rosen Penev [Mon, 5 Jul 2021 09:55:21 +0000 (02:55 -0700)]
Merge pull request #16043 from commodo/pillow

pillow: bump to version 8.3.0

3 years agoMerge pull request #16041 from commodo/django-bump
Rosen Penev [Mon, 5 Jul 2021 09:54:47 +0000 (02:54 -0700)]
Merge pull request #16041 from commodo/django-bump

django: bump to version 3.2.5

3 years agopillow: bump to version 8.3.0 16043/head
Alexandru Ardelean [Mon, 5 Jul 2021 08:15:55 +0000 (11:15 +0300)]
pillow: bump to version 8.3.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agodjango: bump to version 3.2.5 16041/head
Alexandru Ardelean [Mon, 5 Jul 2021 07:35:41 +0000 (10:35 +0300)]
django: bump to version 3.2.5

Several bug-fixes.
Fix CVE-2021-35042

Release notes:
  https://docs.djangoproject.com/en/3.2/releases/3.2.5/

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
3 years agophp8: update to 8.0.8 16037/head
Michael Heimpold [Sun, 4 Jul 2021 21:14:10 +0000 (23:14 +0200)]
php8: update to 8.0.8

This fixes:
  - CVE-2021-21704
  - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
3 years agophp7: update to 7.4.21 16038/head
Michael Heimpold [Sun, 4 Jul 2021 22:10:33 +0000 (00:10 +0200)]
php7: update to 7.4.21

This fixes:
    - CVE-2021-21704
    - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>