diff --git a/databases/redis_exporter/Makefile b/databases/redis_exporter/Makefile index 96ea17f67c6d..ff1ee866cd5c 100644 --- a/databases/redis_exporter/Makefile +++ b/databases/redis_exporter/Makefile @@ -1,26 +1,26 @@ PORTNAME= redis_exporter DISTVERSIONPREFIX= v DISTVERSION= 1.58.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases MAINTAINER= arcade@b1t.name COMMENT= Prometheus exporter for redis stats WWW= https://github.com/oliver006/redis_exporter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 USE_RC_SUBR= redis_exporter GO_MODULE= github.com/oliver006/redis_exporter GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" PLIST_FILES= bin/redis_exporter LD_FLAG_X_PREFIX= -X main LD_FLAG_STRING= ${STRIP} ${LD_FLAG_X_PREFIX}.BuildVersion=${PORTVERSION} .include diff --git a/databases/usql/Makefile b/databases/usql/Makefile index 4cd259ee20f2..83ffe76a7659 100644 --- a/databases/usql/Makefile +++ b/databases/usql/Makefile @@ -1,20 +1,20 @@ PORTNAME= usql DISTVERSIONPREFIX= v DISTVERSION= 0.19.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MAINTAINER= yuri@FreeBSD.org COMMENT= Universal command-line interface for SQL databases WWW= https://github.com/xo/usql/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/xo/usql PLIST_FILES= bin/usql .include diff --git a/devel/cirrus-cli/Makefile b/devel/cirrus-cli/Makefile index a4b66e642a2e..85bf9c0ee1e1 100644 --- a/devel/cirrus-cli/Makefile +++ b/devel/cirrus-cli/Makefile @@ -1,29 +1,30 @@ PORTNAME= cirrus-cli DISTVERSION= 0.120.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 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.22,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=${PORTVERSION}" 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/gitaly/Makefile b/devel/gitaly/Makefile index c8e850dd200b..1a98c0ab91ff 100644 --- a/devel/gitaly/Makefile +++ b/devel/gitaly/Makefile @@ -1,69 +1,70 @@ PORTNAME= gitaly DISTVERSIONPREFIX= v DISTVERSION= 17.1.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= mfechner@FreeBSD.org COMMENT= Smart reverse proxy for GitLab WWW= https://gitlab.com/gitlab-org/gitaly LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE # define dependencies that are required for build and run under MY_DEPENDS MY_DEPENDS= git>=2.45.2:devel/git BUILD_DEPENDS= bash>0:shells/bash \ ${LOCALBASE}/bin/cmake:devel/cmake-core \ pcre2>0:devel/pcre2 \ http-parser>0:www/http-parser \ ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} USES= cpe gmake go:modules,no_targets,1.22 iconv pkgconfig ssl CPE_VENDOR= gitlab USE_GITLAB= yes GL_ACCOUNT= gitlab-org MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} MASTER_SITES+= https://gitlab.com/gitlab-org/gitaly/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} _USES_fetch+= 800:go-post-fetch go-post-fetch: @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; @(cd ${DISTDIR}/${DIST_SUBDIR}; \ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) # --------------------------- post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example ${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.sample do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/bin ${FIND} ${WRKSRC} -name '*.orig' -delete (cd ${WRKSRC}/_build/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin && \ cd ${WRKSRC} && ${COPYTREE_SHARE} config.toml.sample ${STAGEDIR}${DATADIR}) post-install: ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ /gitlab-shell-hook$$/ s#^#@(,,755) #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} .include diff --git a/devel/gitlab-runner/Makefile b/devel/gitlab-runner/Makefile index 4b71a18ef3a4..469fd801d226 100644 --- a/devel/gitlab-runner/Makefile +++ b/devel/gitlab-runner/Makefile @@ -1,73 +1,74 @@ PORTNAME= gitlab-runner DISTVERSIONPREFIX= v DISTVERSION= 17.1.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerx64 \ https://gitlab-runner-downloads.s3.amazonaws.com/master/docker/:dockerarm DISTFILES= prebuilt-x86_64.tar.xz:dockerx64 \ prebuilt-arm.tar.xz:dockerarm #PATCH_SITES= https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/ #PATCHFILES+= 4551.patch:-p1 # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4551, Allow FreeBSD to be used with Docker builds MAINTAINER= mfechner@FreeBSD.org COMMENT= Official GitLab Runner written in Go WWW= https://gitlab.com/gitlab-org/gitlab-runner LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= go-bindata:devel/go-bindata RUN_DEPENDS= bash:shells/bash \ ca_root_nss>=0:security/ca_root_nss \ git:devel/git USES= go:modules,1.22 USE_GITLAB= yes GL_ACCOUNT= gitlab-org USE_RC_SUBR= gitlab_runner GITBRANCH= 17-1-stable GO_MODULE= gitlab.com/gitlab-org/gitlab-runner _BUILD_DATE= $$(date -u +%Y-%m-%dT%H:%M:%S%z) GO_BUILDFLAGS= -ldflags=" \ -X gitlab.com/gitlab-org/gitlab-runner/commands.ROOTCONFIGDIR=${ETCDIR} \ -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=${PORTVERSION} \ -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=${DISTVERSION} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=${_BUILD_DATE} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=${GITBRANCH} \ -s -w" # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-runner/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//:Nprebuilt*:} # --------------------------- USERS= gitlab-runner GROUPS= gitlab-runner PLIST_FILES= bin/gitlab-runner post-patch: @${MKDIR} ${WRKSRC}/out/docker/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/prebuilt-x86_64.tar.xz ${WRKSRC}/out/docker/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/prebuilt-arm.tar.xz ${WRKSRC}/out/docker/ pre-build: @cd ${WRKSRC} && go-bindata \ -pkg docker \ -nocompress \ -nomemcopy \ -nometadata \ -prefix out/docker/ \ -o executors/docker/bindata.go \ out/docker/prebuilt-x86_64.tar.xz \ out/docker/prebuilt-arm.tar.xz .include diff --git a/devel/gitlab-shell/Makefile b/devel/gitlab-shell/Makefile index 036a94e2d1f0..814f47ad695d 100644 --- a/devel/gitlab-shell/Makefile +++ b/devel/gitlab-shell/Makefile @@ -1,94 +1,95 @@ PORTNAME= gitlab-shell PORTVERSION= 14.36.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= mfechner@FreeBSD.org COMMENT= GitLab Shell handles git commands for GitLab WWW= https://gitlab.com/gitlab-org/gitlab-shell LICENSE= MIT # GSSAPI support can maybe be removed by disable CGO: # https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/720 #BUILD_DEPENDS= heimdal>=0:security/heimdal USES= gmake go:modules,no_targets,1.22 pkgconfig USE_GITLAB= yes GL_ACCOUNT= gitlab-org MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} ALL_TARGET= build USERS= git GROUPS= git # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} _USES_fetch+= 800:go-post-fetch go-post-fetch: @if [ ! -e ${DISTDIR}/${DIST_SUBDIR}/.go-post-fetch-done ]; then\ ${ECHO_MSG} "Copy go.mod as go mod download will modify it, which breaks checksum check" ;\ (cd ${DISTDIR}/${DIST_SUBDIR}; ${CP} go.mod go.mod.orig) ;\ ${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies";\ (cd ${DISTDIR}/${DIST_SUBDIR}; \ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) ;\ ${ECHO_MSG} "Restore previous go.mod" ;\ (cd ${DISTDIR}/${DIST_SUBDIR}; ${MV} go.mod.orig go.mod) ;\ ${TOUCH} ${DISTDIR}/${DIST_SUBDIR}/.go-post-fetch-done;\ fi; # --------------------------- VARLOGDIR= /var/log/gitlab-shell PLIST_FILES+= "@dir(git,,755) ${VARLOGDIR}" post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.yml.example ${MV} ${WRKSRC}/config.yml.example ${WRKSRC}/config.yml.sample ${CP} ${WRKSRC}/config.yml.sample ${WRKSRC}/config.yml ${REINPLACE_CMD} -e 's|VERSION_STRING :=.*|VERSION_STRING := v${PORTVERSION}|g' ${WRKSRC}/Makefile pre-install: ${RM} -rf ${WRKSRC}/config.yml do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/bin ${FIND} ${WRKSRC} -name '*.orig' -delete (cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin) .for x in CHANGELOG LICENSE README.md VERSION config.yml.sample ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DATADIR}/ .endfor .for x in support @${MKDIR} ${STAGEDIR}${DATADIR}/${x} (cd ${WRKSRC}/${x} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${x}) .endfor @${MKDIR} ${STAGEDIR}${VARLOGDIR} post-install: ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} go-pre-delete-distfiles: @if [ -e ${DISTDIR}/${DIST_SUBDIR}/.go-post-fetch-done ]; then\ ${RM} ${DISTDIR}/${DIST_SUBDIR}/.go-post-fetch-done || ${TRUE};\ fi .include delete-distfiles: go-pre-delete-distfiles .include diff --git a/devel/gomigrate/Makefile b/devel/gomigrate/Makefile index 9a142e0bf085..f6ec5f4e1a34 100644 --- a/devel/gomigrate/Makefile +++ b/devel/gomigrate/Makefile @@ -1,24 +1,24 @@ PORTNAME= migrate DISTVERSIONPREFIX= v DISTVERSION= 4.17.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= go MAINTAINER= dutra@FreeBSD.org COMMENT= CLI for performing database migrations WWW= https://github.com/golang-migrate/migrate LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules CONFLICTS_INSTALL= migrate GO_MODULE= github.com/golang-migrate/migrate/v4 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/devel/lazygit/Makefile b/devel/lazygit/Makefile index 894ec29b84d7..92800748f75f 100644 --- a/devel/lazygit/Makefile +++ b/devel/lazygit/Makefile @@ -1,20 +1,20 @@ PORTNAME= lazygit DISTVERSIONPREFIX= v DISTVERSION= 0.42.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= meta@FreeBSD.org COMMENT= Simple terminal UI for git commands WWW= https://github.com/jesseduffield/lazygit LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/jesseduffield/lazygit PLIST_FILES= bin/${PORTNAME} .include diff --git a/devel/lefthook/Makefile b/devel/lefthook/Makefile index b431c484b726..88bbad41b997 100644 --- a/devel/lefthook/Makefile +++ b/devel/lefthook/Makefile @@ -1,19 +1,20 @@ PORTNAME= lefthook DISTVERSIONPREFIX= v DISTVERSION= 1.6.18 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and powerful Git hooks manager for any type of projects WWW= https://github.com/evilmartians/lefthook LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/evilmartians/lefthook PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/dnscontrol/Makefile b/dns/dnscontrol/Makefile index 40389e865e0b..e7a7409be5a1 100644 --- a/dns/dnscontrol/Makefile +++ b/dns/dnscontrol/Makefile @@ -1,19 +1,19 @@ PORTNAME= dnscontrol DISTVERSIONPREFIX=v DISTVERSION= 4.11.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MAINTAINER= decke@FreeBSD.org COMMENT= Synchronize your DNS to multiple providers from a simple DSL WWW= https://stackexchange.github.io/dnscontrol/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/StackExchange/dnscontrol/v4 PLIST_FILES= bin/${PORTNAME} .include diff --git a/editors/orbiton/Makefile b/editors/orbiton/Makefile index 29dd78ba8bf3..5b85444fe1bd 100644 --- a/editors/orbiton/Makefile +++ b/editors/orbiton/Makefile @@ -1,19 +1,20 @@ PORTNAME= orbiton DISTVERSIONPREFIX= v DISTVERSION= 2.65.12 +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= yuri@FreeBSD.org COMMENT= Small, fast and limited text editor in Go WWW= https://orbiton.zip/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/xyproto/orbiton/v2 PLIST_FILES= bin/${PORTNAME} .include diff --git a/finance/fabric/Makefile b/finance/fabric/Makefile index d2a0bb571293..fc72a8db2810 100644 --- a/finance/fabric/Makefile +++ b/finance/fabric/Makefile @@ -1,162 +1,163 @@ PORTNAME= fabric DISTVERSIONPREFIX= v DISTVERSION= 2.5.9 +PORTREVISION= 1 CATEGORIES= finance PKGNAMESUFFIX= -hyperledger MAINTAINER= yuri@FreeBSD.org COMMENT= Enterprise-grade permissioned distributed ledger framework WWW= https://wiki.hyperledger.org/display/fabric LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # compilation fails on non-64-bit systems: fabric-amcl/core/FP256BN/FP.go:111:19: cannot convert MConst (constant 30564559323915749 of type Chunk) to type int USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= hyperledger # the upstream claims that it is too difficult to add the /v2 suffix to the GoLang module URL: https://github.com/hyperledger/fabric/issues/2929 GH_TUPLE= \ Azure:go-ansiterm:d185dfc1b5a1:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ DataDog:zstd:v1.4.5:datadog_zstd/vendor/github.com/DataDog/zstd \ IBM:idemix:a4feda90f3f7:ibm_idemix/vendor/github.com/IBM/idemix \ IBM:idemix:b3fcea5c7863:ibm_idemix_weak_bb \ IBM:idemix:c4470b87b2d6:ibm_idemix_aries \ IBM:mathlib:44ee0eb539da:ibm_mathlib/vendor/github.com/IBM/mathlib \ Knetic:govaluate:9aa49832a739:knetic_govaluate/vendor/github.com/Knetic/govaluate \ Microsoft:go-winio:v0.6.1:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ Microsoft:hcsshim:v0.11.4:microsoft_hcsshim/vendor/github.com/Microsoft/hcsshim \ Shopify:sarama:v1.20.1:shopify_sarama/vendor/github.com/Shopify/sarama \ VictoriaMetrics:fastcache:v1.9.0:victoriametrics_fastcache/vendor/github.com/VictoriaMetrics/fastcache \ ale-linux:aries-framework-go:4b3de6d91874:ale_linux_aries_framework_go_kmscrypto/vendor/github.com/ale-linux/aries-framework-go \ alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \ alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \ alecthomas:units:d1bdfacee922:alecthomas_units/vendor/github.com/alecthomas/units \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ bits-and-blooms:bitset:v1.13.0:bits_and_blooms_bitset/vendor/github.com/bits-and-blooms/bitset \ cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ cheggaaa:pb:v1.0.29:cheggaaa_pb/vendor/github.com/cheggaaa/pb \ cloudfoundry:clock:v1.0.0:cloudfoundry_clock/vendor/code.cloudfoundry.org/clock \ consensys:bavard:v0.1.13:consensys_bavard/vendor/github.com/consensys/bavard \ consensys:gnark-crypto:v0.12.1:consensys_gnark_crypto/vendor/github.com/consensys/gnark-crypto \ containerd:containerd:v1.6.26:containerd_containerd/vendor/github.com/containerd/containerd \ containerd:log:v0.1.0:containerd_log/vendor/github.com/containerd/log \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \ docker:go-units:v0.5.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 \ eapache:go-resiliency:v1.2.0:eapache_go_resiliency/vendor/github.com/eapache/go-resiliency \ eapache:go-xerial-snappy:776d5712da21:eapache_go_xerial_snappy/vendor/github.com/eapache/go-xerial-snappy \ eapache:queue:v1.1.0:eapache_queue/vendor/github.com/eapache/queue \ etcd-io:etcd:v3.5.9:etcd_io_etcd/vendor/go.etcd.io/etcd/client/pkg/v3 \ etcd-io:etcd:v3.5.9:etcd_io_etcd_1/vendor/go.etcd.io/etcd/pkg/v3 \ etcd-io:etcd:v3.5.9:etcd_io_etcd_2/vendor/go.etcd.io/etcd/raft/v3 \ etcd-io:etcd:v3.5.9:etcd_io_etcd_3/vendor/go.etcd.io/etcd/server/v3 \ felixge:httpsnoop:v1.0.1:felixge_httpsnoop/vendor/github.com/felixge/httpsnoop \ frankban:quicktest:v1.14.5:frankban_quicktest/vendor/github.com/frankban/quicktest \ fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ fsouza:go-dockerclient:v1.10.0:fsouza_go_dockerclient/vendor/github.com/fsouza/go-dockerclient \ go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-kit:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \ go-logfmt:logfmt:v0.5.1:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ go-logr:logr:v1.3.0:go_logr_logr/vendor/github.com/go-logr/logr \ go-task:slim-sprig:52ccab3ef572:go_task_slim_sprig/vendor/github.com/go-task/slim-sprig \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ go-yaml:yaml:v3.0.1:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:crypto:v0.21.0:golang_crypto/vendor/golang.org/x/crypto \ golang:mod:v0.15.0:golang_mod/vendor/golang.org/x/mod \ golang:net:v0.23.0:golang_net/vendor/golang.org/x/net \ golang:protobuf:v1.5.4:golang_protobuf/vendor/github.com/golang/protobuf \ golang:snappy:v0.0.4:golang_snappy/vendor/github.com/golang/snappy \ golang:sync:v0.7.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.18.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.14.0:golang_tools/vendor/golang.org/x/tools \ google:go-cmp:v0.6.0:google_go_cmp/vendor/github.com/google/go-cmp \ google:go-genproto:bbf56f31fb17:google_go_genproto/vendor/google.golang.org/genproto/googleapis/rpc \ google:pprof:94a9f03dee38:google_pprof/vendor/github.com/google/pprof \ gorilla:handlers:v1.5.1:gorilla_handlers/vendor/github.com/gorilla/handlers \ gorilla:mux:v1.8.0:gorilla_mux/vendor/github.com/gorilla/mux \ grpc-ecosystem:go-grpc-middleware:v1.3.0:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \ grpc:grpc-go:v1.61.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hashicorp:go-version:v1.4.0:hashicorp_go_version/vendor/github.com/hashicorp/go-version \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ hyperledger:fabric-amcl:9e02669dceb2:hyperledger_fabric_amcl/vendor/github.com/hyperledger/fabric-amcl \ hyperledger:fabric-chaincode-go:7bc6fa0dd58b:hyperledger_fabric_chaincode_go/vendor/github.com/hyperledger/fabric-chaincode-go \ hyperledger:fabric-config:v0.1.0:hyperledger_fabric_config/vendor/github.com/hyperledger/fabric-config \ hyperledger:fabric-lib-go:v1.0.0:hyperledger_fabric_lib_go/vendor/github.com/hyperledger/fabric-lib-go \ hyperledger:fabric-protos-go:v0.2.0:hyperledger_fabric_protos_go/vendor/github.com/hyperledger/fabric-protos-go \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ kilic:bls12-381:v0.1.0:kilic_bls12_381/vendor/github.com/kilic/bls12-381 \ klauspost:compress:v1.17.6:klauspost_compress/vendor/github.com/klauspost/compress \ kr:pretty:v0.3.1:kr_pretty/vendor/github.com/kr/pretty \ kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \ magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ matttproud:golang_protobuf_extensions:v1.0.4:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ miekg:pkcs11:v1.1.1:miekg_pkcs11/vendor/github.com/miekg/pkcs11 \ mitchellh:mapstructure:v1.4.3:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ mmcloughlin:addchain:v0.4.0:mmcloughlin_addchain/vendor/github.com/mmcloughlin/addchain \ moby:docker-image-spec:v1.3.1:moby_docker_image_spec/vendor/github.com/moby/docker-image-spec \ moby:moby:v26.1.4:moby_moby/vendor/github.com/docker/docker \ moby:patternmatcher:v0.6.0:moby_patternmatcher/vendor/github.com/moby/patternmatcher \ moby:sys:sequential/v0.5.0:moby_sys_sequential \ moby:sys:user/v0.1.0:moby_sys_user/vendor/github.com/moby/sys \ moby:term:3f7ff695adc6:moby_term/vendor/github.com/moby/term \ morikuni:aec:v1.0.0:morikuni_aec/vendor/github.com/morikuni/aec \ onsi:ginkgo:v2.13.2:onsi_ginkgo_v2/vendor/github.com/onsi/ginkgo/v2 \ onsi:gomega:v1.29.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:v1.1.0-rc6:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \ pelletier:go-toml:v1.9.5:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ pierrec:lz4:v2.6.0:pierrec_lz4/vendor/github.com/pierrec/lz4 \ 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.11.1:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.3.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.8.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.34.2:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ rcrowley:go-metrics:cf1acfcdf475:rcrowley_go_metrics/vendor/github.com/rcrowley/go-metrics \ rogpeppe:go-internal:v1.11.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ rsc:tmplfunc:v0.0.3:rsc_tmplfunc/vendor/rsc.io/tmplfunc \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:afero:v1.3.1:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.3.1:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v1.5.0:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.7.0:spf13_viper/vendor/github.com/spf13/viper \ stretchr:objx:v0.5.2:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:v1.9.0:stretchr_testify/vendor/github.com/stretchr/testify \ subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ sykesm:zap-logfmt:v0.0.4:sykesm_zap_logfmt/vendor/github.com/sykesm/zap-logfmt \ syndtr:goleveldb:64b5b1c73954:syndtr_goleveldb/vendor/github.com/syndtr/goleveldb \ tedsuo:ifrit:dd274de71113:tedsuo_ifrit/vendor/github.com/tedsuo/ifrit \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr \ uber-go:zap:v1.27.0:uber_go_zap/vendor/go.uber.org/zap PROGS= configtxgen \ configtxlator \ cryptogen \ discover \ ledgerutil \ orderer \ osnadmin \ peer GO_TARGET= ${PROGS:S/^/.\/cmd\//} PLIST_FILES= ${PROGS:S/^/bin\//} post-extract: @${RM} -r ${WRKSRC}/vendor/github.com/IBM/idemix/bccsp/schemes/aries @${RLN} ${WRKSRC_ibm_idemix_aries}/bccsp/schemes/aries ${WRKSRC}/vendor/github.com/IBM/idemix/bccsp/schemes/aries @${RM} -r ${WRKSRC}/vendor/github.com/IBM/idemix/bccsp/schemes/weak-bb @${RLN} ${WRKSRC_ibm_idemix_weak_bb}/bccsp/schemes/weak-bb ${WRKSRC}/vendor/github.com/IBM/idemix/bccsp/schemes/weak-bb @${RM} -r ${WRKSRC}/vendor/github.com/moby/sys/sequential @${RLN} ${WRKSRC_moby_sys_sequential}/sequential ${WRKSRC}/vendor/github.com/moby/sys/sequential .include diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile index d6738931d324..79914b538b21 100644 --- a/ftp/sftpgo/Makefile +++ b/ftp/sftpgo/Makefile @@ -1,67 +1,68 @@ PORTNAME= sftpgo PORTVERSION= 2.6.2 +PORTREVISION= 1 CATEGORIES= ftp www MASTER_SITES= https://github.com/drakkan/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}_v${PORTVERSION}_src_with_deps MAINTAINER= skozlov@FreeBSD.org COMMENT= Fully featured and highly configurable SFTP, FTP/S, and WebDAV server WWW= https://github.com/drakkan/sftpgo LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules tar:xz USE_RC_SUBR= ${PORTNAME} NO_WRKSUBDIR= yes OPTIONS_DEFINE= BASH FISH ZSH MANPAGES OPTIONS_DEFAULT= BASH FISH ZSH MANPAGES OPTIONS_SUB= yes USERS= sftpgo GROUPS= sftpgo post-patch: ${REINPLACE_CMD} -e 's|"templates"|"${DATADIR}/templates"|; \ s|"static"|"${DATADIR}/static"|; \ s|"sftpgo.db"|"/var/db/${PORTNAME}/${PORTNAME}.db"|' \ ${WRKSRC}/${PORTNAME}.json post-build-BASH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion bash > ${WRKDIR}/bash_completions post-build-FISH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion fish > ${WRKDIR}/fish_completions post-build-ZSH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion zsh > ${WRKDIR}/zsh_completions post-build-MANPAGES-on: ${MKDIR} ${WRKDIR}/manpages ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir ${WRKDIR}/manpages post-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && \ ${COPYTREE_SHARE} templates ${STAGEDIR}${DATADIR} && \ ${COPYTREE_SHARE} static ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.json ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.json.sample post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKDIR}/bash_completions ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} post-install-FISH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKDIR}/fish_completions ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKDIR}/zsh_completions ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} post-install-MANPAGES-on: ${FIND} ${WRKDIR}/manpages -type f -execdir ${INSTALL_MAN} {} ${STAGEDIR}${PREFIX}/share/man/man1 \; .include diff --git a/lang/gptscript/Makefile b/lang/gptscript/Makefile index e888b04d045d..3b394f3776b8 100644 --- a/lang/gptscript/Makefile +++ b/lang/gptscript/Makefile @@ -1,29 +1,29 @@ PORTNAME= gptscript DISTVERSIONPREFIX= v DISTVERSION= 0.8.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang MAINTAINER= nivit@FreeBSD.org COMMENT= Natural Programming Language WWW= https://gptscript.ai/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 USE_GITHUB= yes GH_ACCOUNT= gptscript-ai GO_MODULE= github.com/gptscript-ai/gptscript OPTIONS_DEFINE= EXAMPLES post-patch: ${REINPLACE_CMD} -e 's/0.0.0-dev/${PORTVERSION}/1' \ ${WRKSRC}/pkg/version/version.go post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/misc/ls-lint/Makefile b/misc/ls-lint/Makefile index 3ddc163b7daf..22bed833a680 100644 --- a/misc/ls-lint/Makefile +++ b/misc/ls-lint/Makefile @@ -1,21 +1,21 @@ PORTNAME= ls-lint DISTVERSIONPREFIX= v DISTVERSION= 2.2.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Directory and filename linter WWW= https://ls-lint.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/loeffel-io/ls-lint/v2 GO_TARGET= ./cmd/ls_lint PLIST_FILES= bin/ls_lint .include diff --git a/misc/py-wandb/Makefile b/misc/py-wandb/Makefile index 2e2c59a54ed8..ba7cd57674a1 100644 --- a/misc/py-wandb/Makefile +++ b/misc/py-wandb/Makefile @@ -1,59 +1,60 @@ PORTNAME= wandb DISTVERSIONPREFIX= v DISTVERSION= 0.17.3 +PORTREVISION= 1 CATEGORIES= misc # machine-learning #MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= CLI and library for interacting with the Weights and Biases API WWW= https://wandb.ai/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: Go fails: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in argument to strconv.Itoa (overflows) BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ go122:lang/go122 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.3:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.1:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docker-pycreds>=0.4.0:security/py-docker-pycreds@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gitpython>=1.0.0:devel/py-gitpython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathtools>0:devel/py-pathtools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.0.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0,<3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.0.0:devel/py-sentry-sdk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>0:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>0:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bokeh>0:www/py-bokeh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbclient>0:devel/py-nbclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flask>0:devel/py-pytest-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=1.10.4:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} USES= python shebangfix USE_PYTHON= pep517 concurrent autoplist pytest # tests fail because some test dependencies are missing, see https://github.com/wandb/wandb/issues/7826 USE_GITHUB= yes SHEBANG_GLOB= *.py BINARY_ALIAS= go=go122 .include diff --git a/multimedia/navidrome/Makefile b/multimedia/navidrome/Makefile index c678f2b70d71..7f879c2e8650 100644 --- a/multimedia/navidrome/Makefile +++ b/multimedia/navidrome/Makefile @@ -1,164 +1,164 @@ PORTNAME= navidrome DISTVERSIONPREFIX= v DISTVERSION= 0.52.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://people.freebsd.org/~kbowling/distfiles/:npmcache DISTFILES= ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npmcache DIST_SUBDIR= navidrome MAINTAINER= kbowling@FreeBSD.org COMMENT= Modern Music Server and Streamer compatible with Subsonic/Airsonic WWW= https://www.navidrome.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS+= npm>0:www/npm LIB_DEPENDS+= libtag.so:audio/taglib RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg USES= cpe go:1.22,modules pkgconfig USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} GH_TUPLE= \ Masterminds:squirrel:v1.5.4:masterminds_squirrel/vendor/github.com/Masterminds/squirrel \ RaveNoX:go-jsoncommentstrip:v1.0.0:ravenox_go_jsoncommentstrip/vendor/github.com/RaveNoX/go-jsoncommentstrip \ aymerick:douceur:v0.2.0:aymerick_douceur/vendor/github.com/aymerick/douceur \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ bradleyjkemp:cupaloy:v2.8.0:bradleyjkemp_cupaloy_v2/vendor/github.com/bradleyjkemp/cupaloy/v2 \ cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ davecgh:go-spew:d8f796af33cc:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ deluan:rest:6260bc399cbf:deluan_rest/vendor/github.com/deluan/rest \ deluan:sanitize:6e18967d9fc1:deluan_sanitize/vendor/github.com/deluan/sanitize \ dexterlb:mpvipc:145d6eabdc37:dexterlb_mpvipc/vendor/github.com/dexterlb/mpvipc \ dhowden:tag:3d75831295e8:dhowden_tag/vendor/github.com/dhowden/tag \ disintegration:imaging:v1.6.2:disintegration_imaging/vendor/github.com/disintegration/imaging \ djherbis:atime:v1.1.0:djherbis_atime/vendor/github.com/djherbis/atime \ djherbis:fscache:2909c950912d:djherbis_fscache/vendor/github.com/djherbis/fscache \ djherbis:stream:v1.4.0:djherbis_stream/vendor/github.com/djherbis/stream \ djherbis:times:v1.6.0:djherbis_times/vendor/github.com/djherbis/times \ dustin:go-humanize:v1.0.1:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ fatih:structs:v1.1.0:fatih_structs/vendor/github.com/fatih/structs \ fsnotify:fsnotify:v1.7.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-chi:chi:v5.0.12:go_chi_chi_v5/vendor/github.com/go-chi/chi/v5 \ go-chi:cors:v1.2.1:go_chi_cors/vendor/github.com/go-chi/cors \ go-chi:httprate:v0.9.0:go_chi_httprate/vendor/github.com/go-chi/httprate \ go-chi:jwtauth:v5.3.1:go_chi_jwtauth_v5/vendor/github.com/go-chi/jwtauth/v5 \ go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-logr:logr:v1.4.1:go_logr_logr/vendor/github.com/go-logr/logr \ go-task:slim-sprig:v3.0.0:go_task_slim_sprig_v3/vendor/github.com/go-task/slim-sprig/v3 \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ goccy:go-json:v0.10.2:goccy_go_json/vendor/github.com/goccy/go-json \ golang:crypto:v0.23.0:golang_crypto/vendor/golang.org/x/crypto \ golang:exp:9bf2ced13842:golang_exp/vendor/golang.org/x/exp \ golang:image:v0.16.0:golang_image/vendor/golang.org/x/image \ golang:net:v0.25.0:golang_net/vendor/golang.org/x/net \ golang:sync:v0.7.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.20.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.15.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.21.0:golang_tools/vendor/golang.org/x/tools \ google:go-cmp:v0.6.0:google_go_cmp/vendor/github.com/google/go-cmp \ google:pprof:a892ee059fd6:google_pprof/vendor/github.com/google/pprof \ google:uuid:v1.6.0:google_uuid/vendor/github.com/google/uuid \ google:wire:v0.6.0:google_wire/vendor/github.com/google/wire \ gorilla:css:v1.0.0:gorilla_css/vendor/github.com/gorilla/css \ hashicorp:errwrap:v1.0.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \ hashicorp:go-multierror:v1.1.1:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jellydator:ttlcache:v2.11.1:jellydator_ttlcache_v2/vendor/github.com/jellydator/ttlcache/v2 \ kr:pretty:v0.3.1:kr_pretty/vendor/github.com/kr/pretty \ kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \ lann:builder:47ae307949d0:lann_builder/vendor/github.com/lann/builder \ lann:ps:62de8c46ede0:lann_ps/vendor/github.com/lann/ps \ lestrrat-go:blackmagic:v1.0.2:lestrrat_go_blackmagic/vendor/github.com/lestrrat-go/blackmagic \ lestrrat-go:httpcc:v1.0.1:lestrrat_go_httpcc/vendor/github.com/lestrrat-go/httpcc \ lestrrat-go:httprc:v1.0.5:lestrrat_go_httprc/vendor/github.com/lestrrat-go/httprc \ lestrrat-go:iter:v1.0.2:lestrrat_go_iter/vendor/github.com/lestrrat-go/iter \ lestrrat-go:jwx:v2.0.21:lestrrat_go_jwx_v2/vendor/github.com/lestrrat-go/jwx/v2 \ lestrrat-go:option:v1.0.1:lestrrat_go_option/vendor/github.com/lestrrat-go/option \ magiconair:properties:v1.8.7:magiconair_properties/vendor/github.com/magiconair/properties \ matoous:go-nanoid:v2.0.0:matoous_go_nanoid_v2/vendor/github.com/matoous/go-nanoid/v2 \ mattn:go-sqlite3:v1.14.22:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ mattn:go-zglob:v0.0.4:mattn_go_zglob/vendor/github.com/mattn/go-zglob \ mfridman:interpolate:v0.0.2:mfridman_interpolate/vendor/github.com/mfridman/interpolate \ microcosm-cc:bluemonday:v1.0.26:microcosm_cc_bluemonday/vendor/github.com/microcosm-cc/bluemonday \ mileusna:useragent:v1.3.4:mileusna_useragent/vendor/github.com/mileusna/useragent \ mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ natefinch:npipe:c1b8fa8bdcce:natefinch_npipe/vendor/gopkg.in/natefinch/npipe.v2 \ onsi:ginkgo:v2.17.3:onsi_ginkgo_v2/vendor/github.com/onsi/ginkgo/v2 \ onsi:gomega:v1.33.1:onsi_gomega/vendor/github.com/onsi/gomega \ pelletier:go-toml:v2.2.2:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \ pmezard:go-difflib:5d4384ee4fb2:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ pocketbase:dbx:v1.10.1:pocketbase_dbx/vendor/github.com/pocketbase/dbx \ pressly:goose:v3.20.0:pressly_goose_v3/vendor/github.com/pressly/goose/v3 \ prometheus:client_golang:v1.19.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.5.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.48.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.12.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.33.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ robfig:cron:v3.0.1:robfig_cron_v3/vendor/github.com/robfig/cron/v3 \ rogpeppe:go-internal:v1.10.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ sagikazarmark:locafero:v0.4.0:sagikazarmark_locafero/vendor/github.com/sagikazarmark/locafero \ sagikazarmark:slog-shim:v0.1.0:sagikazarmark_slog_shim/vendor/github.com/sagikazarmark/slog-shim \ segmentio:asm:v1.2.0:segmentio_asm/vendor/github.com/segmentio/asm \ sethvargo:go-retry:v0.2.4:sethvargo_go_retry/vendor/github.com/sethvargo/go-retry \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ sourcegraph:conc:v0.3.0:sourcegraph_conc/vendor/github.com/sourcegraph/conc \ spf13:afero:v1.11.0:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.6.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v1.8.0:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.18.2:spf13_viper/vendor/github.com/spf13/viper \ stretchr:objx:v0.5.2:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:v1.9.0:stretchr_testify/vendor/github.com/stretchr/testify \ subosito:gotenv:v1.6.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr \ unrolled:secure:v1.14.0:unrolled_secure/vendor/github.com/unrolled/secure \ xrash:smetrics:5f08fbb34913:xrash_smetrics/vendor/github.com/xrash/smetrics _BUILD_SHA= c556088 GO_BUILDFLAGS= -ldflags="-X github.com/navidrome/navidrome/consts.gitSha=${_BUILD_SHA} -X github.com/navidrome/navidrome/consts.gitTag=${GH_TAGNAME}-FREEBSD" -tags=netgo MAKE_ENV+= npm_config_offline=true SUB_FILES+= pkg-message config.toml.sample SUB_LIST+= PORTNAME=${PORTNAME} \ NAVIDROMEUSER=${USERS} \ NAVIDROMEGROUP=${GROUPS} USERS= www GROUPS= www .include # Compiler runs out of memory when compiling the ui on 32-bit platforms: # https://github.com/navidrome/navidrome/issues/524 .if ${ARCH} != amd64 || ${ARCH} != aarch64 MAKE_ENV+= NODE_OPTIONS='--max-old-space-size=1492' .endif pre-build: cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} npm ci cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} npm run build post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} @${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR}/music ${INSTALL_DATA} ${WRKDIR}/config.toml.sample \ ${STAGEDIR}${ETCDIR}/config.toml.sample # Helper target to make the generation of node_modules easier make-npm-cache: # Run "make extract" before executing this target @cd ${WRKDIR} && ${RM} -r .npm @cd ${WRKSRC}/ui \ && ${SETENV} HOME=${WRKDIR} npm ci @cd ${WRKDIR} \ && ${TAR} -czf ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX} .npm \ && ${ECHO} "Please upload the file ${WRKDIR}/${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}" .include diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile index 8af100985696..f44d8544d14b 100644 --- a/net-mgmt/telegraf/Makefile +++ b/net-mgmt/telegraf/Makefile @@ -1,41 +1,42 @@ PORTNAME= telegraf DISTVERSIONPREFIX=v DISTVERSION= 1.31.1 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= girgen@FreeBSD.org COMMENT= Time-series data collection WWW= https://influxdata.com/time-series-platform/telegraf/ LICENSE= MIT ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 USES= go:1.22,modules USE_RC_SUBR= telegraf GO_MODULE= github.com/influxdata/telegraf GO_BUILDFLAGS= -ldflags "-X main.goos=freebsd -X main.goarch=${ARCH} -X main.version=${DISTVERSION}" GO_TARGET= ./cmd/telegraf SUB_FILES= telegraf SUB_LIST= TELEGRAF_USER=${TELEGRAF_USER} \ TELEGRAF_GROUP=${TELEGRAF_GROUP} \ TELEGRAF_LOGDIR=${TELEGRAF_LOGDIR} PLIST_SUB= TELEGRAF_USER=${TELEGRAF_USER} \ TELEGRAF_GROUP=${TELEGRAF_GROUP} \ TELEGRAF_LOGDIR=${TELEGRAF_LOGDIR} TELEGRAF_USER= telegraf TELEGRAF_GROUP= telegraf USERS= ${TELEGRAF_USER} GROUPS= ${TELEGRAF_GROUP} TELEGRAF_LOGDIR=/var/log/${PORTNAME} post-install: ${MKDIR} ${STAGEDIR}${TELEGRAF_LOGDIR} .include diff --git a/net/frp/Makefile b/net/frp/Makefile index 2fa935aa8df8..981b5c24346e 100644 --- a/net/frp/Makefile +++ b/net/frp/Makefile @@ -1,49 +1,49 @@ PORTNAME= frp DISTVERSIONPREFIX= v DISTVERSION= 0.58.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Reverse proxy to expose local server behind NAT/firewall to Internet WWW= https://github.com/fatedier/frp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules USE_GITHUB= nodefault GH_TUPLE= golang:net:v0.8.0:net \ golang:sys:v0.6.0:sys \ golang:text:v0.8.0:text GO_MODULE= github.com/fatedier/frp GO_TARGET= ./cmd/frpc ./cmd/frps SUB_LIST= DAEMON_USER=${DAEMON_USER} USE_RC_SUBR= ${PORTNAME}s OPTIONS_RADIO= DAEMON_USER # also see https://github.com/fatedier/frp/issues/3417 OPTIONS_RADIO_DAEMON_USER= ROOT NOBODY OPTIONS_DEFAULT= ROOT # to allow frp to read certificates ROOT_VARS= DAEMON_USER=root NOBODY_VARS= DAEMON_USER=nobody DAEMON_USER_DESC= Daemon user ROOT_DESC= Run as root NOBODY_DESC= Run as nobody pre-patch: .for m in net sys test ${RM} -r ${WRKSRC}/vendor/golang.org/x/$m ${LN} -s ${WRKDIR}/$m-* ${WRKSRC}/vendor/golang.org/x/$m .endfor post-install: .for f in frpc.toml frps.toml ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${STAGEDIR}${PREFIX}/etc/${f}.sample .endfor .include diff --git a/net/gitlab-agent/Makefile b/net/gitlab-agent/Makefile index 9ac2dd992916..d93954000225 100644 --- a/net/gitlab-agent/Makefile +++ b/net/gitlab-agent/Makefile @@ -1,32 +1,33 @@ PORTNAME= gitlab-agent PORTVERSION= 17.1.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net MAINTAINER= mfechner@FreeBSD.org COMMENT= GitLab kubernetes agent WWW= https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent LICENSE= MIT # bazel>=0:devel/bazel \ BUILD_DEPENDS= git>=0:devel/git \ golangci-lint>=0:devel/golangci-lint USES= go:modules,1.22 GO_MODULE= gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v17 _BUILD_DATE= $$(date -u "+%Y-%m-%d-%H%M UTC") GO_TARGET= ./cmd/kas GO_BUILDFLAGS= -tags="tracer_static,tracer_static_jaeger" \ -ldflags=" \ -X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/cmd.Version=v${PORTVERSION}' \ -X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/cmd.Commit=${GL_TAGNAME:C/^(........).*/\1/}' \ -X 'gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/cmd.BuildTime=${_BUILD_DATE}'" PLIST_FILES= bin/kas do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/kas ${STAGEDIR}${PREFIX}/bin/kas .include diff --git a/net/krakend-ce/Makefile b/net/krakend-ce/Makefile index 716f542857db..ae131cc78a34 100644 --- a/net/krakend-ce/Makefile +++ b/net/krakend-ce/Makefile @@ -1,26 +1,26 @@ PORTNAME= krakend-ce DISTVERSIONPREFIX= v DISTVERSION= 2.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= jrm@FreeBSD.org COMMENT= High-performance, stateless, declarative, API Gateway WWW= https://github.com/krakend/krakend-ce/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= Build failure: math.MaxInt64 overflow USES= go:1.22,modules GO_MODULE= github.com/krakendio/krakend-ce/v2 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X github.com/luraproject/lura/v2/core.KrakendVersion=${DISTVERSION} \ -X github.com/luraproject/lura/v2/core.GoVersion=${GO_VERSION}" PLIST_FILES= bin/${PORTNAME} .include diff --git a/net/traefik/Makefile b/net/traefik/Makefile index 6f6c5150e1cf..6accf3b9647b 100644 --- a/net/traefik/Makefile +++ b/net/traefik/Makefile @@ -1,45 +1,46 @@ PORTNAME= traefik PORTVERSION= 2.11.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= LOCAL/riggs/${PORTNAME} MAINTAINER= riggs@FreeBSD.org COMMENT= High availability reverse proxy and load balancer WWW= https://traefik.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= go-bindata:devel/go-bindata USES= cpe go:1.22,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/security/apg/Makefile b/security/apg/Makefile index 235b5be43599..5854018c7315 100644 --- a/security/apg/Makefile +++ b/security/apg/Makefile @@ -1,26 +1,26 @@ PORTNAME= apg DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= security sysutils MAINTAINER= egypcio@FreeBSD.org COMMENT= Automated Password Generator written in Go WWW= https://github.com/wneessen/apg-go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= wneessen GH_PROJECT= apg-go GH_TUPLE= wneessen:go-hibp:v1.0.6:wneessen_go_hibp/vendor/github.com/wneessen/go-hibp GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/aws-iam-authenticator/Makefile b/security/aws-iam-authenticator/Makefile index 81014cd9d478..a4744ce6c32f 100644 --- a/security/aws-iam-authenticator/Makefile +++ b/security/aws-iam-authenticator/Makefile @@ -1,20 +1,21 @@ PORTNAME= aws-iam-authenticator PORTVERSION= 0.6.21 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= Use AWS IAM credentials to authenticate to a Kubernetes cluster WWW= https://github.com/kubernetes-sigs/aws-iam-authenticator LICENSE= APACHE20 USES= go:1.22,modules GO_MODULE= github.com/kubernetes-sigs/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X sigs.k8s.io/aws-iam-authenticator/pkg.Version=${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile index 05d32227fca1..54a7faa77834 100644 --- a/security/crowdsec/Makefile +++ b/security/crowdsec/Makefile @@ -1,178 +1,178 @@ PORTNAME= crowdsec DISTVERSIONPREFIX= v DISTVERSION= 1.6.2 # the remote tag was moved for 1.6.2, so we force another tag to avoid the version on proxy.golang.org DISTVERSIONSUFFIX= -final -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= marco@crowdsec.net COMMENT= CrowdSec lightweight and collaborative security engine WWW= https://github.com/crowdsecurity/crowdsec LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libabsl_base.so:devel/abseil \ libre2.so:devel/re2 USES= go:1.22,modules pkgconfig _COMMIT= 16bfab86 _BUILD_DATE= $$(date -u "+%F_%T") USE_RC_SUBR= crowdsec GO_MODULE= github.com/crowdsecurity/crowdsec GO_TARGET= ./cmd/crowdsec \ ./cmd/crowdsec-cli \ ./cmd/notification-email \ ./cmd/notification-http \ ./cmd/notification-sentinel \ ./cmd/notification-slack \ ./cmd/notification-splunk GO_BUILDFLAGS= -v -trimpath -tags netgo,osusergo,sqlite_omit_load_extension,re2_cgo \ -ldflags="\ -a -s -w \ -X github.com/crowdsecurity/go-cs-lib/version.Version=${DISTVERSIONPREFIX}${DISTVERSION} \ -X github.com/crowdsecurity/go-cs-lib/version.BuildDate=${_BUILD_DATE} \ -X github.com/crowdsecurity/go-cs-lib/version.Tag=${_COMMIT} \ -X ${GO_MODULE}/pkg/cwversion.Codename=alphaga \ -X ${GO_MODULE}/pkg/csconfig.defaultConfigDir=${PREFIX}/etc/crowdsec \ -X ${GO_MODULE}/pkg/csconfig.defaultDataDir=/var/db/crowdsec/data \ -X ${GO_MODULE}/pkg/cwversion.Libre2=C++" SUB_FILES= pkg-deinstall pkg-install pkg-message crowdsec.cron upgrade-hub OPTIONS_DEFINE= FIREWALL_BOUNCER OPTIONS_DEFAULT= FIREWALL_BOUNCER_DESC= Depend on security/crowdsec-firewall-bouncer FIREWALL_BOUNCER_RUN_DEPENDS= crowdsec-firewall-bouncer>=0.0.27:security/crowdsec-firewall-bouncer PLUGIN_DIR= ${PREFIX}/lib/crowdsec/plugins STAGE_PLUGINS= ${STAGEDIR}${PLUGIN_DIR} STAGE_BIN= ${STAGEDIR}${PREFIX}/bin post-patch: @${REINPLACE_CMD} 's,/etc/crowdsec/,${ETCDIR}/,g' \ ${WRKSRC}/config/config.yaml @${REINPLACE_CMD} 's,/var/lib/,/var/db/,g' \ ${WRKSRC}/config/config.yaml do-install: # # Binaries # ${INSTALL_PROGRAM} ${WRKDIR}/bin/crowdsec ${STAGE_BIN}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/crowdsec-cli ${STAGE_BIN}/cscli # keep this around for compatibility ${LN} -s cscli ${STAGE_BIN}/crowdsec-cli @${MKDIR} ${STAGE_PLUGINS} ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-email ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-http ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-sentinel ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-slack ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-splunk ${STAGE_PLUGINS}/ # # Configuration # @${MKDIR} ${STAGEDIR}${ETCDIR} @(cd ${WRKSRC}/config && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}) @${MV} ${STAGEDIR}${ETCDIR}/acquis.yaml \ ${STAGEDIR}${ETCDIR}/acquis.yaml.sample @${MV} ${STAGEDIR}${ETCDIR}/config.yaml \ ${STAGEDIR}${ETCDIR}/config.yaml.sample @${MV} ${STAGEDIR}${ETCDIR}/console.yaml \ ${STAGEDIR}${ETCDIR}/console.yaml.sample @${MV} ${STAGEDIR}${ETCDIR}/profiles.yaml \ ${STAGEDIR}${ETCDIR}/profiles.yaml.sample # managed by "cscli simulation" @${MV} ${STAGEDIR}${ETCDIR}/simulation.yaml \ ${STAGEDIR}${ETCDIR}/simulation.yaml.sample # # Plugin configuration # @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/email @${MV} ${WRKSRC}/cmd/notification-email/email.yaml \ ${STAGEDIR}${ETCDIR}/notifications/email.yaml.sample @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/http @${MV} ${WRKSRC}/cmd/notification-http/http.yaml \ ${STAGEDIR}${ETCDIR}/notifications/http.yaml.sample @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/sentinel @${MV} ${WRKSRC}/cmd/notification-sentinel/sentinel.yaml \ ${STAGEDIR}${ETCDIR}/notifications/sentinel.yaml.sample @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/slack @${MV} ${WRKSRC}/cmd/notification-slack/slack.yaml \ ${STAGEDIR}${ETCDIR}/notifications/slack.yaml.sample @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/splunk @${MV} ${WRKSRC}/cmd/notification-splunk/splunk.yaml \ ${STAGEDIR}${ETCDIR}/notifications/splunk.yaml.sample # updated by "cscli machines" at first service start @${MV} ${STAGEDIR}${ETCDIR}/local_api_credentials.yaml \ ${STAGEDIR}${ETCDIR}/local_api_credentials.yaml.sample # updated by "cscli capi" at first service start @${MV} ${STAGEDIR}${ETCDIR}/online_api_credentials.yaml \ ${STAGEDIR}${ETCDIR}/online_api_credentials.yaml.sample # # Data # @${MKDIR} ${STAGEDIR}${ETCDIR}/hub @${MKDIR} ${STAGEDIR}${ETCDIR}/acquis.d @${MKDIR} ${STAGEDIR}/var/db/crowdsec/data @${MKDIR} ${STAGEDIR}/var/db/crowdsec/data/trace # # Cron # @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/crowdsec ${INSTALL_DATA} ${WRKDIR}/upgrade-hub \ ${STAGEDIR}${PREFIX}/libexec/crowdsec/upgrade-hub # # Cleanup # @${RM} ${STAGEDIR}${ETCDIR}/acquis_win.yaml @${RM} ${STAGEDIR}${ETCDIR}/config_win_no_lapi.yaml @${RM} ${STAGEDIR}${ETCDIR}/config_win.yaml @${RM} ${STAGEDIR}${ETCDIR}/crowdsec.cron.daily @${RM} ${STAGEDIR}${ETCDIR}/crowdsec.service @${RM} ${STAGEDIR}${ETCDIR}/context.yaml @${RM} ${STAGEDIR}${ETCDIR}/detect.yaml @${RM} ${STAGEDIR}${ETCDIR}/dev.yaml @${RM} ${STAGEDIR}${ETCDIR}/user.yaml @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/email @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/http @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/sentinel @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/slack @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/splunk post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/cron.d ${INSTALL_DATA} ${WRKDIR}/crowdsec.cron ${STAGEDIR}${PREFIX}/etc/cron.d/crowdsec .include diff --git a/security/git-credential-gopass/Makefile b/security/git-credential-gopass/Makefile index 5e3b1ab7bd58..0eb98a15277a 100644 --- a/security/git-credential-gopass/Makefile +++ b/security/git-credential-gopass/Makefile @@ -1,22 +1,22 @@ PORTNAME= git-credential-gopass DISTVERSIONPREFIX= v DISTVERSION= 1.15.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MAINTAINER= ehaupt@FreeBSD.org COMMENT= Manage git credentials using gopass WWW= https://github.com/gopasspw/git-credential-gopass LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= gopasspw GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/git-credential-gopass .include diff --git a/security/gopass/Makefile b/security/gopass/Makefile index d86584c97d7b..f1b5039fda81 100644 --- a/security/gopass/Makefile +++ b/security/gopass/Makefile @@ -1,59 +1,59 @@ PORTNAME= gopass DISTVERSIONPREFIX= v DISTVERSION= 1.15.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MAINTAINER= eduardo@FreeBSD.org COMMENT= Rewrite of the pass password manager in Go WWW= https://www.gopass.pw/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 ONLY_FOR_ARCHS_REASON= upstream only supports ${ONLY_FOR_ARCHS} RUN_DEPENDS= git:devel/git \ gpg2:security/gnupg USES= go:1.22,modules # Usage examples are in a separate repo USE_GITHUB= nodefault GH_TUPLE= gopasspw:password-store-example:8db75ba3b69c:password_store_example GO_MODULE= github.com/gopasspw/gopass PORTDOCS= README.md docs/* PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-build: .for SHELL in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion ${SHELL} > ${WRKSRC}/${SHELL} .endfor post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC_password_store_example} && ${COPYTREE_SHARE} "README.md secrets templates" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/security/lego/Makefile b/security/lego/Makefile index 5105e2c67fa5..ba4101f03e0b 100644 --- a/security/lego/Makefile +++ b/security/lego/Makefile @@ -1,42 +1,43 @@ PORTNAME= lego DISTVERSIONPREFIX= v DISTVERSION= 4.17.4 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= matt@matthoran.com COMMENT= Let's Encrypt client and ACME library written in Go WWW= https://github.com/go-acme/lego LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= go:1.22,modules GO_MODULE= github.com/go-acme/lego/v4 GO_TARGET= ./cmd/lego GO_BUILDFLAGS= -ldflags '-X "main.version=${DISTVERSION}"' SAMPLE_FILES= deploy.sh.sample lego.sh.sample SUB_FILES= ${SAMPLE_FILES} 604.lego pkg-message SUB_LIST= LEGO_USER=${LEGO_USER} \ PORTNAME=${PORTNAME} LEGO_USER?= _lego USERS= ${LEGO_USER} GROUPS= ${LEGO_USER} PERIODIC_DIRS= etc/periodic/weekly PERIODIC_FILES= 604.lego post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS} ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}/${PERIODIC_FILES} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssl/lego \ ${STAGEDIR}${ETCDIR} ${STAGEDIR}${WWWDIR} . for d in ${SAMPLE_FILES} ${INSTALL_SCRIPT} ${WRKDIR}/${d} ${STAGEDIR}${ETCDIR}/${d} . endfor .include diff --git a/security/local-php-security-checker/Makefile b/security/local-php-security-checker/Makefile index ca701b35c6ab..d6abb71a0b12 100644 --- a/security/local-php-security-checker/Makefile +++ b/security/local-php-security-checker/Makefile @@ -1,28 +1,28 @@ PORTNAME= local-php-security-checker DISTVERSIONPREFIX= v DISTVERSION= 2.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= GH MAINTAINER= einar@isnic.is COMMENT= Tool to check PHP composer dependencies for vulnerabilities WWW= https://github.com/fabpot/local-php-security-checker LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= fabpot GH_TUPLE= davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ hashicorp:go-version:v1.6.0:hashicorp_go_version/vendor/github.com/hashicorp/go-version \ mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ stretchr:testify:v1.9.0:stretchr_testify/vendor/github.com/stretchr/testify PLIST_FILES= bin/local-php-security-checker .include diff --git a/security/tailscale/Makefile b/security/tailscale/Makefile index d48b2b896af1..ba99ab593d1a 100644 --- a/security/tailscale/Makefile +++ b/security/tailscale/Makefile @@ -1,30 +1,31 @@ PORTNAME= tailscale PORTVERSION= 1.68.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= security net-vpn MAINTAINER= ashish@FreeBSD.org COMMENT= Mesh VPN that makes it easy to connect your devices WWW= https://tailscale.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss USES= go:1.22,modules GO_MODULE= github.com/tailscale/tailscale USE_RC_SUBR= tailscaled GO_TARGET= ./cmd/tailscale \ ./cmd/tailscaled GO_BUILDFLAGS= -tags xversion -ldflags "\ -X tailscale.com/version.longStamp=${PORTVERSION} \ -X tailscale.com/version.shortStamp=${PORTVERSION}" PLIST_FILES= bin/tailscale \ bin/tailscaled .include diff --git a/security/trivy/Makefile b/security/trivy/Makefile index 030b7ca345a6..53f62e6afa81 100644 --- a/security/trivy/Makefile +++ b/security/trivy/Makefile @@ -1,33 +1,34 @@ PORTNAME= trivy DISTVERSIONPREFIX= v DISTVERSION= 0.53.0 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= mfechner@FreeBSD.org COMMENT= Security scanner written in go WWW= https://github.com/aquasecurity/trivy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 GO_MODULE= github.com/aquasecurity/trivy GO_TARGET= ./cmd/trivy GO_BUILDFLAGS= -ldflags=" \ -extldflags '-static' \ -X github.com/aquasecurity/trivy/pkg/version.ver=${DISTVERSION} \ -s -w" PLIST_FILES= bin/${PORTNAME} post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/contrib/*.tpl ${STAGEDIR}${DATADIR}/ ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} cat ${TMPPLIST} .include diff --git a/security/vouch-proxy/Makefile b/security/vouch-proxy/Makefile index be704a996c37..878da2ca65de 100644 --- a/security/vouch-proxy/Makefile +++ b/security/vouch-proxy/Makefile @@ -1,25 +1,25 @@ PORTNAME= vouch-proxy DISTVERSIONPREFIX=v DISTVERSION= 0.40.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MAINTAINER= decke@FreeBSD.org COMMENT= SSO solution for Nginx using the auth_request module WWW= https://github.com/vouch/vouch-proxy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/vouch/vouch-proxy GO_BUILDFLAGS= -ldflags "-X main.version=${PORTVERSION} -X main.uname=FreeBSD" post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC}/config && ${COPYTREE_SHARE} "config.yml*" ${STAGEDIR}${ETCDIR}) .include diff --git a/security/xray-core/Makefile b/security/xray-core/Makefile index 115b54c2bda2..5d2e95279881 100644 --- a/security/xray-core/Makefile +++ b/security/xray-core/Makefile @@ -1,46 +1,46 @@ PORTNAME= xray-core DISTVERSIONPREFIX= v DISTVERSION= 1.8.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://github.com/v2fly/geoip/releases/download/202404250042/:geoip \ https://github.com/v2fly/domain-list-community/releases/download/20240426060244/:geosite DISTFILES= geoip.dat:geoip \ dlc.dat:geosite EXTRACT_ONLY= v${DISTVERSION}.zip \ xtls-Xray-core-v${DISTVERSION}_GH0.tar.gz MAINTAINER= kirill@drlebedev.com COMMENT= Set of network penetration tools WWW= https://github.com/XTLS/Xray-core LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 USE_RC_SUBR= xray SUB_FILES= pkg-message USERS= v2ray GROUPS= v2ray SUB_LIST= GROUP="${GROUPS}" \ USER="${USERS}" GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= ./main:xray USE_GITHUB= yes GH_ACCOUNT= xtls GH_PROJECT= Xray-core post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/geoip.dat ${STAGEDIR}${DATADIR}/geoip.dat ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dlc.dat ${STAGEDIR}${DATADIR}/geosite.dat ${INSTALL_DATA} ${FILESDIR}/*.json.sample ${STAGEDIR}${ETCDIR}/ .include diff --git a/sysutils/chaoskube/Makefile b/sysutils/chaoskube/Makefile index 7c00274942ae..9c2f503fee55 100644 --- a/sysutils/chaoskube/Makefile +++ b/sysutils/chaoskube/Makefile @@ -1,19 +1,19 @@ PORTNAME= chaoskube PORTVERSION= 0.32.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Chaoskube periodically kills random pods in your Kubernetes cluster WWW= https://github.com/linki/chaoskube LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/linki/chaoskube PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/cloud-nuke/Makefile b/sysutils/cloud-nuke/Makefile index c98f966b3cc6..4b0671368c0f 100644 --- a/sysutils/cloud-nuke/Makefile +++ b/sysutils/cloud-nuke/Makefile @@ -1,24 +1,24 @@ PORTNAME= cloud-nuke DISTVERSIONPREFIX= v DISTVERSION= 0.36.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Cleaning up your cloud accounts WWW= https://github.com/gruntwork-io/cloud-nuke LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cpe go:1.22,modules CPE_VENDOR= gruntwork-io GO_MODULE= github.com/gruntwork-io/cloud-nuke GO_BUILDFLAGS= -ldflags "\ -s -w \ -X main.VERSION=${DISTVERSION}" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/consul/Makefile b/sysutils/consul/Makefile index 62a6dc9600e3..3af277cf0a0a 100644 --- a/sysutils/consul/Makefile +++ b/sysutils/consul/Makefile @@ -1,56 +1,56 @@ PORTNAME= consul DISTVERSION= 1.19.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://raw.githubusercontent.com/hashicorp/consul/${DISTVERSIONFULL}/ DISTFILES= go.mod \ api/go.mod \ envoyextensions/go.mod \ proto-public/go.mod \ sdk/go.mod \ troubleshoot/go.mod MAINTAINER= bofh@FreeBSD.org COMMENT= Service discovery and configuration made easy WWW= https://www.consul.io/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:1.22,modules CPE_VENDOR= hashicorp USE_GITHUB= yes GH_ACCOUNT= hashicorp USE_RC_SUBR= consul GO_MODULE= github.com/hashicorp/consul GO_BUILDFLAGS= -ldflags="-s \ -X github.com/hashicorp/consul/version.GitCommit=${GITID} \ -X github.com/hashicorp/consul/version.BuildDate=${SOURCE_DATE_EPOCH:U${SOURCE_DATE_EPOCH_CMD:sh}} \ " ETCDIR= ${PREFIX}/etc/consul.d SUB_LIST= CONSUL_DBDIR=${CONSUL_DBDIR} \ GROUP=${CONSUL_GROUP} \ USER=${CONSUL_USER} USERS= ${CONSUL_USER} GROUPS= ${CONSUL_GROUP} PLIST_FILES= bin/consul CONSUL_USER?= consul CONSUL_GROUP?= consul CONSUL_DBDIR?= /var/db/${PORTNAME} GITID= 9fc827c # Bring DISTINFO_FILE into scope so we can get the timestamp. .include SOURCE_DATE_EPOCH_CMD= date -ur \ $$(${GREP} -m1 TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \ '+%Y-%m-%dT%H:%M:%SZ' .include diff --git a/sysutils/gomplate/Makefile b/sysutils/gomplate/Makefile index ab2f12518f6e..8e572fc90585 100644 --- a/sysutils/gomplate/Makefile +++ b/sysutils/gomplate/Makefile @@ -1,25 +1,26 @@ PORTNAME= gomplate DISTVERSIONPREFIX= v DISTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Command-line tool for rendering templates before executing binaries WWW= https://github.com/hairyhenderson/gomplate LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/hairyhenderson/gomplate/v4 GH_TAG_COMMIT= fba3b4d GO_TARGET= ./cmd/gomplate GO_BUILDFLAGS= -ldflags "\ -w -s \ -X github.com/hairyhenderson/gomplate/v4/version.GitCommit=${GH_TAG_COMMIT} \ -X github.com/hairyhenderson/gomplate/v4/version.Version=${DISTVERSION}" PLIST_FILES= bin/gomplate .include diff --git a/sysutils/helm/Makefile b/sysutils/helm/Makefile index b18a1772d5ed..864fc1b8dd10 100644 --- a/sysutils/helm/Makefile +++ b/sysutils/helm/Makefile @@ -1,43 +1,44 @@ PORTNAME= helm PORTVERSION= 3.15.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes Package Manager WWW= https://helm.sh LICENSE= APACHE20 RUN_DEPENDS= kubectl:sysutils/kubectl USES= cpe go:1.22,modules tar:xz GO_MODULE= github.com/${PORTNAME}/${PORTNAME}/v3 GO_PKGNAME= k8s.io/helm GO_BUILDFLAGS= -ldflags="-X helm.sh/helm/v3/internal/version.version=v${PORTVERSION} \ -X helm.sh/helm/v3/internal/version.gitCommit=e211f2aa62992bd72586b395de50979e31231829" GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} OPTIONS_DEFINE= BASH FISH ZSH OPTIONS_DEFAULT= BASH FISH ZSH BASH_PLIST_FILES= share/bash-completion/completions/helm FISH_PLIST_FILES= share/fish/vendor_functions.d/helm.fish ZSH_PLIST_FILES= share/zsh/site-functions/_helm post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${STAGEDIR}${PREFIX}/bin/helm completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/helm post-install-FISH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d ${STAGEDIR}${PREFIX}/bin/helm completion fish > ${STAGEDIR}${PREFIX}/share/fish/vendor_functions.d/helm.fish post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${STAGEDIR}${PREFIX}/bin/helm completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_helm .include diff --git a/sysutils/infracost/Makefile b/sysutils/infracost/Makefile index 6e2a8f120b14..da158ffe52de 100644 --- a/sysutils/infracost/Makefile +++ b/sysutils/infracost/Makefile @@ -1,25 +1,26 @@ PORTNAME= infracost DISTVERSIONPREFIX= v DISTVERSION= 0.10.37 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Cloud cost estimates for Terraform WWW= https://github.com/infracost/infracos LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= terraform:sysutils/terraform \ terragrunt:sysutils/terragrunt USES= go:1.22,modules GO_MODULE= github.com/${PORTNAME}/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X github.com/infracost/infracost/internal/version.Version=v${PORTVERSION}" GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile index 574a1c111cc3..b1808b9ce987 100644 --- a/sysutils/kopia/Makefile +++ b/sysutils/kopia/Makefile @@ -1,29 +1,29 @@ PORTNAME= kopia DISTVERSIONPREFIX= v DISTVERSION= 0.17.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast and secure open-source backup/restore tool WWW= https://kopia.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/kopia/kopia GO_BUILDFLAGS= -ldflags "\ -X github.com/kopia/kopia/repo.BuildVersion=${DISTVERSION} \ -X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`"" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz post-build: ${GO_WRKDIR_BIN}/${PORTNAME} --log-dir="" --help-man > ${WRKSRC}/${PORTNAME}.1 post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/sysutils/kops/Makefile b/sysutils/kops/Makefile index 8519fd5edbb3..c331708e4d3f 100644 --- a/sysutils/kops/Makefile +++ b/sysutils/kops/Makefile @@ -1,31 +1,31 @@ PORTNAME= kops PORTVERSION= 1.29.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes Operations WWW= https://github.com/kubernetes/kops LICENSE= APACHE20 BUILD_DEPENDS= go-bindata:devel/go-bindata USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= kubernetes GO_PKGNAME= k8s.io/${PORTNAME} GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags=all="-X k8s.io/kops.Version=${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} pre-build: cd ${WRKSRC} && \ ${LOCALBASE}/bin/go-bindata -o upup/models/bindata.go -pkg models \ -prefix upup/models/ upup/models/... .include diff --git a/sysutils/kubectl/Makefile b/sysutils/kubectl/Makefile index 25fc4de06042..1506355907e7 100644 --- a/sysutils/kubectl/Makefile +++ b/sysutils/kubectl/Makefile @@ -1,46 +1,46 @@ PORTNAME= kubectl PORTVERSION= 1.30.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Kubernetes command-line tool WWW= https://github.com/kubernetes/kubectl LICENSE= APACHE20 USES= cpe go:1.22,modules CPE_VENDOR= jenkins CPE_PRODUCT= kubernetes USE_GITHUB= yes GH_ACCOUNT= kubernetes GH_PROJECT= kubernetes GO_PKGNAME= k8s.io/kubernetes GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \ -X k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \ -X k8s.io/component-base/version.buildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ -X k8s.io/component-base/version.gitCommit="" \ -X k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \ -X k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= BASH ZSH OPTIONS_DEFAULT= BASH ZSH BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${STAGEDIR}${PREFIX}/bin/${PORTNAME} completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/sysutils/kubo-go/Makefile b/sysutils/kubo-go/Makefile index c8fb5203a558..a4324bc7c5b9 100644 --- a/sysutils/kubo-go/Makefile +++ b/sysutils/kubo-go/Makefile @@ -1,45 +1,46 @@ PORTNAME= kubo DISTVERSIONPREFIX= v DISTVERSION= 0.29.0 +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMESUFFIX= -go MAINTAINER= jhixson@FreeBSD.org COMMENT= IPFS implementation in Go WWW= https://github.com/ipfs/kubo LICENSE= MIT APACHE20 LICENSE_COMB= dual LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE USES= cpe go:1.22,modules CPE_VENDOR= protocol GO_MODULE= github.com/ipfs/kubo GO_TARGET= ./cmd/ipfs:kubo USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= ${FULLNAME} SUB_LIST= KUBO_USER=${KUBO_USER} \ KUBO_GROUP=${KUBO_GROUP} \ KUBO_HOME=${KUBO_HOME} PLIST_SUB= KUBO_USER=${KUBO_USER} \ KUBO_GROUP=${KUBO_GROUP} \ KUBO_HOME=${KUBO_HOME} KUBO_USER?= ${FULLNAME} KUBO_GROUP?= ${FULLNAME} KUBO_HOME?= /var/db/${FULLNAME} USERS= ${KUBO_USER} GROUPS= ${KUBO_GROUP} FULLNAME= ${PORTNAME}${PKGNAMESUFFIX} post-install: @${MKDIR} ${STAGEDIR}${KUBO_HOME} .include diff --git a/sysutils/minikube/Makefile b/sysutils/minikube/Makefile index 1f9f1c6a6ee2..9ccda6431bdd 100644 --- a/sysutils/minikube/Makefile +++ b/sysutils/minikube/Makefile @@ -1,38 +1,38 @@ PORTNAME= minikube PORTVERSION= 1.33.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= danilo@FreeBSD.org COMMENT= Run Kubernetes locally WWW= https://github.com/kubernetes/minikube LICENSE= APACHE20 BUILD_DEPENDS= go-bindata:devel/go-bindata USES= cpe go:1.22,modules CPE_VENDOR= kubernetes GO_MODULE= github.com/kubernetes/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X k8s.io/minikube/pkg/version.version=v${PORTVERSION} \ -X k8s.io/minikube/pkg/version.isoVersion=v1.33.1 \ -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v5 \ -X k8s.io/minikube/pkg/version.isoPath=minikube/iso" PLIST_FILES= bin/${PORTNAME} SUB_FILES= pkg-message pre-build: cd ${WRKSRC} && \ ${LOCALBASE}/bin/go-bindata -nomemcopy \ -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/... && \ ${LOCALBASE}/bin/go-bindata -nomemcopy \ -o pkg/minikube/translate/translations.go -pkg translate translations/... && \ ${LOCALBASE}/bin/gofmt${GO_SUFFIX} -s -w pkg/minikube/translate/translations.go .include diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile index 2ac5b36292b3..13438e1d72b1 100644 --- a/sysutils/nomad/Makefile +++ b/sysutils/nomad/Makefile @@ -1,42 +1,43 @@ PORTNAME= nomad DISTVERSIONPREFIX= v DISTVERSION= 1.8.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://raw.githubusercontent.com/hashicorp/nomad/${DISTVERSIONFULL}/ DISTFILES= go.mod \ api/go.mod MAINTAINER= jhixson@FreeBSD.org COMMENT= Cluster manager and scheduler WWW= https://www.nomadproject.io/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe go:1.22,modules CPE_VENDOR= hashicorp USE_GITHUB= yes GH_ACCOUNT= hashicorp USE_RC_SUBR= nomad GO_MODULE= github.com/hashicorp/nomad GO_BUILDFLAGS= -tags ui \ -ldflags "-X main.GitDescribe=${DISTVERSIONFULL}" USERS= nomad GROUPS= nomad post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/nomad ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/client1.hcl ${STAGEDIR}${PREFIX}/etc/nomad/client1.hcl.sample ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/client2.hcl ${STAGEDIR}${PREFIX}/etc/nomad/client2.hcl.sample ${INSTALL_DATA} ${WRKSRC}/demo/vagrant/server.hcl ${STAGEDIR}${PREFIX}/etc/nomad/server.hcl.sample # Bring DISTINFO_FILE into scope so we can get the timestamp. .include SOURCE_DATE_EPOCH_CMD= date -ur \ $$(${GREP} -m1 TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \ '+%Y-%m-%dT%H:%M:%SZ' .include diff --git a/sysutils/popeye/Makefile b/sysutils/popeye/Makefile index 16930c6b7431..a1526077fce3 100644 --- a/sysutils/popeye/Makefile +++ b/sysutils/popeye/Makefile @@ -1,29 +1,29 @@ PORTNAME= popeye DISTVERSIONPREFIX= v DISTVERSION= 0.21.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Kubernetes cluster resource sanitizer WWW= https://popeye.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules _BUILD_DATE= $$(date -u +"%FT%T%z") _BUILD_HASH= f736e64 GO_MODULE= github.com/derailed/popeye GO_BUILDFLAGS= -ldflags "\ -w \ -X ${GO_MODULE}/cmd.version=${DISTVERSION} \ -X ${GO_MODULE}/cmd.commit=${_BUILD_HASH} \ -X ${GO_MODULE}/cmd.date=${_BUILD_DATE}" \ -a -tags netgo PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/terraform-docs/Makefile b/sysutils/terraform-docs/Makefile index 9a98edfaa1b0..f7d584092d25 100644 --- a/sysutils/terraform-docs/Makefile +++ b/sysutils/terraform-docs/Makefile @@ -1,19 +1,19 @@ PORTNAME= terraform-docs DISTVERSIONPREFIX= v DISTVERSION= 0.18.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils textproc MAINTAINER= dutra@FreeBSD.org COMMENT= Generate documentation from Terraform modules WWW= https://github.com/terraform-docs/terraform-docs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/terraform-docs/terraform-docs PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/terraform-switcher/Makefile b/sysutils/terraform-switcher/Makefile index 6034a9b9ab43..bfa4bc60645a 100644 --- a/sysutils/terraform-switcher/Makefile +++ b/sysutils/terraform-switcher/Makefile @@ -1,65 +1,65 @@ PORTNAME= terraform-switcher DISTVERSIONPREFIX= v DISTVERSION= 1.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Tool to switch between different versions of terraform WWW= https://tfswitch.warrensbox.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules USE_GITHUB= yes GH_ACCOUNT= warrensbox GH_TUPLE= \ agext:levenshtein:v1.2.3:agext_levenshtein/vendor/github.com/agext/levenshtein \ apparentlymart:go-textseg:v15.0.0:apparentlymart_go_textseg_v15/vendor/github.com/apparentlymart/go-textseg/v15 \ chzyer:readline:v1.5.1:chzyer_readline/vendor/github.com/chzyer/readline \ fsnotify:fsnotify:v1.7.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \ go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ golang:crypto:v0.22.0:golang_crypto/vendor/golang.org/x/crypto \ golang:exp:c0f41cb1a7a0:golang_exp/vendor/golang.org/x/exp \ golang:mod:v0.17.0:golang_mod/vendor/golang.org/x/mod \ golang:sync:v0.7.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.19.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.20.0:golang_tools/vendor/golang.org/x/tools \ google:go-cmp:v0.6.0:google_go_cmp/vendor/github.com/google/go-cmp \ gookit:color:v1.5.4:gookit_color/vendor/github.com/gookit/color \ gookit:goutil:v0.6.15:gookit_goutil/vendor/github.com/gookit/goutil \ gookit:gsr:v0.1.0:gookit_gsr/vendor/github.com/gookit/gsr \ gookit:slog:v0.5.5:gookit_slog/vendor/github.com/gookit/slog \ hashicorp:go-version:v1.6.0:hashicorp_go_version/vendor/github.com/hashicorp/go-version \ hashicorp:hcl:v1.0.1-vault-5:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ hashicorp:hcl:v2.20.1:hashicorp_hcl_v2/vendor/github.com/hashicorp/hcl/v2 \ hashicorp:terraform-config-inspect:a34142ec2a72:hashicorp_terraform_config_inspect/vendor/github.com/hashicorp/terraform-config-inspect \ magiconair:properties:v1.8.7:magiconair_properties/vendor/github.com/magiconair/properties \ manifoldco:promptui:v0.9.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \ mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ mitchellh:go-wordwrap:v1.0.1:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \ mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ pborman:getopt:v1.1.0:pborman_getopt/vendor/github.com/pborman/getopt \ pelletier:go-toml:v2.2.0:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \ rogpeppe:go-internal:v1.12.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \ sagikazarmark:locafero:v0.4.0:sagikazarmark_locafero/vendor/github.com/sagikazarmark/locafero \ sagikazarmark:slog-shim:v0.1.0:sagikazarmark_slog_shim/vendor/github.com/sagikazarmark/slog-shim \ sourcegraph:conc:v0.3.0:sourcegraph_conc/vendor/github.com/sourcegraph/conc \ spf13:afero:v1.11.0:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.6.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.18.2:spf13_viper/vendor/github.com/spf13/viper \ subosito:gotenv:v1.6.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ uber-go:multierr:v1.11.0:uber_go_multierr/vendor/go.uber.org/multierr \ valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \ xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo \ zclconf:go-cty:v1.14.4:zclconf_go_cty/vendor/github.com/zclconf/go-cty PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/terraform/Makefile b/sysutils/terraform/Makefile index cf379cff98cd..68df2f2865e1 100644 --- a/sysutils/terraform/Makefile +++ b/sysutils/terraform/Makefile @@ -1,22 +1,22 @@ PORTNAME= terraform DISTVERSIONPREFIX= v DISTVERSION= 1.8.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Provides a common configuration to launch infrastructure WWW= https://terraform.io/ USES= cpe go:1.22,modules LICENSE_NAME= Business Source License 1.1 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror pkg-sell auto-accept CPE_VENDOR= hashicorp GO_MODULE= github.com/hashicorp/terraform PLIST_FILES= bin/${PORTNAME} .include diff --git a/textproc/consul-template/Makefile b/textproc/consul-template/Makefile index 31d2558d9224..78f467eddcc3 100644 --- a/textproc/consul-template/Makefile +++ b/textproc/consul-template/Makefile @@ -1,23 +1,23 @@ PORTNAME= consul-template DISTVERSION= 0.38.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MAINTAINER= bofh@FreeBSD.org COMMENT= Generic template rendering and notifications with Consul WWW= https://github.com/hashicorp/consul-template LICENSE= MPL20 USES= go:1.22,modules USE_RC_SUBR= consul-template GO_MODULE= github.com/hashicorp/consul-template GO_BUILDFLAGS= -ldflags='\ -s -w -X github.com/hashicorp/consul-template/version.Name=${PORTNAME} \ -X github.com/hashicorp/consul-template/version.GitCommit=release' PLIST_FILES= bin/consul-template .include diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile index 832abff961cc..ebbe675a7a0a 100644 --- a/textproc/gitlab-elasticsearch-indexer/Makefile +++ b/textproc/gitlab-elasticsearch-indexer/Makefile @@ -1,60 +1,61 @@ PORTNAME= gitlab-elasticsearch-indexer PORTVERSION= 5.0.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= mfechner@FreeBSD.org COMMENT= Elasticsearch indexer for GitLab WWW= https://gitlab.com/gitlab-org/gitlab-elasticsearch-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.22 pkgconfig USE_GITLAB= yes GL_ACCOUNT= gitlab-org MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} _USES_fetch+= 800:go-post-fetch go-post-fetch: @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; @(cd ${DISTDIR}/${DIST_SUBDIR}; \ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) # --------------------------- PLIST_FILES= bin/${PORTNAME} # 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/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/textproc/jqp/Makefile b/textproc/jqp/Makefile index 771354d52f45..a46d1fc9fdf8 100644 --- a/textproc/jqp/Makefile +++ b/textproc/jqp/Makefile @@ -1,20 +1,20 @@ PORTNAME= jqp DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MAINTAINER= yuri@FreeBSD.org COMMENT= TUI playground to experiment with jq WWW= https://github.com/noahgorstein/jqp LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/noahgorstein/jqp PLIST_FILES= bin/${PORTNAME} .include diff --git a/textproc/ytt/Makefile b/textproc/ytt/Makefile index 32189df5e9a6..03bbaa605157 100644 --- a/textproc/ytt/Makefile +++ b/textproc/ytt/Makefile @@ -1,21 +1,21 @@ PORTNAME= ytt DISTVERSIONPREFIX= v DISTVERSION= 0.49.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MAINTAINER= yuri@FreeBSD.org COMMENT= YAML templating tool that works on YAML structure instead of text WWW= https://carvel.dev/ytt/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.22,modules GO_MODULE= github.com/carvel-dev/ytt GO_TARGET= ./cmd/ytt/ PLIST_FILES= bin/${PORTNAME} .include diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile index 83db91ab5725..7eb7a1b6ea2b 100644 --- a/www/adguardhome/Makefile +++ b/www/adguardhome/Makefile @@ -1,59 +1,59 @@ PORTNAME= adguardhome DISTVERSIONPREFIX= v DISTVERSION= 0.107.51 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Network-wide ads & trackers blocking DNS server WWW= https://adguard.com/en/adguard-home/overview.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss USES= cpe go:1.22,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 build # 3. upload the *-html-{build,client}* 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 GROUP= wheel SUB_LIST= USER=${USER} GROUP=${GROUP} USE_RC_SUBR= ${PORTNAME} CPE_VENDOR= adguard .if (${DEV_UPDATE_MODE} == "yes") BUILD_DEPENDS= npm:www/npm \ yarn:www/yarn MAKE_ENV+= NODE_OPTIONS=--openssl-legacy-provider # workaround suggested in https://github.com/AdguardTeam/AdGuardHome/issues/6585 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-client-${DISTVERSION}${EXTRACT_SUFX} client && \ ${ECHO} "Please upload files ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-build-${DISTVERSION}${EXTRACT_SUFX} and ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-html-client-${DISTVERSION}${EXTRACT_SUFX}" .else MASTER_SITES= LOCAL/yuri/:deps DISTFILES= ${PORTNAME}-html-build-${DISTVERSION}${EXTRACT_SUFX}:deps \ ${PORTNAME}-html-client-${DISTVERSION}${EXTRACT_SUFX}:deps pre-build: @${CP} -r ${WRKDIR}/build ${WRKDIR}/client ${WRKSRC}/ .endif PLIST_FILES= bin/${PORTNAME} .include diff --git a/www/forgejo/Makefile b/www/forgejo/Makefile index 1f2696736529..3b3e5632b6c3 100644 --- a/www/forgejo/Makefile +++ b/www/forgejo/Makefile @@ -1,87 +1,88 @@ PORTNAME= forgejo DISTVERSIONPREFIX= v DISTVERSION= 7.0.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= forgejo-src-${DISTVERSION} MAINTAINER= stb@lassitu.de COMMENT= Compact self-hosted Git service WWW= https://forgejo.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= cpe gmake go:1.22,no_targets USE_RC_SUBR= forgejo EXTRACT_AFTER_ARGS= --strip-components 1 SUB_FILES= app.ini.sample pkg-message SUB_LIST= GITUSER=${USERS} NO_WRKSUBDIR= yes USERS= git GROUPS= git PORTDATA= * OPTIONS_DEFINE= BINDATA GIT_LFS PAM SQLITE OPTIONS_DEFAULT= BINDATA GIT_LFS PAM SQLITE OPTIONS_SUB= yes BINDATA_DESC= Build a single monolithic binary, with all assets included GIT_LFS_DESC= Support for Git Large File Storage (LFS) PAM_DESC= Enable support for PAM BINDATA_VARS= GO_TAGS+=bindata GIT_LFS_RUN_DEPENDS= git-lfs:devel/git-lfs PAM_VARS= GO_TAGS+=pam SQLITE_VARS= GO_TAGS+="sqlite sqlite_unlock_notify" .include .if ${OPSYS} == FreeBSD DAEMONARGS= -S -l \$${forgejo_facility} -s \$${forgejo_priority} -T \ \$${name} .else DAEMONARGS= -f .endif SUB_LIST+= DAEMONARGS="${DAEMONARGS}" SSP_UNSAFE= true LDFLAGS+= "'-X "code.gitea.io/gitea/modules/setting.CustomPath=${PREFIX}/etc/forgejo"'" LDFLAGS+= "'-X "code.gitea.io/gitea/modules/setting.AppWorkPath=${PREFIX}/share/forgejo"'" MAKE_ARGS= GOPATH=${WRKDIR} \ TAGS="${GO_TAGS}" \ GOFLAGS="-buildvcs=false" ALL_TARGET= backend MAKE_JOBS_UNSAFE= yes post-patch: ${ECHO_CMD} ${DISTVERSION} >${WRKSRC}/VERSION # Too lazy to figure out why go install won't work. do-install: # Go binary is statically linked and cannot be stripped, so use # INSTALL_SCRIPT. ${INSTALL_SCRIPT} ${WRKSRC}/gitea \ ${STAGEDIR}${PREFIX}/sbin/forgejo @${MKDIR} ${STAGEDIR}${ETCDIR}/conf ${INSTALL_DATA} ${WRKDIR}/app.ini.sample \ ${STAGEDIR}${ETCDIR}/conf/app.ini.sample ${INSTALL_DATA} ${WRKSRC}/custom/conf/app.example.ini \ ${STAGEDIR}${ETCDIR}/conf/app.ini.defaults ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}/var/db/forgejo/data ${MKDIR} ${STAGEDIR}/var/db/forgejo/forgejo-repositories ${MKDIR} ${STAGEDIR}/var/log/forgejo do-install-BINDATA-off: cd ${WRKSRC} && \ ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR} .include diff --git a/www/gitlab-pages/Makefile b/www/gitlab-pages/Makefile index 1d2c04cbfd49..bdfe7016ba23 100644 --- a/www/gitlab-pages/Makefile +++ b/www/gitlab-pages/Makefile @@ -1,45 +1,46 @@ PORTNAME= gitlab-pages PORTVERSION= 17.1.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-pages/-/raw/v${DISTVERSION}/ DISTFILES+= go.mod MAINTAINER= mfechner@FreeBSD.org COMMENT= Official GitLab Pages daemon WWW= https://gitlab.com/gitlab-org/gitlab-pages LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.22 USE_GITLAB= yes GL_ACCOUNT= gitlab-org USE_RC_SUBR= gitlab_pages GO_MODULE= gitlab.com/gitlab-org/gitlab-pages GO_BUILDFLAGS= -ldflags="-X 'main.VERSION=${PORTVERSION}' -X 'main.REVISION=${GL_TAGNAME}'" USERS= gitlab-pages GROUPS= gitlab-pages post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/gitlab-pages.conf.sample do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/bin (cd ${WRKDIR}/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin) .for x in gitlab-pages.conf.sample ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DATADIR}/ .endfor post-install: ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} cat ${TMPPLIST} .include diff --git a/www/gitlab-workhorse/Makefile b/www/gitlab-workhorse/Makefile index 3486a12984e2..ef2d5307bfff 100644 --- a/www/gitlab-workhorse/Makefile +++ b/www/gitlab-workhorse/Makefile @@ -1,49 +1,50 @@ PORTNAME= gitlab-workhorse PORTVERSION= 17.1.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www MAINTAINER= mfechner@FreeBSD.org COMMENT= Smart reverse proxy for GitLab WWW= https://gitlab.com/gitlab-org/gitlab/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= git>=2.42.0:devel/git RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool USES= gmake go:modules,no_targets,1.22 USE_GITLAB= yes GL_ACCOUNT= gitlab-org GL_PROJECT= gitlab-foss MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" MAKE_ENV+= ${GO_ENV} WRKSRC_SUBDIR= workhorse # found in work/gitlab-foss*/workhorse/go.mod #GO_MODULE= gitlab.com/gitlab-org/gitlab/workhorse # for go dependencies # Gitlab hosts there dependencies on their own platform and not on go-proxy # so we download the required go.mod file from gitlab # lines are taken from go.mk # --------------------------- FETCH_DEPENDS= ${GO_CMD}:${GO_PORT} MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-foss/-/raw/v${DISTVERSION}/workhorse/ DISTFILES+= go.mod DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME} EXTRACT_ONLY+= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//} _USES_fetch+= 800:go-post-fetch go-post-fetch: @${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies"; @(cd ${DISTDIR}/${DIST_SUBDIR}; \ [ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \ ${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all) # --------------------------- PLIST_FILES= bin/gitlab-resize-image \ bin/gitlab-workhorse \ bin/gitlab-zip-cat \ bin/gitlab-zip-metadata .include diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index c773a2467f28..50c2f5033528 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,49 +1,49 @@ PORTNAME= mattermost PORTVERSION= 9.5.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= LOCAL/decke PKGNAMESUFFIX= -server # implicit-approval+ for decke MAINTAINER= bofh@FreeBSD.org COMMENT= Open source Slack-alternative in Golang and React WWW= https://mattermost.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE.txt ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp USES= go:1.22,modules tar:xz USE_RC_SUBR= mattermostd GO_TARGET= ./cmd/mattermost ./scripts/config_generator GO_BUILDFLAGS= -ldflags=" \ -X github.com/mattermost/mattermost/server/public/model.BuildNumber=${PORTVERSION} \ -X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=none \ -X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false" WRKSRC_SUBDIR= server WWWDIR= ${PREFIX}/www/mattermost MATTERMOSTD_USER= mattermost MATTERMOSTD_GROUP= mattermost USERS= ${MATTERMOSTD_USER} GROUPS= ${MATTERMOSTD_GROUP} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost ${SETENV} OUTPUT_CONFIG=${WRKSRC}/config/default.json ${WRKDIR}/bin/config_generator ${INSTALL_DATA} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample ${RM} ${STAGEDIR}${PREFIX}/bin/config_generator ${MKDIR} ${STAGEDIR}${WWWDIR}/templates cd ${GO_WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n' ${STAGEDIR}${WWWDIR} cd ${GO_WRKSRC}/templates && ${CP} *.html *.js ${STAGEDIR}${WWWDIR}/templates .include diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile index 01803fc278c6..7cdf4ef23fed 100644 --- a/www/miniflux/Makefile +++ b/www/miniflux/Makefile @@ -1,73 +1,73 @@ PORTNAME= miniflux DISTVERSION= 2.1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= krion@FreeBSD.org COMMENT= Self-hosted software to read RSS/Atom/JSON feeds WWW= https://miniflux.app/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= go:modules,1.22 USE_GITHUB= yes GH_PROJECT= v2 GH_TUPLE= \ PuerkitoBio:goquery:v1.9.1:puerkitobio_goquery/vendor/github.com/PuerkitoBio/goquery \ abadojack:whatlanggo:v1.0.1:abadojack_whatlanggo/vendor/github.com/abadojack/whatlanggo \ andybalholm:brotli:v1.1.0:andybalholm_brotli/vendor/github.com/andybalholm/brotli \ andybalholm:cascadia:v1.3.2:andybalholm_cascadia/vendor/github.com/andybalholm/cascadia \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ coreos:go-oidc:v3.10.0:coreos_go_oidc_v3/vendor/github.com/coreos/go-oidc/v3 \ fxamacker:cbor:v2.6.0:fxamacker_cbor_v2/vendor/github.com/fxamacker/cbor/v2 \ go-jose:go-jose:v4.0.1:go_jose_go_jose_v4/vendor/github.com/go-jose/go-jose/v4 \ go-webauthn:webauthn:v0.10.2:go_webauthn_webauthn/vendor/github.com/go-webauthn/webauthn \ go-webauthn:x:v0.1.9:go_webauthn_x/vendor/github.com/go-webauthn/x \ golang-jwt:jwt:v5.2.1:golang_jwt_jwt_v5/vendor/github.com/golang-jwt/jwt/v5 \ golang:crypto:v0.22.0:golang_crypto/vendor/golang.org/x/crypto \ golang:net:v0.24.0:golang_net/vendor/golang.org/x/net \ golang:oauth2:v0.19.0:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:sys:v0.19.0:golang_sys/vendor/golang.org/x/sys \ golang:term:v0.19.0:golang_term/vendor/golang.org/x/term \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ google:go-tpm:v0.9.0:google_go_tpm/vendor/github.com/google/go-tpm \ google:uuid:v1.6.0:google_uuid/vendor/github.com/google/uuid \ gorilla:mux:v1.8.1:gorilla_mux/vendor/github.com/gorilla/mux \ lib:pq:v1.10.9:lib_pq/vendor/github.com/lib/pq \ mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ mvdan:xurls:v2.5.0:mvdan_xurls/vendor/mvdan.cc/xurls/v2 \ prometheus:client_golang:v1.19.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.5.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.48.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.12.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.33.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ tdewolff:minify:v2.20.20:tdewolff_minify_v2/vendor/github.com/tdewolff/minify/v2 \ tdewolff:parse:v2.7.13:tdewolff_parse_v2/vendor/github.com/tdewolff/parse/v2 \ x448:float16:v0.8.4:x448_float16/vendor/github.com/x448/float16 \ yuin:goldmark:v1.7.1:yuin_goldmark/vendor/github.com/yuin/goldmark USE_RC_SUBR= miniflux GO_PKGNAME= miniflux.app GO_TARGET= :${PORTNAME} GO_BUILDFLAGS= -ldflags="-X miniflux.app/version.Version=${DISTVERSION} \ -X miniflux.app/version.BuildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ')" USERS= miniflux GROUPS= miniflux OPTIONS_DEFINE= PGSQL_SERVER PGSQL_SERVER_DESC= Install the PostgreSQL Server Component PGSQL_SERVER_USES= pgsql PGSQL_SERVER_VARS= WANT_PGSQL+="server contrib" post-install: ${INSTALL_MAN} ${WRKSRC}/miniflux.1 ${STAGEDIR}${PREFIX}/share/man/man1/ ${INSTALL_DATA} ${FILESDIR}/miniflux.env.sample \ ${STAGEDIR}${PREFIX}/etc .include diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index bf4cba45238a..38d0df5b3554 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,127 +1,127 @@ PORTNAME= kitty DISTVERSIONPREFIX= v DISTVERSION= 0.33.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 wayland MAINTAINER= nivit@FreeBSD.org COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator WWW= https://sw.kovidgoyal.net/kitty/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-inline-tabs>0:textproc/py-sphinx-inline-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxext-opengraph>0:textproc/py-sphinxext-opengraph@${PY_FLAVOR} \ roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ simde>=0.7.6:devel/simde \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libdbus-1.so:devel/dbus \ libepoll-shim-interpose.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ librsync.so:net/librsync \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash USES= compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \ go:1.22,modules magick pkgconfig python shebangfix ssl tar:xz \ terminfo xorg CPE_VENDOR= kitty_project USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr SHEBANG_FILES= build-terminfo count-lines-of-code mypy-editor-integration \ update-on-ox SHEBANG_GLOB= *.py GO_MODULE= github.com/kovidgoyal/kitty MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` LDFLAGS+= `pkg-config --libs epoll-shim-interpose` BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} BUILD_DIR= ${WRKSRC}/${OPSYS:tl}-package INSTALL_WRKSRC= ${WRKSRC}/linux-package _STRIP_TARGETS= kitty/fast_data_types.so kitty/glfw-x11.so \ kitty/glfw-wayland.so kittens/transfer/rsync.so _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty OPTIONS_DEFINE= DOCS DOCS_MAKE_ENV= BUILD_DOCS=yes .include .if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400079 || (${OSVERSION} >= 1302505 && \ ${OSVERSION} < 1400000)) CFLAGS+= -Wno-error=invalid-utf8 -Winvalid-utf8 .endif .if ${ARCH:Mriscv64*} MAKE_ENV+= KITTY_NO_LTO=1 .endif # ncursesw and tinfo >= 6.1 seem to be neededd .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 USES+= ncurses:port .else USES+= ncurses .endif post-patch: ${REINPLACE_CMD} -E \ -e "s:'go':'${GO_CMD}':1" \ -e "s:(dirs_exist_ok=True):\1, ignore=shutil.ignore_patterns('*.orig', '*.bak'):1" \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:1" \ ${WRKSRC}/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish # For librsync, we need to set header and library path do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -OO setup.py \ --extra-include-dirs ${LOCALBASE}/include \ --extra-library-dirs ${LOCALBASE}/lib \ --libdir-name share \ --prefix ${BUILD_DIR:T} \ --update-check-interval 0 \ linux-package) do-install: cd ${BUILD_DIR} && \ ${INSTALL_PROGRAM} bin/kitty bin/kitten ${STAGEDIR}${PREFIX}/bin && \ ${INSTALL_DATA} share/applications/* ${STAGEDIR}${DESKTOPDIR} && \ cd ${BUILD_DIR}/share/icons/hicolor && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/hicolor cd ${BUILD_DIR}/share/kitty && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \ ${STAGEDIR}${PREFIX}/share/misc/ ${STRIP_CMD} ${_STRIP_TARGETS:S|^|${STAGEDIR}${DATADIR}/|} do-install-DOCS-on: ${INSTALL_MAN} ${BUILD_DIR}/share/man/man1/kitty.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${BUILD_DIR}/share/man/man5/kitty.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 cd ${BUILD_DIR}/share/doc/kitty/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include