blob: 386d4ae262cc4f9ec232c59dbfbdca8d97b370fe (
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
26
|
PORTNAME= frp
DISTVERSIONPREFIX= v
DISTVERSION= 0.45.0
PORTREVISION= 4
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reverse proxy to expose local server behind NAT/firewall to Internet
WWW= https://github.com/fatedier/frp
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>
|