2025-03-12 19:15:36 +00:00

27 lines
700 B
Bash

# Template file for 'frp'
pkgname=frp
version=0.61.2
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=19600d944e05f7ed95bac53c18cbae6ce7eff859c62b434b0c315ca72acb1d3c
# disable for now, errors out with
# load frpc-path error: stat ../../bin/frpc: no such file or directory
make_check=no
conf_files="/etc/frp/*.toml"
post_install() {
vmkdir etc/frp
vcopy conf/*.toml etc/frp
vsv frpc
vsv frps
}