blob: 8954258f75c267c6f6a87d7cab2b051e5c8a4ebf (
plain)
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
|
PORTNAME= nextdns
PORTVERSION= 1.37.11
DISTVERSIONPREFIX= v
PORTREVISION= 5
CATEGORIES= dns security
MAINTAINER= rs@nextdns.io
COMMENT= NextDNS DNS53 to DNS over HTTPS proxy
WWW= https://github.com/nextdns/nextdns
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>=3.35:security/ca_root_nss
USES= go:modules
USE_GITHUB= yes
GH_TUPLE= \
cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \
denisbrodbeck:machineid:v1.0.1:denisbrodbeck_machineid/vendor/github.com/denisbrodbeck/machineid \
golang:net:60bc85c4be6d:golang_net/vendor/golang.org/x/net \
golang:sys:63515b42dcdf:golang_sys/vendor/golang.org/x/sys \
hashicorp:golang-lru:v0.5.4:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \
vishvananda:netlink:v1.1.0:vishvananda_netlink/vendor/github.com/vishvananda/netlink \
vishvananda:netns:2eb08e3e575f:vishvananda_netns/vendor/github.com/vishvananda/netns
GO_TARGET= .:${PREFIX}/sbin/${PORTNAME}
SUB_FILES= pkg-message
PLIST_FILES= sbin/${PORTNAME} \
"@sample etc/${PORTNAME}.conf.sample"
post-install:
@${STAGEDIR}${PREFIX}/sbin/${PORTNAME} config > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>
|