void-packages/srcpkgs/frp/template
Olaf Mersmann 87cea437a0 frp: update to 0.34.1.
Closes: #25425 [via git-merge-pr]
2020-10-20 16:18:10 -04:00

22 lines
577 B
Bash

# Template file for 'frp'
pkgname=frp
version=0.34.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=a47f952cc491a1d5d6f838306f221d6a8635db7cf626453df72fe6531613d560
conf_files="/etc/frp/*.ini"
post_install() {
vmkdir etc/frp
vcopy conf/*.ini etc/frp
vsv frpc
vsv frps
}