mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
wstunnel: update to 9.0.0
This commit is contained in:
parent
30e81fff78
commit
dfdcdcda96
3 changed files with 3 additions and 32 deletions
|
@ -1,16 +0,0 @@
|
||||||
# set_modified was stablilized in Rust 1.75, discard this patch once we've updated
|
|
||||||
diff --git a/src/tunnel/tls_reloader.rs b/src/tunnel/tls_reloader.rs
|
|
||||||
index 47ae5709bce..e08ab9d4bef 100644
|
|
||||||
--- a/src/tunnel/tls_reloader.rs
|
|
||||||
+++ b/src/tunnel/tls_reloader.rs
|
|
||||||
@@ -86,10 +86,6 @@ impl TlsReloader {
|
|
||||||
let Ok(file) = File::open(&path) else {
|
|
||||||
return;
|
|
||||||
};
|
|
||||||
- let _ = file.set_modified(SystemTime::now()).map_err(|err| {
|
|
||||||
- error!("Cannot force reload TLS file {:?}: {:?}", path, err);
|
|
||||||
- error!("Old certificate will be used until the next change");
|
|
||||||
- });
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
# Upstream: https://github.com/erebe/wstunnel/commit/16368f4f6136442e06cfcaf2b672e72839fb4163
|
|
||||||
diff --git a/src/tcp.rs b/src/tcp.rs
|
|
||||||
index d064374..64af98c 100644
|
|
||||||
--- a/src/tcp.rs
|
|
||||||
+++ b/src/tcp.rs
|
|
||||||
@@ -233,6 +233,7 @@ mod tests {
|
|
||||||
1236,
|
|
||||||
None,
|
|
||||||
Duration::from_secs(1),
|
|
||||||
+ &DnsResolver::System,
|
|
||||||
)
|
|
||||||
.await
|
|
||||||
.unwrap();
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'wstunnel'
|
# Template file for 'wstunnel'
|
||||||
pkgname=wstunnel
|
pkgname=wstunnel
|
||||||
version=8.5.4
|
version=9.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
make_check_args="-- --skip tcp::tests::test_proxy_connection" # test requires docker
|
make_check_args="-- --skip tcp::tests::test_proxy_connection" # test requires docker
|
||||||
|
@ -8,8 +8,9 @@ short_desc="Tunnel traffic over websocket protocol"
|
||||||
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/erebe/wstunnel"
|
homepage="https://github.com/erebe/wstunnel"
|
||||||
|
changelog="https://github.com/erebe/wstunnel/releases"
|
||||||
distfiles="https://github.com/erebe/wstunnel/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/erebe/wstunnel/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=ae0d6268660925d2a8a89896afba13fa1f1616b0308c7aa34546c85dbc224a81
|
checksum=75ac24ed8aa31e6ec6d24ddb15b7c4f4b099985a74723b30a7504da10811b462
|
||||||
make_check=ci-skip # remaining tests require port binding which can't be done in CI
|
make_check=ci-skip # remaining tests require port binding which can't be done in CI
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue