diff --git a/dns/doggo/Makefile b/dns/doggo/Makefile index 4a1afca2fcb5..6330ef483888 100644 --- a/dns/doggo/Makefile +++ b/dns/doggo/Makefile @@ -1,32 +1,32 @@ PORTNAME= doggo DISTVERSIONPREFIX= v DISTVERSION= 0.5.4 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Modern command-line DNS client (like dig) LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.18,modules GO_MODULE= github.com/mr-karan/doggo GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/fish/completions/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} post-install: # install completions @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/net-im/dendrite/Makefile b/net-im/dendrite/Makefile index 0b0c0c82e9e5..861bb798c036 100644 --- a/net-im/dendrite/Makefile +++ b/net-im/dendrite/Makefile @@ -1,142 +1,142 @@ PORTNAME= dendrite DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 CATEGORIES= net-im MAINTAINER= ashish@FreeBSD.org COMMENT= Matrix protocol homeserver LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.18,modules PLIST_SUB= PORTNAME=${PORTNAME} USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${USERS} DENDRITE_BINS= create-account dendrite-demo-pinecone \ dendrite-demo-yggdrasil dendrite-monolith-server \ dendrite-polylith-multi dendrite-upgrade-tests \ dendritejs-pinecone furl generate-config \ generate-keys resolve-state .for f in ${DENDRITE_BINS} GO_TARGET+= ./cmd/$f:${PREFIX}/dendrite/bin/$f .endfor USE_GITHUB= yes GH_ACCOUNT= matrix-org GH_TUPLE= Arceliar:ironwood:319147a02d98:arceliar_ironwood/vendor/github.com/Arceliar/ironwood \ Arceliar:phony:dde1a8dca979:arceliar_phony/vendor/github.com/Arceliar/phony \ Azure:go-ansiterm:d185dfc1b5a1:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \ HdrHistogram:hdrhistogram-go:v1.1.2:hdrhistogram_hdrhistogram_go/vendor/github.com/HdrHistogram/hdrhistogram-go \ MFAshby:stdemuxerhook:v1.0.0:mfashby_stdemuxerhook/vendor/github.com/MFAshby/stdemuxerhook \ Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \ Microsoft:go-winio:v0.5.1:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ cespare:xxhash:v2.1.2:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ cheekybits:genny:v1.0.0:cheekybits_genny/vendor/github.com/cheekybits/genny \ codeclysm:extract:v2.2.0:codeclysm_extract/vendor/github.com/codeclysm/extract \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ dgraph-io:ristretto:8e850b710d6d:dgraph_io_ristretto/vendor/github.com/dgraph-io/ristretto \ docker:distribution:v2.7.1:docker_distribution/vendor/github.com/docker/distribution \ docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \ docker:go-units:v0.4.0:docker_go_units/vendor/github.com/docker/go-units \ dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ frankban:quicktest:v1.14.3:frankban_quicktest/vendor/github.com/frankban/quicktest \ fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ getsentry:sentry-go:v0.13.0:getsentry_sentry_go/vendor/github.com/getsentry/sentry-go \ go-macaroon:macaroon:v2.1.0:go_macaroon_macaroon/vendor/gopkg.in/macaroon.v2 \ go-task:slim-sprig:348f09dbbbc0:go_task_slim_sprig/vendor/github.com/go-task/slim-sprig \ go-tomb:tomb:dd632973f1e7:go_tomb_tomb/vendor/gopkg.in/tomb.v1 \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ go-yaml:yaml:v3.0.0:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:crypto:793ad666bf5e:golang_crypto/vendor/golang.org/x/crypto \ golang:glog:23def4e6c14b:golang_glog/vendor/github.com/golang/glog \ golang:image:70e8d0d3baa9:golang_image/vendor/golang.org/x/image \ golang:mobile:8578da9835fd:golang_mobile/vendor/golang.org/x/mobile \ golang:mod:9b9b3d81d5e3:golang_mod/vendor/golang.org/x/mod \ golang:net:1bab6f366d9e:golang_net/vendor/golang.org/x/net \ golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sys:bc2c85ada10a:golang_sys/vendor/golang.org/x/sys \ golang:term:065cf7ba2467:golang_term/vendor/golang.org/x/term \ golang:text:5bd84dd9b33b:golang_text/vendor/golang.org/x/text \ golang:time:583f2d630306:golang_time/vendor/golang.org/x/time \ golang:tools:v0.1.10:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ gologme:log:v1.3.0:gologme_log/vendor/github.com/gologme/log \ google:go-cmp:v0.5.8:google_go_cmp/vendor/github.com/google/go-cmp \ google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ gorilla:mux:v1.8.0:gorilla_mux/vendor/github.com/gorilla/mux \ gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ gotestyourself:gotest.tools:v3.0.3:gotestyourself_gotest_tools/vendor/gotest.tools/v3 \ h2non:bimg:v1.1.9:h2non_bimg/vendor/gopkg.in/h2non/bimg.v1 \ h2non:filetype:v1.1.3:h2non_filetype/vendor/github.com/h2non/filetype \ juju:errors:bd733f3c86b9:juju_errors/vendor/github.com/juju/errors \ juju:testing:a0ff61f03494:juju_testing/vendor/github.com/juju/testing \ kardianos:minwinsvc:v1.0.0:kardianos_minwinsvc/vendor/github.com/kardianos/minwinsvc \ klauspost:compress:v1.15.9:klauspost_compress/vendor/github.com/klauspost/compress \ lib:pq:v1.10.5:lib_pq/vendor/github.com/lib/pq \ lucas-clemente:quic-go:v0.28.1:lucas_clemente_quic_go/vendor/github.com/lucas-clemente/quic-go \ marten-seemann:qtls-go1-16:v0.1.5:marten_seemann_qtls_go1_16/vendor/github.com/marten-seemann/qtls-go1-16 \ marten-seemann:qtls-go1-17:v0.1.2:marten_seemann_qtls_go1_17/vendor/github.com/marten-seemann/qtls-go1-17 \ marten-seemann:qtls-go1-18:v0.1.2:marten_seemann_qtls_go1_18/vendor/github.com/marten-seemann/qtls-go1-18 \ marten-seemann:qtls-go1-19:v0.1.0-beta.1:marten_seemann_qtls_go1_19/vendor/github.com/marten-seemann/qtls-go1-19 \ matrix-org:dugong:66e6b1c67e2e:matrix_org_dugong/vendor/github.com/matrix-org/dugong \ matrix-org:go-sqlite3-js:28aa791a1c91:matrix_org_go_sqlite3_js/vendor/github.com/matrix-org/go-sqlite3-js \ matrix-org:gomatrix:be2af5ef2e16:matrix_org_gomatrix/vendor/github.com/matrix-org/gomatrix \ matrix-org:gomatrixserverlib:b6003e522771:matrix_org_gomatrixserverlib/vendor/github.com/matrix-org/gomatrixserverlib \ matrix-org:pinecone:b7a830c08fb9:matrix_org_pinecone/vendor/github.com/matrix-org/pinecone \ matrix-org:util:55161520e1d4:matrix_org_util/vendor/github.com/matrix-org/util \ mattn:go-sqlite3:v1.14.13:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ matttproud:golang_protobuf_extensions:c182affec369:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ miekg:dns:v1.1.49:miekg_dns/vendor/github.com/miekg/dns \ minio:highwayhash:v1.0.2:minio_highwayhash/vendor/github.com/minio/highwayhash \ moby:moby:v20.10.16:moby_moby/vendor/github.com/docker/docker \ moby:term:9d4ed1856297:moby_term/vendor/github.com/moby/term \ morikuni:aec:v1.0.0:morikuni_aec/vendor/github.com/morikuni/aec \ nats-io:jwt:v2.3.0:nats_io_jwt_v2/vendor/github.com/nats-io/jwt \ nats-io:nats-server:903a06a5b4ee:nats_io_nats_server_v2/vendor/github.com/nats-io/nats-server/v2 \ nats-io:nats.go:87bbea85922b:nats_io_nats_go/vendor/github.com/nats-io/nats.go \ nats-io:nkeys:v0.3.0:nats_io_nkeys/vendor/github.com/nats-io/nkeys \ nats-io:nuid:v1.0.1:nats_io_nuid/vendor/github.com/nats-io/nuid \ neilalexander:utp:54ae7b1cd5f9:neilalexander_utp/vendor/github.com/neilalexander/utp \ nfnt:resize:83c6a9932646:nfnt_resize/vendor/github.com/nfnt/resize \ ngrok:sqlmw:97c9c04efc79:ngrok_sqlmw/vendor/github.com/ngrok/sqlmw \ nhooyr:websocket:v1.8.7:nhooyr_websocket/vendor/nhooyr.io/websocket \ nxadm:tail:v1.4.8:nxadm_tail/vendor/github.com/nxadm/tail \ onsi:ginkgo:v1.16.4:onsi_ginkgo/vendor/github.com/onsi/ginkgo \ onsi:gomega:v1.17.0:onsi_gomega/vendor/github.com/onsi/gomega \ opencontainers:go-digest:v1.0.0:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \ opencontainers:image-spec:c5a74bcca799:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \ opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ prometheus:client_golang:v1.12.2:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.32.1:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.7.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ stretchr:objx:v0.2.0:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:v1.7.1:stretchr_testify/vendor/github.com/stretchr/testify \ tidwall:gjson:v1.14.1:tidwall_gjson/vendor/github.com/tidwall/gjson \ tidwall:match:v1.1.1:tidwall_match/vendor/github.com/tidwall/match \ tidwall:pretty:v1.2.0:tidwall_pretty/vendor/github.com/tidwall/pretty \ tidwall:sjson:v1.2.4:tidwall_sjson/vendor/github.com/tidwall/sjson \ uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber:jaeger-client-go:v2.30.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \ uber:jaeger-lib:v2.4.1:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib \ yggdrasil-network:yggdrasil-go:v0.4.3:yggdrasil_network_yggdrasil_go/vendor/github.com/yggdrasil-network/yggdrasil-go post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/dendrite-sample.monolith.yaml ${STAGEDIR}${ETCDIR}/${PORTNAME}.yaml.sample ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile index 36934e351327..12f71a5ca008 100644 --- a/net/cloudflared/Makefile +++ b/net/cloudflared/Makefile @@ -1,25 +1,25 @@ PORTNAME= cloudflared DISTVERSION= 2022.7.1 CATEGORIES= net www MAINTAINER= egypcio@FreeBSD.org COMMENT= Cloudflare's Argo Tunnel client LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss -USES= cpe go:modules +USES= cpe go:1.18,modules USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= cloudflare CPE_VENDOR= cloudflare GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= ${GO_PKGNAME}/cmd/cloudflared GO_BUILDFLAGS+= -ldflags '-s -w -X main.Version=${PORTVERSION}' PLIST_FILES= bin/${PORTNAME} .include diff --git a/net/nncp/Makefile b/net/nncp/Makefile index 1e22baf91b45..a8e92b826bae 100644 --- a/net/nncp/Makefile +++ b/net/nncp/Makefile @@ -1,32 +1,32 @@ PORTNAME= nncp DISTVERSION= 8.7.1 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://www.nncpgo.org/download/ MAINTAINER= stargrave@stargrave.org COMMENT= Utilities for secure store-and-forward files, mail, command exchanging LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -USES= go:modules,no_targets tar:xz +USES= go:1.18,modules,no_targets tar:xz USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} MAKE_ENV= ${GO_ENV} INSTALL_TARGET= install-strip SUB_FILES= pkg-message pkg-install pkg-deinstall INFO= nncp PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS OPTIONS_DEFINE= DOCS post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample .include diff --git a/net/ooni-probe-cli/Makefile b/net/ooni-probe-cli/Makefile index 573971a5b0dc..7adab6d6a2fb 100644 --- a/net/ooni-probe-cli/Makefile +++ b/net/ooni-probe-cli/Makefile @@ -1,22 +1,22 @@ PORTNAME= ooni-probe-cli DISTVERSIONPREFIX= v DISTVERSION= 3.15.3 CATEGORIES= net www benchmarks MAINTAINER= egypcio@FreeBSD.org COMMENT= Next generation OONI Probe CLI LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss -USES= go:modules +USES= go:1.18,modules GO_MODULE= github.com/ooni/probe-cli/v3 GO_TARGET= ./cmd/ooniprobe GO_BUILDFLAGS= -ldflags '-s -w -extldflags "-static"' PLIST_FILES= bin/ooniprobe .include diff --git a/net/storj/Makefile b/net/storj/Makefile index a60c063be791..5e6c629e3f56 100644 --- a/net/storj/Makefile +++ b/net/storj/Makefile @@ -1,29 +1,29 @@ PORTNAME= storj PORTVERSION= 1.59.1 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= danfe@FreeBSD.org COMMENT= Decentralized cloud object storage LICENSE= AGPLv3 -USES= go:modules +USES= go:1.18,modules USE_GITHUB= yes .include "${.CURDIR}/Makefile.deps" STORJ_CMDS= certificates connect-test crashcollect identity inspector \ metabase-orphaned-segments metabase-verify metric-receiver \ multinode nullify-bad-user-agents satellite storagenode \ storagenode-updater \ storj-admin storj-sim uplink versioncontrol GO_TARGET= ${STORJ_CMDS:S,^,./cmd/,} post-stage: # Avoid conflict with `graphics/mesa-demos' @${MV} ${STAGEDIR}${PREFIX}/bin/identity \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-identity .include diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile index 4e5a0d0e7e24..9ab85cf778d9 100644 --- a/net/syncthing/Makefile +++ b/net/syncthing/Makefile @@ -1,57 +1,57 @@ PORTNAME= syncthing PORTVERSION= 1.20.1 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= net MASTER_SITES= https://github.com/syncthing/syncthing/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME}-source-${DISTVERSIONPREFIX}${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= swills@FreeBSD.org COMMENT= Encrypted file sync tool LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE -USES= cpe go:modules +USES= cpe go:1.18,modules USE_RC_SUBR= syncthing syncthing-discosrv syncthing-relaysrv syncthing-relaypoolsrv BINS= syncthing stdiscosrv strelaysrv strelaypoolsrv .for x in ${BINS} PLIST_FILES+= bin/${x} .endfor PORTDOCS= * USERS= syncthing GROUPS= syncthing # Anonymize MAKE_ENV+= BUILD_USER=ports BUILD_HOST=freebsd OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes do-build: @( cd ${WRKSRC}/${PORTNAME} ; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build ; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build stdiscosrv; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build strelaysrv; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${PORTVERSION} -no-upgrade build strelaypoolsrv; \ ) do-install: .for x in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${PREFIX}/bin/ .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in AUTHORS LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 38dfd7bc631f..3bffa8483d17 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,44 +1,44 @@ PORTNAME= traefik PORTVERSION= 2.8.1 CATEGORIES= net MASTER_SITES= LOCAL/riggs/${PORTNAME} MAINTAINER= riggs@FreeBSD.org COMMENT= High availability reverse proxy and load balancer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= go-bindata:devel/go-bindata -USES= cpe go:modules tar:xz +USES= cpe go:1.18,modules tar:xz USE_RC_SUBR= traefik GO_BUILDFLAGS= -ldflags "-s -w \ -X github.com/traefik/traefik/v2/pkg/version.Version=${DISTVERSION} \ -X github.com/traefik/traefik/v2/pkg/version.Codename=portbuild \ -X github.com/traefik/traefik/v2/pkg/version.BuildDate=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" GO_TARGET= ./cmd/traefik CGO_ENABLED= 0 USERS= traefik GROUPS= traefik PLIST_FILES= bin/traefik \ "@sample etc/traefik.toml.sample" \ "@sample etc/traefik.yml.sample" # Preparing the vendor dir for a self-contained tarball now works by just # running 'go generate && go mod vendor' as a user and bundling the resulting # ${WRKSRC}/vendor directory. # Building the UI with node + yarn is no longer necessary. pre-build: cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate post-install: ${INSTALL_DATA} ${WRKSRC}/traefik.sample.toml ${STAGEDIR}${PREFIX}/etc/traefik.toml.sample ${INSTALL_DATA} ${WRKSRC}/traefik.sample.yml ${STAGEDIR}${PREFIX}/etc/traefik.yml.sample .include diff --git a/net/wireproxy/Makefile b/net/wireproxy/Makefile index 4cddc913ec1d..2dfe0c7439c7 100644 --- a/net/wireproxy/Makefile +++ b/net/wireproxy/Makefile @@ -1,20 +1,20 @@ PORTNAME= wireproxy DISTVERSIONPREFIX= v DISTVERSION= 1.0.3 PORTREVISION= 2 CATEGORIES= net MAINTAINER= lwhsu@FreeBSD.org COMMENT= Wireguard client that exposes itself as a socks5 proxy LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.18,modules GO_MODULE= github.com/octeep/wireproxy GO_TARGET= ./cmd/wireproxy PLIST_FILES= bin/wireproxy .include diff --git a/security/acmetool/Makefile b/security/acmetool/Makefile index 138f077d5abc..9c227e7a1356 100644 --- a/security/acmetool/Makefile +++ b/security/acmetool/Makefile @@ -1,63 +1,63 @@ PORTNAME= acmetool DISTVERSIONPREFIX= v DISTVERSION= 0.2.1 PORTREVISION= 4 CATEGORIES= security MAINTAINER= samm@FreeBSD.org COMMENT= CLI tool for automatically acquiring certificates from ACME servers LICENSE= MIT -USES= go +USES= go:1.18 USE_GITHUB= yes GH_ACCOUNT= hlandau GH_SUBDIR= src/github.com/hlandau/acmetool GH_TUPLE= alecthomas:template:fb15b89:template/vendor/github.com/alecthomas/template \ alecthomas:units:f65c72e:units/vendor/github.com/alecthomas/units \ coreos:go-systemd:749ef98:go_systemd/vendor/github.com/coreos/go-systemd \ hlandau:acmetool:f68b275:acme/vendor/github.com/hlandau/acmetool \ hlandau:buildinfo:337a29b:buildinfo/vendor/github.com/hlandau/buildinfo \ hlandau:dexlogconfig:244f29b:dexlogconfig/vendor/github.com/hlandau/dexlogconfig \ hlandau:goutils:0cdb66a:goutils/vendor/github.com/hlandau/goutils \ hlandau:xlog:197ef79:xlog/vendor/github.com/hlandau/xlog \ hlandau:acmeapi:4c466ab:acmeapi/vendor/gopkg.in/hlandau/acmeapi.v2 \ jmhodges:clock:880ee4c:clock/vendor/github.com/jmhodges/clock \ mattn:go-isatty:6ca4dbf:go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-runewidth:a9d6d1e:go_runewidth/vendor/github.com/mattn/go-runewidth \ mitchellh:go-wordwrap:ad45545:go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \ ogier:pflag:45c278a:pflag/vendor/github.com/ogier/pflag \ peterhellberg:link:6d32b8d:link/vendor/github.com/peterhellberg/link \ satori:go.uuid:36e9d2e:go_uuid/vendor/github.com/satori/go.uuid \ shiena:ansicolor:a422bbe:ansicolor/vendor/github.com/shiena/ansicolor \ golang:crypto:91a49db:crypto/vendor/golang.org/x/crypto \ golang:net:22ae77b:net/vendor/golang.org/x/net \ golang:sys:33540a1f6037:sys/vendor/golang.org/x/sys \ golang:text:b7ef84a:text/vendor/golang.org/x/text \ alecthomas:kingpin:947dcec:kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \ cheggaaa:pb:72b9643:pb/vendor/gopkg.in/cheggaaa/pb.v1 \ hlandau:configurable:4149686:configurable/vendor/gopkg.in/hlandau/configurable.v1 \ hlandau:easyconfig:7589cb9:easyconfig/vendor/gopkg.in/hlandau/easyconfig.v1 \ hlandau:service:b64b346:service/vendor/gopkg.in/hlandau/service.v2 \ hlandau:svcutils:c25dac4:svcutils/vendor/gopkg.in/hlandau/svcutils.v1 \ square:go-jose:4ef0f1b:go_jose2/vendor/gopkg.in/square/go-jose.v2 \ square:go-jose:aa2e30f:go_jose/vendor/gopkg.in/square/go-jose.v1 \ tylerb:graceful:4654dfb:graceful/vendor/gopkg.in/tylerb/graceful.v1 \ go-yaml:yaml:7f97868:go_yaml/vendor/gopkg.in/yaml.v2 \ GO_BUILDFLAGS= -ldflags "\ -X github.com/hlandau/acmetool/vendor/github.com/hlandau/acmetool/hooks.DefaultPath=${PREFIX}/libexec/acme/hooks \ -X github.com/hlandau/acmetool/vendor/github.com/hlandau/acmetool/storage.RecommendedPath=/var/db/acme \ -X github.com/hlandau/acmetool/vendor/github.com/hlandau/buildinfo.BuildInfo=${PORTNAME}-v${PORTVERSION}-freebsd-ports" GO_TARGET= ./cmd/acmetool post-build: ${GO_WRKDIR_BIN}/${PORTNAME} --help-man > ${WRKSRC}/${PORTNAME}.8 post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${MKDIR} ${STAGEDIR}/var/db/acme ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/acme/hooks .include diff --git a/security/xray-core/Makefile b/security/xray-core/Makefile index 4a560b20bbe3..a55c2c1a2faa 100644 --- a/security/xray-core/Makefile +++ b/security/xray-core/Makefile @@ -1,70 +1,70 @@ PORTNAME= xray-core DISTVERSIONPREFIX= v DISTVERSION= 1.5.5 PORTREVISION= 2 CATEGORIES= security MAINTAINER= nc@FreeBSD.org COMMENT= Set of network penetration tools LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.18,modules GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= ./main:xray USE_GITHUB= yes GH_ACCOUNT= xtls GH_PROJECT= Xray-core GH_TUPLE= \ cheekybits:genny:v1.0.0:cheekybits_genny/vendor/github.com/cheekybits/genny \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ dgryski:go-metro:adc40b04c140:dgryski_go_metro/vendor/github.com/dgryski/go-metro \ francoispqt:gojay:v1.2.13:francoispqt_gojay/vendor/github.com/francoispqt/gojay \ fsnotify:fsnotify:v1.5.3:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ ghodss:yaml:25d852aebe32:ghodss_yaml/vendor/github.com/ghodss/yaml \ go-task:slim-sprig:348f09dbbbc0:go_task_slim_sprig/vendor/github.com/go-task/slim-sprig \ go-tomb:tomb:dd632973f1e7:go_tomb_tomb/vendor/gopkg.in/tomb.v1 \ go-yaml:yaml:496545a6307b:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:crypto:7b82a4e95df4:golang_crypto/vendor/golang.org/x/crypto \ golang:mock:v1.6.0:golang_mock/vendor/github.com/golang/mock \ golang:mod:9b9b3d81d5e3:golang_mod/vendor/golang.org/x/mod \ golang:net:1d1ef9303861:golang_net/vendor/golang.org/x/net \ golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \ golang:sys:9388b58f7150:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \ golang:tools:v0.1.10:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:2f41105eb62f:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-cmp:v0.5.7:google_go_cmp/vendor/github.com/google/go-cmp \ google:go-genproto:b37d22cd5731:google_go_genproto/vendor/google.golang.org/genproto \ google:starlark-go:d1966c6b9fcd:google_starlark_go/vendor/go.starlark.net \ gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ grpc:grpc-go:v1.46.0:grpc_grpc_go/vendor/google.golang.org/grpc \ h12w:socks:v1.0.3:h12w_socks/vendor/h12.io/socks \ lucas-clemente:quic-go:v0.27.0:lucas_clemente_quic_go/vendor/github.com/lucas-clemente/quic-go \ marten-seemann:qtls-go1-16:v0.1.5:marten_seemann_qtls_go1_16/vendor/github.com/marten-seemann/qtls-go1-16 \ marten-seemann:qtls-go1-17:v0.1.1:marten_seemann_qtls_go1_17/vendor/github.com/marten-seemann/qtls-go1-17 \ marten-seemann:qtls-go1-18:v0.1.1:marten_seemann_qtls_go1_18/vendor/github.com/marten-seemann/qtls-go1-18 \ miekg:dns:v1.1.48:miekg_dns/vendor/github.com/miekg/dns \ nxadm:tail:v1.4.8:nxadm_tail/vendor/github.com/nxadm/tail \ onsi:ginkgo:v1.16.5:onsi_ginkgo/vendor/github.com/onsi/ginkgo \ pelletier:go-toml:v1.9.5:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ pires:go-proxyproto:v0.6.2:pires_go_proxyproto/vendor/github.com/pires/go-proxyproto \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ protocolbuffers:protobuf-go:v1.28.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ refraction-networking:utls:v1.0.0:refraction_networking_utls/vendor/github.com/refraction-networking/utls \ riobard:go-bloom:cdc8013cb5b3:riobard_go_bloom/vendor/github.com/riobard/go-bloom \ seiflotfy:cuckoofilter:e3b120b3f5fb:seiflotfy_cuckoofilter/vendor/github.com/seiflotfy/cuckoofilter \ stretchr:objx:v0.1.0:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:v1.7.1:stretchr_testify/vendor/github.com/stretchr/testify \ v2fly:ss-bloomring:28617310f63e:v2fly_ss_bloomring/vendor/github.com/v2fly/ss-bloomring \ xtls:Go:d4af136d3672:xtls_go/vendor/github.com/xtls/go PLIST_FILES= bin/xray .include diff --git a/sysutils/ipfs-go/Makefile b/sysutils/ipfs-go/Makefile index 17798d287f9b..a76752ab25d1 100644 --- a/sysutils/ipfs-go/Makefile +++ b/sysutils/ipfs-go/Makefile @@ -1,48 +1,48 @@ PORTNAME= ipfs DISTVERSIONPREFIX= v DISTVERSION= 0.13.0 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= -go DISTNAME= go-ipfs-source MAINTAINER= jhixson@FreeBSD.org COMMENT= IPFS implementation in Go LICENSE= MIT APACHE20 LICENSE_COMB= dual LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE -USES= cpe go:modules +USES= cpe go:1.18,modules CPE_VENDOR= protocol GO_TARGET= ./cmd/ipfs:ipfs-go NO_WRKSUBDIR= yes USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= ${FULLNAME} SUB_LIST= IPFS_USER=${IPFS_USER} \ IPFS_GROUP=${IPFS_GROUP} \ IPFS_HOME=${IPFS_HOME} PLIST_SUB= IPFS_USER=${IPFS_USER} \ IPFS_GROUP=${IPFS_GROUP} \ IPFS_HOME=${IPFS_HOME} IPFS_USER?= ${FULLNAME} IPFS_GROUP?= ${FULLNAME} IPFS_HOME?= /var/db/${FULLNAME} USERS= ${IPFS_USER} GROUPS= ${IPFS_GROUP} FULLNAME= ${PORTNAME}${PKGNAMESUFFIX} post-install: @${MKDIR} ${STAGEDIR}${IPFS_HOME} .include diff --git a/sysutils/ipget/Makefile b/sysutils/ipget/Makefile index 959f0140bb85..57259911b621 100644 --- a/sysutils/ipget/Makefile +++ b/sysutils/ipget/Makefile @@ -1,19 +1,19 @@ PORTNAME= ipget DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Retrieve files over IPFS and save them locally LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.18,modules GO_MODULE= github.com/ipfs/ipget PLIST_FILES= bin/${PORTNAME} .include diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile index ca7dbd134b77..db3a367e1d52 100644 --- a/www/adguardhome/Makefile +++ b/www/adguardhome/Makefile @@ -1,55 +1,55 @@ PORTNAME= adguardhome DISTVERSIONPREFIX= v DISTVERSION= 0.107.8 PORTREVISION= 1 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Network-wide ads & trackers blocking DNS server LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss -USES= cpe go:modules +USES= cpe go:1.18,modules GO_MODULE= github.com/AdguardTeam/AdGuardHome GO_BUILDFLAGS= -ldflags="-s -w -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${DISTVERSION}" # workaround for https://github.com/AdguardTeam/AdGuardHome/issues/4774 # to rebuild the deps archives: # 1. set DEV_UPDATE_MODE=yes # 2. make makesum patch build # 3. upload the *-html-build* archives # 4. set DEV_UPDATE_MODE=no # 5. make clean makesum DEV_UPDATE_MODE= no USER= root # it has to run as root because it listens on the privileged DNS port SUB_LIST= USER=${USER} USE_RC_SUBR= ${PORTNAME} CPE_VENDOR= adguard .if (${DEV_UPDATE_MODE} == "yes") BUILD_DEPENDS= npm:www/npm \ yarn:www/yarn do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} js-deps js-build && \ ${TAR} czf ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-build-${DISTVERSION}${EXTRACT_SUFX} build && \ ${TAR} czf ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-build2-${DISTVERSION}${EXTRACT_SUFX} build2 && \ ${ECHO} "Please upload files ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-build-${DISTVERSION}${EXTRACT_SUFX} and ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-build2-${DISTVERSION}${EXTRACT_SUFX}" .else MASTER_SITES= LOCAL/yuri/:deps DISTFILES= ${PORTNAME}-html-build-${DISTVERSION}${EXTRACT_SUFX}:deps \ ${PORTNAME}-html-build2-${DISTVERSION}${EXTRACT_SUFX}:deps pre-build: @${CP} -r ${WRKDIR}/build ${WRKDIR}/build2 ${WRKSRC}/ .endif PLIST_FILES= bin/${PORTNAME} .include