Files
Aaron Madlon-KayandAaron Madlon-Kay 0a9437e290 golang ports: specify github.tarball_from archive in portgroup
For the main distfile only. Vendors will need a bigger, separate migration.

Ports that don't specify are set to `tarball`.
2025-03-07 07:03:15 +09:00

82 lines
3.5 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/nextdns/nextdns 1.43.5 v
# Delete this on next update to use golang PortGroup's default ('archive')
github.tarball_from tarball
revision 0
categories net sysutils
maintainers nomaintainer
license MIT
homepage https://nextdns.io
description NextDNS CLI client
long_description NextDNS protects you from all kinds of security threats, \
blocks ads and trackers on websites and in apps and provides \
a safe and supervised Internet for kids on all devices and on \
all networks.
checksums ${distname}${extract.suffix} \
rmd160 bf0b31f634a8673a4323d50e8115a1feb834bdec \
sha256 712c86463c64a17dae22efb8fa7fb0d04f2c01d740fb03fe05b6849a5984372c \
size 201541
go.vendors golang.org/x/sys \
lock v0.19.0 \
rmd160 b8d5c2b9cfad17163b4f700b771438ccf303248a \
sha256 d66ea87fcd714685af230190cddc8a9de6343f1d0ab83a3688f6a4189c7ab478 \
size 1449936 \
golang.org/x/net \
lock v0.24.0 \
rmd160 6807b3cdfc1c32af42a5cd90300a3df39cd47ca1 \
sha256 4a4da64294973ffabff518ec5d4cf49dac16c1d7075a41887c163861d40ad762 \
size 1509202 \
github.com/spaolacci/murmur3 \
lock f09979ecbc72 \
rmd160 53215abb0d59b6c64e926e90fb33da1906a1a525 \
sha256 54d6a3300600dd2f5e444f6d19fe1f91e1174329cdfff1d50dae837689214a68 \
size 7396 \
github.com/hashicorp/golang-lru \
lock v1.0.2 \
rmd160 fb377c61169fbae9e49e879d0839886ee6668aab \
sha256 37ae3b7e8ac550bc8881281d881f19e7066df477cbd3e4fe5bc8ce340f9bd9ab \
size 14464 \
github.com/denisbrodbeck/machineid \
lock v1.0.1 \
rmd160 c782c29a666ff8e4ad93945389ca9c395754c2c4 \
sha256 98e4169e90ef7e087d47c2620f94aba71f2087f41f64d85509570c2161e85101 \
size 27812 \
github.com/cespare/xxhash \
lock v1.1.0 \
rmd160 881eb63e94fa02d315ee4b023a35832a3d67d672 \
sha256 509b8d4670440aa84dc4e902ed5ca2f9109bf65af830a062da91d23a007fe2e0 \
size 8208 \
github.com/OneOfOne/xxhash \
lock v1.2.2 \
rmd160 35e2c7b623c069fc08aec00990ca5c82ad831a22 \
sha256 e6a73b9f6acc9b361ea77edcb6f29103e96ac0c623c6d2882909698180e54694 \
size 13444
build.args -ldflags="-X main.version=${version}"
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
notes "
Install the nextdns daemon with
sudo nextdns install \
-config <your config id> \
-report-client-info \
-auto-activate
Configure the daemon with
sudo nextdns config
"