aboutsummaryrefslogtreecommitdiffhomepage
path: root/srcpkgs/wireproxy/template
blob: 546d12c93e82e6e6fc4cc963ea0b7a14097bdf44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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
}