22 lines
577 B
Bash
22 lines
577 B
Bash
# Template file for 'frp'
|
|
pkgname=frp
|
|
version=0.29.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/fatedier/frp
|
|
go_package="${go_import_path}/cmd/frpc ${go_import_path}/cmd/frps"
|
|
short_desc="Fast reverse proxy"
|
|
maintainer="Anachron <gith@cron.world>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/fatedier/frp"
|
|
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
|
|
checksum=ac95f0b204da2fa1116ce0f30c3caa46a2fa280bce0cb91e8f46690b065e5665
|
|
|
|
conf_files="/etc/frp/*.ini"
|
|
|
|
post_install() {
|
|
vmkdir etc/frp
|
|
vcopy conf/*.ini etc/frp
|
|
vsv frpc
|
|
vsv frps
|
|
}
|