blob: 1375128952c9058b634f122d8a31d48ef32930d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
PORTNAME= frp
DISTVERSIONPREFIX= v
DISTVERSION= 0.43.0
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reverse proxy to expose local server behind NAT/firewall to Internet
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/fatedier/frp
GO_TARGET= ./cmd/frpc ./cmd/frps
USER= nobody
SUB_LIST= USER=${USER}
USE_RC_SUBR= ${PORTNAME}s
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/frps.ini ${STAGEDIR}${PREFIX}/etc/frps.ini.sample
.include <bsd.port.mk>
|