wstunnel/package.yml
2025-05-16 03:16:29 +03:00

28 lines
1.3 KiB
YAML

name : wstunnel
version : 10.3.0
release : 6
source :
- https://github.com/erebe/wstunnel/archive/refs/tags/v10.3.0.tar.gz : ede8dfb23fbab3ed5090a256ea79290c036b04e3312b8ad487d47bc5e71ff570
homepage : https://github.com/erebe/wstunnel
license : BSD-3-Clause
component : network.util
summary : Tunnel all your traffic over websocket protocol - Bypass firewalls/DPI
description: |
Wstunnel uses the websocket protocol which is compatible with http in order to bypass firewalls and proxies. Wstunnel allows you to tunnel whatever traffic you want and access whatever resources/site you need.
builddeps :
- rust
networking : yes
setup : |
%cargo_fetch
build : |
%cargo_build --package wstunnel-cli
install : |
%cargo_install
install -Dm00644 $pkgfiles/wstunnel-client.service $installdir/%libdir%/systemd/system/wstunnel-client.service
install -Dm00644 $pkgfiles/wstunnel-server.service $installdir/%libdir%/systemd/system/wstunnel-server.service
install -Dm00644 $pkgfiles/wstunnel.conf $installdir/usr/share/defaults/etc/wstunnel/wstunnel.conf
install -Dm00755 $pkgfiles/wstunnel-client $installdir/usr/bin/wstunnel-client
install -Dm00755 $pkgfiles/wstunnel-server $installdir/usr/bin/wstunnel-server