Commit Graph

30391 Commits

Author SHA1 Message Date
Philip Prindeville 7b998865ad isc-dhcpd: Redux of convenience functions avoiding sed/cut
Also minimize messing with $IFS.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-10-15 22:18:09 -06:00
Philip Prindeville 96e720bb6b isc-dhcp: Use 'append' instead of manually appending
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-10-15 22:17:51 -06:00
Philip Prindeville a6d6475cd5
Merge pull request #22414 from pprindeville/isc-dhcp-no-empty-ranges
isc-dhcp: refuse to add empty DHCP ranges
2023-10-15 22:14:24 -06:00
Leon M. Busch-George dd2daafc6e isc-dhcp: refuse to add empty DHCP range
ipcalc.sh no longer outputs invalid ranges and fails with an error code in
such cases. React to the error.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
2023-10-15 21:35:14 -06:00
Leon M. Busch-George 3ad482078b isc-dhcp: adapt to new ipcalc paradigm
With #12925, 'BROADCAST' will no longer be set if there is no local
broadcast address (rather than holding the global broadcast address).
Prepare for the merge but stay compatible with the old version of ipcalc.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
2023-10-15 21:33:15 -06:00
Drew Young 3d799c3eee rust: fix build with glibc, ARM and hard floats
Patch the target triple for Rust with glibc to include hard floating
point support.

The GNU target triple used elsewhere does not include hard float support,
instead `-mfloat-abi=hard` is passed separately. For Rust it must be
included in the target triple. This was already being done for musl,
this commit adds the same patching for glibc.

Without this patch Rust compilation fails with an error like this
(abbreviated to fit the line length):

    ld: error: libstd.so uses VFP register arguments, ... does not
    ld: failed to merge target specific data of file ...

Signed-off-by: Drew Young <dyoung@viridiparente.com>
2023-10-16 09:01:43 +08:00
Jeffery To f151ab8c0e golang: Update to 1.21.3
Includes fix for CVE-2023-39325 (net/http, x/net/http2: rapid stream
resets can cause excessive work).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-15 22:30:29 +02:00
Hirokazu MORIKAWA afecaa71c2 nghttp2: fix CVE-2023-44487
update to v1.57.0
CVE-2023-44487 : HTTP/2 Rapid Reset

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-10-15 12:10:03 -07:00
Ivan Mironov 41975220c0 prometheus-node-exporter-lua: bump package version
Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
2023-10-15 11:13:17 -04:00
Ivan Mironov 431fefbdea prometheus-node-exporter-lua: add basic hwmon exporter
This collector supports following metrics:

 * node_hwmon_temp_celsius
 * node_hwmon_pwm

and following auxiliary mappings:

 * node_hwmon_chip_names
 * node_hwmon_sensor_label

Tested on:

 * Banana Pi BPI-r3 / OpenWrt 23.05.0-rc2
 * TP-Link Archer C7 v5 / OpenWrt 22.03.5

Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
2023-10-15 11:13:17 -04:00
Etienne Champetier 86df457120
Merge pull request #20007 from dhewg/prometheus-node-exporter-ucode
prometheus-node-exporter-ucode: add new package
2023-10-15 11:00:44 -04:00
Nikos Mavrogiannopoulos f1c7d1742c
Merge pull request #22404 from vgaetera/openconnect-pfs
openconnect: add support for option --pfs
2023-10-15 12:01:34 +02:00
Tianling Shen 6640ea8cc4
Merge pull request #22393 from jefferyto/maturin-1.3.0
maturin: Update to 1.3.0, build as Python (host-only) package
2023-10-15 11:51:06 +08:00
Etienne Champetier b499ed05ff
Merge pull request #21005 from joelpet/prometheus-node-exporter-thermal
prometheus-node-exporter-lua: Add thermal collector
2023-10-14 15:22:37 -04:00
Vladislav Grigoryev 4af0378ef9 openconnect: add support for option --pfs
Add support for the OpenConnect option `--pfs`.
Designed to require perfect forward secrecy.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2023-10-14 15:30:15 +03:00
Oskari Rauta 53dc7146f4 netbird: update to 0.23.9
Changelog:
 - Add Pagination for IdP Users Fetch by @bcmmbaga in #1210
 - Rework peer connection status based on the update channel existence by @surik in #1213
 - Fix nil pointer exception in group delete by @pappz in #1211
 - Fix/key backup in config script by @pappz in #1206

Full changelog: https://github.com/netbirdio/netbird/compare/v0.23.8...v0.23.9

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-14 17:29:30 +08:00
Peter van Dijk b19f8a822b dnsdist: update to 1.8.2
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2023-10-14 11:26:02 +08:00
Peter van Dijk 5b9239a95b h2o: ABI-breaking patch for CVE-2023-44487
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>

bump soname

