2018-02-04 18:17:12 +01:00
|
|
|
# Template file for 'frp'
|
|
|
|
pkgname=frp
|
2018-06-21 08:58:48 +02:00
|
|
|
version=0.20.0
|
|
|
|
revision=1
|
2018-02-04 18:17:12 +01:00
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/fatedier/frp"
|
|
|
|
go_package="${go_import_path}/cmd/frpc ${go_import_path}/cmd/frps"
|
|
|
|
conf_files="/etc/frp/*.ini"
|
|
|
|
short_desc="Fast reverse proxy"
|
2018-06-21 08:58:48 +02:00
|
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
2018-02-04 18:17:12 +01:00
|
|
|
license="Apache-2.0"
|
2018-06-21 08:58:48 +02:00
|
|
|
homepage="https://github.com/fatedier/frp"
|
2018-02-04 18:17:12 +01:00
|
|
|
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
|
2018-06-21 08:58:48 +02:00
|
|
|
checksum=17219fcdde776c87b79848dcae5aba5beb9ccc2a512d7d2ff811c901611a696e
|
2018-02-04 18:17:12 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall conf/frpc_full.ini 644 etc/frp
|
|
|
|
vinstall conf/frps_full.ini 644 etc/frp
|
|
|
|
vinstall conf/frpc.ini 644 etc/frp
|
|
|
|
vinstall conf/frps.ini 644 etc/frp
|
|
|
|
vsv frpc
|
|
|
|
vsv frps
|
|
|
|
}
|