blob: 619fe8e8875bbb7972035e23d559a56244074383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
PORTNAME= thanos
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= ler@FreeBSD.org
COMMENT= Highly available Prometheus setup with long term storage capabilities
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
# fails to build on armv7/i386: pkg/store/cache/cache.go:166:22: constant 9223372036854775807 overflows int
ONLY_FOR_ARCHS= aarch64 amd64
USES= go:modules
BUILD_DATE= $$(date +%d-%B-%Y)
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X github.com/prometheus/common/version.Version=${DISTVERSION} \
-X github.com/prometheus/common/version.Revision="31cacc4" \
-X github.com/prometheus/common/version.Branch="master" \
-X github.com/prometheus/common/version.BuildUser=${USER} \
-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE}"
USE_GITHUB= yes
GH_ACCOUNT= thanos-io
GH_TUPLE= \
Azure:azure-pipeline-go:v0.2.2:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \
Azure:azure-sdk-for-go:v36.1.0:azure_azure_sdk_for_go/vendor/github.com/Azure/azure-sdk-for-go \
Azure:azure-storage-blob-go:v0.8.0:azure_azure_storage_blob_go/vendor/github.com/Azure/azure-storage-blob-go \
Azure:go-autorest:3492b2aff503:azure_go_autorest/vendor/github.com/Azure/go-autorest \
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
NYTimes:gziphandler:v1.1.1:nytimes_gziphandler/vendor/github.com/NYTimes/gziphandler \
PuerkitoBio:purell:v1.1.1:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \
PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \
alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \
aliyun:aliyun-oss-go-sdk:v2.0.4:aliyun_aliyun_oss_go_sdk/vendor/github.com/aliyun/aliyun-oss-go-sdk \
armon:go-metrics:v0.3.0:armon_go_metrics/vendor/github.com/armon/go-metrics \
armon:go-radix:v1.0.0:armon_go_radix/vendor/github.com/armon/go-radix \
asaskevich:govalidator:f61b66f89f4a:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \
aws:aws-sdk-go:v1.25.48:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
bradfitz:gomemcache:a41fca850d0b:bradfitz_gomemcache/vendor/github.com/bradfitz/gomemcache \
census-instrumentation:opencensus-go:v0.22.2:census_instrumentation_opencensus_go/vendor/go.opencensus.io \
cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \
cespare:xxhash:v2.1.1:cespare_xxhash_1/vendor/github.com/cespare/xxhash/v2 \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
dominikh:go-tools:v0.0.1-2019.2.3:dominikh_go_tools/vendor/honnef.co/go/tools \
edsrzf:mmap-go:v1.0.0:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \
elastic:apm-agent-go:v1.5.0:elastic_apm_agent_go/vendor/go.elastic.co/apm \
elastic:go-fastjson:v1.0.0:elastic_go_fastjson/vendor/go.elastic.co/fastjson \
elastic:go-sysinfo:v1.1.1:elastic_go_sysinfo/vendor/github.com/elastic/go-sysinfo \
elastic:go-windows:v1.0.1:elastic_go_windows/vendor/github.com/elastic/go-windows \
facette:natsort:2cd4dd1e2dcb:facette_natsort/vendor/github.com/facette/natsort \
fatih:structtag:v1.1.0:fatih_structtag/vendor/github.com/fatih/structtag \
fortytw2:leaktest:v1.3.0:fortytw2_leaktest/vendor/github.com/fortytw2/leaktest \
fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
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-kit:kit:v0.9.0:go_kit_kit/vendor/github.com/go-kit/kit \
go-logfmt:logfmt:v0.4.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
go-openapi:analysis:v0.19.2:go_openapi_analysis/vendor/github.com/go-openapi/analysis \
go-openapi:errors:v0.19.2:go_openapi_errors/vendor/github.com/go-openapi/errors \
go-openapi:jsonpointer:v0.19.2:go_openapi_jsonpointer/vendor/github.com/go-openapi/jsonpointer \
go-openapi:jsonreference:v0.19.2:go_openapi_jsonreference/vendor/github.com/go-openapi/jsonreference \
go-openapi:loads:v0.19.2:go_openapi_loads/vendor/github.com/go-openapi/loads \
go-openapi:runtime:v0.19.4:go_openapi_runtime/vendor/github.com/go-openapi/runtime \
go-openapi:spec:v0.19.2:go_openapi_spec/vendor/github.com/go-openapi/spec \
go-openapi:strfmt:v0.19.2:go_openapi_strfmt/vendor/github.com/go-openapi/strfmt \
go-openapi:swag:v0.19.5:go_openapi_swag/vendor/github.com/go-openapi/swag \
go-openapi:validate:v0.19.2:go_openapi_validate/vendor/github.com/go-openapi/validate \
go-stack:stack:v1.8.0:go_stack_stack/vendor/github.com/go-stack/stack \
go-yaml:yaml:v2.2.5:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
gogo:protobuf:v1.3.1:gogo_protobuf/vendor/github.com/gogo/protobuf \
golang:appengine:v1.6.5:golang_appengine/vendor/google.golang.org/appengine \
golang:crypto:e1110fd1c708:golang_crypto/vendor/golang.org/x/crypto \
golang:exp:a1ab85dbe136:golang_exp/vendor/golang.org/x/exp \
golang:groupcache:611e8accdfc9:golang_groupcache/vendor/github.com/golang/groupcache \
golang:lint:16217165b5de:golang_lint/vendor/golang.org/x/lint \
golang:net:2180aed22343:golang_net/vendor/golang.org/x/net \
golang:oauth2:0f29369cfe45:golang_oauth2/vendor/golang.org/x/oauth2 \
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:sync:cd5d95a43a6e:golang_sync/vendor/golang.org/x/sync \
golang:sys:4c7a9d0fe056:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
golang:time:555d28b269f0:golang_time/vendor/golang.org/x/time \
golang:tools:3a792d9c32b2:golang_tools/vendor/golang.org/x/tools \
google:go-cmp:v0.3.1:google_go_cmp/vendor/github.com/google/go-cmp \
google:go-genproto:c23dd37a84c9:google_go_genproto/vendor/google.golang.org/genproto \
google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
google:gofuzz:v1.0.0:google_gofuzz/vendor/github.com/google/gofuzz \
googleapis:gax-go:v2.0.2:googleapis_gax_go/vendor/github.com/googleapis/gax-go \
googleapis:gnostic:v0.3.1:googleapis_gnostic/vendor/github.com/googleapis/gnostic \
googleapis:google-api-go-client:v0.14.0:googleapis_google_api_go_client/vendor/google.golang.org/api \
googleapis:google-cloud-go:v0.49.0:googleapis_google_cloud_go/vendor/cloud.google.com/go \
gophercloud:gophercloud:v0.6.0:gophercloud_gophercloud/vendor/github.com/gophercloud/gophercloud \
grpc-ecosystem:go-grpc-middleware:v1.1.0:grpc_ecosystem_go_grpc_middleware/vendor/github.com/grpc-ecosystem/go-grpc-middleware \
grpc-ecosystem:go-grpc-prometheus:v1.2.0:grpc_ecosystem_go_grpc_prometheus/vendor/github.com/grpc-ecosystem/go-grpc-prometheus \
grpc-ecosystem:grpc-gateway:v1.12.1:grpc_ecosystem_grpc_gateway/vendor/github.com/grpc-ecosystem/grpc-gateway \
grpc:grpc-go:v1.25.1:grpc_grpc_go/vendor/google.golang.org/grpc \
hashicorp:consul:v1.3.0:hashicorp_consul/vendor/github.com/hashicorp/consul \
hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \
hashicorp:go-immutable-radix:v1.1.0:hashicorp_go_immutable_radix/vendor/github.com/hashicorp/go-immutable-radix \
hashicorp:go-rootcerts:v1.0.1:hashicorp_go_rootcerts/vendor/github.com/hashicorp/go-rootcerts \
hashicorp:golang-lru:v0.5.3:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \
hashicorp:serf:v0.8.5:hashicorp_serf/vendor/github.com/hashicorp/serf \
jmespath:go-jmespath:c2b33e8439af:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
joeshaw:multierror:69b34d4ec901:joeshaw_multierror/vendor/github.com/joeshaw/multierror \
jpillora:backoff:v1.0.0:jpillora_backoff/vendor/github.com/jpillora/backoff \
json-iterator:go:v1.1.8: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 \
julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \
kr:logfmt:b84e30acd515:kr_logfmt/vendor/github.com/kr/logfmt \
kubernetes-sigs:yaml:v1.1.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \
kubernetes:api:7cf5895f2711:kubernetes_api/vendor/k8s.io/api \
kubernetes:apimachinery:1799e75a0719:kubernetes_apimachinery/vendor/k8s.io/apimachinery \
kubernetes:client-go:78d2af792bab:kubernetes_client_go/vendor/k8s.io/client-go \
kubernetes:klog:v0.3.1:kubernetes_klog/vendor/k8s.io/klog \
kubernetes:utils:6ca3b61696b6:kubernetes_utils/vendor/k8s.io/utils \
leanovate:gopter:v0.2.4:leanovate_gopter/vendor/github.com/leanovate/gopter \
lightstep:lightstep-tracer-common:bc2310a04743:lightstep_lightstep_tracer_common/vendor/github.com/lightstep/lightstep-tracer-common \
lightstep:lightstep-tracer-go:v0.18.0:lightstep_lightstep_tracer_go/vendor/github.com/lightstep/lightstep-tracer-go \
lovoo:gcloud-opentracing:v0.3.0:lovoo_gcloud_opentracing/vendor/github.com/lovoo/gcloud-opentracing \
mailru:easyjson:94de47d64c63:mailru_easyjson/vendor/github.com/mailru/easyjson \
mattn:go-ieproxy:7c0f6868bffe:mattn_go_ieproxy/vendor/github.com/mattn/go-ieproxy \
mattn:go-runewidth:v0.0.6:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
miekg:dns:v1.1.22:miekg_dns/vendor/github.com/miekg/dns \
minio:minio-go:v6.0.49:minio_minio_go/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:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
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.0.3:mongodb_mongo_go_driver/vendor/go.mongodb.org/mongo-driver \
mozillazg:go-cos:v0.13.0:mozillazg_go_cos/vendor/github.com/mozillazg/go-cos \
mozillazg:go-httpheader:v0.2.1:mozillazg_go_httpheader/vendor/github.com/mozillazg/go-httpheader \
mwitkow:go-conntrack:2f068394615f:mwitkow_go_conntrack/vendor/github.com/mwitkow/go-conntrack \
oklog:run:v1.0.0:oklog_run/vendor/github.com/oklog/run \
oklog:ulid:v1.3.1:oklog_ulid/vendor/github.com/oklog/ulid \
olekukonko:tablewriter:v0.0.2:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \
opentracing:basictracer-go:v1.0.0:opentracing_basictracer_go/vendor/github.com/opentracing/basictracer-go \
opentracing:opentracing-go:v1.1.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \
pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \
prometheus:alertmanager:v0.20.0:prometheus_alertmanager/vendor/github.com/prometheus/alertmanager \
prometheus:client_golang:v1.2.1: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.7.0:prometheus_common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.0.6:prometheus_procfs/vendor/github.com/prometheus/procfs \
prometheus:prometheus:1e64d757f711:prometheus_prometheus/vendor/github.com/prometheus/prometheus \
samuel:go-zookeeper:2cc03de413da:samuel_go_zookeeper/vendor/github.com/samuel/go-zookeeper \
santhosh-tekuri:jsonschema:v1.2.4:santhosh_tekuri_jsonschema/vendor/github.com/santhosh-tekuri/jsonschema \
uber-go:atomic:v1.5.0:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:automaxprocs:v1.2.0:uber_go_automaxprocs/vendor/go.uber.org/automaxprocs \
uber:jaeger-client-go:v2.20.1:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \
uber:jaeger-lib:v2.2.0:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib
USE_GITLAB= nodefault
GL_SITE= https://gitlab.howett.net
GL_TUPLE= go:plist:591f970eefbbeb04d7b37f334a0c4c3256e32876:howett_plist/vendor/howett.net/plist
post-extract:
@${MKDIR} ${WRKSRC}/vendor/gopkg.in/fsnotify
@${LN} -s ${WRKSRC_fsnotify_fsnotify} ${WRKSRC}/vendor/gopkg.in/fsnotify.v1
@${LN} -s ${WRKSRC_fsnotify_fsnotify} ${WRKSRC}/vendor/gopkg.in/fsnotify/fsnotify.v1
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|