Commit Graph

30564 Commits

Author SHA1 Message Date
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
Facundo Acevedo 482e7170e8 procs: Add new package
Procs is a modern, feature-rich alternative to the 'ps' command written in Rust

Signed-off-by: Facundo Acevedo <facevedo@disroot.org>
2023-10-11 09:35:33 +08:00
Philip Prindeville a02cd494e3
Merge pull request #22203 from pprindeville/perl-text-csv_xs-update-1.52
Perl text csv xs update 1.52
2023-10-10 16:02:41 -05:00
Philip Prindeville d359a32d48 perl-text-csv_xs: Update to 1.52
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-10-10 14:44:00 -06:00
Nick Hainke ca057f3e4e kmod: update to 31
Release Notes:
aff617ea87/NEWS (L1)

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-10-10 15:36:55 +02:00
Alexandru Ardelean f4df9c1786 stress-ng: bump to version 0.17.00
Refreshed 001-disable-extra-stressors.patch
Dropped 002-disable-compiler-test.patch
  - no longer needed since commit a24c7f2048

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-10-10 14:14:32 +03:00
Christian Marangi 5b929fde5f
zsh: backport PCRE2 patches and move to it
Backport PCRE2 patches from upstream and move package to PCRE2 library
as PCRE is EOL and won't receive any security update anymore.

Patch are backported with minimal change, only the Changelog change is
commented out as it would conflict and makes no sense to adapt for the
purpose of backport patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-10 12:29:49 +02:00
Nick Hainke 9bd39a33b1 snowflake: update to 2.6.1
Release Notes:
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/tags/v2.6.1

Remove upstreamed patches:
- 0001-Bump-minimum-required-version-of-go.patch
- 0002-Update-dependencies.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-10-10 10:30:28 +02:00
Tianling Shen 503825ef41
cloudreve: Update to 3.8.3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-10 10:30:17 +08:00
Anya Lin fd1d506fff
librespeed-go: Reload the daemon after modifying the tls certificate
Make the daemon reload after the tls certificate is updated

Signed-off-by: Anya Lin <hukk1996@gmail.com>
2023-10-10 09:13:14 +08:00
Michal Hrusecky eb7d756e79
samba4: Update to version 4.18.7
Update to the latest stable version in 4.18 series, for details, see
https://www.samba.org/samba/history/samba-4.18.7.html

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2023-10-09 08:41:46 +02:00
Florian Eckert a2653fe7ca
Merge pull request #22303 from perrin4869/ddns-scripts/add-samples-to-package
ddns-scripts: add samples to package
2023-10-09 08:36:16 +02:00
Sergey Ponomarev 08e3c43607 pppossh: depend on dbclient
The package should not only depend on a package dropbear but on the dbclient.
Otherwise the dbclient may be disabled during compilation and the dependency will be not satisfied.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-10-09 13:54:25 +08:00
Tianling Shen 303f0ad5ed
dnsproxy: Update to 0.56.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-09 11:38:58 +08:00
Tianling Shen 02b723bec3
v2ray-core: Update to 5.8.0
Removed upstreamed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-09 11:38:50 +08:00
Kaveh Dadgar b1fc3754b3 v2ray-geodata: add package v2ray-geosite-ir
"Iran Hosted Domains" is a comprehensive list of Iranian domains and services that are hosted within the country.

Signed-off-by: Kaveh Dadgar <Kavehdadgar666@protonmail.com>
2023-10-09 10:10:25 +08:00
Zephyr Lykos 5cd966ca4f tailscale: Update to 1.50.1
https://github.com/tailscale/tailscale/releases/tag/v1.50.1

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-10-09 10:09:41 +08:00
Oskari Rauta ff93e4a19d cni-protocol: update protocol
Changes to protocol file and it's description.
Works better now and restarts firewall automaticly
when tunnel comes available. More informative/guiding
description.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-10-09 10:09:22 +08:00
Leo Douglas bf7ce353b8 sing-box: update to v1.5.2
* Enable `with_ech` and `with_dhcp`, just like upstream
* See changelog: https://github.com/SagerNet/sing-box/releases/tag/v1.5.2

Signed-off-by: Leo Douglas <douglarek@gmail.com>

sing-box: ShadowsocksR is marked as deprecated since v1.5.0

Signed-off-by: Leo Douglas <douglarek@gmail.com>

sing-box: remove dhcp by default

Signed-off-by: Leo Douglas <douglarek@gmail.com>
2023-10-09 10:09:04 +08:00
Jeffery To 2aba43afe9
python3: Update to 3.11.6, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-09 09:20:50 +08:00
David Bauer a2838a2032 quectel-timesync: add package
This tool allows for acquiring the current time from
the cellular network for configuring the local clock.
Compared to NTP, this has the advantage of nut using up
mobile traffic.

It takes advantage of the AT+QLTS command found on Quectel
modems. This functionality depends on support of the mobile
network.

Compile-tested: ath79-nand
Run-tested: ath79-nand (GL.iNET GL-XE300)

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-10-09 00:45:06 +02:00
Stijn Tintel af48372e37 kea: bump to 2.4.0
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-10-08 14:19:18 -07:00
Stijn Tintel 58558c8834 kea: bump to 2.2.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-10-08 14:19:18 -07:00
David Bauer 3f7f33d8be cudy-bdinfo: add package
This program can be used to obtain information stored on the bdinfo
parition found on routers from Shenzhen Cudy Technology.

While this tool is not necessary for operation with OpenWrt, it can be
helpful to decrypt information generated by the stock firmware as well
as to obtain additional device-specific information.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-10-08 23:11:29 +02:00
Nuno Gonçalves 597df3585f esp2net: add Espressif ESP chip USB-Network proxy
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
2023-10-08 17:40:50 +01:00
Glenn Strauss 3e9b2d85f0 lighttpd: update to lighttpd 1.4.72 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-10-08 20:41:16 +08:00
Jianhui Zhao e65aed298c lua-eco: update to 3.0.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-10-08 14:08:00 +03:00
Olivier Poitrey 4e0d43a8d9 nextdns: Update to version 1.41.0
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2023-10-08 14:06:57 +03:00
Sergey Ponomarev fdaf530950 sshtunnel: update version to 5.1
Make it depends on ether Dropbear dbclient or OpenSSH client

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-10-08 10:29:37 +01:00
Sergey Ponomarev 1a92dbcf32 sshtunnel: allow empty port and user
A user may have some host configured in the .ssh/config with user and port.
But we anyway have to specify them in the sshtunnel.
The change fixes this

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-10-08 10:29:37 +01:00