diff --git a/devel/cirrus-cli/Makefile b/devel/cirrus-cli/Makefile index 42ecffb3daea..025a8a1afb1c 100644 --- a/devel/cirrus-cli/Makefile +++ b/devel/cirrus-cli/Makefile @@ -1,29 +1,29 @@ PORTNAME= cirrus-cli DISTVERSIONPREFIX= v DISTVERSION= 0.158.0 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Command line interface for Cirrus CI WWW= https://github.com/cirruslabs/cirrus-cli LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:1.25,modules +USES= go:1.25+,modules USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/cirruslabs/cirrus-cli GO_TARGET= ./cmd/cirrus GO_BUILDFLAGS= -ldflags="-X github.com/cirruslabs/cirrus-cli/internal/version.Version=${DISTVERSION}" SUB_FILES= pkg-message USERS= cirrus GROUPS= cirrus post-install: ${INSTALL_DATA} ${FILESDIR}/cirrus-worker.yml ${STAGEDIR}${PREFIX}/etc/cirrus-worker.yml.sample .include diff --git a/devel/go-tools/Makefile b/devel/go-tools/Makefile index 899fb4a83e97..ca85cf5b1a56 100644 --- a/devel/go-tools/Makefile +++ b/devel/go-tools/Makefile @@ -1,53 +1,53 @@ PORTNAME= tools DISTVERSIONPREFIX= v DISTVERSION= 0.40.0 PORTEPOCH= 1 CATEGORIES= devel PKGNAMEPREFIX= go- MAINTAINER= fuz@FreeBSD.org COMMENT= Go Tools WWW= https://godoc.org/golang.org/x/tools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.24 +USES= go:1.24+,modules GO_MODULE= golang.org/x/tools GO_TARGET= ./cmd/bisect \ ./cmd/bundle \ ./cmd/callgraph \ ./cmd/compilebench \ ./cmd/deadcode \ ./cmd/digraph \ ./cmd/eg \ ./cmd/file2fuzz \ ./cmd/fiximports \ ./cmd/go-contrib-init \ ./cmd/godex \ ./cmd/goimports \ ./cmd/gomvpkg \ ./cmd/gonew \ ./cmd/gotype \ ./cmd/goyacc \ ./cmd/html2article \ ./cmd/present \ ./cmd/present2md \ ./cmd/signature-fuzzer/fuzz-driver \ ./cmd/signature-fuzzer/fuzz-runner \ ./cmd/splitdwarf \ ./cmd/ssadump \ ./cmd/stress \ ./cmd/stringer \ ./cmd/toolstash CONFLICTS_INSTALL= easygit rubygem-bundler PLIST_FILES= ${GO_TARGET:T:S,^,bin/,} OPTIONS_DEFINE= RARE RARE_DESC= install rarely used tools RARE_VARS= GO_TARGET+=" \ ./cmd/benchcmp .include diff --git a/dns/cli53/Makefile b/dns/cli53/Makefile index dd68d42d511d..04dcc9715404 100644 --- a/dns/cli53/Makefile +++ b/dns/cli53/Makefile @@ -1,19 +1,19 @@ PORTNAME= cli53 DISTVERSIONPREFIX= v DISTVERSION= 0.8.25 PORTREVISION= 1 CATEGORIES= dns MAINTAINER= meta@FreeBSD.org COMMENT= Command line tool for Amazon Route 53 WWW= https://github.com/barnybug/cli53 LICENSE= MIT -USES= go:modules,1.23 +USES= go:modules GO_MODULE= github.com/barnybug/${PORTNAME} GO_TARGET= ./cmd/cli53 PLIST_FILES= bin/cli53 .include diff --git a/dns/dnsx/Makefile b/dns/dnsx/Makefile index 096eb4a191f6..3a831e124893 100644 --- a/dns/dnsx/Makefile +++ b/dns/dnsx/Makefile @@ -1,19 +1,19 @@ PORTNAME= dnsx DISTVERSIONPREFIX= v DISTVERSION= 1.2.3 CATEGORIES= dns MAINTAINER= dutra@FreeBSD.org COMMENT= DNS toolkit allow to run multiple DNS queries WWW= https://github.com/projectdiscovery/dnsx LICENSE= MIT -USES= go:1.24,modules +USES= go:1.24+,modules GO_MODULE= github.com/projectdiscovery/dnsx GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/net-im/gomuks/Makefile b/net-im/gomuks/Makefile index 43096c82b72a..db2e6f0d4ee2 100644 --- a/net-im/gomuks/Makefile +++ b/net-im/gomuks/Makefile @@ -1,38 +1,38 @@ PORTNAME= gomuks DISTVERSION= 25.12 CATEGORIES= net-im MAINTAINER= ports@FreeBSD.org COMMENT= Terminal Matrix client written in Go WWW= https://github.com/gomuks/gomuks LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libolm.so:security/olm RUN_DEPENDS= ffmpeg:multimedia/ffmpeg -USES= go:1.25,modules +USES= go:1.25+,modules GO_MODULE_VER= 0.${DISTVERSION:C/\.//}.0 GO_MODULE= go.mau.fi/gomuks@v${GO_MODULE_VER} MAKE_ENV+= BINARY_NAME=${PORTNAME} \ CGO_CFLAGS="-I${LOCALBASE}/include" \ CGO_ENABLED=1 \ CGO_LDFLAGS="-L${LOCALBASE}/lib" \ MAU_VERSION_PACKAGE=${GO_MODNAME}/version PLIST_FILES= bin/gomuks pre-build: ${MKDIR} ${WRKSRC}/web/dist/ ${TOUCH} ${WRKSRC}/web/dist/empty do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_CMD} tool maubuild do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/net-mgmt/victoria-logs/Makefile b/net-mgmt/victoria-logs/Makefile index 5803573b6dd9..40d78b7e8da3 100644 --- a/net-mgmt/victoria-logs/Makefile +++ b/net-mgmt/victoria-logs/Makefile @@ -1,51 +1,51 @@ PORTNAME= victoria-logs PORTVERSION= 1.43.1 DISTVERSIONPREFIX= v CATEGORIES= net-mgmt MAINTAINER= samm@FreeBSD.org COMMENT= Fast and easy-to-use, open source logs solution WWW= https://victoriametrics.com/products/victorialogs/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake go:modules,1.25,no_targets +USES= gmake go:1.25+,modules,no_targets GO_MODULE= github.com/VictoriaMetrics/VictoriaLogs USE_RC_SUBR?= ${PORTNAME} MAKE_ENV= PKG_TAG=v${PORTVERSION} GOOS=${OPSYS:tl} \ BUILDINFO_TAG=tags-v${PORTVERSION}-victorialogs \ DATEINFO_TAG=${_GET_DATE:sh} GOFLAGS=-buildvcs=false ALL_TARGET= ${PORTNAME}-pure vlogscli-pure vmalert-pure USERS= victoria-logs GROUPS= victoria-logs VICTORIA_DATA?= /var/db/victoria-logs SUB_LIST+= VICTORIA_DATA=${VICTORIA_DATA} \ VICTORIA_USER=${USERS} PLIST_SUB+= VICTORIA_DATA=${VICTORIA_DATA} \ VICTORIA_GROUP=${GROUPS} \ VICTORIA_USER=${USERS} OPTIONS_DEFINE= DOCS .if !defined(MASTERDIR) do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/${PORTNAME}-pure \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/vlogscli-pure \ ${STAGEDIR}${PREFIX}/bin/vlogscli @${MKDIR} ${STAGEDIR}${VICTORIA_DATA} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${INSTALL_WRKSRC}/docs/victorialogs/* ${STAGEDIR}${DOCSDIR} .endif .include _GET_DATE= TZ= ${STAT} -f %Sm -t %Y%m%d-%H%M%S ${WRKSRC}/.gitignore diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index e6e895f5a17d..72a7041e6df8 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,48 +1,48 @@ PORTNAME= boringssl PORTVERSION= 0.20251124.0 PORTREVISION= 1 CATEGORIES= security EXTRACT_ONLY= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}_GH0.tar.gz MAINTAINER= osa@FreeBSD.org COMMENT= Fork of OpenSSL WWW= https://boringssl.googlesource.com/boringssl/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake:insource cpe go:no_targets,1.24 localbase perl5 +USES= cmake:insource cpe go:1.24+,no_targets localbase perl5 CONFLICTS_INSTALL= libressl libressl-devel openssl openssl111 \ openssl3[23456] openssl-quictls openssl33-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1 CFLAGS_i386= -msse2 USE_LDCONFIG= yes LDFLAGS+= -Wl,-rpath,${LOCALBASE}/lib TEST_TARGET= run_tests MAKE_ENV+= GOFLAGS=-mod=readonly \ GOPROXY=file://${DISTDIR} .include .if ${.TARGETS} == "makesum" || ${.TARGETS} == "test" MASTER_SITES+= https://proxy.golang.org/:gomods DISTFILES+= filippo.io/edwards25519/@v/v1.1.0.zip:gomods \ filippo.io/edwards25519/@v/v1.1.0.mod:gomods \ golang.org/x/crypto/@v/v0.37.0.zip:gomods \ golang.org/x/crypto/@v/v0.37.0.mod:gomods \ golang.org/x/sys/@v/v0.32.0.zip:gomods \ golang.org/x/sys/@v/v0.32.0.mod:gomods .endif post-install: ${LN} -sf libcrypto.so.1 ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1.0.0 ${LN} -sf libssl.so.1 ${STAGEDIR}${PREFIX}/lib/libssl.so.1.0.0 .include diff --git a/security/xhash/Makefile b/security/xhash/Makefile index 6e41929b4062..853828967dc2 100644 --- a/security/xhash/Makefile +++ b/security/xhash/Makefile @@ -1,33 +1,33 @@ PORTNAME= xhash DISTVERSIONPREFIX= v DISTVERSION= 3.6.3 PORTREVISION= 9 CATEGORIES= security MAINTAINER= rbranco@suse.com COMMENT= Calculate hashes on files using goroutines WWW= https://github.com/ricardobranco777/xhash/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.24 +USES= go:1.24+,modules USE_GITHUB= yes GH_ACCOUNT= ricardobranco777 GH_TUPLE= golang:crypto:v0.37.0:golang_crypto/vendor/golang.org/x/crypto \ golang:sync:v0.13.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.32.0:golang_sys/vendor/golang.org/x/sys \ klauspost:cpuid:v2.0.12:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \ spf13:pflag:v1.0.6:spf13_pflag/vendor/github.com/spf13/pflag \ zeebo:blake3:v0.2.4:zeebo_blake3/vendor/github.com/zeebo/blake3 PLIST_FILES= bin/xhash \ share/man/man1/xhash.1.gz post-extract: @${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor post-install: ${INSTALL_MAN} ${WRKSRC}/xhash.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/sysutils/buildah/Makefile b/sysutils/buildah/Makefile index fc8217d3a861..90ef4fa97b20 100644 --- a/sysutils/buildah/Makefile +++ b/sysutils/buildah/Makefile @@ -1,29 +1,29 @@ PORTNAME= buildah DISTVERSIONPREFIX= v DISTVERSION= 1.42.2 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Manage Pods, Containers and Container Images WWW= https://buildah.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= as:devel/binutils \ bash:shells/bash \ go-md2man:textproc/go-md2man \ gsed:textproc/gsed LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= containernetworking-plugins>=0:net/containernetworking-plugins \ containers-common>=0:sysutils/containers-common \ ocijail:sysutils/ocijail -USES= gmake go:no_targets,1.24 pkgconfig +USES= gmake go:1.24+,no_targets pkgconfig USE_GITHUB= yes GH_ACCOUNT= containers GH_PROJECT= buildah INSTALL_TARGET= install install.completions .include diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile index 64f89bff40c0..c5f2c7963457 100644 --- a/sysutils/podman/Makefile +++ b/sysutils/podman/Makefile @@ -1,35 +1,35 @@ PORTNAME= podman DISTVERSIONPREFIX= v DISTVERSION= 5.7.1 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Manage Pods, Containers and Container Images WWW= https://podman.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ ggrep:textproc/gnugrep \ go-md2man:textproc/go-md2man \ gsed:textproc/gsed LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= conmon:sysutils/conmon \ containernetworking-plugins>=0:net/containernetworking-plugins \ containers-common>=0:sysutils/containers-common \ ocijail:sysutils/ocijail -USES= gmake go:no_targets,1.24 pkgconfig python:build shebangfix +USES= gmake go:1.24+,no_targets pkgconfig python:build shebangfix USE_RC_SUBR= podman podman_service SHEBANG_FILES= ${WRKSRC}/hack/markdown-preprocess MAKE_ARGS= SHELL=${LOCALBASE}/bin/bash USE_GITHUB= yes GH_ACCOUNT= containers GH_PROJECT= podman INSTALL_TARGET= install install.completions .include diff --git a/sysutils/skopeo/Makefile b/sysutils/skopeo/Makefile index 04fd80f691d9..73e01f42c95b 100644 --- a/sysutils/skopeo/Makefile +++ b/sysutils/skopeo/Makefile @@ -1,30 +1,30 @@ PORTNAME= skopeo DISTVERSIONPREFIX= v DISTVERSION= 1.21.0 CATEGORIES= sysutils MAINTAINER= dfr@FreeBSD.org COMMENT= Inspect container images and repositories on registries WWW= https://github.com/containers/skopeo LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ curl:ftp/curl \ go-md2man:textproc/go-md2man LIB_DEPENDS= libgpgme.so:security/gpgme RUN_DEPENDS= ${LOCALBASE}/etc/containers/containers.conf.sample:sysutils/containers-common -USES= gmake go:modules,no_targets,1.24 pkgconfig +USES= gmake go:1.24+,modules,no_targets pkgconfig USE_GITHUB= yes GH_ACCOUNT= containers do-install: ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} -C ${WRKSRC} \ DESTDIR=${STAGEDIR} GOCACHE=${TMPDIR} \ GO=${GO_CMD} install-binary install-docs install-completions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/containers/registries.d ${INSTALL_DATA} ${WRKSRC}/default.yaml ${STAGEDIR}${PREFIX}/etc/containers/registries.d/default.yaml .include diff --git a/sysutils/superfile/Makefile b/sysutils/superfile/Makefile index 5cfc9afa6107..e9427b68aba3 100644 --- a/sysutils/superfile/Makefile +++ b/sysutils/superfile/Makefile @@ -1,24 +1,24 @@ PORTNAME= superfile DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= sysutils MAINTAINER= fuz@FreeBSD.org COMMENT= Terminal file manager WWW= https://github.com/MHNightCat/superfile LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.25 +USES= go:1.25+,modules GO_MODULE= github.com/MHNightCat/superfile PLIST_FILES= bin/superfile bin/spf post-install: ${LN} ${STAGEDIR}${PREFIX}/bin/superfile ${STAGEDIR}${PREFIX}/bin/spf .include diff --git a/textproc/codesearch/Makefile b/textproc/codesearch/Makefile index caf044aa1caf..554b13a53bd4 100644 --- a/textproc/codesearch/Makefile +++ b/textproc/codesearch/Makefile @@ -1,26 +1,26 @@ PORTNAME= codesearch DISTVERSIONPREFIX= v DISTVERSION= 1.3.0-rc.1 PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= fuz@FreeBSD.org COMMENT= Fast (indexed) text search tool from Google WWW= https://github.com/google/codesearch LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.23 +USES= go:modules GO_MODULE= github.com/google/codesearch GO_TARGET= ./cmd/cgrep \ ./cmd/cindex \ ./cmd/csearch \ ./cmd/csweb CONFLICTS_INSTALL= hs-cgrep PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} .include diff --git a/textproc/gitlab-zoekt-indexer/Makefile b/textproc/gitlab-zoekt-indexer/Makefile index 44d51d112dd1..fdd906ec2fe9 100644 --- a/textproc/gitlab-zoekt-indexer/Makefile +++ b/textproc/gitlab-zoekt-indexer/Makefile @@ -1,46 +1,46 @@ PORTNAME= gitlab-zoekt-indexer PORTVERSION= 1.7.6 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= mfechner@FreeBSD.org COMMENT= Zoekt search solution for Gitlab WWW= https://gitlab.com/gitlab-org/gitlab-zoekt-indexer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= git>=2.38.1:devel/git #LIB_DEPENDS= libicui18n.so:devel/icu \ # libicuuc.so:devel/icu #RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool -USES= gmake go:modules,no_targets,1.24 pkgconfig +USES= gmake go:1.24+,modules,no_targets pkgconfig USE_GITLAB= yes GL_ACCOUNT= gitlab-org GO_MOD_DIST= gitlab GO_MODULE= gitlab.com/gitlab-org/gitlab-zoekt-indexer MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} ALL_TARGET= build-unified PLIST_FILES= bin/gitlab-zoekt # add a git tag, as that is required by the build script pre-build: cd ${WRKSRC} && \ git init && \ git config user.email "${MAINTAINER}" && \ git config user.name "Matthias Fechner" && \ git add . && \ git commit -m "tag" && \ git tag v${PORTVERSION} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gitlab-zoekt ${STAGEDIR}${PREFIX}/bin/gitlab-zoekt .include diff --git a/textproc/sttr/Makefile b/textproc/sttr/Makefile index 42dac8e8e657..c3ec57c7bc97 100644 --- a/textproc/sttr/Makefile +++ b/textproc/sttr/Makefile @@ -1,18 +1,18 @@ PORTNAME= sttr DISTVERSIONPREFIX= v DISTVERSION= 0.2.28 CATEGORIES= textproc MAINTAINER= se@FreeBSD.org COMMENT= Quickly run various transformations on strings WWW= https://github.com/abhimanyu003/sttr LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.24 +USES= go:1.24+,modules GO_MODULE= github.com/abhimanyu003/sttr PLIST_FILES= bin/sttr .include diff --git a/www/oauth2-proxy/Makefile b/www/oauth2-proxy/Makefile index 7adba9273e5c..d0ebefdddc6d 100644 --- a/www/oauth2-proxy/Makefile +++ b/www/oauth2-proxy/Makefile @@ -1,40 +1,40 @@ PORTNAME= oauth2-proxy PORTVERSION= 7.13.0 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= dtxdf@FreeBSD.org COMMENT= OAuth 2.0 proxy server WWW= https://github.com/oauth2-proxy/oauth2-proxy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules,1.25+ +USES= go:1.25+,modules USE_GITHUB= yes USE_RC_SUBR= oauth2_proxy GO_MOD_DIST= github GO_MODULE= github.com/${PORTNAME}/${PORTNAME} GO_BUILDFLAGS= -v -ldflags="-s -X github.com/${PORTNAME}/${PORTNAME}/v7/pkg/version.VERSION=${PORTVERSION}" USER= www GROUP= www VAR_DIR?= /var LOG_DIR?= ${VAR_DIR}/log/${PORTNAME} RUN_DIR?= ${VAR_DIR}/run/${PORTNAME} SUB_LIST+= GROUP=${GROUP} \ LOG_DIR=${LOG_DIR} \ PORTNAME=${PORTNAME} \ PREFIX=${PREFIX} \ RUN_DIR=${RUN_DIR} \ USER=${USER} post-install: ${MKDIR} ${STAGEDIR}${LOG_DIR} ${MKDIR} ${STAGEDIR}${RUN_DIR} ${INSTALL_DATA} ${WRKSRC}/contrib/${PORTNAME}.cfg.example ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample .include