New package: wireproxy-1.0.1
This commit is contained in:
parent
7518dbb16a
commit
ba082a801e
2 changed files with 31 additions and 0 deletions
7
srcpkgs/wireproxy/files/wireproxy/run
Normal file
7
srcpkgs/wireproxy/files/wireproxy/run
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
export HOME=/var/lib/wireproxy
|
||||||
|
|
||||||
|
exec chpst -u _wireproxy wireproxy --config ${CONFFILE:-/etc/wireproxy/config}
|
24
srcpkgs/wireproxy/template
Normal file
24
srcpkgs/wireproxy/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'wireproxy'
|
||||||
|
pkgname=wireproxy
|
||||||
|
version=1.0.1
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path="github.com/octeep/wireproxy"
|
||||||
|
go_package="${go_import_path}/cmd/wireproxy"
|
||||||
|
short_desc="Wireguard client that exposes itself as a socks5 proxy"
|
||||||
|
maintainer="Wind Wong <octeep@pm.me>"
|
||||||
|
license="ISC"
|
||||||
|
homepage="https://github.com/octeep/wireproxy"
|
||||||
|
distfiles="https://github.com/octeep/wireproxy/archive/v${version}.tar.gz"
|
||||||
|
checksum=e21eac22ef1b12dc2d7b3e5b58dcff183af9c1547be3e55a7e6c71394f053e1e
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue