net-mgmt/promscale: Update to 0.16.0

- take ownership
- add simple rc script
- run as dedicated promscale user/group

Approved by:	kbowling (maintainer, private email)
This commit is contained in:
Mark Felder 2022-11-02 21:47:04 +00:00
parent 47853d04d0
commit fc2f7a1545
5 changed files with 70 additions and 308 deletions

2
GIDs
View File

@ -254,7 +254,7 @@ cardano:*:310:
_arti:*:311:
_sphinx:*:312:
_fastdfs:*:313:
# free: 314
promscale:*:314:
# free: 315
# free: 316
# free: 317

2
UIDs
View File

@ -259,7 +259,7 @@ cardano:*:310:310::0:0:Cardano Node Daemon:/nonexistent:/usr/sbin/nologin
_arti:*:311:311::0:0:Arti Daemon:/nonexistent:/usr/sbin/nologin
_sphinx:*:312:312::0:0:Sphinxsearch Owner:/nonexistent:/usr/sbin/nologin
_fastdfs:*:313:313::0:0:FastDFS Owner:/nonexistent:/usr/sbin/nologin
# free: 314
promscale:*:314:314::0:0:Promscale:/nonexistent:/usr/sbin/nologin
# free: 315
# free: 316
# free: 317

View File

@ -1,9 +1,10 @@
PORTNAME= promscale
DISTVERSION= 0.6.2
PORTREVISION= 6
DISTVERSION= 0.16.0
CATEGORIES= net-mgmt
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
DISTFILES= go.mod:gomod
MAINTAINER= kbowling@FreeBSD.org
MAINTAINER= feld@FreeBSD.org
COMMENT= Timescale analytical platform for Prometheus metrics
WWW= https://www.timescale.com/promscale
@ -11,115 +12,21 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_RC_SUBR?= ${PORTNAME}
USERS= promscale
GROUPS= ${USERS}
SUB_LIST?= USERS=${USERS} GROUPS=${GROUPS}
USE_GITHUB= yes
GH_ACCOUNT= timescale
GH_TUPLE= Microsoft:go-winio:6eac466e5fa3:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \
Microsoft:hcsshim:v0.8.15:microsoft_hcsshim/vendor/github.com/Microsoft/hcsshim \
NYTimes:gziphandler:v1.1.1:nytimes_gziphandler/vendor/github.com/NYTimes/gziphandler \
alecthomas:units:ff826a37aa15:alecthomas_units/vendor/github.com/alecthomas/units \
aws:aws-sdk-go:v1.38.35:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
blang:semver:v4.0.0:blang_semver_v4/vendor/github.com/blang/semver \
cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \
census-instrumentation:opencensus-go:v0.23.0:census_instrumentation_opencensus_go/vendor/go.opencensus.io \
cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
cilium:ebpf:v0.2.0:cilium_ebpf/vendor/github.com/cilium/ebpf \
containerd:cgroups:8a68de567b68:containerd_cgroups/vendor/github.com/containerd/cgroups \
containerd:containerd:v1.5.0-beta.1:containerd_containerd/vendor/github.com/containerd/containerd \
coreos:go-systemd:v22.1.0:coreos_go_systemd_v22/vendor/github.com/coreos/go-systemd/v22 \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
docker:distribution:v2.7.1:docker_distribution/vendor/github.com/docker/distribution \
docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \
docker:go-units:v0.4.0:docker_go_units/vendor/github.com/docker/go-units \
edsrzf:mmap-go:v1.0.0:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \
felixge:fgprof:v0.9.1:felixge_fgprof/vendor/github.com/felixge/fgprof \
go-kit:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \
go-logfmt:logfmt:v0.5.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \
go-yaml:yaml:496545a6307b:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
godbus:dbus:v5.0.3:godbus_dbus_v5/vendor/github.com/godbus/dbus/v5 \
gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \
golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \
golang:crypto:0c34fe9e7dc2:golang_crypto/vendor/golang.org/x/crypto \
golang:groupcache:8c9f03a8e57e:golang_groupcache/vendor/github.com/golang/groupcache \
golang:lint:83fdc39ff7b5:golang_lint/vendor/golang.org/x/lint \
golang:net:0714010a04ed:golang_net/vendor/golang.org/x/net \
golang:oauth2:81ed05c6b58c:golang_oauth2/vendor/golang.org/x/oauth2 \
golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
golang:snappy:v0.0.3:golang_snappy/vendor/github.com/golang/snappy \
golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \
golang:sys:0981d6026fa6:golang_sys/vendor/golang.org/x/sys \
golang:term:6a3ed077a48d:golang_term/vendor/golang.org/x/term \
golang:text:v0.3.6:golang_text/vendor/golang.org/x/text \
golang:time:f8bda1e9f3ba:golang_time/vendor/golang.org/x/time \
golang:tools:v0.1.0:golang_tools/vendor/golang.org/x/tools \
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
google:go-genproto:86c259c2b4ab:google_go_genproto/vendor/google.golang.org/genproto \
google:pprof:3a04a4d88a10:google_pprof/vendor/github.com/google/pprof \
google:uuid:v1.2.0:google_uuid/vendor/github.com/google/uuid \
grpc:grpc-go:v1.37.0:grpc_grpc_go/vendor/google.golang.org/grpc \
hashicorp:go-hclog:v0.12.2:hashicorp_go_hclog/vendor/github.com/hashicorp/go-hclog \
hashicorp:go-immutable-radix:v1.2.0:hashicorp_go_immutable_radix/vendor/github.com/hashicorp/go-immutable-radix \
hashicorp:golang-lru:v0.5.4:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \
inhies:go-bytesize:d0aed0d254f8:inhies_go_bytesize/vendor/github.com/inhies/go-bytesize \
jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chunkreader/v2 \
jackc:pgconn:v1.8.1:jackc_pgconn/vendor/github.com/jackc/pgconn \
jackc:pgerrcode:afa3381909a6:jackc_pgerrcode/vendor/github.com/jackc/pgerrcode \
jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \
jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \
jackc:pgproto3:v2.0.6:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \
jackc:pgservicefile:2b9c44734f2b:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \
jackc:pgtype:v1.4.2:jackc_pgtype/vendor/github.com/jackc/pgtype \
jackc:pgx:v4.8.0:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \
jackc:puddle:v1.1.1:jackc_puddle/vendor/github.com/jackc/puddle \
jmespath:go-jmespath:v0.4.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
jpillora:backoff:v1.0.0:jpillora_backoff/vendor/github.com/jpillora/backoff \
julienschmidt:httprouter:v1.3.0:julienschmidt_httprouter/vendor/github.com/julienschmidt/httprouter \
mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
matttproud:golang_protobuf_extensions:c182affec369:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
mitchellh:colorstring:d06e56a500db:mitchellh_colorstring/vendor/github.com/mitchellh/colorstring \
moby:moby:v20.10.6:moby_moby/vendor/github.com/docker/docker \
moby:sys:mount/v0.2.0:moby_sys_mount/vendor/github.com/moby/sys \
moby:sys:mountinfo/v0.4.0:moby_sys_mountinfo \
mwitkow:go-conntrack:2f068394615f:mwitkow_go_conntrack/vendor/github.com/mwitkow/go-conntrack \
oklog:ulid:v1.3.1:oklog_ulid/vendor/github.com/oklog/ulid \
opencontainers:go-digest:v1.0.0:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \
opencontainers:image-spec:v1.0.1:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \
opencontainers:runc:v1.0.0-rc93:opencontainers_runc/vendor/github.com/opencontainers/runc \
opencontainers:runtime-spec:e6143ca7d51d:opencontainers_runtime_spec/vendor/github.com/opencontainers/runtime-spec \
opentracing-contrib:go-stdlib:v1.0.0:opentracing_contrib_go_stdlib/vendor/github.com/opentracing-contrib/go-stdlib \
opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \
pbnjay:memory:b12e5d931931:pbnjay_memory/vendor/github.com/pbnjay/memory \
peterbourgon:ff:v3.0.0:peterbourgon_ff_v3/vendor/github.com/peterbourgon/ff/v3 \
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.10.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.23.0:prometheus_common/vendor/github.com/prometheus/common \
prometheus:procfs:v0.6.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
prometheus:prometheus:7bc11dcb0664:prometheus_prometheus/vendor/github.com/prometheus/prometheus \
protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
schollz:progressbar:v3.7.2:schollz_progressbar_v3/vendor/github.com/schollz/progressbar/v3 \
sergi:go-diff:v1.0.0:sergi_go_diff/vendor/github.com/sergi/go-diff \
shurcooL:vfsgen:0d455de96546:shurcool_vfsgen/vendor/github.com/shurcooL/vfsgen \
sirupsen:logrus:v1.7.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \
testcontainers:testcontainers-go:2bbeb1e04514:testcontainers_testcontainers_go/vendor/github.com/testcontainers/testcontainers-go \
thanos-io:thanos:v0.20.1:thanos_io_thanos/vendor/github.com/thanos-io/thanos \
uber-go:atomic:v1.7.0:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:goleak:v1.1.10:uber_go_goleak/vendor/go.uber.org/goleak \
uber:jaeger-client-go:v2.28.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \
uber:jaeger-lib:v2.4.1:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib
GH_PROJECT= promscale
GO_TARGET= ./cmd/prom-migrator ./cmd/promscale
GO_MODULE= github.com/timescale/promscale
GO_TARGET= ./cmd/promscale
PLIST_FILES= bin/prom-migrator \
bin/promscale
post-extract:
@${RM} -r ${WRKSRC}/vendor/github.com/moby/sys/mountinfo
@${RLN} ${WRKSRC_moby_sys_mountinfo}/mountinfo ${WRKSRC}/vendor/github.com/moby/sys/mountinfo
GO_TARGET= ./cmd/promscale ./cmd/prom-migrator
PLIST_FILES= bin/promscale
.include <bsd.port.mk>

