blob: f40aaac765796e130a8670468a6962e4dc6a48c3 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
PORTNAME= spoofdpi
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.0
PORTREVISION= 9
CATEGORIES= net
MAINTAINER= nxjoseph@protonmail.com
COMMENT= Simple and fast anti-censorship tool
WWW= https://github.com/xvzc/SpoofDPI
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= xvzc
GH_PROJECT= SpoofDPI
GH_TUPLE= atomicgo:cursor:v0.2.0:atomicgo_cursor/vendor/atomicgo.dev/cursor \
atomicgo:keyboard:v0.2.9:atomicgo_keyboard/vendor/atomicgo.dev/keyboard \
atomicgo:schedule:v0.1.0:atomicgo_schedule/vendor/atomicgo.dev/schedule \
containerd:console:v1.0.3:containerd_console/vendor/github.com/containerd/console \
golang:mod:v0.18.0:golang_mod/vendor/golang.org/x/mod \
golang:net:v0.27.0:golang_net/vendor/golang.org/x/net \
golang:sync:v0.7.0:golang_sync/vendor/golang.org/x/sync \
golang:sys:v0.22.0:golang_sys/vendor/golang.org/x/sys \
golang:term:v0.22.0:golang_term/vendor/golang.org/x/term \
golang:text:v0.16.0:golang_text/vendor/golang.org/x/text \
golang:tools:v0.22.0:golang_tools/vendor/golang.org/x/tools \
gookit:color:v1.5.4:gookit_color/vendor/github.com/gookit/color \
lithammer:fuzzysearch:v1.1.8:lithammer_fuzzysearch/vendor/github.com/lithammer/fuzzysearch \
mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.19:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
miekg:dns:v1.1.61:miekg_dns/vendor/github.com/miekg/dns \
pterm:pterm:v0.12.79:pterm_pterm/vendor/github.com/pterm/pterm \
rivo:uniseg:v0.4.4:rivo_uniseg/vendor/github.com/rivo/uniseg \
rs:zerolog:v1.33.0:rs_zerolog/vendor/github.com/rs/zerolog \
xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo
USE_RC_SUBR= ${PORTNAME}
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags="-s -w"
SUB_LIST= USER=${USERS}
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|