New package: frp-0.16.0

Closes: #11387 [via git-merge-pr]
This commit is contained in:
cr6git 2018-02-04 18:17:12 +01:00 committed by Jürgen Buchmüller
parent ff9c3a1367
commit 3b7e1e029b
3 changed files with 28 additions and 0 deletions

2
srcpkgs/frp/files/frpc/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/frpc -c /etc/frp/frpc.ini

2
srcpkgs/frp/files/frps/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/frps -c /etc/frp/frps.ini

24
srcpkgs/frp/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'frp'
pkgname=frp
version=0.16.0
revision=1
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"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Fast reverse proxy"
homepage="https://github.com/fatedier/frp"
license="Apache-2.0"
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
checksum=b1758493baaa0220d830df623e398efc0555b8934217e62a85722e5d2c9d06a2
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
vlicense LICENSE
vsv frpc
vsv frps
}