void-packages/srcpkgs/wireproxy/template
2025-02-21 17:43:59 +01:00

25 lines
781 B
Bash

# Template file for 'wireproxy'
pkgname=wireproxy
version=1.0.10
revision=1
build_style=go
go_import_path="github.com/pufferffish/wireproxy"
go_package="${go_import_path}/cmd/wireproxy"
go_ldflags="-X 'main.version=${version}'"
short_desc="Wireguard client that exposes itself as a SOCKS5 proxy"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://github.com/pufferffish"
distfiles="https://github.com/pufferffish/wireproxy/archive/refs/tags/v${version}.tar.gz"
checksum=3e08e79e3c1b66b7e129426dc6e84b93a1fb3827edde96d85bbf863a5a66c8ff
make_dirs="
/etc/wireproxy 0750 root _wireproxy
/var/lib/wireproxy 0700 _wireproxy _wireproxy"
system_accounts="_wireproxy"
_wireproxy_homedir="/var/lib/wireproxy"
post_install() {
vsv wireproxy
vlicense LICENSE
}