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

24941 Commits

Author SHA1 Message Date
Josef Schlehofer
86c72d8095
Merge pull request #16055 from BKPepe/yt-update
youtube-dl: update to version 2021.6.6
2021-07-07 09:03:29 +02:00
Rosen Penev
a6517cf5f2
Merge pull request #16049 from nxhack/libuv_CVE-2021-22918
libuv: fix CVE-2021-22918
2021-07-06 23:02:13 -07:00
Rosen Penev
aec5150b74
Merge pull request #16053 from PowerDNS/pdns-recursor-4.5.4
pdns-recursor: update to 4.5.4
2021-07-06 23:01:35 -07:00
Paul Spooren
2383a413ec 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>
2021-07-06 16:59:02 -10:00
Sebastian Kemper
9ba7d16a1e 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>
2021-07-07 01:12:53 +01:00
Martin Weinelt
df446adc24 prometheus-node-exporter-lua: Bump PKG_RELEASE
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 13:37:36 -04:00
Martin Weinelt
445d8927f6 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>
2021-07-06 13:37:36 -04:00
Martin Weinelt
a1b145abb0 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>
2021-07-06 13:37:36 -04:00
Martin Weinelt
a98596168a 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>
2021-07-06 13:37:36 -04:00
Martin Weinelt
0a9d2b818d 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>
2021-07-06 13:37:36 -04:00
Martin Weinelt
6d85547f24 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>
2021-07-06 13:37:36 -04:00
Jeffery To
31ae85bca9
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
  374cfd2cab

* 004-more-specific-library-linking.patch - from
  27b57d9da3

* 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>
2021-07-07 00:18:47 +08:00
Josef Schlehofer
fbe3079179
youtube-dl: update to version 2021.6.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-06 17:09:49 +02:00
Alexandru Ardelean
d27d23167b 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>
2021-07-06 16:20:18 +02:00
Alexandru Ardelean
8b3297e507 python3: update to version 3.9.6
Refreshed patches.
Bumped pip to 21.1.3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-06 16:20:18 +02:00
Peter van Dijk
59625074e5 pdns-recursor: update to 4.5.4
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2021-07-06 13:37:59 +02:00
Florian Eckert
09b96b52e4
Merge pull request #16047 from oskarirauta/apparmor_utils
apparmor: add missing parser.conf
2021-07-06 10:55:23 +02:00
Florian Eckert
061e0b3e09
Merge pull request #16029 from dangowrt/mwan3-rttables
mwan3: use default routes from additional tables
2021-07-06 07:54:32 +02:00
Hirokazu MORIKAWA
aaa46eb44e 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.

b7466e31e4
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>
2021-07-06 13:49:15 +09:00
Daniel Golle
194e7f0286
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>
2021-07-06 05:27:13 +01:00
Oskari Rauta
18cf9866d0 apparmor: add missing parser.conf
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-07-06 03:38:44 +03:00
Michael Heimpold
42aa15b653
Merge pull request #16038 from mhei/php7-update
php7: update to 7.4.21
2021-07-05 20:58:41 +02:00
Michael Heimpold
7984c71bdd
Merge pull request #16037 from mhei/php8-update
php8: update to 8.0.8
2021-07-05 20:58:30 +02:00
Daniel Golle
cb02b42007
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>
2021-07-05 18:58:52 +01:00
Othmar Truniger
13ef8a8d9c libfmt: bump to version 8.0.1
Signed-off-by: Othmar Truniger <github@truniger.ch>
2021-07-05 16:41:21 +02:00
Rosen Penev
6dee6ce5a6
Merge pull request #16043 from commodo/pillow
pillow: bump to version 8.3.0
2021-07-05 02:55:21 -07:00
Rosen Penev
1315dc6fa7
Merge pull request #16041 from commodo/django-bump
django: bump to version 3.2.5
2021-07-05 02:54:47 -07:00
Alexandru Ardelean
4361d88892 pillow: bump to version 8.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-05 11:35:01 +03:00
Alexandru Ardelean
d3a64a36e9 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>
2021-07-05 10:58:30 +03:00
Michael Heimpold
7ddd5280d4 php8: update to 8.0.8
This fixes:
  - CVE-2021-21704
  - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-05 00:15:59 +02:00