refreh
2023-10-14 11:26:02 +08:00
Oskari Rauta d3b1b0d34e rust: update to 1.73.0
patches refreshed.
changelog at https://github.com/rust-lang/rust/releases/tag/1.73.0

Also added a configuration ardument and patch
from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/rust/files/1.72.0-bump-libc-deps-to-0.2.146.patch?id=515b5920046117355d88b3494c74da269ce9b30a
to provide support for building rust on musl hosts.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>

rust: add support for musl build hosts

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-14 11:25:14 +08:00
Hirokazu MORIKAWA b2079b87d1 node: bump to v18.18.1
Notable Changes

 This release addresses some regressions that appeared in Node.js 18.18.0:

    (Windows) FS can not handle certain characters in file name #48673
    18 and 20 node images give error - Text file busy (after re-build images) nodejs/docker-node#1968
    libuv update in 18.18.0 breaks webpack's thread-loader #49911

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-10-14 11:22:23 +08:00
Javier Marcet 63fcdee74c python3-texttable: update to version 1.7.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:21 +08:00
Javier Marcet 5340e9d7d8 python-websocket-client: update to 1.6.4
- 1.6.4
  - Add support for HTTP 307 and 308 redirect codes

- 1.6.3
  - Fix type hints issues
  - Add support for Python beta release 3.12 in CI
  - Add maintainer email in setup.py

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:09 +08:00
Oskari Rauta 37142e1475 catatonit: update to 0.2.0
no functional changes from catatonit 0.1.7, but license change
from GPL-3.0-or-later to GPL-2.0-or-later.