View File

@ -1,197 +1,5 @@
TIMESTAMP = 1634313028
SHA256 (timescale-promscale-0.6.2_GH0.tar.gz) = ad305ece66494b2f77c41b0ad87f6f8736eaf6ccddbcd0970fba43c83fd53c1e
SIZE (timescale-promscale-0.6.2_GH0.tar.gz) = 2998010
SHA256 (Microsoft-go-winio-6eac466e5fa3_GH0.tar.gz) = 5d1c95fcfa05a617df2d2eed35e6e3ce15c8791ea66c1f94e97b2d73ea601d47
SIZE (Microsoft-go-winio-6eac466e5fa3_GH0.tar.gz) = 88035
SHA256 (Microsoft-hcsshim-v0.8.15_GH0.tar.gz) = 25a6ccc44ee3f53595e25b5b33eafbcd505ec9b4beda9eeaed6a83cb771d9741
SIZE (Microsoft-hcsshim-v0.8.15_GH0.tar.gz) = 6094607
SHA256 (NYTimes-gziphandler-v1.1.1_GH0.tar.gz) = c236c216a16e4286338e66e0947938944992f918fe827c31f8745c0be98818d2
SIZE (NYTimes-gziphandler-v1.1.1_GH0.tar.gz) = 52107
SHA256 (alecthomas-units-ff826a37aa15_GH0.tar.gz) = 7dcb75a984e2af8f0dd14d91c398f2d42df19fa962aa78113502d741c7bc32e6
SIZE (alecthomas-units-ff826a37aa15_GH0.tar.gz) = 5046
SHA256 (aws-aws-sdk-go-v1.38.35_GH0.tar.gz) = 1c1cd41669e75f4225b8fda42f7500f21408d0a8575ad3665542338ba267242b
SIZE (aws-aws-sdk-go-v1.38.35_GH0.tar.gz) = 18967606
SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
SHA256 (blang-semver-v4.0.0_GH0.tar.gz) = 873e979323df6060cb4f843bc920f07fa59c05002359bf5d4a3311c8911f6640
SIZE (blang-semver-v4.0.0_GH0.tar.gz) = 27777
SHA256 (cenkalti-backoff-v2.2.1_GH0.tar.gz) = a2c29d0184e7afc415975cf2689723028d2686ffbb67fe0999ab1d691e6d16db
SIZE (cenkalti-backoff-v2.2.1_GH0.tar.gz) = 8623
SHA256 (census-instrumentation-opencensus-go-v0.23.0_GH0.tar.gz) = cc9dc0234de1baacf1855cf19615b381ca2f2adb83a2871e7a9b8b74e46818cf
SIZE (census-instrumentation-opencensus-go-v0.23.0_GH0.tar.gz) = 176498
SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148
SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292
SHA256 (cilium-ebpf-v0.2.0_GH0.tar.gz) = 15387a7ccf76a47a3ec04e4a70c464d25e321d8fc84dd4d47e9d4c54c0353136
SIZE (cilium-ebpf-v0.2.0_GH0.tar.gz) = 953409
SHA256 (containerd-cgroups-8a68de567b68_GH0.tar.gz) = 27ed248bdaf203d6c81846e6edaf5da02c160f8979a31bc9b371263c3467da86
SIZE (containerd-cgroups-8a68de567b68_GH0.tar.gz) = 83214
SHA256 (containerd-containerd-v1.5.0-beta.1_GH0.tar.gz) = fafd70be88fef21fcab4cbb7745e08d887588faedc1ad8f467eaea5484c4c189
SIZE (containerd-containerd-v1.5.0-beta.1_GH0.tar.gz) = 7260175
SHA256 (coreos-go-systemd-v22.1.0_GH0.tar.gz) = 50055dba90a21fdb8d7d653d6919dfd9f9917f521082a7ae1e5a2c0ad1c91a7a
SIZE (coreos-go-systemd-v22.1.0_GH0.tar.gz) = 70079
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
SHA256 (docker-distribution-v2.7.1_GH0.tar.gz) = 4c3609c102351f15c0386f619d48bb592f3100726b4bde86f3eba7739192ff55
SIZE (docker-distribution-v2.7.1_GH0.tar.gz) = 1996699
SHA256 (docker-go-connections-v0.4.0_GH0.tar.gz) = e31dfcf72dd9b07bf6dc320671a78a142a1b7c6287a7282c034c8cd463bc8663
SIZE (docker-go-connections-v0.4.0_GH0.tar.gz) = 30770
SHA256 (docker-go-units-v0.4.0_GH0.tar.gz) = b411f15ca9b419880006f3944b8ec87dc3fe15cbba3beb6e04f2c03f9ea8370b
SIZE (docker-go-units-v0.4.0_GH0.tar.gz) = 11514
SHA256 (edsrzf-mmap-go-v1.0.0_GH0.tar.gz) = 49c502c28de1e36f12005a70543ae62e15dcd85565572df4e973beb5812587bf
SIZE (edsrzf-mmap-go-v1.0.0_GH0.tar.gz) = 5463
SHA256 (felixge-fgprof-v0.9.1_GH0.tar.gz) = 8fcb68b1c54c15704828413eee7b167c364f733559cf485be7a23e802bc257e2
SIZE (felixge-fgprof-v0.9.1_GH0.tar.gz) = 337803
SHA256 (go-kit-kit-v0.10.0_GH0.tar.gz) = c0fac2e37b981e4c18e4f210b92e1393bd59dadd7c7fc043ec46d1c9834eba85
SIZE (go-kit-kit-v0.10.0_GH0.tar.gz) = 274801
SHA256 (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 76727000951c187d058289d8e83d3e2ad480a5d44c7c83b025b78b7eb6bf0258
SIZE (go-logfmt-logfmt-v0.5.0_GH0.tar.gz) = 11745
SHA256 (go-yaml-yaml-496545a6307b_GH0.tar.gz) = ed0e11dc14bbbd4127031d7e8b9e58dad885e2c44a16359d2f64b71d1d1f692a
SIZE (go-yaml-yaml-496545a6307b_GH0.tar.gz) = 90156
SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
SHA256 (godbus-dbus-v5.0.3_GH0.tar.gz) = 49d27bde2861f5e5ab4195fddc5f38f25324aac3b32b3cc03e712cca3d2b75fa
SIZE (godbus-dbus-v5.0.3_GH0.tar.gz) = 63630
SHA256 (gogo-protobuf-v1.3.2_GH0.tar.gz) = 2bb4b13d6e56b3911f09b8e9ddd15708477fbff8823c057cc79dd99c9a452b34
SIZE (gogo-protobuf-v1.3.2_GH0.tar.gz) = 2038725
SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f
SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007
SHA256 (golang-crypto-0c34fe9e7dc2_GH0.tar.gz) = deab6194c4b5d5ceefa40e8c7fc82a4288ff6e8577cdbde406e781c62624f491
SIZE (golang-crypto-0c34fe9e7dc2_GH0.tar.gz) = 1726075
SHA256 (golang-groupcache-8c9f03a8e57e_GH0.tar.gz) = b92f918daa48048fd360f14d1a4aed6e70c1176ae6b00b0dc04094bb088e9865
SIZE (golang-groupcache-8c9f03a8e57e_GH0.tar.gz) = 26047
SHA256 (golang-lint-83fdc39ff7b5_GH0.tar.gz) = 5014077abbc075c3b4b459f7ad98cc1c28f2ae6bde906a9d8ed19d8c8b97987a
SIZE (golang-lint-83fdc39ff7b5_GH0.tar.gz) = 31889
SHA256 (golang-net-0714010a04ed_GH0.tar.gz) = 62ba863366262fbbc211a65b1301f7fcf75f5f710fd979c27607af49ea51ba21
SIZE (golang-net-0714010a04ed_GH0.tar.gz) = 1250017
SHA256 (golang-oauth2-81ed05c6b58c_GH0.tar.gz) = 84828c3d8d1e1b5fdec9fef502f37308de4244571316063f72beb0bb20f07fe0
SIZE (golang-oauth2-81ed05c6b58c_GH0.tar.gz) = 79557
SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
SHA256 (golang-snappy-v0.0.3_GH0.tar.gz) = c22541bf48b252b55ea0e618a5887e3d4f95c6ec5e46bbd60d1020366ffa2580
SIZE (golang-snappy-v0.0.3_GH0.tar.gz) = 65976
SHA256 (golang-sync-036812b2e83c_GH0.tar.gz) = 75ac8fc16bdceb2496c4a9cc98584b70c29032d91a9e57a624acb073e3232fda
SIZE (golang-sync-036812b2e83c_GH0.tar.gz) = 18752
SHA256 (golang-sys-0981d6026fa6_GH0.tar.gz) = 1027a8cd31706610f83425e844a1ea03309526ed499d5cab13ecf9f53d923eca
SIZE (golang-sys-0981d6026fa6_GH0.tar.gz) = 1235549
SHA256 (golang-term-6a3ed077a48d_GH0.tar.gz) = 6760076add528b90a5e07ad357eef6f11ec03e19eebe66d1b1ef383fd9214e9a
SIZE (golang-term-6a3ed077a48d_GH0.tar.gz) = 15333
SHA256 (golang-text-v0.3.6_GH0.tar.gz) = f66bebcf21985b0a713d67c6c35dfc9800d3b6d00d62b83ed0ce5b2ed4cb9760
SIZE (golang-text-v0.3.6_GH0.tar.gz) = 8351095
SHA256 (golang-time-f8bda1e9f3ba_GH0.tar.gz) = e068a34e54894c9c189ba2c2e5b7ea9116ed661f6a7c0d0e744d8e0066017ebb
SIZE (golang-time-f8bda1e9f3ba_GH0.tar.gz) = 9656
SHA256 (golang-tools-v0.1.0_GH0.tar.gz) = 88f66c1a7ff0f7fce20c0808d2769baa977f56f74197c9681cd864d0977e97a2
SIZE (golang-tools-v0.1.0_GH0.tar.gz) = 2683055
SHA256 (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 71975d658357e170fd6a41f92539cde8b39c9cd8bfe5931b6311bc5f5c0da0d7
SIZE (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 13664
SHA256 (google-go-genproto-86c259c2b4ab_GH0.tar.gz) = 21f1d49a698e9d2302fc5298f19a9a9a583180a717ef097f87b0c36d910d933d
SIZE (google-go-genproto-86c259c2b4ab_GH0.tar.gz) = 8740188
SHA256 (google-pprof-3a04a4d88a10_GH0.tar.gz) = e3c5bded29999c9d716e911cb884178968110576a97c3ce1414c5ee8634f3baf
SIZE (google-pprof-3a04a4d88a10_GH0.tar.gz) = 1722673
SHA256 (google-uuid-v1.2.0_GH0.tar.gz) = 53ba896ce398435b3ba4f9375f5d4908b09c79daaa54ecd4e5000b7bef984380
SIZE (google-uuid-v1.2.0_GH0.tar.gz) = 14158
SHA256 (grpc-grpc-go-v1.37.0_GH0.tar.gz) = ab96e0de7416d1d26ea5c98417d21cd72b2c66094b80ba3ab1d03f4a5aa728ca
SIZE (grpc-grpc-go-v1.37.0_GH0.tar.gz) = 1236791
SHA256 (hashicorp-go-hclog-v0.12.2_GH0.tar.gz) = d084a054573ef3179690fc1b7a952732da5e85737f6a36ac679b4676cc06d4e1
SIZE (hashicorp-go-hclog-v0.12.2_GH0.tar.gz) = 23563
SHA256 (hashicorp-go-immutable-radix-v1.2.0_GH0.tar.gz) = 06a814791893c19e98bd48623eedeefd966faa9b53403ec9a8d102d978b7aa6e
SIZE (hashicorp-go-immutable-radix-v1.2.0_GH0.tar.gz) = 23037
SHA256 (hashicorp-golang-lru-v0.5.4_GH0.tar.gz) = d50c188af0cc8b22e7e4b79e9071694fa06428a9964b22d68dc997fa787a177a
SIZE (hashicorp-golang-lru-v0.5.4_GH0.tar.gz) = 13428
SHA256 (inhies-go-bytesize-d0aed0d254f8_GH0.tar.gz) = 3150d1948e162b3b6a2bdabb6cf13fde20dbd5e8476db54e7e6b57bbe4f6f757
SIZE (inhies-go-bytesize-d0aed0d254f8_GH0.tar.gz) = 4570
SHA256 (jackc-chunkreader-v2.0.1_GH0.tar.gz) = bf856bad6608fb7345707aba713a1d77eb984f1d217065738a12c97e37669be4
SIZE (jackc-chunkreader-v2.0.1_GH0.tar.gz) = 3038
SHA256 (jackc-pgconn-v1.8.1_GH0.tar.gz) = f99c04e32b9b98db40c97662b20326ccf7af1fc2d4eed8d4f5c87e4591a82b8c
SIZE (jackc-pgconn-v1.8.1_GH0.tar.gz) = 53272
SHA256 (jackc-pgerrcode-afa3381909a6_GH0.tar.gz) = 728cffaa7d2f2dfe6826904e1b0826d80b619702051bf9473f3790dde62e3b17
SIZE (jackc-pgerrcode-afa3381909a6_GH0.tar.gz) = 5823
SHA256 (jackc-pgio-v1.0.0_GH0.tar.gz) = d36e367c877954acdc96b8cd1a0df417b4cfae80dae726474a8f0de3a68a68ab
SIZE (jackc-pgio-v1.0.0_GH0.tar.gz) = 1884
SHA256 (jackc-pgpassfile-v1.0.0_GH0.tar.gz) = df8904662382e1d0064ec7a5a8c36c49264d7128cea923d597802ada8c5b9603
SIZE (jackc-pgpassfile-v1.0.0_GH0.tar.gz) = 3254
SHA256 (jackc-pgproto3-v2.0.6_GH0.tar.gz) = 3d345e52e8414937255bdd795d9e97413dd3c52216c7cb3e273d5ef94f92f097
SIZE (jackc-pgproto3-v2.0.6_GH0.tar.gz) = 16872
SHA256 (jackc-pgservicefile-2b9c44734f2b_GH0.tar.gz) = dd6cf77deb2456b1c8e56875ed901a57eb887e63ae5de48f364906131275497e
SIZE (jackc-pgservicefile-2b9c44734f2b_GH0.tar.gz) = 2991
SHA256 (jackc-pgtype-v1.4.2_GH0.tar.gz) = 8ae9a7dbe8c5e47ba863c4b21282b0d9a24a6d0bed842fff32174f7a43453359
SIZE (jackc-pgtype-v1.4.2_GH0.tar.gz) = 125197
SHA256 (jackc-pgx-v4.8.0_GH0.tar.gz) = 360b74cb162137b58954faa05e7142f9b79031d16afc1cccffa809a1f86ec29f
SIZE (jackc-pgx-v4.8.0_GH0.tar.gz) = 97493
SHA256 (jackc-puddle-v1.1.1_GH0.tar.gz) = 5dbd282e0206cf8080e37011c15576c02e63f0a3c6282678d2f00c60acd80637
SIZE (jackc-puddle-v1.1.1_GH0.tar.gz) = 9638
SHA256 (jmespath-go-jmespath-v0.4.0_GH0.tar.gz) = aa86d00b6836345eee196c13df2df084a18e0b1159935de9289f2ef6a7fe375d
SIZE (jmespath-go-jmespath-v0.4.0_GH0.tar.gz) = 128861
SHA256 (jpillora-backoff-v1.0.0_GH0.tar.gz) = 611b29ce95acfa2997e3449762a3df68fcaa773db045535f26eb5c686106351f
SIZE (jpillora-backoff-v1.0.0_GH0.tar.gz) = 3507
SHA256 (julienschmidt-httprouter-v1.3.0_GH0.tar.gz) = 2999dffc23f8ac3872ea37d108ddec0ba570d2780a42876300bdcdb0744908e2
SIZE (julienschmidt-httprouter-v1.3.0_GH0.tar.gz) = 23889
SHA256 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835
SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714
SHA256 (matttproud-golang_protobuf_extensions-c182affec369_GH0.tar.gz) = 66a6911e621bfd8823078568688b5683d66ce0b8f85da7b1288d3533d2724735
SIZE (matttproud-golang_protobuf_extensions-c182affec369_GH0.tar.gz) = 37518
SHA256 (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 2093d564392b9d6b752471ad0506ee20d4f8648cd96c179536fcb17a9b4d4137
SIZE (mitchellh-colorstring-d06e56a500db_GH0.tar.gz) = 4677
SHA256 (moby-moby-v20.10.6_GH0.tar.gz) = fd7f5571b1f64f26b5ca520a3e1fefb33c190f3732b931051c23a76bdba5000e
SIZE (moby-moby-v20.10.6_GH0.tar.gz) = 11075291
SHA256 (moby-sys-mount-v0.2.0_GH0.tar.gz) = f20ce37b378d04023428af5a4088f0e64065e337cd74570ebbf3a3ffc2b0a309
SIZE (moby-sys-mount-v0.2.0_GH0.tar.gz) = 52419
SHA256 (moby-sys-mountinfo-v0.4.0_GH0.tar.gz) = c2480d5a76bbedb409f4e33f925573b5454a91d48f618ec225eee8988b153c75
SIZE (moby-sys-mountinfo-v0.4.0_GH0.tar.gz) = 42840
SHA256 (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 5bb72eaf9a4ffd7d0353fa6944951d244df89d879ac36d4b9860fd159162dd81
SIZE (mwitkow-go-conntrack-2f068394615f_GH0.tar.gz) = 17140
SHA256 (oklog-ulid-v1.3.1_GH0.tar.gz) = 499a6ee77ca473a44ad9f11425a8f87f6c02ff1221b11f24d13bee13ce632640
SIZE (oklog-ulid-v1.3.1_GH0.tar.gz) = 55582
SHA256 (opencontainers-go-digest-v1.0.0_GH0.tar.gz) = 1e74706d265c92f62793af741e322163f3c08afa66f5a7926c9b9ccb44fed230
SIZE (opencontainers-go-digest-v1.0.0_GH0.tar.gz) = 24456
SHA256 (opencontainers-image-spec-v1.0.1_GH0.tar.gz) = c7ca467de2cca65e7ea74414a3f51e91450156213af485830dcdfff0571e10d2
SIZE (opencontainers-image-spec-v1.0.1_GH0.tar.gz) = 138674
SHA256 (opencontainers-runc-v1.0.0-rc93_GH0.tar.gz) = e42456078d2f76c925cdd656e4f423b918525d8188521de05e893b6bb473a6f8
SIZE (opencontainers-runc-v1.0.0-rc93_GH0.tar.gz) = 2132429
SHA256 (opencontainers-runtime-spec-e6143ca7d51d_GH0.tar.gz) = f17abcb5a816d88a7a53a3f4b0c09e514d8389955f5e9d94f79270646fe4bb1d
SIZE (opencontainers-runtime-spec-e6143ca7d51d_GH0.tar.gz) = 72645
SHA256 (opentracing-contrib-go-stdlib-v1.0.0_GH0.tar.gz) = 9b9f3acf86ffe123b4c67f780aa2cfb2203891bacc2da3b6344112c4d0a18e1a
SIZE (opentracing-contrib-go-stdlib-v1.0.0_GH0.tar.gz) = 15471
SHA256 (opentracing-opentracing-go-v1.2.0_GH0.tar.gz) = cb32b383422a9aae11d260657d52a3789bd799802881b9ced3ee82c370be6f76
SIZE (opentracing-opentracing-go-v1.2.0_GH0.tar.gz) = 35914
SHA256 (pbnjay-memory-b12e5d931931_GH0.tar.gz) = 8903a451771edca578c2aa09848f23027dc02df2c67f675f4dd1aae257a71ad6
SIZE (pbnjay-memory-b12e5d931931_GH0.tar.gz) = 3076
SHA256 (peterbourgon-ff-v3.0.0_GH0.tar.gz) = 935641588372b3d300bad9b891909ba43c06cac1d605b0775f4afeae92609d5a
SIZE (peterbourgon-ff-v3.0.0_GH0.tar.gz) = 26389
SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
SHA256 (prometheus-client_golang-v1.10.0_GH0.tar.gz) = e7305f84aa6553d9dd4bfd148d29289df36a9df82dae7be3c6eda62feb56f3d1
SIZE (prometheus-client_golang-v1.10.0_GH0.tar.gz) = 176316
SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12
SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986
SHA256 (prometheus-common-v0.23.0_GH0.tar.gz) = 7529ee0d55fc74480decd05b634ff7e31d81e7f88ec2977df478e7917423188c
SIZE (prometheus-common-v0.23.0_GH0.tar.gz) = 127211
SHA256 (prometheus-procfs-v0.6.0_GH0.tar.gz) = 6ad7a23cf4db9fa5dbf2c5d8fbd0fbf5ffe48e3ddb7bf15f9359813d764ce73c
SIZE (prometheus-procfs-v0.6.0_GH0.tar.gz) = 169898
SHA256 (prometheus-prometheus-7bc11dcb0664_GH0.tar.gz) = 70abe0bc8bdc2d0aa63544418664a24c2d31b50285427d60d6d30d9afdf3ee38
SIZE (prometheus-prometheus-7bc11dcb0664_GH0.tar.gz) = 5658634
SHA256 (protocolbuffers-protobuf-go-v1.26.0_GH0.tar.gz) = 26218474bcf776ecf32d7d194c6bfaca8e7b4f0c087e5b595fd50fbb31409676
SIZE (protocolbuffers-protobuf-go-v1.26.0_GH0.tar.gz) = 1270215
SHA256 (schollz-progressbar-v3.7.2_GH0.tar.gz) = d7b86cb26d3ba50b071d9ea269b1ec9409e4b78296d7d619f9781e9e7b320292
SIZE (schollz-progressbar-v3.7.2_GH0.tar.gz) = 602742
SHA256 (sergi-go-diff-v1.0.0_GH0.tar.gz) = 5a07596dcdee6e089b49309162c8e63bc02400652897a1f529d37f0602868dea
SIZE (sergi-go-diff-v1.0.0_GH0.tar.gz) = 41609
SHA256 (shurcooL-vfsgen-0d455de96546_GH0.tar.gz) = e54c6fad553f915401861a2c687c53f2b44c8ad9a209ceac174b85be75e4669f
SIZE (shurcooL-vfsgen-0d455de96546_GH0.tar.gz) = 13648
SHA256 (sirupsen-logrus-v1.7.0_GH0.tar.gz) = a7baaa1c646441d002f3867b5998b6b45b629ecfad317d468a981e23e0c9c6ca
SIZE (sirupsen-logrus-v1.7.0_GH0.tar.gz) = 46392
SHA256 (stretchr-testify-v1.7.0_GH0.tar.gz) = 560c0984072cb436b17bbce5699b205d5aa2beb58ef7a94530d7724b5739a8d6
SIZE (stretchr-testify-v1.7.0_GH0.tar.gz) = 91073
SHA256 (testcontainers-testcontainers-go-2bbeb1e04514_GH0.tar.gz) = add2aaf95317267a90e3b5d29d35843e1c5838d486df1ec8adb726cbcd0df336
SIZE (testcontainers-testcontainers-go-2bbeb1e04514_GH0.tar.gz) = 133140
SHA256 (thanos-io-thanos-v0.20.1_GH0.tar.gz) = e3821568e5d36ba1d0206eded8e9ddaf9950dda2032c1e122e4fba340c9efa7f
SIZE (thanos-io-thanos-v0.20.1_GH0.tar.gz) = 12488130
SHA256 (uber-go-atomic-v1.7.0_GH0.tar.gz) = 4d655e90a23d023b36607e2ce94c3b7bf650d41c81c0faff32432581d9099ad1
SIZE (uber-go-atomic-v1.7.0_GH0.tar.gz) = 18566
SHA256 (uber-go-goleak-v1.1.10_GH0.tar.gz) = 99ccfd2270aebb09e5c1693094d1da5f47be09689fd515b623657f75e6dc2c40
SIZE (uber-go-goleak-v1.1.10_GH0.tar.gz) = 12098
SHA256 (uber-jaeger-client-go-v2.28.0_GH0.tar.gz) = 8cf85348a8fe9953219bca54fcbeab39bee7cf37de95633e59862a772584523f
SIZE (uber-jaeger-client-go-v2.28.0_GH0.tar.gz) = 210284
SHA256 (uber-jaeger-lib-v2.4.1_GH0.tar.gz) = c178bcad325857dba29551c16f40707701adf6e3a9e01e1ca3e5edfc3c6de8bc
SIZE (uber-jaeger-lib-v2.4.1_GH0.tar.gz) = 38010
TIMESTAMP = 1667413355
SHA256 (go/net-mgmt_promscale/timescale-promscale-0.16.0_GH0/go.mod) = bd92e95e8efba0c6ec0a354ba8f5b0556f697a32bae66d753ae46067fbcc844c
SIZE (go/net-mgmt_promscale/timescale-promscale-0.16.0_GH0/go.mod) = 9884
SHA256 (go/net-mgmt_promscale/timescale-promscale-0.16.0_GH0/timescale-promscale-0.16.0_GH0.tar.gz) = 37d54b0b4d5a12aa7b0e56f50f20b5222036e5431e4929f9e4894ddd246e94df
SIZE (go/net-mgmt_promscale/timescale-promscale-0.16.0_GH0/timescale-promscale-0.16.0_GH0.tar.gz) = 4278422

View File

@ -0,0 +1,47 @@
#!/bin/sh
# PROVIDE: promscale
# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable promscale
# promscale_enable="YES"
#
# promscale_enable (bool):
# Set it to YES to enable promscale
# Set to NO by default
# promscale_user (string):
# Set user that promscale will run under
# Default is "%%GRAFANA_USER%%"
# promscale_group (string):
# Set group that own promscale files
# Default is "%%GRAFANA_GROUP%%"
. /etc/rc.subr
name=promscale
rcvar=promscale_enable
load_rc_config $name
: ${promscale_enable:="NO"}
: ${promscale_user:="%%USERS%%"}
: ${promscale_group:="%%GROUPS%%"}
pidfile="/var/run/${name}/${name}.pid"
required_files="${promscale_config}"
procname="%%PREFIX%%/bin/promscale"
command="/usr/sbin/daemon"
command_args="-f -p ${pidfile} -t ${name} /usr/bin/env ${promscale_env} ${procname} ${promscale_args}"
start_precmd="promscale_start_precmd"
promscale_start_precmd()
{
if [ ! -d "/var/run/${name}" ]; then
install -d -m 0750 -o ${promscale_user} -g ${promscale_group} "/var/run/${name}"
fi
}
run_rc_command "$1"