Michael Heimpold
f15aba89f7 php7: update to 7.4.21
This fixes:
    - CVE-2021-21704
    - CVE-2021-21705

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-05 00:13:35 +02:00
Rosen Penev
f39a2bc32f
Merge pull request #16012 from commodo/python-dateutil
python-dateutil: add setuptools-scm build dep
2021-07-03 15:16:26 -07:00
Rosen Penev
4b6ad9fd0f
Merge pull request #16025 from rs/nextdns-1.34.2-master
nextdns: Update to version 1.34.2
2021-07-03 15:15:21 -07:00
Michael Heimpold
20c884bbd5 libzip: fix typo in patch (fixes #15992)
This prevented expansion of libdir in pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-07-02 23:59:53 +02:00
Olivier Poitrey
687b9b4917 nextdns: Update to version 1.34.2
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2021-07-02 18:54:56 +00:00
Alexandru Ardelean
e2026346cc python-dateutil: add setuptools-scm build dep
Following:
  https://github.com/openwrt/packages/pull/16004
  https://github.com/openwrt/packages/pull/15995
  https://github.com/openwrt/packages/issues/15988

It seems that dateutil requires setuptools-scm to be installed.
As such, this is being added as a dependency.

Also, bump setuptools-scm to version 6.0.1

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-02 16:21:33 +03:00
Philip Prindeville
57a23bfde3
Merge pull request #16010 from pprindeville/strongswan-simplify-stroke-install
strongswan: trivial improvement in 'stroke' packaging
2021-07-01 17:05:41 -06:00
Michael Heimpold
d452429a56
Merge pull request #14716 from mhei/libgpiod-update
libgpiod: update to 1.6.3
2021-07-01 20:40:53 +02:00
Philip Prindeville
40d30f123d strongswan: trivial improvement in 'stroke' packaging
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-07-01 12:12:15 -06:00
Rosen Penev
af9a4036c0
Merge pull request #16003 from zorun/tessdata_speed_build
tessdata: uncompress tarball only once to speed up builds
2021-06-30 16:31:10 -07:00
Baptiste Jonglez
7fe513971f tessdata: uncompress tarball only once to speed up builds
The previous approach was to uncompress N times a big tarball (638 MB)
where N=130 is the number of supported languages.  Each iteration would
only extract a single file, but it still needs to uncompress the whole
tarball.  This is of course completely inefficient.

Now, we uncompress the tarball only once to extract all relevant files,
and then iterate N times to copy the file needed for each language.

This massively speeds up builds, at the expense of temporarily requiring
more build space (about 1 GB more)

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
2021-06-30 14:09:42 +02:00
Dirk Brenken
ab0881b0dc
Merge pull request #16000 from dibdot/adblock
adblock: update 4.1.3-2
2021-06-30 12:19:25 +02:00
Daniel Golle
1204cb82f9 auc: update to version 0.1.8
This fixes support for x86, auc now selects the right combined image
depending on the system being booted in EFI mode or not.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-06-30 01:40:37 +01:00
Rosen Penev
dfee9d005d
Merge pull request #15979 from G-M0N3Y-2503/cache-domains-fix-wildcard
cache-domains: Fixed missing wildcard entries
2021-06-29 14:50:12 -07:00
Rosen Penev
ea8083639d
Merge pull request #15950 from rsalvaterra/lolcat
lolcat: add package
2021-06-29 14:45:47 -07:00
Rosen Penev
c61eb3ed98
Merge pull request #15797 from lnslbrty/update/libulfius-2.7.3
libulfius: update to 2.7.3
2021-06-29 14:41:49 -07:00
Rosen Penev
789a4e2a9a
Merge pull request #15877 from neheb/exfatp
exfatprogs: update to 1.1.2
2021-06-29 14:41:19 -07:00
Rosen Penev
e49cb15788
Merge pull request #15996 from PowerDNS/dnsdist-recursor-option-checking
dnsdist, pdns-recursor: remove --enable-option-checking=fatal
2021-06-29 14:41:03 -07:00
Michael Heimpold
4db1fba5a1 libgpiod: update to 1.6.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-06-29 21:08:39 +02:00
Dirk Brenken
e5fd19d2e0
adblock: update 4.1.3-2
* add a tcpdump option to resolve IPs in adblock reporting,
  set 'adb_represolve' accordingly (disabled by default). If enabled
  tcpdump will perform a reverse DNS (PTR) lookup for each IP address
* add 'stalkerware' source (provided by @astryzia)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-06-29 21:03:33 +02:00