Switch package source to release version from git commit version.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-14 11:20:42 +08:00
Oskari Rauta e25d417f1a podman: update to 4.7.1
Bugfixes

 - Fixed a bug involving non-English locales of Windows where machine installs using user-mode networking were rejected due to erroneous version detection (#20209).
 - Fixed a regression in --env-file handling (#19565).
 - Fixed a bug where podman inspect would fail when stat'ing a device failed.

API
 - The network list compat API endpoint is now much faster (#20035).

Openwrt updates: added patch to allow building with musl-1.2.4
Patch source is from gentoo c4c349f11a/app-containers/podman/files/podman-4.5.0-fix-build-with-musl-1.2.4.patch

Issue was discussed by @jefferyto at mattn/go-sqlite3#1177

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-14 11:20:27 +08:00
Christian Marangi 32d53eae35
nginx: fix nginx lua module compilation error
Add pending patch fixing compilation error for missing pcre.h.

This is caused by a bug on their end by trying to add pcre.h even if we
are using the PCRE2 library.

Fixes: f0754531c4 ("nginx: move to PCRE2")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-13 20:35:42 +02:00
Jeffery To 783e6f7491
maturin: Update to 1.3.0, build as Python (host-only) package
Python packages that use maturin to build do not call the maturin
program directly; they use the maturin build backend[1]. This build
backend is a Python library provided with maturin that interfaces with
the maturin program.

This changes the maturin package to use the Python build process so that
the build backend is installed correctly.

This also renames the source package to python-maturin and moves it into
the lang/python directory.

[1]: https://www.maturin.rs/#source-distribution

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-14 01:51:09 +08:00
Javier Marcet 8c5f98d952 luajit2: update to v2.1-20231006
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-13 15:28:01 +02:00
Josef Schlehofer b158d62460
Merge pull request #22197 from oskarirauta/zsh
zsh: use libpcre2 instead of libpcre
2023-10-11 18:33:16 +02:00
Alexandru Ardelean 832df9a5df openblas: bump to version 0.3.24
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-10-11 18:32:50 +02:00
Tianling Shen da5ac5da83
dnsproxy: Update to 0.56.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-11 22:48:22 +08:00
Tianling Shen 175271940e
Merge pull request #22339 from jefferyto/rust-build-performance
rust: Improve build performance
2023-10-11 21:03:33 +08:00
Jeffery To 29ca9797a6
python-setuptools-rust: Set cargo profile from environment variable
This adds a patch (submitted upstream in
https://github.com/PyO3/setuptools-rust/pull/364), to read the profile
to pass to cargo from an environment variable.

This also updates the Python include files to set the environment
variable based on values from rust-values.mk.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To 8bf2725f9b
rust: Set release profile settings
* codegen-units, lto, opt-level - Set to values to optimize binary
  size[1].

* overflow-checks - Enabled because in release mode, integer overflows
  are defined as two's complement wrap[2]. It is highly unlikely that
  any program is intentionally relying on this behaviour; it would be
  better to panic instead of continue execution in this case.

* debug, debug-assertions, panic, rpath - Set to their default (release)
  values, to override any settings made by packages, e.g. ripgrep sets
  debug = 1[3].

[1]: https://github.com/johnthagen/min-sized-rust
[2]: https://huonw.github.io/blog/2016/04/myths-and-legends-about-integer-overflow-in-rust/
[3]: https://github.com/BurntSushi/ripgrep/blob/13.0.0/Cargo.toml#L79-L80

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To b4ec017398
rust: Add option to use sccache
Using sccache makes recompilation of rustc and Rust packages faster.

This also makes the rust package visible in menuconfig, in order for the
sccache options to be accessible.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To 0dfc1b508d
rust: Use make's jobserver when building packages
This allows cargo to use make's jobserver when building packages, by
marking the cargo command as recursive (with the + prefix[1]) and
setting MAKEFLAGS.

This also:

* Give cargo/x.py the build directory instead of having to change the
  current directory (and opening subshells)

* Set PKG_BUILD_PARALLEL/HOST_BUILD_PARALLEL for Rust packages to enable
  the use of make's jobserver

[1]: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:24 +08:00
Jeffery To 9db7284d58
rust: Consolidate cargo environment variables
This consolidates all environment variables for cargo into:

* CARGO_HOST_CONFIG_VARS / CARGO_PKG_CONFIG_VARS

  These contain all cargo-specific environment variables, i.e. without
  "common" variables like CC.

* CARGO_HOST_VARS / CARGO_PKG_VARS (renamed from CARGO_VARS)

  These contain all environment variables to be passed to cargo.

This also:

* Set the CARGO_BUILD_TARGET environment variable instead of using the
  --target command-line option

* Update Python include files to use CARGO_HOST_CONFIG_VARS /
  CARGO_PKG_CONFIG_VARS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
Jeffery To 853c9c9e86
rust: Move CARGO_HOME to $(DL_DIR)/cargo
As CARGO_HOME mainly functions as a download and source cache[1], moving
it into $(DL_DIR) allows it to persist and be reused between different
buildroots/sdks (when DL_DIR is set to a custom/external location).

[1]: https://doc.rust-lang.org/cargo/guide/cargo-home.html

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
Jeffery To 5c5123f0f6
rust: Move cargo config options into environment variables
This also:

* Modify the "release" profile in place of adding the "stripped" profile

  Only the profile for target is modified; there are no file size
  constraints for host.

* For host, build with the "release" profile

* For target, build with either the "dev" or "release" profile based on
  CONFIG_DEBUG

There is no environment variable to specify the "strip" option, but
enabling this option is not necessary as the build system will already
strip binaries based on CONFIG_NO_STRIP / CONFIG_USE_STRIP /
CONFIG_USE_SSTRIP.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:23 +08:00
Jeffery To 49aaf19c65
rust: Install to $(STAGING_DIR)/host
This allows rustc/cargo/etc to be called without having to set PATH, as
$(STAGING_DIR)/host/bin is already in PATH.

This also fixes CARGO_HOME not being set during Host/Configure and
Host/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To 855623d8cc
rust: Improve Host/Install speed
* Compress dist archives with gzip instead of xz; gzip is faster to
  compress and decompress

* Use a for loop instead of calling find to extract archives

* Use libdeflate's gzip to decompress instead of gzip

* Limit search for install scripts to top level of extracted archives

This also runs the install scripts with bash instead of sh, in
accordance with the shebang lines inside the scripts.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To 35768bf31e
rust: Cache bootstrap downloads to $(DL_DIR)/rustc
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To d24095b8fc
rust: Add RUST_HOST_FEATURES for host builds
Features to be enabled for host may not be the same as those for target.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:22 +08:00
Jeffery To a00dae9ed0
rust: Use build host Python
The build system already requires Python to be installed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 15:50:21 +08:00
Michal Hrusecky 5167111691 curl: Update to version 8.4.0
For detailed changes, see https://curl.se/changes.html#8_4_0
Switching to tar.bz2 for the time being as tar.xz is not yet available.
Fixes CVE-2023-38546 and CVE-2023-38545.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2023-10-11 09:17:21 +02:00
Jeffery To 7e8f7b28d7 python-zope-interface: Update to 6.1, refresh patch
This also updates the list of dependencies and adds a test.sh script for
the packages feed CI.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-11 09:09:31 +02:00
Alexandru Ardelean af7a15c905
Merge pull request #22352 from commodo/stress-ng
stress-ng: bump to version 0.17.0
2023-10-11 10:06:53 +03:00
Tianling Shen 93cbaacbfb
Merge pull request #22348 from miska/samba4
samba4: Update to version 4.18.7
2023-10-11 09:50:42 +08:00
Fabian Lipken 325ecf9fac python-pycares: bump to 4.4.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2023-10-11 09:49:14 +08:00
Tianling Shen d2f1665b06
Merge pull request #22343 from jefferyto/python-3.11.6
python3: Update to 3.11.6, refresh patches
2023-10-11 09:48:04 +08:00
Tianling Shen e8597c2a7f
Merge pull request #22345 from muink/patch-1
librespeed-go: Reload the daemon after modifying the tls certificate
2023-10-11 09:40:08 +08:00