2020-12-30 18:26:26 +01:00
|
|
|
PORTNAME= dendrite
|
|
|
|
DISTVERSIONPREFIX= v
|
2022-10-07 19:20:06 +02:00
|
|
|
DISTVERSION= 0.10.2
|
2020-12-30 18:26:26 +01:00
|
|
|
CATEGORIES= net-im
|
|
|
|
|
|
|
|
MAINTAINER= ashish@FreeBSD.org
|
|
|
|
COMMENT= Matrix protocol homeserver
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/matrix-org/dendrite
|
2020-12-30 18:26:26 +01:00
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2022-08-25 22:01:46 +02:00
|
|
|
USES= cpe go:modules
|
|
|
|
CPE_VENDOR= matrix
|
2020-12-30 18:26:26 +01:00
|
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USERS= ${PORTNAME}
|
|
|
|
GROUPS= ${USERS}
|
|
|
|
|
2022-04-27 19:33:09 +02:00
|
|
|
DENDRITE_BINS= create-account dendrite-demo-pinecone \
|
|
|
|
dendrite-demo-yggdrasil dendrite-monolith-server \
|
|
|
|
dendrite-polylith-multi dendrite-upgrade-tests \
|
|
|
|
dendritejs-pinecone furl generate-config \
|
2022-08-01 18:58:33 +02:00
|
|
|
generate-keys resolve-state
|
2020-12-30 18:26:26 +01:00
|
|
|
|
|
|
|
.for f in ${DENDRITE_BINS}
|
|
|
|
GO_TARGET+= ./cmd/$f:${PREFIX}/dendrite/bin/$f
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= matrix-org
|
2022-09-22 16:29:58 +02:00
|
|
|
GH_TUPLE= Arceliar:ironwood:ee60c16bcfcf:arceliar_ironwood/vendor/github.com/Arceliar/ironwood \
|
2021-07-27 04:57:42 +02:00
|
|
|
Arceliar:phony:dde1a8dca979:arceliar_phony/vendor/github.com/Arceliar/phony \
|
2022-05-26 18:18:18 +02:00
|
|
|
Azure:go-ansiterm:d185dfc1b5a1:azure_go_ansiterm/vendor/github.com/Azure/go-ansiterm \
|
2020-12-30 18:26:26 +01:00
|
|
|
DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \
|
2022-01-28 19:33:05 +01:00
|
|
|
HdrHistogram:hdrhistogram-go:v1.1.2:hdrhistogram_hdrhistogram_go/vendor/github.com/HdrHistogram/hdrhistogram-go \
|
|
|
|
MFAshby:stdemuxerhook:v1.0.0:mfashby_stdemuxerhook/vendor/github.com/MFAshby/stdemuxerhook \
|
2021-07-27 04:57:42 +02:00
|
|
|
Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \
|
2022-09-22 16:29:58 +02:00
|
|
|
Microsoft:go-winio:v0.5.2:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \
|
|
|
|
RoaringBitmap:roaring:v1.2.1:roaringbitmap_roaring/vendor/github.com/RoaringBitmap/roaring \
|
2020-12-30 18:26:26 +01:00
|
|
|
beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
|
2022-09-22 16:29:58 +02:00
|
|
|
bits-and-blooms:bitset:v1.3.3:bits_and_blooms_bitset/vendor/github.com/bits-and-blooms/bitset \
|
2022-09-09 17:22:34 +02:00
|
|
|
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 \
|
2022-09-22 16:29:58 +02:00
|
|
|
blevesearch:geo:v0.1.14:blevesearch_geo/vendor/github.com/blevesearch/geo \
|
2022-09-09 17:22:34 +02:00
|
|
|
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 \
|
2022-01-28 19:33:05 +01:00
|
|
|
cespare:xxhash:v2.1.2:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
|
2021-07-27 04:57:42 +02:00
|
|
|
codeclysm:extract:v2.2.0:codeclysm_extract/vendor/github.com/codeclysm/extract \
|
2022-04-27 19:33:09 +02:00
|
|
|
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
|
2022-08-01 18:58:33 +02:00
|
|
|
dgraph-io:ristretto:8e850b710d6d:dgraph_io_ristretto/vendor/github.com/dgraph-io/ristretto \
|
2022-09-22 16:29:58 +02:00
|
|
|
docker:distribution:v2.8.1:docker_distribution/vendor/github.com/docker/distribution \
|
2021-07-27 04:57:42 +02:00
|
|
|
docker:go-connections:v0.4.0:docker_go_connections/vendor/github.com/docker/go-connections \
|
2022-09-22 16:29:58 +02:00
|
|
|
docker:go-units:v0.5.0:docker_go_units/vendor/github.com/docker/go-units \
|
2022-08-01 18:58:33 +02:00
|
|
|
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
|
2022-09-22 16:29:58 +02:00
|
|
|
etcd-io:bbolt:v1.3.6:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
|
2022-09-09 17:22:34 +02:00
|
|
|
fsnotify:fsnotify:v1.5.4:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
|
2022-04-27 19:33:09 +02:00
|
|
|
getsentry:sentry-go:v0.13.0:getsentry_sentry_go/vendor/github.com/getsentry/sentry-go \
|
2020-12-30 18:26:26 +01:00
|
|
|
go-macaroon:macaroon:v2.1.0:go_macaroon_macaroon/vendor/gopkg.in/macaroon.v2 \
|
2022-04-07 19:27:49 +02:00
|
|
|
go-task:slim-sprig:348f09dbbbc0:go_task_slim_sprig/vendor/github.com/go-task/slim-sprig \
|
|
|
|
go-tomb:tomb:dd632973f1e7:go_tomb_tomb/vendor/gopkg.in/tomb.v1 \
|
2021-07-27 04:57:42 +02:00
|
|
|
go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
|
2022-09-22 16:29:58 +02:00
|
|
|
go-yaml:yaml:v3.0.1:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
|
2021-07-27 04:57:42 +02:00
|
|
|
gogo:protobuf:v1.3.2:gogo_protobuf/vendor/github.com/gogo/protobuf \
|
2022-09-30 18:24:35 +02:00
|
|
|
golang:crypto:eccd6366d1be:golang_crypto/vendor/golang.org/x/crypto \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:exp:b168a2c6b86b:golang_exp/vendor/golang.org/x/exp \
|
2022-09-09 17:22:34 +02:00
|
|
|
golang:geo:740aa86cb551:golang_geo/vendor/github.com/golang/geo \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:glog:v1.0.0:golang_glog/vendor/github.com/golang/glog \
|
|
|
|
golang:image:e7cb96979f69:golang_image/vendor/golang.org/x/image \
|
2022-09-09 17:22:34 +02:00
|
|
|
golang:mobile:aaac322e2105:golang_mobile/vendor/golang.org/x/mobile \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:mock:v1.6.0:golang_mock/vendor/github.com/golang/mock \
|
2022-09-09 17:22:34 +02:00
|
|
|
golang:mod:86c51ed26bb4:golang_mod/vendor/golang.org/x/mod \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:net:f2f64ebce3c1:golang_net/vendor/golang.org/x/net \
|
2021-08-25 14:06:00 +02:00
|
|
|
golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:snappy:v0.0.4:golang_snappy/vendor/github.com/golang/snappy \
|
2022-09-30 18:24:35 +02:00
|
|
|
golang:sys:f11e5e49a4ec:golang_sys/vendor/golang.org/x/sys \
|
2022-09-22 16:29:58 +02:00
|
|
|
golang:term:7a66f970e087:golang_term/vendor/golang.org/x/term \
|
2022-03-25 16:07:20 +01:00
|
|
|
golang:text:5bd84dd9b33b:golang_text/vendor/golang.org/x/text \
|
2022-09-30 18:24:35 +02:00
|
|
|
golang:time:f3bd1da661af:golang_time/vendor/golang.org/x/time \
|
2022-09-09 17:22:34 +02:00
|
|
|
golang:tools:v0.1.12:golang_tools/vendor/golang.org/x/tools \
|
2022-01-28 19:33:05 +01:00
|
|
|
gologme:log:v1.3.0:gologme_log/vendor/github.com/gologme/log \
|
2022-09-22 16:29:58 +02:00
|
|
|
google:go-cmp:v0.5.9:google_go_cmp/vendor/github.com/google/go-cmp \
|
2022-04-27 19:33:09 +02:00
|
|
|
google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \
|
2020-12-30 18:26:26 +01:00
|
|
|
gorilla:mux:v1.8.0:gorilla_mux/vendor/github.com/gorilla/mux \
|
2022-04-27 19:33:09 +02:00
|
|
|
gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \
|
2022-05-26 18:18:18 +02:00
|
|
|
gotestyourself:gotest.tools:v3.0.3:gotestyourself_gotest_tools/vendor/gotest.tools/v3 \
|
2022-04-27 19:33:09 +02:00
|
|
|
h2non:bimg:v1.1.9:h2non_bimg/vendor/gopkg.in/h2non/bimg.v1 \
|
2022-01-28 19:33:05 +01:00
|
|
|
h2non:filetype:v1.1.3:h2non_filetype/vendor/github.com/h2non/filetype \
|
2022-09-09 17:22:34 +02:00
|
|
|
json-iterator:go:v1.1.12:json_iterator_go/vendor/github.com/json-iterator/go \
|
2022-09-22 16:29:58 +02:00
|
|
|
juju:errors:v1.0.0:juju_errors/vendor/github.com/juju/errors \
|
2022-04-27 19:33:09 +02:00
|
|
|
kardianos:minwinsvc:v1.0.0:kardianos_minwinsvc/vendor/github.com/kardianos/minwinsvc \
|
2022-09-30 18:24:35 +02:00
|
|
|
klauspost:compress:v1.15.11:klauspost_compress/vendor/github.com/klauspost/compress \
|
2022-09-22 16:29:58 +02:00
|
|
|
kr:pretty:v0.3.0:kr_pretty/vendor/github.com/kr/pretty \
|
|
|
|
lib:pq:v1.10.7:lib_pq/vendor/github.com/lib/pq \
|
|
|
|
lucas-clemente:quic-go:v0.29.0:lucas_clemente_quic_go/vendor/github.com/lucas-clemente/quic-go \
|
2022-08-03 19:17:45 +02:00
|
|
|
marten-seemann:qtls-go1-18:v0.1.2:marten_seemann_qtls_go1_18/vendor/github.com/marten-seemann/qtls-go1-18 \
|
2022-09-22 16:29:58 +02:00
|
|
|
marten-seemann:qtls-go1-19:v0.1.0:marten_seemann_qtls_go1_19/vendor/github.com/marten-seemann/qtls-go1-19 \
|
2021-11-18 13:37:00 +01:00
|
|
|
matrix-org:dugong:66e6b1c67e2e:matrix_org_dugong/vendor/github.com/matrix-org/dugong \
|
2022-04-27 19:33:09 +02:00
|
|
|
matrix-org:go-sqlite3-js:28aa791a1c91:matrix_org_go_sqlite3_js/vendor/github.com/matrix-org/go-sqlite3-js \
|
2021-07-27 04:57:42 +02:00
|
|
|
matrix-org:gomatrix:be2af5ef2e16:matrix_org_gomatrix/vendor/github.com/matrix-org/gomatrix \
|
2022-09-30 15:09:43 +02:00
|
|
|
matrix-org:gomatrixserverlib:91d455cd3621:matrix_org_gomatrixserverlib/vendor/github.com/matrix-org/gomatrixserverlib \
|
|
|
|
matrix-org:pinecone:2ce51dd4a42c:matrix_org_pinecone/vendor/github.com/matrix-org/pinecone \
|
2020-12-30 18:26:26 +01:00
|
|
|
matrix-org:util:55161520e1d4:matrix_org_util/vendor/github.com/matrix-org/util \
|
2022-09-22 16:29:58 +02:00
|
|
|
mattn:go-sqlite3:v1.14.15:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
|
2021-07-27 04:57:42 +02:00
|
|
|
matttproud:golang_protobuf_extensions:c182affec369:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
|
2022-03-25 16:07:20 +01:00
|
|
|
minio:highwayhash:v1.0.2:minio_highwayhash/vendor/github.com/minio/highwayhash \
|
2022-09-22 16:29:58 +02:00
|
|
|
moby:moby:v20.10.18:moby_moby/vendor/github.com/docker/docker \
|
2022-05-26 18:18:18 +02:00
|
|
|
moby:term:9d4ed1856297:moby_term/vendor/github.com/moby/term \
|
2022-09-09 17:22:34 +02:00
|
|
|
modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \
|
|
|
|
modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \
|
2022-05-26 18:18:18 +02:00
|
|
|
morikuni:aec:v1.0.0:morikuni_aec/vendor/github.com/morikuni/aec \
|
2022-09-09 17:22:34 +02:00
|
|
|
mschoch:smat:v0.2.0:mschoch_smat/vendor/github.com/mschoch/smat \
|
2022-08-01 18:58:33 +02:00
|
|
|
nats-io:jwt:v2.3.0:nats_io_jwt_v2/vendor/github.com/nats-io/jwt \
|
2022-09-30 18:24:35 +02:00
|
|
|
nats-io:nats-server:v2.9.2:nats_io_nats_server_v2/vendor/github.com/nats-io/nats-server/v2 \
|
2022-09-22 16:29:58 +02:00
|
|
|
nats-io:nats.go:v1.17.0:nats_io_nats_go/vendor/github.com/nats-io/nats.go \
|
2022-01-28 19:33:05 +01:00
|
|
|
nats-io:nkeys:v0.3.0:nats_io_nkeys/vendor/github.com/nats-io/nkeys \
|
|
|
|
nats-io:nuid:v1.0.1:nats_io_nuid/vendor/github.com/nats-io/nuid \
|
2021-08-25 14:06:00 +02:00
|
|
|
neilalexander:utp:54ae7b1cd5f9:neilalexander_utp/vendor/github.com/neilalexander/utp \
|
2020-12-30 18:26:26 +01:00
|
|
|
nfnt:resize:83c6a9932646:nfnt_resize/vendor/github.com/nfnt/resize \
|
2022-05-26 18:18:18 +02:00
|
|
|
ngrok:sqlmw:97c9c04efc79:ngrok_sqlmw/vendor/github.com/ngrok/sqlmw \
|
2021-07-27 04:57:42 +02:00
|
|
|
nhooyr:websocket:v1.8.7:nhooyr_websocket/vendor/nhooyr.io/websocket \
|
2022-04-07 19:27:49 +02:00
|
|
|
nxadm:tail:v1.4.8:nxadm_tail/vendor/github.com/nxadm/tail \
|
2022-09-09 17:22:34 +02:00
|
|
|
onsi:ginkgo:v1.16.5:onsi_ginkgo/vendor/github.com/onsi/ginkgo \
|
2022-05-26 18:18:18 +02:00
|
|
|
onsi:gomega:v1.17.0:onsi_gomega/vendor/github.com/onsi/gomega \
|
2021-07-27 04:57:42 +02:00
|
|
|
opencontainers:go-digest:v1.0.0:opencontainers_go_digest/vendor/github.com/opencontainers/go-digest \
|
2022-05-26 18:18:18 +02:00
|
|
|
opencontainers:image-spec:c5a74bcca799:opencontainers_image_spec/vendor/github.com/opencontainers/image-spec \
|
2020-12-30 18:26:26 +01:00
|
|
|
opentracing:opentracing-go:v1.2.0:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \
|
2021-07-27 04:57:42 +02:00
|
|
|
patrickmn:go-cache:v2.1.0:patrickmn_go_cache/vendor/github.com/patrickmn/go-cache \
|
2020-12-30 18:26:26 +01:00
|
|
|
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
|
2022-04-27 19:33:09 +02:00
|
|
|
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
|
2022-09-22 16:29:58 +02:00
|
|
|
prometheus:client_golang:v1.13.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
|
2020-12-30 18:26:26 +01:00
|
|
|
prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
|
2022-09-22 16:29:58 +02:00
|
|
|
prometheus:common:v0.37.0:prometheus_common/vendor/github.com/prometheus/common \
|
|
|
|
prometheus:procfs:v0.8.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
|
|
|
|
protocolbuffers:protobuf-go:v1.28.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
|
2022-08-12 18:50:25 +02:00
|
|
|
sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
|
2022-09-22 16:29:58 +02:00
|
|
|
stretchr:testify:v1.8.0:stretchr_testify/vendor/github.com/stretchr/testify \
|
|
|
|
tidwall:gjson:v1.14.3:tidwall_gjson/vendor/github.com/tidwall/gjson \
|
2021-11-18 13:37:00 +01:00
|
|
|
tidwall:match:v1.1.1:tidwall_match/vendor/github.com/tidwall/match \
|
2021-07-27 04:57:42 +02:00
|
|
|
tidwall:pretty:v1.2.0:tidwall_pretty/vendor/github.com/tidwall/pretty \
|
2022-09-22 16:29:58 +02:00
|
|
|
tidwall:sjson:v1.2.5:tidwall_sjson/vendor/github.com/tidwall/sjson \
|
|
|
|
uber-go:atomic:v1.10.0:uber_go_atomic/vendor/go.uber.org/atomic \
|
2022-01-28 19:33:05 +01:00
|
|
|
uber:jaeger-client-go:v2.30.0:uber_jaeger_client_go/vendor/github.com/uber/jaeger-client-go \
|
2021-08-25 14:06:00 +02:00
|
|
|
uber:jaeger-lib:v2.4.1:uber_jaeger_lib/vendor/github.com/uber/jaeger-lib \
|
2022-09-09 17:22:34 +02:00
|
|
|
yggdrasil-network:yggdrasil-go:4f2abece817c:yggdrasil_network_yggdrasil_go/vendor/github.com/yggdrasil-network/yggdrasil-go
|
2020-12-30 18:26:26 +01:00
|
|
|
|
|
|
|
post-install:
|
2022-08-01 18:58:33 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${DOCSDIR}
|
2022-05-13 15:41:47 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dendrite-sample.monolith.yaml ${STAGEDIR}${ETCDIR}/${PORTNAME}.yaml.sample
|
2020-12-30 18:26:26 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|