Index: head/devel/gitlab-runner/Makefile =================================================================== --- head/devel/gitlab-runner/Makefile (revision 567553) +++ head/devel/gitlab-runner/Makefile (revision 567554) @@ -1,221 +1,217 @@ # $FreeBSD$ PORTNAME= gitlab-runner PORTVERSION= 13.9.0 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 DIST_SUBDIR= gitlab-runner EXTRACT_ONLY= ${ALLFILES:Nprebuilt*:} MAINTAINER= swills@FreeBSD.org COMMENT= Official GitLab Runner written in Go 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 USE_GITLAB= yes USE_GITHUB= nodefault # Find tags here: # https://gitlab.com/gitlab-org/gitlab-runner/tags GL_ACCOUNT= gitlab-org GL_COMMIT= 2ebc4dc45bd6065afa304a5bfdb846334981529e GITBRANCH= 13-9-stable # https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-freebsd-amd64 BUILT= 2021-02-22T20:17:08+0000 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:6df5d9af221d:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \ Azure:go-ansiterm:d6e3b3328b78:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ Azure:go-autorest:autorest/v0.11.12:azure_go_autorest_autorest \ Azure:go-autorest:b3a0b30a7423:azure_go_autorest_date \ Azure:go-autorest:b8bf08c40b80:azure_go_autorest_adal \ Azure:go-autorest:logger/v0.2.0:azure_go_autorest_logger \ Azure:go-autorest:tracing/v0.6.0:azure_go_autorest_tracing \ Azure:go-autorest:v14.2.0:azure_go_autorest/vendor/github.com/Azure/go-autorest \ BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ Microsoft:go-winio:v0.4.12:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \ ayufan:golang-kardianos-service:0c8eb6d8fff2:ayufan_golang_kardianos_service/vendor/github.com/ayufan/golang-kardianos-service \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ bmatcuk:doublestar:v1.3.0:bmatcuk_doublestar/vendor/github.com/bmatcuk/doublestar \ boumenot:gocover-cobertura:v1.1.0:boumenot_gocover_cobertura/vendor/github.com/boumenot/gocover-cobertura \ census-instrumentation:opencensus-go:v0.22.5:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ containerd:containerd:v1.4.3:containerd_containerd/vendor/github.com/containerd/containerd \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ docker:cli:v20.10.2:docker_cli/vendor/github.com/docker/cli \ docker:distribution:v2.7.0:docker_distribution/vendor/github.com/docker/distribution \ docker:go-connections:v0.3.0:docker_go_connections/vendor/github.com/docker/go-connections \ docker:go-units:eb879ae3e2b8:docker_go_units/vendor/github.com/docker/go-units \ docker:machine:7b7a141da844:docker_machine/vendor/github.com/docker/machine \ docker:spdystream:449fdfce4d96:docker_spdystream/vendor/github.com/docker/spdystream \ form3tech-oss:jwt-go:v3.2.2:form3tech_oss_jwt_go/vendor/github.com/form3tech-oss/jwt-go \ fullsailor:pkcs7:d7302db945fa:fullsailor_pkcs7/vendor/github.com/fullsailor/pkcs7 \ getsentry:raven-go:dffeb57df75d:getsentry_raven_go/vendor/github.com/getsentry/raven-go \ go-inf:inf:v0.9.0:go_inf_inf/vendor/gopkg.in/inf.v0 \ go-ini:ini:v1.62.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-yaml:yaml:eeeca48fe776:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.3.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ gogo:protobuf:v1.1.1:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:eec23a3978ad:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \ golang:lint:738671d3881b:golang_lint/vendor/golang.org/x/lint \ golang:mock:v1.4.4:golang_mock/vendor/github.com/golang/mock \ golang:mod:v0.4.0:golang_mod/vendor/golang.org/x/mod \ golang:net:6772e930b67b:golang_net/vendor/golang.org/x/net \ golang:oauth2:0b49973bad19:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ golang:snappy:v0.0.1:golang_snappy/vendor/github.com/golang/snappy \ golang:sync:09787c993a3a:golang_sync/vendor/golang.org/x/sync \ golang:sys:f9321e4c35a6:golang_sys/vendor/golang.org/x/sys \ golang:term:7de9c90e9dd1:golang_term/vendor/golang.org/x/term \ golang:text:v0.3.4:golang_text/vendor/golang.org/x/text \ golang:time:3af7569d3a1e:golang_time/vendor/golang.org/x/time \ golang:tools:a1a1cbeaa516:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ google:go-cloud:5094f54ed8bb:google_go_cloud/vendor/gocloud.dev \ google:go-genproto:6486ece9c497:google_go_genproto/vendor/google.golang.org/genproto \ google:gofuzz:v1.0.0:google_gofuzz/vendor/github.com/google/gofuzz \ google:uuid:v1.1.2:google_uuid/vendor/github.com/google/uuid \ google:wire:v0.4.0:google_wire/vendor/github.com/google/wire \ googleapis:gax-go:v2.0.2:googleapis_gax_go/vendor/github.com/googleapis/gax-go \ googleapis:gax-go:v2.0.5:googleapis_gax_go_v2 \ googleapis:gnostic:v0.1.0:googleapis_gnostic/vendor/github.com/googleapis/gnostic \ googleapis:google-api-go-client:v0.36.0:googleapis_google_api_go_client/vendor/google.golang.org/api \ googleapis:google-cloud-go:storage/v1.12.0:googleapis_google_cloud_go_storage \ googleapis:google-cloud-go:v0.72.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \ gophercloud:gophercloud:e25975f29734:gophercloud_gophercloud/vendor/github.com/gophercloud/gophercloud \ gorhill:cronexpr:f0984319b442:gorhill_cronexpr/vendor/github.com/gorhill/cronexpr \ gorilla:context:v1.1.1:gorilla_context/vendor/github.com/gorilla/context \ gorilla:mux:599cba5e7b61:gorilla_mux/vendor/github.com/gorilla/mux \ gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \ grpc:grpc-go:v1.34.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hashicorp:errwrap:v1.0.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \ hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \ hashicorp:go-multierror:v1.0.0:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \ hashicorp:go-retryablehttp:v0.5.4:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \ hashicorp:go-rootcerts:v1.0.1:hashicorp_go_rootcerts/vendor/github.com/hashicorp/go-rootcerts \ hashicorp:go-sockaddr:v1.0.2:hashicorp_go_sockaddr/vendor/github.com/hashicorp/go-sockaddr \ hashicorp:go-version:v1.2.0:hashicorp_go_version/vendor/github.com/hashicorp/go-version \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ hashicorp:vault:api/v1.0.4:hashicorp_vault_api/vendor/github.com/hashicorp/vault \ hashicorp:vault:sdk/v0.1.13:hashicorp_vault_sdk \ imdario:mergo:v0.3.7:imdario_mergo/vendor/github.com/imdario/mergo \ jpillora:backoff:06c7a16c845d:jpillora_backoff/vendor/github.com/jpillora/backoff \ json-iterator:go:v1.1.10:json_iterator_go/vendor/github.com/json-iterator/go \ jstemmer:go-junit-report:v0.9.1:jstemmer_go_junit_report/vendor/github.com/jstemmer/go-junit-report \ kardianos:osext:c2c54e542fb7:kardianos_osext/vendor/github.com/kardianos/osext \ klauspost:compress:v1.11.6:klauspost_compress/vendor/github.com/klauspost/compress \ klauspost:cpuid:v1.3.1:klauspost_cpuid/vendor/github.com/klauspost/cpuid \ klauspost:pgzip:v1.2.5:klauspost_pgzip/vendor/github.com/klauspost/pgzip \ kr:pty:v1.1.1:kr_pty/vendor/github.com/kr/pty \ kubernetes-sigs:yaml:v1.1.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \ kubernetes:api:159aefb8556b:kubernetes_api/vendor/k8s.io/api \ kubernetes:apimachinery:c5d2f014d689:kubernetes_apimachinery/vendor/k8s.io/apimachinery \ kubernetes:client-go:01520b8320fc:kubernetes_client_go/vendor/k8s.io/client-go \ kubernetes:klog:v1.0.0:kubernetes_klog/vendor/k8s.io/klog \ kubernetes:utils:69764acb6e8e:kubernetes_utils/vendor/k8s.io/utils \ markelog:trie:098fa99650c0:markelog_trie/vendor/github.com/markelog/trie \ mattn:go-ieproxy:v0.0.1:mattn_go_ieproxy/vendor/github.com/mattn/go-ieproxy \ matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ minio:md5-simd:v1.1.1:minio_md5_simd/vendor/github.com/minio/md5-simd \ minio:minio-go:v6.0.57:minio_minio_go_v6/vendor/github.com/minio/minio-go/v6 \ minio:sha256-simd:v0.1.1:minio_sha256_simd/vendor/github.com/minio/sha256-simd \ mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ mitchellh:gox:v1.0.1:mitchellh_gox/vendor/github.com/mitchellh/gox \ mitchellh:iochan:v1.0.0:mitchellh_iochan/vendor/github.com/mitchellh/iochan \ mitchellh:mapstructure:v1.4.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ moby:moby:v0.4.1:moby_moby_1/vendor/github.com/docker/docker-credential-helpers \ moby:moby:v20.10.2:moby_moby/vendor/github.com/docker/docker \ moby:term:df9cb8a40635:moby_term/vendor/github.com/moby/term \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ morikuni:aec:v1.0.0:morikuni_aec/vendor/github.com/morikuni/aec \ opencontainers:go-digest:v1.0.0-rc1:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \ opencontainers:image-spec:v1.0.1:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \ pierrec:lz4:v2.0.5: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.1.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:14fe0d1b01d4:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.6.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.0.5:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ ryanuber:go-glob:v1.0.0:ryanuber_go_glob/vendor/github.com/ryanuber/go-glob \ saracen:fastzip:v0.1.5:saracen_fastzip/vendor/github.com/saracen/fastzip \ saracen:zipextra:7347a2ee3f10:saracen_zipextra/vendor/github.com/saracen/zipextra \ sirupsen:logrus:v1.7.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ square:go-jose:v2.3.1:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \ stretchr:objx:v0.3.0:stretchr_objx/vendor/github.com/stretchr/objx \ stretchr:testify:95a9d909e987:stretchr_testify/vendor/github.com/stretchr/testify \ tevino:abool:3c25f2fe7cd0:tevino_abool/vendor/github.com/tevino/abool \ urfave:cli:v1.20.0:urfave_cli/vendor/github.com/urfave/cli GL_TUPLE= ayufan:golang-cli-helpers:a7cf72d604cdf0af6031dd5d54a4e513abeff0d4:ayufan_golang_cli_helpers/vendor/gitlab.com/ayufan/golang-cli-helpers \ gitlab-org:gitlab-terminal:2a71b03b44621289b28493d8bf3eaa9f64dbb6c9:gitlab_org_gitlab_terminal/vendor/gitlab.com/gitlab-org/gitlab-terminal GO_BUILDFLAGS= -ldflags=" \ -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=${PORTVERSION} \ -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=${GL_COMMIT:C/^(........).*/\1/} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=${BUILT} \ -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=${GITBRANCH} \ -s -w" PLIST_FILES= bin/gitlab-runner USE_RC_SUBR= gitlab_runner USERS= gitlab-runner GROUPS= gitlab-runner post-extract: @${RM} -r ${WRKSRC}/vendor/cloud.google.com/go/storage @${RLN} ${WRKSRC_googleapis_google_cloud_go_storage}/storage ${WRKSRC}/vendor/cloud.google.com/go/storage @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest @${RLN} ${WRKSRC_azure_go_autorest_autorest}/autorest ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal @${RLN} ${WRKSRC_azure_go_autorest_adal}/autorest/adal ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/date @${RLN} ${WRKSRC_azure_go_autorest_date}/autorest/date ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/date @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger @${RLN} ${WRKSRC_azure_go_autorest_logger}/logger ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger @${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing @${RLN} ${WRKSRC_azure_go_autorest_tracing}/tracing ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing @${RM} -r ${WRKSRC}/vendor/github.com/googleapis/gax-go/v2 @${RLN} ${WRKSRC_googleapis_gax_go_v2}/v2 ${WRKSRC}/vendor/github.com/googleapis/gax-go/v2 @${RM} -r ${WRKSRC}/vendor/github.com/hashicorp/vault/sdk @${RLN} ${WRKSRC_hashicorp_vault_sdk}/sdk ${WRKSRC}/vendor/github.com/hashicorp/vault/sdk 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/ -gomod-deps: patch - (cd ${WRKSRC} && go mod vendor) - (cd ${WRKSRC} && modules2tuple vendor/modules.txt) - 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 Index: head/devel/gitlab-shell/Makefile =================================================================== --- head/devel/gitlab-shell/Makefile (revision 567553) +++ head/devel/gitlab-shell/Makefile (revision 567554) @@ -1,104 +1,99 @@ # Created by: Torsten Zuehlsdorff # $FreeBSD$ PORTNAME?= gitlab-shell PORTVERSION?= 13.16.1 PORTREVISION?= 0 CATEGORIES= devel MAINTAINER?= mfechner@FreeBSD.org COMMENT?= GitLab Shell handles git commands for GitLab LICENSE= MIT USES= gmake go:modules,no_targets MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}" ALL_TARGET= build USE_GITLAB= yes GL_ACCOUNT?= gitlab-org # Find the commit hash here: https://gitlab.com/gitlab-org/gitlab-shell/tags GL_COMMIT?= ce93aeae452661a0afbdadcba0377abc27646798 USERS= git GROUPS= git #INSTALL_TARGET= install-strip # for go dependencies USE_GITHUB= nodefault -# generated with: make gomod-deps +# generated with: make gomod-vendor # 38dd GH_TUPLE= \ DataDog:dd-trace-go:v1.7.0:datadog_dd_trace_go/vendor/gopkg.in/DataDog/dd-trace-go.v1 \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ client9:reopen:v1.0.0:client9_reopen/vendor/github.com/client9/reopen \ HdrHistogram:hdrhistogram-go:3a0bb77429bd:codahale_hdrhistogram_go/vendor/github.com/codahale/hdrhistogram \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ go-yaml:yaml:v2.2.8:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:crypto:8b5274cf687f:golang_crypto/vendor/golang.org/x/crypto \ golang:net:6afb5195e5aa:golang_net/vendor/golang.org/x/net \ golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:cd5d95a43a6e:golang_sync/vendor/golang.org/x/sync \ golang:sys:86b910548bc1:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ google:go-genproto:ca5a22157cba:google_go_genproto/vendor/google.golang.org/genproto \ grpc-ecosystem:go-grpc-middleware:v1.0.0:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \ grpc:grpc-go:v1.24.0:grpc_grpc_go/vendor/google.golang.org/grpc \ konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ lightstep:lightstep-tracer-go:v0.15.6:lightstep_lightstep_tracer_go/vendor/github.com/lightstep/lightstep-tracer-go \ mattn:go-shellwords:2444a32a19f4:mattn_go_shellwords/vendor/github.com/mattn/go-shellwords \ matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ opentracing:opentracing-go:v1.0.2:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ otiai10:copy:v1.0.1:otiai10_copy/vendor/github.com/otiai10/copy \ philhofer:fwd:v1.0.0:philhofer_fwd/vendor/github.com/philhofer/fwd \ pkg:errors:v0.8.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.0.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:14fe0d1b01d4:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.4.1:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.0.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ sebest:xff:6c115e0ffa35:sebest_xff/vendor/github.com/sebest/xff \ sirupsen:logrus:v1.6.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testify \ tinylib:msgp:v1.0.2:tinylib_msgp/vendor/github.com/tinylib/msgp \ uber:jaeger-client-go:v2.15.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \ uber:jaeger-lib:v1.5.0:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib GL_TUPLE= gitlab-org:gitaly:3f5e218def93024f3aafe590c22cd1b29f744105:gitlab_org_gitaly/vendor/gitlab.com/gitlab-org/gitaly \ gitlab-org:labkit:45895e1290291a2519678a847a24edb22880b9e6:gitlab_org_labkit/vendor/gitlab.com/gitlab-org/labkit VARLOGDIR?= /var/log/gitlab-shell PLIST_FILES+= "@dir(git,,755) ${VARLOGDIR}" post-patch: ${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 - -# Build the go deps, use `pkg install modules2tuple` -gomod-deps: patch - (cd ${WRKSRC} && go mod vendor) - (cd ${WRKSRC} && modules2tuple vendor/modules.txt) pre-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} build) pre-install: ${RM} -rf ${WRKSRC}/config.yml #${RM} -rf ${WRKSRC}/go_build do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for x in .codeclimate.yml .gitignore .gitlab-ci.yml .ruby-version CHANGELOG CONTRIBUTING.md Gemfile Gemfile.lock LICENSE README.md VERSION config.yml.sample ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DATADIR}/ .endfor .for x in bin spec support .gitlab @${MKDIR} ${STAGEDIR}${DATADIR}/${x} (cd ${WRKSRC}/${x} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${x}) .endfor @${MKDIR} ${STAGEDIR}${VARLOGDIR} .include Index: head/net/gitlab-agent/Makefile =================================================================== --- head/net/gitlab-agent/Makefile (revision 567553) +++ head/net/gitlab-agent/Makefile (revision 567554) @@ -1,218 +1,214 @@ # Created by: Matthias Fechner # $FreeBSD$ PORTNAME?= gitlab-agent PORTVERSION?= 13.9.1 PORTREVISION?= 0 CATEGORIES= net MAINTAINER?= mfechner@FreeBSD.org COMMENT?= GitLab kubernetes agent LICENSE= MIT # bazel>=0:devel/bazel \ BUILD_DEPENDS= git>=0:devel/git \ golangci-lint>=0:devel/golangci-lint USES= go:modules USE_GITLAB= yes GL_ACCOUNT?= gitlab-org/cluster-integration # Find the commit hash here: https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/tags GL_COMMIT?= b5ed00c123f05db4ce3e22abe60a647bd6267edd # for go dependencies USE_GITHUB= nodefault # generated with: make gomod-vendor # 173dd GH_TUPLE= \ Azure:go-ansiterm:d6e3b3328b78:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \ DataDog:dd-trace-go:v1.7.0:datadog_dd_trace_go/vendor/gopkg.in/DataDog/dd-trace-go.v1 \ MakeNowJust:heredoc:bb23615498cd:makenowjust_heredoc/vendor/github.com/MakeNowJust/heredoc \ PuerkitoBio:purell:v1.1.1:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \ PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \ StackExchange:wmi:cbe66965904d:stackexchange_wmi/vendor/github.com/StackExchange/wmi \ argoproj:gitops-engine:0b4199b00135:argoproj_gitops_engine/vendor/github.com/argoproj/gitops-engine \ asaskevich:govalidator:21a406dcc535:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \ ash2k:stager:v0.2.1:ash2k_stager/vendor/github.com/ash2k/stager \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ bmatcuk:doublestar:v2.0.4:bmatcuk_doublestar_v2/vendor/github.com/bmatcuk/doublestar/v2 \ census-instrumentation:opencensus-go:v0.22.5:census_instrumentation_opencensus_go/vendor/go.opencensus.io \ cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ chai2010:gettext-go:c6fed771bfd5:chai2010_gettext_go/vendor/github.com/chai2010/gettext-go \ cilium:cilium:v1.9.1:cilium_cilium/vendor/github.com/cilium/cilium \ cilium:kafka:01ce283b732b:cilium_kafka/vendor/github.com/optiopay/kafka \ client9:reopen:v1.0.0:client9_reopen/vendor/github.com/client9/reopen \ HdrHistogram:hdrhistogram-go:3a0bb77429bd:codahale_hdrhistogram_go/vendor/github.com/codahale/hdrhistogram \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ dgrijalva:jwt-go:c66185887605:dgrijalva_jwt_go_v4/vendor/github.com/dgrijalva/jwt-go/v4 \ dgryski:go-rendezvous:9f7001d12a5f:dgryski_go_rendezvous/vendor/github.com/dgryski/go-rendezvous \ docker:distribution:v2.7.1:docker_distribution/vendor/github.com/docker/distribution \ docker:spdystream:449fdfce4d96:docker_spdystream/vendor/github.com/docker/spdystream \ emicklei:go-restful:v2.9.5:emicklei_go_restful/vendor/github.com/emicklei/go-restful \ envoyproxy:protoc-gen-validate:7df253a68e6b:envoyproxy_protoc_gen_validate/vendor/github.com/envoyproxy/protoc-gen-validate \ evanphx:json-patch:v4.9.0:evanphx_json_patch/vendor/github.com/evanphx/json-patch \ exponent-io:jsonpath:d6023ce2651d:exponent_io_jsonpath/vendor/github.com/exponent-io/jsonpath \ fatih:camelcase:v1.0.0:fatih_camelcase/vendor/github.com/fatih/camelcase \ fsnotify:fsnotify:7f4cf4dd2b52:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ getsentry:sentry-go:v0.7.0:getsentry_sentry_go/vendor/github.com/getsentry/sentry-go \ ghodss:yaml:v1.0.0:ghodss_yaml/vendor/github.com/ghodss/yaml \ go-inf:inf:v0.9.1:go_inf_inf/vendor/gopkg.in/inf.v0 \ go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-logr:logr:v0.3.0:go_logr_logr/vendor/github.com/go-logr/logr \ go-logr:zapr:v0.3.0:go_logr_zapr/vendor/github.com/go-logr/zapr \ go-ole:go-ole:v1.2.4:go_ole_go_ole/vendor/github.com/go-ole/go-ole \ go-openapi:analysis:v0.19.10:go_openapi_analysis/vendor/github.com/go-openapi/analysis \ go-openapi:errors:v0.19.6:go_openapi_errors/vendor/github.com/go-openapi/errors \ go-openapi:jsonpointer:v0.19.3:go_openapi_jsonpointer/vendor/github.com/go-openapi/jsonpointer \ go-openapi:jsonreference:v0.19.3:go_openapi_jsonreference/vendor/github.com/go-openapi/jsonreference \ go-openapi:loads:v0.19.5:go_openapi_loads/vendor/github.com/go-openapi/loads \ go-openapi:runtime:v0.19.20:go_openapi_runtime/vendor/github.com/go-openapi/runtime \ go-openapi:spec:v0.19.8:go_openapi_spec/vendor/github.com/go-openapi/spec \ go-openapi:strfmt:v0.19.5:go_openapi_strfmt/vendor/github.com/go-openapi/strfmt \ go-openapi:swag:v0.19.9:go_openapi_swag/vendor/github.com/go-openapi/swag \ go-openapi:validate:v0.19.10:go_openapi_validate/vendor/github.com/go-openapi/validate \ go-redis:redis:v8.4.8:go_redis_redis_v8/vendor/github.com/go-redis/redis/v8 \ go-redis:redismock:v8.0.3:go_redis_redismock_v8/vendor/github.com/go-redis/redismock/v8 \ go-stack:stack:v1.8.0:go_stack_stack/vendor/github.com/go-stack/stack \ go-yaml:yaml:eeeca48fe776:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ go-yaml:yaml:v2.3.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ gogo:protobuf:v1.3.1:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:7f63de1d35b0:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \ golang:mock:1fe605df5e5f:golang_mock/vendor/github.com/golang/mock \ golang:mod:v0.4.0:golang_mod/vendor/golang.org/x/mod \ golang:net:6772e930b67b:golang_net/vendor/golang.org/x/net \ golang:oauth2:08078c50e5b5:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sync:09787c993a3a:golang_sync/vendor/golang.org/x/sync \ golang:sys:f9fddec55a1e:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.4:golang_text/vendor/golang.org/x/text \ golang:time:7e3f01d25324:golang_time/vendor/golang.org/x/time \ golang:tools:a1b87a1c0de4:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ google:btree:v1.0.0:google_btree/vendor/github.com/google/btree \ google:go-cmp:v0.5.4:google_go_cmp/vendor/github.com/google/go-cmp \ google:go-genproto:ffc7fda8c3d7:google_go_genproto/vendor/google.golang.org/genproto \ google:gofuzz:v1.1.0:google_gofuzz/vendor/github.com/google/gofuzz \ google:pprof:b9804c9f04c2:google_pprof/vendor/github.com/google/pprof \ googleapis:gax-go:v2.0.5:googleapis_gax_go_v2/vendor/github.com/googleapis/gax-go \ googleapis:gnostic:v0.4.1:googleapis_gnostic/vendor/github.com/googleapis/gnostic \ googleapis:google-api-go-client:v0.36.0:googleapis_google_api_go_client/vendor/google.golang.org/api \ googleapis:google-cloud-go:v0.75.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \ gregjones:httpcache:9cad4c3443a7:gregjones_httpcache/vendor/github.com/gregjones/httpcache \ grpc-ecosystem:go-grpc-middleware:v1.2.2:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \ grpc-ecosystem:go-grpc-prometheus:9abf3eb82b4a:grpc_ecosystem_go_grpc_prometheus/vendor/github.com/grpc-ecosystem/go-grpc-prometheus \ grpc:grpc-go:d8ef479ab79a:grpc_grpc_go_1/vendor/google.golang.org/grpc/examples \ grpc:grpc-go:v1.35.0:grpc_grpc_go/vendor/google.golang.org/grpc \ hashicorp:golang-lru:v0.5.1:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ imdario:mergo:v0.3.5:imdario_mergo/vendor/github.com/imdario/mergo \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jonboulle:clockwork:v0.1.0:jonboulle_clockwork/vendor/github.com/jonboulle/clockwork \ json-iterator:go:v1.1.10:json_iterator_go/vendor/github.com/json-iterator/go \ klauspost:compress:v1.10.3:klauspost_compress/vendor/github.com/klauspost/compress \ kr:pretty:v0.2.0:kr_pretty/vendor/github.com/kr/pretty \ kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \ kubernetes-sigs:kustomize:v2.0.3:kubernetes_sigs_kustomize/vendor/sigs.k8s.io/kustomize \ kubernetes-sigs:structured-merge-diff:v4.0.2:kubernetes_sigs_structured_merge_diff/vendor/sigs.k8s.io/structured-merge-diff/v4 \ kubernetes-sigs:yaml:v1.2.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \ kubernetes:api:v0.20.1:kubernetes_api/vendor/k8s.io/api \ kubernetes:apiextensions-apiserver:v0.20.1:kubernetes_apiextensions_apiserver/vendor/k8s.io/apiextensions-apiserver \ kubernetes:apimachinery:v0.20.1:kubernetes_apimachinery/vendor/k8s.io/apimachinery \ kubernetes:apiserver:v0.20.1:kubernetes_apiserver/vendor/k8s.io/apiserver \ kubernetes:cli-runtime:v0.20.1:kubernetes_cli_runtime/vendor/k8s.io/cli-runtime \ kubernetes:client-go:v0.20.1:kubernetes_client_go/vendor/k8s.io/client-go \ kubernetes:cloud-provider:v0.20.1:kubernetes_cloud_provider/vendor/k8s.io/cloud-provider \ kubernetes:cluster-bootstrap:v0.20.1:kubernetes_cluster_bootstrap/vendor/k8s.io/cluster-bootstrap \ kubernetes:code-generator:v0.20.1:kubernetes_code_generator/vendor/k8s.io/code-generator \ kubernetes:component-base:v0.20.1:kubernetes_component_base/vendor/k8s.io/component-base \ kubernetes:component-helpers:v0.20.1:kubernetes_component_helpers/vendor/k8s.io/component-helpers \ kubernetes:controller-manager:v0.20.1:kubernetes_controller_manager/vendor/k8s.io/controller-manager \ kubernetes:cri-api:v0.20.1:kubernetes_cri_api/vendor/k8s.io/cri-api \ kubernetes:csi-translation-lib:v0.20.1:kubernetes_csi_translation_lib/vendor/k8s.io/csi-translation-lib \ kubernetes:klog:v2.4.0:kubernetes_klog/vendor/k8s.io/klog/v2 \ kubernetes:kube-aggregator:v0.20.1:kubernetes_kube_aggregator/vendor/k8s.io/kube-aggregator \ kubernetes:kube-controller-manager:v0.20.1:kubernetes_kube_controller_manager/vendor/k8s.io/kube-controller-manager \ kubernetes:kube-openapi:d219536bb9fd:kubernetes_kube_openapi/vendor/k8s.io/kube-openapi \ kubernetes:kube-proxy:v0.20.1:kubernetes_kube_proxy/vendor/k8s.io/kube-proxy \ kubernetes:kube-scheduler:v0.20.1:kubernetes_kube_scheduler/vendor/k8s.io/kube-scheduler \ kubernetes:kubectl:v0.20.1:kubernetes_kubectl/vendor/k8s.io/kubectl \ kubernetes:kubelet:v0.20.1:kubernetes_kubelet/vendor/k8s.io/kubelet \ kubernetes:kubernetes:v1.20.1:kubernetes_kubernetes/vendor/k8s.io/kubernetes \ kubernetes:legacy-cloud-providers:v0.20.1:kubernetes_legacy_cloud_providers/vendor/k8s.io/legacy-cloud-providers \ kubernetes:metrics:v0.20.1:kubernetes_metrics/vendor/k8s.io/metrics \ kubernetes:mount-utils:v0.20.1:kubernetes_mount_utils/vendor/k8s.io/mount-utils \ kubernetes:sample-apiserver:v0.20.1:kubernetes_sample_apiserver/vendor/k8s.io/sample-apiserver \ kubernetes:utils:67b214c5f920:kubernetes_utils/vendor/k8s.io/utils \ liggitt:tabwriter:89fcab3d43de:liggitt_tabwriter/vendor/github.com/liggitt/tabwriter \ lightstep:lightstep-tracer-common:bc2310a04743:lightstep_lightstep_tracer_common_gogo/vendor/github.com/lightstep/lightstep-tracer-common \ lightstep:lightstep-tracer-go:v0.18.1:lightstep_lightstep_tracer_go/vendor/github.com/lightstep/lightstep-tracer-go \ magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ mailru:easyjson:v0.7.1:mailru_easyjson/vendor/github.com/mailru/easyjson \ matttproud:golang_protobuf_extensions:c182affec369:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ miekg:dns:v1.1.4:miekg_dns/vendor/github.com/miekg/dns \ mitchellh:go-wordwrap:v1.0.0:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \ mitchellh:mapstructure:v1.3.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ moby:term:672ec06f55cd:moby_term/vendor/github.com/moby/term \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ mongodb:mongo-go-driver:v1.3.4:mongodb_mongo_go_driver/vendor/go.mongodb.org/mongo-driver \ nhooyr:websocket:v1.8.6:nhooyr_websocket/vendor/nhooyr.io/websocket \ oklog:ulid:v2.0.2:oklog_ulid_v2/vendor/github.com/oklog/ulid/v2 \ open-telemetry:opentelemetry-go:v0.15.0:open_telemetry_opentelemetry_go/vendor/go.opentelemetry.io/otel \ opencontainers:go-digest:v1.0.0:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \ opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ pelletier:go-toml:v1.8.1:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ peterbourgon:diskv:v2.0.1:peterbourgon_diskv/vendor/github.com/peterbourgon/diskv \ petermattis:goid:b0b1615b78e5:petermattis_goid/vendor/github.com/petermattis/goid \ philhofer:fwd:v1.0.0:philhofer_fwd/vendor/github.com/philhofer/fwd \ piotrkowalczuk:promgrpc:v4.0.4:piotrkowalczuk_promgrpc_v4/vendor/github.com/piotrkowalczuk/promgrpc \ 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.9.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.15.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.2.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ russross:blackfriday:v1.5.2:russross_blackfriday/vendor/github.com/russross/blackfriday \ sasha-s:go-deadlock:1595213edefa:sasha_s_go_deadlock/vendor/github.com/sasha-s/go-deadlock \ sebest:xff:6c115e0ffa35:sebest_xff/vendor/github.com/sebest/xff \ shirou:gopsutil:v2.20.4:shirou_gopsutil/vendor/github.com/shirou/gopsutil \ sirupsen:logrus:v1.7.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:afero:v1.3.4:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v1.1.1: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:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \ subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ tinylib:msgp:v1.1.0:tinylib_msgp/vendor/github.com/tinylib/msgp \ uber-go:atomic:v1.6.0:uber_go_atomic/vendor/go.uber.org/atomic \ uber-go:multierr:v1.5.0:uber_go_multierr/vendor/go.uber.org/multierr \ uber-go:zap:v1.16.0:uber_go_zap/vendor/go.uber.org/zap \ uber:jaeger-client-go:v2.15.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \ uber:jaeger-lib:v1.5.0:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib GL_TUPLE= gitlab-org:gitaly:89c1ee804f273c9ccc7322644b9ec1cf8e38c0a4:gitlab_org_gitaly/vendor/gitlab.com/gitlab-org/gitaly \ gitlab-org:labkit:949268af2aa8352c644cb1cbc63cf4112972d2c9:gitlab_org_labkit/vendor/gitlab.com/gitlab-org/labkit GO_BUILDFLAGS= -tags="tracer_static,tracer_static_jaeger" \ -ldflags=" \ -X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Version=v${PORTVERSION} \ -X gitlab.com/gitlab-org/cluster-integration/gitlab-agent/cmd.Commit=${GL_COMMIT:C/^(........).*/\1/}" GO_TARGET= ./cmd/kas PLIST_FILES= bin/kas -gomod-deps: patch - (cd ${WRKSRC} && go mod vendor) - (cd ${WRKSRC} && modules2tuple vendor/modules.txt) - do-install: ${INSTALL_PROGRAM} ${WRKDIR}/bin/kas ${STAGEDIR}${PREFIX}/bin/kas .include