diff --git a/audio/gonic/Makefile b/audio/gonic/Makefile index b4d59a795823..bc8c79646cf8 100644 --- a/audio/gonic/Makefile +++ b/audio/gonic/Makefile @@ -1,30 +1,30 @@ PORTNAME= gonic DISTVERSIONPREFIX= v DISTVERSION= 0.16.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio net MAINTAINER= tagattie@FreeBSD.org COMMENT= Music streaming server / subsonic server API implementation WWW= https://github.com/sentriz/gonic LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtag.so:audio/taglib RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ mpv:multimedia/mpv USES= go:modules,1.21 pkgconfig sqlite USE_RC_SUBR= ${PORTNAME} GO_MODULE= go.senan.xyz/gonic GO_TARGET= ./cmd/gonic USERS= ${PORTNAME} GROUPS= ${PORTNAME} PLIST_FILES= bin/gonic .include diff --git a/audio/pms-devel/Makefile b/audio/pms-devel/Makefile index 0457c1c5af07..5fc7e174a8f4 100644 --- a/audio/pms-devel/Makefile +++ b/audio/pms-devel/Makefile @@ -1,72 +1,72 @@ PORTNAME= pms-devel PORTVERSION= 0.0.20231224 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= riggs@FreeBSD.org COMMENT= Rewrite of pms, an ncurses-based client for the Music Player Daemon WWW= https://github.com/ambientsound/pms LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules USE_GITHUB= yes GH_ACCOUNT= kimtore GH_PROJECT= pms GH_TAGNAME= 628d497 GH_TUPLE= \ RoaringBitmap:roaring:v0.9.4:roaringbitmap_roaring/vendor/github.com/RoaringBitmap/roaring \ bits-and-blooms:bitset:v1.2.0:bits_and_blooms_bitset/vendor/github.com/bits-and-blooms/bitset \ blevesearch:bleve:v2.3.4:blevesearch_bleve_v2/vendor/github.com/blevesearch/bleve/v2 \ blevesearch:bleve_index_api:v1.0.3:blevesearch_bleve_index_api/vendor/github.com/blevesearch/bleve_index_api \ blevesearch:geo:v0.1.13:blevesearch_geo/vendor/github.com/blevesearch/geo \ blevesearch:go-porterstemmer:v1.0.3:blevesearch_go_porterstemmer/vendor/github.com/blevesearch/go-porterstemmer \ blevesearch:gtreap:v0.1.1:blevesearch_gtreap/vendor/github.com/blevesearch/gtreap \ blevesearch:mmap-go:v1.0.4:blevesearch_mmap_go/vendor/github.com/blevesearch/mmap-go \ blevesearch:scorch_segment_api:v2.1.2:blevesearch_scorch_segment_api_v2/vendor/github.com/blevesearch/scorch_segment_api/v2 \ blevesearch:segment:v0.9.0:blevesearch_segment/vendor/github.com/blevesearch/segment \ blevesearch:snowballstem:v0.9.0:blevesearch_snowballstem/vendor/github.com/blevesearch/snowballstem \ blevesearch:upsidedown_store_api:v1.0.1:blevesearch_upsidedown_store_api/vendor/github.com/blevesearch/upsidedown_store_api \ blevesearch:vellum:v1.0.8:blevesearch_vellum/vendor/github.com/blevesearch/vellum \ blevesearch:zapx:v11.3.5:blevesearch_zapx_v11/vendor/github.com/blevesearch/zapx/v11 \ blevesearch:zapx:v12.3.5:blevesearch_zapx_v12/vendor/github.com/blevesearch/zapx/v12 \ blevesearch:zapx:v13.3.5:blevesearch_zapx_v13/vendor/github.com/blevesearch/zapx/v13 \ blevesearch:zapx:v14.3.5:blevesearch_zapx_v14/vendor/github.com/blevesearch/zapx/v14 \ blevesearch:zapx:v15.3.5:blevesearch_zapx_v15/vendor/github.com/blevesearch/zapx/v15 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ etcd-io:bbolt:v1.3.5:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ fhs:gompd:v2.3.0:fhs_gompd_v2/vendor/github.com/fhs/gompd/v2 \ gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \ gdamore:tcell:v2.7.0:gdamore_tcell_v2/vendor/github.com/gdamore/tcell/v2 \ go-yaml:yaml:9f266ea9e77c:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ golang:geo:740aa86cb551:golang_geo/vendor/github.com/golang/geo \ golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:snappy:v0.0.1:golang_snappy/vendor/github.com/golang/snappy \ golang:sys:v0.15.0:golang_sys/vendor/golang.org/x/sys \ golang:term:v0.15.0:golang_term/vendor/golang.org/x/term \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ jessevdk:go-flags:v1.5.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \ json-iterator:go:f7279a603ede:json_iterator_go/vendor/github.com/json-iterator/go \ lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ mschoch:smat:v0.2.0:mschoch_smat/vendor/github.com/mschoch/smat \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ rivo:uniseg:v0.4.3:rivo_uniseg/vendor/github.com/rivo/uniseg \ stretchr:testify:v1.7.1:stretchr_testify/vendor/github.com/stretchr/testify GO_BUILDFLAGS= -ldflags "-X main.buildVersion=${DISTVERSION}" GO_TARGET= :pms-devel PLIST_FILES= bin/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/databases/litestream/Makefile b/databases/litestream/Makefile index ec96c9e50989..dbb624a396a2 100644 --- a/databases/litestream/Makefile +++ b/databases/litestream/Makefile @@ -1,79 +1,80 @@ PORTNAME= litestream DISTVERSIONPREFIX= v DISTVERSION= 0.3.13 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= nc@FreeBSD.org COMMENT= Standalone streaming replication tool for SQLite WWW= https://litestream.io/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= Build error: constant 9223372036854775807 overflows int USES= go:1.21,modules USE_GITHUB= yes GH_ACCOUNT= benbjohnson GH_TUPLE= \ Azure:azure-pipeline-go:v0.2.3:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \ Azure:azure-storage-blob-go:v0.15.0:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \ FiloSottile:age:v1.1.1:filosottile_age/vendor/filippo.io/age \ aws:aws-sdk-go:v1.44.318:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ census-instrumentation:opencensus-go:v0.24.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:v0.12.0:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \ golang:net:v0.14.0:golang_net/vendor/golang.org/x/net \ golang:oauth2:v0.11.0:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:v0.3.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.11.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.12.0:golang_text/vendor/golang.org/x/text \ golang:xerrors:04be3eba64a2:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-cmp:v0.5.9:google_go_cmp/vendor/github.com/google/go-cmp \ google:go-genproto:1744710a1577:google_go_genproto/vendor/google.golang.org/genproto \ google:s2a-go:v0.1.4:google_s2a_go/vendor/github.com/google/s2a-go \ google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ googleapis:enterprise-certificate-proxy:v0.2.5:googleapis_enterprise_certificate_proxy/vendor/github.com/googleapis/enterprise-certificate-proxy \ googleapis:gax-go:v2.12.0:googleapis_gax_go_v2/vendor/github.com/googleapis/gax-go \ googleapis:google-api-go-client:v0.135.0:googleapis_google_api_go_client/vendor/google.golang.org/api \ googleapis:google-cloud-go:compute/v1.23.0:googleapis_google_cloud_go_compute \ googleapis:google-cloud-go:iam/v1.1.1:googleapis_google_cloud_go_iam \ googleapis:google-cloud-go:storage/v1.31.0:googleapis_google_cloud_go_storage \ googleapis:google-cloud-go:v0.110.7:googleapis_google_cloud_go/vendor/cloud.google.com/go \ grpc:grpc-go:v1.57.0:grpc_grpc_go/vendor/google.golang.org/grpc \ jmespath:go-jmespath:v0.4.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ kr:fs:v0.1.0:kr_fs/vendor/github.com/kr/fs \ mattn:go-ieproxy:v0.0.11:mattn_go_ieproxy/vendor/github.com/mattn/go-ieproxy \ mattn:go-shellwords:v1.0.12:mattn_go_shellwords/vendor/github.com/mattn/go-shellwords \ mattn:go-sqlite3:v1.14.17:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ matttproud:golang_protobuf_extensions:v1.0.4:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ pierrec:lz4:v4.1.18:pierrec_lz4_v4/vendor/github.com/pierrec/lz4/v4 \ pkg:sftp:v1.13.5:pkg_sftp/vendor/github.com/pkg/sftp \ prometheus:client_golang:v1.16.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.4.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.44.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.11.1:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.31.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} post-extract: @${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/compute @${RLN} ${WRKSRC_googleapis_google_cloud_go_compute}/compute ${WRKSRC}/vendor/cloud.google.com/go/compute @${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/iam @${RLN} ${WRKSRC_googleapis_google_cloud_go_iam}/iam ${WRKSRC}/vendor/cloud.google.com/go/iam @${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/storage @${RLN} ${WRKSRC_googleapis_google_cloud_go_storage}/storage ${WRKSRC}/vendor/cloud.google.com/go/storage .include diff --git a/databases/rqlite/Makefile b/databases/rqlite/Makefile index 0ad8275e0e0a..a96822d7473b 100644 --- a/databases/rqlite/Makefile +++ b/databases/rqlite/Makefile @@ -1,25 +1,25 @@ PORTNAME= rqlite DISTVERSIONPREFIX= v DISTVERSION= 8.16.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight, distributed relational database built on SQLite WWW= https://rqlite.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/rqlite/rqlite/v8 GO_TARGET= ./cmd/rqbench \ ./cmd/rqlite \ ./cmd/rqlited PLIST_FILES= bin/rqbench \ bin/rqlite \ bin/rqlited .include diff --git a/devel/cirrus-cli/Makefile b/devel/cirrus-cli/Makefile index 6dd5705d72b6..e9620fea234f 100644 --- a/devel/cirrus-cli/Makefile +++ b/devel/cirrus-cli/Makefile @@ -1,29 +1,30 @@ PORTNAME= cirrus-cli PORTVERSION= 0.112.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21,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/gh/Makefile b/devel/gh/Makefile index 0cbadac2c35b..c6a59636a6e3 100644 --- a/devel/gh/Makefile +++ b/devel/gh/Makefile @@ -1,61 +1,61 @@ PORTNAME= gh DISTVERSIONPREFIX= v DISTVERSION= 2.42.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org COMMENT= GitHub's official command line tool WWW= https://cli.github.com LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= go:1.21,modules _BUILD_VERSION= ${DISTVERSION} _BUILD_DATE= $$(date +%Y-%m-%d) GO_MODULE= github.com/cli/cli/v2 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X ${GO_MODULE}/internal/build.Version=${_BUILD_VERSION} \ -X ${GO_MODULE}/internal/build.Date=${_BUILD_DATE}" _DOCS= README.md docs/[!README]*.md PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= COMPLETIONS DOCS MANPAGES OPTIONS_DEFAULT= COMPLETIONS MANPAGES OPTIONS_SUB= yes COMPLETIONS_DESC= Build and install bash, fish and zsh shell completions COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} do-build-MANPAGES-on: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run ${GO_BUILDFLAGS} \ ./cmd/gen-docs --man-page --doc-path docs/man 2>/dev/null) post-install-COMPLETIONS-on: .for _shell in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \ >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && \ ${INSTALL_DATA} ${_DOCS} \ ${STAGEDIR}${DOCSDIR}) post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/docs/man/*.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/devel/git-town/Makefile b/devel/git-town/Makefile index d627ebe1efe7..594e769755a3 100644 --- a/devel/git-town/Makefile +++ b/devel/git-town/Makefile @@ -1,28 +1,28 @@ PORTNAME= git-town DISTVERSIONPREFIX= v DISTVERSION= 10.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Git extension for generic, high-level git workflow support WWW= https://www.git-town.com LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= go:1.21,modules USE_GITHUB= nodefault GH_TUPLE= golang:sys:v0.6.0:sys GO_MODULE= github.com/git-town/git-town/v10 PLIST_FILES= bin/${PORTNAME} pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys .include diff --git a/devel/gitaly/Makefile b/devel/gitaly/Makefile index a24ea17e2e86..8bef46b571ef 100644 --- a/devel/gitaly/Makefile +++ b/devel/gitaly/Makefile @@ -1,69 +1,70 @@ PORTNAME= gitaly DISTVERSION= 16.9.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.43.0: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.21 iconv pkgconfig ssl CPE_VENDOR= gitlab MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" # make sure to pass go build options into make process MAKE_ENV+= ${GO_ENV} USE_GITLAB= yes GL_ACCOUNT= gitlab-org # 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 2e8e8f29beaa..edb36369c3f0 100644 --- a/devel/gitlab-runner/Makefile +++ b/devel/gitlab-runner/Makefile @@ -1,73 +1,74 @@ PORTNAME= gitlab-runner DISTVERSION= 16.9.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21 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" USE_GITLAB= yes GL_ACCOUNT= gitlab-org GITBRANCH= 16-9-stable # 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*:} # --------------------------- PLIST_FILES= bin/gitlab-runner USE_RC_SUBR= gitlab_runner USERS= gitlab-runner GROUPS= 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/goreleaser/Makefile b/devel/goreleaser/Makefile index f64225ae8160..939fe21872e7 100644 --- a/devel/goreleaser/Makefile +++ b/devel/goreleaser/Makefile @@ -1,40 +1,40 @@ PORTNAME= goreleaser DISTVERSIONPREFIX= v DISTVERSION= 1.24.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= fuz@FreeBSD.org COMMENT= Deliver Go binaries as fast and easily as possible WWW= https://goreleaser.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= go:1.21,modules GO_MODULE= github.com/goreleaser/goreleaser GO_BUILDFLAGS= -ldflags="-X main.version=${PKGVERSION} -X 'main.builtBy=FreeBSD ports' ${STRIP}" # TODO: generate documentation PLIST_FILES= bin/goreleaser \ etc/bash_completion.d/goreleaser \ share/fish/vendor_completions.d/goreleaser.fish \ share/man/man1/goreleaser.1.gz \ share/zsh/site-functions/_goreleaser post-install: @${ECHO_MSG} '====> Installing man page' ${GO_WRKDIR_BIN}/goreleaser man >${WRKDIR}/goreleaser.1 ${INSTALL_MAN} ${WRKDIR}/goreleaser.1 ${STAGEDIR}${PREFIX}/share/man/man1/goreleaser.1 @${ECHO_MSG} '====> Installing shell completion files' ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${GO_WRKDIR_BIN}/goreleaser completion bash \ >${STAGEDIR}${PREFIX}/etc/bash_completion.d/goreleaser ${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d ${GO_WRKDIR_BIN}/goreleaser completion fish \ >${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/goreleaser.fish ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${GO_WRKDIR_BIN}/goreleaser completion zsh \ >${STAGEDIR}${PREFIX}/share/zsh/site-functions/_goreleaser .include diff --git a/devel/lefthook/Makefile b/devel/lefthook/Makefile index 2ee94895ba8b..820bdf14da3e 100644 --- a/devel/lefthook/Makefile +++ b/devel/lefthook/Makefile @@ -1,20 +1,20 @@ PORTNAME= lefthook DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 -PORTREVISION= 1 +PORTREVISION= 2 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.21,modules GO_MODULE= github.com/evilmartians/lefthook PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/blocky/Makefile b/dns/blocky/Makefile index afcdb96adcac..8ec93478c817 100644 --- a/dns/blocky/Makefile +++ b/dns/blocky/Makefile @@ -1,36 +1,36 @@ PORTNAME= blocky DISTVERSIONPREFIX= v DISTVERSION= 0.23 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod DISTFILES= go.mod:gomod MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast and lightweight DNS proxy as ad-blocker WWW= https://0xerr0r.github.io/blocky/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules USE_GITHUB= yes GH_ACCOUNT= 0xERR0R USE_RC_SUBR= blocky GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT} GO_TARGET= main.go:${PREFIX}/sbin/${PORTNAME} GO_BUILDFLAGS= -ldflags "-w -s \ -X github.com/0xERR0R/blocky/util.Version=${DISTVERSION} \ -X github.com/0xERR0R/blocky/util.BuildTime=`date '+%Y%m%d-%H%M%S'` \ -X github.com/0xERR0R/blocky/util.Architecture=${ARCH}" SUB_FILES= pkg-message PLIST_FILES= "@sample etc/blocky-config.yml.sample" \ sbin/blocky post-install: ${INSTALL_DATA} ${FILESDIR}/blocky-config.yml.sample ${STAGEDIR}${PREFIX}/etc/blocky-config.yml.sample .include diff --git a/dns/dnscontrol/Makefile b/dns/dnscontrol/Makefile index 152fa1331da1..daa5071dbbc5 100644 --- a/dns/dnscontrol/Makefile +++ b/dns/dnscontrol/Makefile @@ -1,19 +1,19 @@ PORTNAME= dnscontrol DISTVERSIONPREFIX=v DISTVERSION= 4.8.2 -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.21,modules GO_MODULE= github.com/StackExchange/dnscontrol/v4 PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/mosdns/Makefile b/dns/mosdns/Makefile index e7bfe462333b..c899556bee29 100644 --- a/dns/mosdns/Makefile +++ b/dns/mosdns/Makefile @@ -1,20 +1,20 @@ PORTNAME= mosdns DISTVERSIONPREFIX= v DISTVERSION= 5.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= DNS forwarder WWW= https://github.com/IrineSistiana/mosdns LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/IrineSistiana/mosdns/v5 PLIST_FILES= bin/${PORTNAME} .include diff --git a/dns/q-dns/Makefile b/dns/q-dns/Makefile index 41a0c8eae4f3..afa765f4efac 100644 --- a/dns/q-dns/Makefile +++ b/dns/q-dns/Makefile @@ -1,20 +1,20 @@ PORTNAME= q-dns DISTVERSIONPREFIX= v DISTVERSION= 0.17.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= Tiny command line DNS client WWW= https://github.com/natesales/q LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/natesales/q PLIST_FILES= bin/${PORTNAME} .include diff --git a/irc/ergo/Makefile b/irc/ergo/Makefile index 372be18cdaa9..16fcaef8bfe0 100644 --- a/irc/ergo/Makefile +++ b/irc/ergo/Makefile @@ -1,31 +1,31 @@ PORTNAME= ergo DISTVERSIONPREFIX= v DISTVERSION= 2.13.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc PKGNAMESUFFIX= -irc-server MAINTAINER= yuri@FreeBSD.org COMMENT= Modern IRC server (daemon/ircd) written in Go WWW= https://ergo.chat/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules USE_GITHUB= yes GH_ACCOUNT= ergochat GH_TUPLE= golang:sys:v0.6.0:sys CONFLICTS_INSTALL= ergo GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys .include diff --git a/misc/ls-lint/Makefile b/misc/ls-lint/Makefile index 424d5234cfef..a8af86a6e175 100644 --- a/misc/ls-lint/Makefile +++ b/misc/ls-lint/Makefile @@ -1,21 +1,21 @@ PORTNAME= ls-lint DISTVERSIONPREFIX= v DISTVERSION= 2.2.2 -PORTREVISION= 1 +PORTREVISION= 2 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.21,modules GO_MODULE= github.com/loeffel-io/ls-lint/v2 GO_TARGET= ./cmd/ls_lint PLIST_FILES= bin/ls_lint .include diff --git a/net-im/dissent/Makefile b/net-im/dissent/Makefile index 2a3b029af356..74d49d66df48 100644 --- a/net-im/dissent/Makefile +++ b/net-im/dissent/Makefile @@ -1,78 +1,79 @@ PORTNAME= dissent DISTVERSIONPREFIX= v DISTVERSION= 0.0.20 +PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK4 Discord client in Go, attempt \#4 WWW= https://github.com/diamondburned/dissent LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene USES= gnome go:1.21,modules pkgconfig USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk40 libadwaita GH_ACCOUNT= diamondburned GH_TUPLE= KarpelesLab:weak:v0.1.1:karpeleslab_weak/vendor/github.com/KarpelesLab/weak \ alecthomas:chroma:v0.10.0:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ alessio:shellescape:v1.4.1:alessio_shellescape/vendor/github.com/alessio/shellescape \ danieljoos:wincred:v1.1.0:danieljoos_wincred/vendor/github.com/danieljoos/wincred \ diamondburned:adaptive:fa139be203a8:diamondburned_adaptive/vendor/github.com/diamondburned/adaptive \ diamondburned:arikawa:v3.3.5:diamondburned_arikawa_v3/vendor/github.com/diamondburned/arikawa/v3 \ diamondburned:chatkit:4b8acdf0f84b:diamondburned_chatkit/vendor/github.com/diamondburned/chatkit \ diamondburned:ctxt:07a499f07b78:diamondburned_ctxt/vendor/libdb.so/ctxt \ diamondburned:gotk4-adwaita:5f283b5d35bc:diamondburned_gotk4_adwaita_pkg/vendor/github.com/diamondburned/gotk4-adwaita \ diamondburned:gotk4:v0.2.2:diamondburned_gotk4_pkg/vendor/github.com/diamondburned/gotk4 \ diamondburned:gotkit:34324269516c:diamondburned_gotkit/vendor/github.com/diamondburned/gotkit \ diamondburned:ningen:0d35ff052647:diamondburned_ningen_v3/vendor/github.com/diamondburned/ningen/v3 \ dlclark:regexp2:v1.4.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ enescakir:emoji:v1.0.0:enescakir_emoji/vendor/github.com/enescakir/emoji \ go4org:go4:f5505b9728dd:go4org_go4/vendor/go4.org \ go4org:unsafe-assume-no-moving-gc:b99613f794b6:go4org_unsafe_assume_no_moving_gc/vendor/go4.org/unsafe/assume-no-moving-gc \ godbus:dbus:v5.0.6:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \ golang:crypto:v0.17.0:golang_crypto/vendor/golang.org/x/crypto \ golang:image:e7cb96979f69:golang_image/vendor/golang.org/x/image \ golang:sync:v0.1.0:golang_sync/vendor/golang.org/x/sync \ golang:sys:v0.15.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.14.0:golang_text/vendor/golang.org/x/text \ golang:time:1f47c861a9ac:golang_time/vendor/golang.org/x/time \ gorilla:schema:v1.2.0:gorilla_schema/vendor/github.com/gorilla/schema \ gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \ ianlancetaylor:cgosymbolizer:a1ae3e4bba26:ianlancetaylor_cgosymbolizer/vendor/github.com/ianlancetaylor/cgosymbolizer \ leonelquinteros:gotext:37f474cfb069:leonelquinteros_gotext/vendor/github.com/leonelquinteros/gotext \ lmittmann:tint:v1.0.4:lmittmann_tint/vendor/github.com/lmittmann/tint \ mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ sahilm:fuzzy:v0.1.0:sahilm_fuzzy/vendor/github.com/sahilm/fuzzy \ twmb:murmur3:v1.1.3:twmb_murmur3/vendor/github.com/twmb/murmur3 \ yalue:merged_fs:v1.2.3:yalue_merged_fs/vendor/github.com/yalue/merged_fs \ yuin:goldmark:v1.5.6:yuin_goldmark/vendor/github.com/yuin/goldmark \ zalando:go-keyring:v0.2.1:zalando_go_keyring/vendor/github.com/zalando/go-keyring CGO_LDFLAGS+= -Wl,--as-needed # gtk4 deps PLIST_FILES= bin/${PORTNAME} \ share/applications/so.libdb.dissent.desktop \ share/dbus-1/services/so.libdb.dissent.service \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/metainfo/so.libdb.dissent.metainfo.xml post-extract: # Prune after https://github.com/diamondburned/dissent/commit/86b3ea579df1 ${RM} ${WRKSRC}/nix/xyz.diamondb.dissent.desktop post-patch: @${REINPLACE_CMD} 's,/usr/bin,${PREFIX}/bin,' ${WRKSRC}/nix/*.service post-install: # Install extras similar to Nix flake .for f in nix/*.desktop nix/*.service *.metainfo.xml \ internal/icons/hicolor/scalable/apps/so.libdb.Dissent.svg ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .include diff --git a/net-im/gotosocial/Makefile b/net-im/gotosocial/Makefile index 0bf14cc110b4..492a89c707fe 100644 --- a/net-im/gotosocial/Makefile +++ b/net-im/gotosocial/Makefile @@ -1,53 +1,54 @@ PORTNAME= gotosocial DISTVERSIONPREFIX= v DISTVERSION= 0.13.3 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES?= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web DISTFILES?= ${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web MAINTAINER= freebsd@igalic.co COMMENT= Golang fediverse server WWW= https://docs.gotosocial.org/en/latest/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 ONLY_FOR_ARCHS_REASON= https://gitlab.com/cznic/libc/-/issues/15 USES= go:1.21,modules USE_GITHUB= yes GH_ACCOUNT= superseriousbusiness USE_RC_SUBR= ${PORTNAME} GO_TARGET= ./cmd/gotosocial GO_BUILDFLAGS= -trimpath -tags "netgo osusergo static_build kvformat ${WITH_DEBUG:Ddebugenv}" \ -ldflags="${STRIP} -w -extldflags '-static' -X 'main.Version=${PKGVERSION}'" CGO_ENABLED= 0 SUB_LIST= DBDIR="${DBDIR}" \ GROUP="${GROUPS}" \ USER="${USERS}" \ WWWDIR="${WWWDIR}" USERS= gotosocial GROUPS= gotosocial DBDIR= /var/db/${PORTNAME} PLIST_SUB= WWWDIR="${WWWDIR}" TESTING_UNSAFE= FAIL github.com/superseriousbusiness/gotosocial/internal/log post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/example/config.yaml \ ${STAGEDIR}${ETCDIR}/config.yaml.sample (cd ${WRKSRC}/../web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ ) .include diff --git a/net-mgmt/netdata-go/Makefile b/net-mgmt/netdata-go/Makefile index 9196c8e7daf4..7f375ddf2bc4 100644 --- a/net-mgmt/netdata-go/Makefile +++ b/net-mgmt/netdata-go/Makefile @@ -1,31 +1,31 @@ PORTNAME= netdata-go DISTVERSIONPREFIX= v DISTVERSION= 0.58.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MAINTAINER= driesm@FreeBSD.org COMMENT= External netdata collection plugin written in Go WWW= https://github.com/netdata/go.d.plugin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/netdata/go.d.plugin GO_TARGET= ./cmd/godplugin:${PREFIX}/libexec/netdata/plugins.d/god.plugin post-patch: ${REINPLACE_CMD} -e 's|/etc/netdata|${PREFIX}/etc/netdata|g' ${WRKSRC}/cmd/godplugin/main.go post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/netdata/conf.d ${INSTALL_DATA} ${WRKSRC}/config/go.d.conf ${STAGEDIR}${PREFIX}/lib/netdata/conf.d/go.d.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/lib/netdata/conf.d/go.d cd ${WRKSRC}/config/go.d && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/netdata/conf.d/go.d (for file in ${STAGEDIR}${PREFIX}/lib/netdata/conf.d/go.d/*.conf; do \ ${MV} $$file $$file".sample"; \ done) .include diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile index f4658aac5487..462953a26843 100644 --- a/net-mgmt/telegraf/Makefile +++ b/net-mgmt/telegraf/Makefile @@ -1,42 +1,42 @@ PORTNAME= telegraf DISTVERSIONPREFIX=v DISTVERSION= 1.29.4 -PORTREVISION= 1 +PORTREVISION= 2 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.21,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/clash/Makefile b/net/clash/Makefile index fc38905e3b4f..3dfd2dc9942a 100644 --- a/net/clash/Makefile +++ b/net/clash/Makefile @@ -1,27 +1,27 @@ PORTNAME= clash DISTVERSIONPREFIX= v DISTVERSION= 1.18.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Rule-based tunnel in Go WWW= https://github.com/Dreamacro/clash # actually coming from the fork https://github.com/wangtz0607/clash LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules cpe CPE_VENDOR= clash_project GO_MODULE= github.com/Dreamacro/clash PLIST_FILES= bin/${PORTNAME} PORTSCOUT= limit:^[0-9\.]*$$ pre-patch: @cd ${WRKSRC} && ${CP} listener/redir/tcp_linux.go listener/redir/tcp_freebsd.go .include diff --git a/net/gitlab-agent/Makefile b/net/gitlab-agent/Makefile index 8695731446fd..6e472e4c4160 100644 --- a/net/gitlab-agent/Makefile +++ b/net/gitlab-agent/Makefile @@ -1,32 +1,33 @@ PORTNAME= gitlab-agent PORTVERSION= 16.9.2 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21 GO_MODULE= gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16 _BUILD_DATE= $$(date -u "+%Y-%m-%d-%H%M UTC") 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}'" GO_TARGET= ./cmd/kas PLIST_FILES= bin/kas do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/kas ${STAGEDIR}${PREFIX}/bin/kas .include diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile index a27f4d5b8578..006fcdf83419 100644 --- a/net/syncthing/Makefile +++ b/net/syncthing/Makefile @@ -1,63 +1,64 @@ PORTNAME= syncthing DISTVERSIONPREFIX= v DISTVERSION= 1.27.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-source-${DISTVERSIONFULL} MAINTAINER= dvl@FreeBSD.org COMMENT= Encrypted file sync tool WWW= https://syncthing.net/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE USES= cpe go:1.21,modules USE_RC_SUBR= syncthing syncthing-discosrv syncthing-relaysrv \ syncthing-relaypoolsrv BINS= syncthing stdiscosrv strelaysrv strelaypoolsrv .for x in ${BINS} PLIST_FILES+= bin/${x} .endfor PORTDOCS= * USERS= syncthing GROUPS= syncthing # Anonymize MAKE_ENV+= BUILD_HOST=freebsd \ BUILD_USER=ports OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes do-build: @( cd ${WRKSRC}/${PORTNAME} ; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build ; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build stdiscosrv; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build strelaysrv; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade build strelaypoolsrv; \ ) do-test: @( cd ${WRKSRC}/${PORTNAME} ; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} run build.go -version v${DISTVERSION} -no-upgrade test ; \ ) do-install: .for x in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${PREFIX}/bin/ .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in AUTHORS LICENSE README.md ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${x} \ ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/certspotter/Makefile b/security/certspotter/Makefile index ddbbdbd264d7..944d2ca0e9ae 100644 --- a/security/certspotter/Makefile +++ b/security/certspotter/Makefile @@ -1,36 +1,36 @@ PORTNAME= certspotter DISTVERSIONPREFIX= v DISTVERSION= 0.18.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security www MAINTAINER= flo@FreeBSD.org COMMENT= Certificate Transparency Monitor WWW= https://github.com/SSLMate/certspotter LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules USE_RC_SUBR= certspotter GO_MODULE= software.sslmate.com/src/certspotter GO_TARGET= ./cmd/${PORTNAME}:${PREFIX}/sbin/${PORTNAME} CERTSPOTTER_USER?= certspotter CERTSPOTTER_GROUP?= certspotter SUB_LIST+= CERTSPOTTER_GROUP=${CERTSPOTTER_GROUP} \ CERTSPOTTER_USER=${CERTSPOTTER_USER} USERS= ${CERTSPOTTER_USER} GROUPS= ${CERTSPOTTER_GROUP} PLIST_SUB+= CERTSPOTTER_GROUP=${CERTSPOTTER_GROUP} \ CERTSPOTTER_USER=${CERTSPOTTER_USER} pre-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} @${ECHO_CMD} "example.org" > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/watchlist.sample @${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} .include diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile index d1a8661bafa3..1cc164e6bf25 100644 --- a/security/crowdsec/Makefile +++ b/security/crowdsec/Makefile @@ -1,174 +1,174 @@ PORTNAME= crowdsec DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 -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.21,modules pkgconfig _COMMIT= 4b8e6cd7 _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}-freebsd \ -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}/var/db/crowdsec/data # # 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/gopass/Makefile b/security/gopass/Makefile index 6c6d7ec19055..595dd01f2459 100644 --- a/security/gopass/Makefile +++ b/security/gopass/Makefile @@ -1,59 +1,59 @@ PORTNAME= gopass DISTVERSIONPREFIX= v DISTVERSION= 1.15.11 -PORTREVISION= 2 +PORTREVISION= 3 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.21,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/nuclei/Makefile b/security/nuclei/Makefile index 0b9e1c2a3cad..220abce6b4be 100644 --- a/security/nuclei/Makefile +++ b/security/nuclei/Makefile @@ -1,19 +1,20 @@ PORTNAME= nuclei DISTVERSIONPREFIX= v DISTVERSION= 3.1.10 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= dutra@FreeBSD.org COMMENT= Fast vulnerability scanner WWW= https://github.com/projectdiscovery/nuclei LICENSE= MIT USES= go:1.21,modules GO_MODULE= github.com/projectdiscovery/nuclei/v3 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/osv-scanner/Makefile b/security/osv-scanner/Makefile index bd71315ad893..15058024f1fb 100644 --- a/security/osv-scanner/Makefile +++ b/security/osv-scanner/Makefile @@ -1,38 +1,38 @@ PORTNAME= osv-scanner DISTVERSIONPREFIX= v DISTVERSION= 1.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= lcook@FreeBSD.org COMMENT= Vulnerability scanner written in Go which uses the OSV database WWW= https://github.com/google/osv-scanner LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules _BUILD_VERSION= ${DISTVERSION} _BUILD_COMMIT= f6b0443 _BUILD_DATE= $$(date +%Y-%m-%d) GO_MODULE= github.com/google/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X main.version=${_BUILD_VERSION} \ -X main.date=${_BUILD_DATE} \ -X main.commit=${_BUILD_COMMIT}" PORTDOCS= README.md PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/security/trufflehog/Makefile b/security/trufflehog/Makefile index dae70cecec09..2b07065deecb 100644 --- a/security/trufflehog/Makefile +++ b/security/trufflehog/Makefile @@ -1,24 +1,24 @@ PORTNAME= trufflehog DISTVERSIONPREFIX= v DISTVERSION= 3.63.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Find and verify credentials WWW= https://trufflesecurity.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails see details here: https://github.com/golang/go/issues/65187 BROKEN_i386= compilation fails see details here: https://github.com/golang/go/issues/65187 USES= go:1.21,modules GO_MODULE= github.com/trufflesecurity/trufflehog/v3 #GO_TARGET= ./${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/xhash/Makefile b/security/xhash/Makefile index 9dc3bffe9126..4dda99d6c961 100644 --- a/security/xhash/Makefile +++ b/security/xhash/Makefile @@ -1,26 +1,27 @@ PORTNAME= xhash DISTVERSIONPREFIX= v DISTVERSION= 3.3.2 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= rbranco@suse.de COMMENT= Calculate hashes on files using goroutines WWW= https://github.com/ricardobranco777/xhash/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.21 USE_GITHUB= yes GH_ACCOUNT= ricardobranco777 #GO_MODULE= github.com/ricardobranco777/xhash GH_TUPLE= \ golang:crypto:v0.19.0:golang_crypto/vendor/golang.org/x/crypto \ golang:sys:v0.17.0:golang_sys/vendor/golang.org/x/sys \ klauspost:cpuid:v2.0.12:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ zeebo:blake3:v0.2.3:zeebo_blake3/vendor/github.com/zeebo/blake3 PLIST_FILES= bin/xhash .include diff --git a/security/xray-core/Makefile b/security/xray-core/Makefile index a9739b981543..71141c685d6e 100644 --- a/security/xray-core/Makefile +++ b/security/xray-core/Makefile @@ -1,46 +1,46 @@ PORTNAME= xray-core DISTVERSIONPREFIX= v DISTVERSION= 1.8.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://github.com/v2fly/geoip/releases/download/202401250041/:geoip \ https://github.com/v2fly/domain-list-community/releases/download/20240123112230/: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.21 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 ${STAGEDIR}${ETCDIR}/ .include diff --git a/shells/carapace/Makefile b/shells/carapace/Makefile index c6982e27f224..4a0dbb14a691 100644 --- a/shells/carapace/Makefile +++ b/shells/carapace/Makefile @@ -1,32 +1,33 @@ PORTNAME= carapace DISTVERSIONPREFIX= v DISTVERSION= 0.30.2 +PORTREVISION= 1 CATEGORIES= shells MAINTAINER= tagattie@FreeBSD.org COMMENT= Multi-shell multi-command argument completer WWW= https://carapace.sh/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.21 GO_MODULE= github.com/rsteube/carapace-bin GO_TARGET= ./cmd/carapace GO_BUILDFLAGS= -ldflags "-s -w -X main.version=${DISTVERSION}" PLIST_FILES= bin/carapace PORTDOCS= README.md OPTIONS_DEFINE= DOCS pre-build: cd ${GO_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate ./cmd/... post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/consul/Makefile b/sysutils/consul/Makefile index 10096b903dfd..6b9d7154d6df 100644 --- a/sysutils/consul/Makefile +++ b/sysutils/consul/Makefile @@ -1,55 +1,56 @@ PORTNAME= consul DISTVERSION= 1.18.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21,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= 349cec1 # 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 43b1a0816b40..3e45ec6adee4 100644 --- a/sysutils/gomplate/Makefile +++ b/sysutils/gomplate/Makefile @@ -1,26 +1,26 @@ PORTNAME= gomplate DISTVERSIONPREFIX= v DISTVERSION= 3.11.7 -PORTREVISION= 1 +PORTREVISION= 2 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.21,modules GO_MODULE= github.com/hairyhenderson/gomplate/v3 GH_TAG_COMMIT= 6e709cf GO_TARGET= ./cmd/gomplate GO_BUILDFLAGS= -ldflags "\ -w -s \ -X github.com/hairyhenderson/gomplate/v3/version.GitCommit=${GH_TAG_COMMIT} \ -X github.com/hairyhenderson/gomplate/v3/version.Version=${DISTVERSION}" PLIST_FILES= bin/gomplate .include diff --git a/sysutils/hcloud/Makefile b/sysutils/hcloud/Makefile index 592c3316f8ae..ec2b89db5d49 100644 --- a/sysutils/hcloud/Makefile +++ b/sysutils/hcloud/Makefile @@ -1,20 +1,21 @@ PORTNAME= hcloud DISTVERSIONPREFIX= v DISTVERSION= 1.42.0 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= uzsolt@FreeBSD.org COMMENT= Official Hetzner Cloud command-line interface WWW= https://github.com/hetznercloud/cli LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,1.21 GO_MODULE= github.com/hetznercloud/cli GO_TARGET= ./cmd/hcloud PLIST_FILES= bin/hcloud .include diff --git a/sysutils/helmfile/Makefile b/sysutils/helmfile/Makefile index e9bef2cb8176..eb18935b5fbf 100644 --- a/sysutils/helmfile/Makefile +++ b/sysutils/helmfile/Makefile @@ -1,21 +1,21 @@ PORTNAME= helmfile DISTVERSIONPREFIX= v DISTVERSION= 0.158.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= timp87@gmail.com COMMENT= Helmfile is a declarative spec for deploying helm charts WWW= https://github.com/helmfile/helmfile LICENSE= MIT RUN_DEPENDS= helm:sysutils/helm USES= go:1.21,modules GO_MODULE= github.com/${PORTNAME}/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X go.szostok.io/version.version=v${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/k9s/Makefile b/sysutils/k9s/Makefile index 45a54fad72ce..8f0ccd79ec50 100644 --- a/sysutils/k9s/Makefile +++ b/sysutils/k9s/Makefile @@ -1,20 +1,21 @@ PORTNAME= k9s DISTVERSIONPREFIX= v DISTVERSION= 0.31.9 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= gogolok@gmail.com COMMENT= Kubernetes command-line tool WWW= https://github.com/derailed/k9s LICENSE= APACHE20 USES= go:1.21,modules GO_MODULE= github.com/derailed/k9s GO_BUILDFLAGS= -ldflags="-X github.com/derailed/k9s/cmd.version=${DISTVERSIONFULL} \ -X github.com/derailed/k9s/cmd.date=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ -X github.com/derailed/k9s/cmd.commit=f2f4077b592dcbb4162cbfe07bd99546d47d9955" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile index 06c1c1e643a7..66bcb1b21652 100644 --- a/sysutils/kopia/Makefile +++ b/sysutils/kopia/Makefile @@ -1,29 +1,29 @@ PORTNAME= kopia DISTVERSIONPREFIX= v DISTVERSION= 0.15.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.21,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/nomad-pot-driver/Makefile b/sysutils/nomad-pot-driver/Makefile index bfc30272d7f5..0b405dadb2eb 100644 --- a/sysutils/nomad-pot-driver/Makefile +++ b/sysutils/nomad-pot-driver/Makefile @@ -1,24 +1,24 @@ PORTNAME= nomad-pot-driver DISTVERSIONPREFIX= v DISTVERSION= 0.10.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= pizzamig@FreeBSD.org COMMENT= Nomad driver to support pot jails WWW= https://www.nomadproject.io LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nomad:sysutils/nomad \ pot>=0.16.0:sysutils/pot USES= go:1.21,modules GO_MODULE= github.com/bsdpot/nomad-pot-driver GO_TARGET= :${PREFIX}/libexec/nomad/plugins/nomad-pot-driver SUB_FILES= pkg-message PLIST_FILES= ${PREFIX}/libexec/nomad/plugins/nomad-pot-driver .include diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile index 30ebf57e6d20..addab30b2544 100644 --- a/sysutils/nomad/Makefile +++ b/sysutils/nomad/Makefile @@ -1,42 +1,43 @@ PORTNAME= nomad DISTVERSIONPREFIX= v DISTVERSION= 1.7.4 +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.21,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/terraform/Makefile b/sysutils/terraform/Makefile index e0f766c1f517..7f74dc4f4c94 100644 --- a/sysutils/terraform/Makefile +++ b/sysutils/terraform/Makefile @@ -1,21 +1,22 @@ PORTNAME= terraform DISTVERSIONPREFIX= v DISTVERSION= 1.7.4 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Provides a common configuration to launch infrastructure WWW= https://terraform.io/ USES= cpe go:1.21,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/sysutils/tflint/Makefile b/sysutils/tflint/Makefile index 1552a18b3b05..60b0dcd248a0 100644 --- a/sysutils/tflint/Makefile +++ b/sysutils/tflint/Makefile @@ -1,19 +1,20 @@ PORTNAME= tflint DISTVERSIONPREFIX= v DISTVERSION= 0.50.3 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dutra@FreeBSD.org COMMENT= Terraform Linter WWW= https://github.com/terraform-linters/tflint LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/terraform-linters/tflint PLIST_FILES= bin/${PORTNAME} .include diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile index 1e7a87f95b12..ca5822a70420 100644 --- a/textproc/gitlab-elasticsearch-indexer/Makefile +++ b/textproc/gitlab-elasticsearch-indexer/Makefile @@ -1,60 +1,61 @@ PORTNAME= gitlab-elasticsearch-indexer PORTVERSION= 4.7.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21 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/vacuum/Makefile b/textproc/vacuum/Makefile index 51530ed5eeb5..390f7a7a6a30 100644 --- a/textproc/vacuum/Makefile +++ b/textproc/vacuum/Makefile @@ -1,24 +1,24 @@ PORTNAME= vacuum DISTVERSIONPREFIX= v DISTVERSION= 0.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc PKGNAMESUFFIX= -lint-tool MAINTAINER= yuri@FreeBSD.org COMMENT= OpenAPI/Swagger linter and quality analysis tool WWW= https://quobix.com/vacuum/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/daveshanley/vacuum PLIST_FILES= bin/${PORTNAME} do-test: ${STAGEDIR}${PREFIX}/bin/${PORTNAME} lint ${WRKSRC}/model/test_files/petstorev3.json .include diff --git a/textproc/zed/Makefile b/textproc/zed/Makefile index ca76c44e4178..520fd99eb619 100644 --- a/textproc/zed/Makefile +++ b/textproc/zed/Makefile @@ -1,36 +1,37 @@ PORTNAME?= zed DISTVERSIONPREFIX= v DISTVERSION= 1.14.0 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= meta@FreeBSD.org COMMENT= Command-line tool to manage and query Zed data lakes WWW= https://zed.brimdata.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= fails to build: cannot use math.MaxUint32 (untyped int constant 4294967295) as int value in assignment (overflows) USES= go:modules,1.21 GO_MODULE?= github.com/brimdata/zed GO_PKGNAME?= github.com/brimdata/zed/cmd/zed PLIST_FILES?= bin/zed .include .if ${SLAVE_PORT} == no x-maintainer-makesum: ${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zed makesum ${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zq -C "${.CURDIR}/../zq" makesum ${CAT} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq | \ ${AWK} '$$1 != "TIMESTAMP" || NR == 1' > ${.CURDIR}/distinfo ${RM} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq .endif .include diff --git a/www/gitea/Makefile b/www/gitea/Makefile index 879ef454f767..2a11afa1214f 100644 --- a/www/gitea/Makefile +++ b/www/gitea/Makefile @@ -1,77 +1,78 @@ PORTNAME= gitea DISTVERSIONPREFIX= v DISTVERSION= 1.21.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ \ https://dl.gitea.io/gitea/${DISTVERSION}/ DISTNAME= gitea-src-${DISTVERSION} MAINTAINER= stb@lassitu.de COMMENT= Compact self-hosted Git service WWW= https://gitea.io/en-US/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= cpe gmake go:1.21,no_targets USE_RC_SUBR= gitea EXTRACT_AFTER_ARGS= --strip-components 1 # since 1.17.0, archive includes gitea-src-VERSION directory 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= 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 \$${gitea_facility} -s \$${gitea_priority} -T \$${name} .else DAEMONARGS= -f .endif SUB_LIST+= DAEMONARGS="${DAEMONARGS}" SSP_UNSAFE= true # Default LDFLAGS are incompatible with build MAKE_ENV= LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}" MAKE_ARGS= GOPATH=${WRKDIR} TAGS="${GO_TAGS}" 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 @${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 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 c4b274ee48c2..2bcfc3c323c6 100644 --- a/www/gitlab-pages/Makefile +++ b/www/gitlab-pages/Makefile @@ -1,46 +1,47 @@ PORTNAME= gitlab-pages PORTVERSION= 16.9.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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.21 GO_MODULE= gitlab.com/gitlab-org/gitlab-pages USE_GITLAB= yes GL_ACCOUNT= gitlab-org GO_BUILDFLAGS= -ldflags="-X 'main.VERSION=${PORTVERSION}' -X 'main.REVISION=${GL_TAGNAME}'" USE_RC_SUBR= gitlab_pages 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/grafana/Makefile b/www/grafana/Makefile index 969eeba81158..9f7402d3a236 100644 --- a/www/grafana/Makefile +++ b/www/grafana/Makefile @@ -1,93 +1,94 @@ PORTNAME= grafana DISTVERSIONPREFIX= v DISTVERSION= 10.3.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://dl.grafana.com/oss/release/:public \ https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod DISTFILES= grafana-${DISTVERSION}.linux-amd64${EXTRACT_SUFX}:public \ go.mod:gomod \ pkg/util/xorm/go.mod:gomod MAINTAINER= drtr0jan@yandex.ru COMMENT= Dashboard and graph editor for multiple data stores WWW= https://grafana.com/grafana/ \ https://github.com/grafana/grafana LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 riscv64 BUILD_DEPENDS= wire:devel/go-wire RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss USES= cpe go:1.21,modules USE_GITHUB= yes USE_RC_SUBR= grafana TAG= 2527612 GO_MODULE= github.com/grafana/grafana GO_TARGET= ./pkg/cmd/grafana \ ./pkg/cmd/grafana-server \ ./pkg/cmd/grafana-cli GO_BUILDFLAGS= -ldflags="-w -X main.version=${PORTVERSION} -X main.commit=${TAG}" CONFLICTS_INSTALL= grafana* SUB_LIST= GRAFANA_USER=${GRAFANA_USER} \ GRAFANA_GROUP=${GRAFANA_GROUP} \ GRAFANA_DATADIR=${GRAFANA_DATADIR} \ GRAFANA_HOMEDIR=${GRAFANA_HOMEDIR} \ GRAFANA_LOGDIR=${GRAFANA_LOGDIR} \ GRAFANA_PLUGINDIR=${GRAFANA_PLUGINDIR} \ GRAFANA_PROVISIONINGDIR=${GRAFANA_PROVISIONINGDIR} GRAFANA_USER?= grafana GRAFANA_GROUP?= grafana USERS= ${GRAFANA_USER} GROUPS= ${GRAFANA_GROUP} PLIST_SUB= ${SUB_LIST} GRAFANA_DATADIR?= /var/db/${PORTNAME} GRAFANA_HOMEDIR?= ${DATADIR} GRAFANA_LOGDIR?= /var/log/${PORTNAME} GRAFANA_PLUGINDIR?= ${GRAFANA_DATADIR}/plugins GRAFANA_PROVISIONINGDIR?= ${ETCDIR}/provisioning post-patch: @${REINPLACE_CMD} \ -e 's|;data = /var/lib/grafana|data = ${GRAFANA_DATADIR}|g' \ -e 's|;logs = /var/log/grafana|logs = ${GRAFANA_LOGDIR}|g' \ -e 's|;plugins = /var/lib/grafana/plugins|plugins = ${GRAFANA_PLUGINDIR}|g' \ -e 's|;provisioning = conf/provisioning|provisioning = ${GRAFANA_PROVISIONINGDIR}|g' \ ${WRKSRC}/conf/sample.ini pre-build: @(cd ${GO_WRKSRC}; \ ${ECHO_MSG} "===> Generating wire_gen.go"; \ ${SETENV} ${MAKE_ENV} ${GO_ENV} wire gen -tags "oss" ./pkg/server ) post-install: ${MKDIR} ${STAGEDIR}${GRAFANA_HOMEDIR} ${MKDIR} ${STAGEDIR}${GRAFANA_HOMEDIR}/conf ${MKDIR} ${STAGEDIR}${GRAFANA_DATADIR} ${MKDIR} ${STAGEDIR}${GRAFANA_PLUGINDIR} .for dir in access-control alerting dashboards datasources notifiers plugins ${MKDIR} ${STAGEDIR}${GRAFANA_PROVISIONINGDIR}/${dir} .endfor ${MKDIR} ${STAGEDIR}${GRAFANA_LOGDIR} ( cd ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} && ${COPYTREE_SHARE} public ${STAGEDIR}${GRAFANA_HOMEDIR} ) .for dir in input-datasource ${MKDIR} ${STAGEDIR}${GRAFANA_HOMEDIR}/plugins-bundled/internal/${dir} ( cd ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}/plugins-bundled/internal/${dir}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${GRAFANA_HOMEDIR}/plugins-bundled/internal/${dir} ) .endfor ${INSTALL_DATA} ${WRKSRC}/conf/defaults.ini ${STAGEDIR}${GRAFANA_HOMEDIR}/conf/defaults.ini ${INSTALL_DATA} ${WRKSRC}/conf/sample.ini ${STAGEDIR}${ETCDIR}/grafana.ini.sample ${INSTALL_DATA} ${WRKSRC}/conf/ldap.toml ${STAGEDIR}${ETCDIR}/ldap.toml.sample ${FIND} ${STAGEDIR}${DATADIR}/public -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} .include diff --git a/www/lux/Makefile b/www/lux/Makefile index 4a30ebfc1e77..923c6992bfb0 100644 --- a/www/lux/Makefile +++ b/www/lux/Makefile @@ -1,29 +1,29 @@ PORTNAME= lux DISTVERSIONPREFIX= v DISTVERSION= 0.22.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org COMMENT= Fast, simple and clean video downloader WWW= https://github.com/iawia002/lux LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= go:1.21,modules GO_MODULE= github.com/iawia002/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDOCS= CONTRIBUTING.md README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile index 97282707d26f..8193a183b337 100644 --- a/www/miniflux/Makefile +++ b/www/miniflux/Makefile @@ -1,75 +1,75 @@ PORTNAME= miniflux DISTVERSION= 2.1.0 -PORTREVISION= 1 +PORTREVISION= 2 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.21 USE_GITHUB= yes GH_PROJECT= v2 GH_TUPLE= \ PuerkitoBio:goquery:v1.8.1:puerkitobio_goquery/vendor/github.com/PuerkitoBio/goquery \ abadojack:whatlanggo:v1.0.1:abadojack_whatlanggo/vendor/github.com/abadojack/whatlanggo \ 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.9.0:coreos_go_oidc_v3/vendor/github.com/coreos/go-oidc/v3 \ fxamacker:cbor:v2.5.0:fxamacker_cbor_v2/vendor/github.com/fxamacker/cbor/v2 \ go-jose:go-jose:v3.0.1:go_jose_go_jose_v3/vendor/github.com/go-jose/go-jose/v3 \ go-webauthn:webauthn:v0.10.1:go_webauthn_webauthn/vendor/github.com/go-webauthn/webauthn \ go-webauthn:x:v0.1.8:go_webauthn_x/vendor/github.com/go-webauthn/x \ golang-jwt:jwt:v5.2.0:golang_jwt_jwt_v5/vendor/github.com/golang-jwt/jwt/v5 \ golang:appengine:v1.6.8:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:v0.19.0:golang_crypto/vendor/golang.org/x/crypto \ golang:net:v0.21.0:golang_net/vendor/golang.org/x/net \ golang:oauth2:v0.17.0:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sys:v0.17.0:golang_sys/vendor/golang.org/x/sys \ golang:term:v0.17.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 \ matttproud:golang_protobuf_extensions:v2.0.0:matttproud_golang_protobuf_extensions_v2/vendor/github.com/matttproud/golang_protobuf_extensions/v2 \ 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.18.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.45.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.12.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.31.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ tdewolff:minify:v2.20.16:tdewolff_minify_v2/vendor/github.com/tdewolff/minify/v2 \ tdewolff:parse:v2.7.11: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.0: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/www/pydio-cells/Makefile b/www/pydio-cells/Makefile index 64c81be37d8a..4f1d059cf56f 100644 --- a/www/pydio-cells/Makefile +++ b/www/pydio-cells/Makefile @@ -1,57 +1,58 @@ PORTNAME= cells DISTVERSIONPREFIX= v DISTVERSION= 4.3.6 +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= pydio- MAINTAINER= skozlov@FreeBSD.org COMMENT= Nextgen file sharing platform for organizations WWW= https://github.com/pydio/cells LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= Not supported on i386 USES= cpe go:1.21,modules gmake CPE_VENDOR= pydio USE_RC_SUBR= ${PORTNAME} GO_MODULE= github.com/pydio/cells/v4 GO_BUILDFLAGS= -ldflags "-X github.com/pydio/cells/v4/common.version=${DISTVERSION}\ -X github.com/pydio/cells/v4/common.BuildStamp=1970-01-01T00:00:00" USERS= pydio GROUPS= pydio PLIST_FILES= bin/cells OPTIONS_DEFINE= BASH ZSH OPTIONS_DEFAULT= BASH ZSH BASH_PLIST_FILES= etc/bash_completion.d/${PORTNAME} ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-build-BASH-on: ${SETENV} CELLS_WORKING_DIR=${WRKDIR}/wrkdir \ ${GO_WRKDIR_BIN}/${PORTNAME} tools completion bash \ > ${WRKDIR}/bash_completions @${REINPLACE_CMD} -e 's|${GO_WRKDIR_BIN}/||g' ${WRKDIR}/bash_completions post-build-ZSH-on: ${SETENV} CELLS_WORKING_DIR=${WRKDIR}/wrkdir \ ${GO_WRKDIR_BIN}/${PORTNAME} tools completion zsh \ > ${WRKDIR}/zsh_completions @${REINPLACE_CMD} -e 's|${GO_WRKDIR_BIN}/||g' ${WRKDIR}/zsh_completions 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-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKDIR}/zsh_completions \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} .include diff --git a/www/shiori/Makefile b/www/shiori/Makefile index 84ea2f6c4859..98a5ae7692c7 100644 --- a/www/shiori/Makefile +++ b/www/shiori/Makefile @@ -1,31 +1,31 @@ PORTNAME= shiori DISTVERSIONPREFIX= v DISTVERSION= 1.6.0-rc.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= nivit@FreeBSD.org COMMENT= Simple bookmark manager built with Go WWW= https://github.com/go-shiori/shiori LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.21,modules GO_MODULE= github.com/go-shiori/shiori PLIST_FILES= bin/${PORTNAME} BUILD_DATE= %FT%T # fix `shiori version` output post-patch: ${REINPLACE_CMD} \ -e 's/"dev"/"${DISTVERSION}"/1' \ -e 's/"none"/"${OPSYS}"/1' \ -e 's/"unknown"/"${BUILD_DATE:gmtime}"/1' \ ${WRKSRC}/main.go \ ${WRKSRC}/internal/model/main.go .include diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index e7166027abb6..5802d9bb8b5a 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,125 +1,126 @@ PORTNAME= kitty DISTVERSIONPREFIX= v DISTVERSION= 0.32.2 +PORTREVISION= 1 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} \ 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.21,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