Import gortr

goRTR is an open-source implementation of the RPKI to Router protocol
(RFC 6810), normally used with BGP routers, using the Go programming
language.

OK sthen@ abieber@
This commit is contained in:
claudio 2020-12-09 11:11:32 +00:00
parent 0ba109bc21
commit 57a65b080f
4 changed files with 129 additions and 0 deletions

44
net/gortr/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/12/09 11:11:32 claudio Exp $
COMMENT = a RPKI-to-Router server
MODGO_MODNAME= github.com/cloudflare/gortr
MODGO_VERSION= v0.14.7
DISTNAME= gortr-${MODGO_VERSION}
BROKEN-aarch64= pins old version of golang.org/x/sys/unix
CATEGORIES = net
HOMEPAGE = https://github.com/cloudflare/gortr
MAINTAINER = Claudio Jeker <claudio@openbsd.org>
# BSD 3-Clause
PERMIT_PACKAGE = Yes
WANTLIB= c pthread
MODULES= lang/go
MODGO_MODULES = \
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 \
github.com/davecgh/go-spew v1.1.1 \
github.com/golang/protobuf v1.2.0 \
github.com/konsorten/go-windows-terminal-sequences v1.0.1 \
github.com/matttproud/golang_protobuf_extensions v1.0.1 \
github.com/pmezard/go-difflib v1.0.0 \
github.com/prometheus/client_golang v0.9.2 \
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 \
github.com/prometheus/common v0.0.0-20181126121408-4724e9255275 \
github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a \
github.com/sirupsen/logrus v1.4.0 \
github.com/stretchr/objx v0.1.1 \
github.com/stretchr/testify v1.2.2 \
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 \
golang.org/x/net v0.0.0-20181201002055-351d144fa1fc \
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f \
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33
.include <bsd.port.mk>

70
net/gortr/distinfo Normal file
View File

@ -0,0 +1,70 @@
SHA256 (go_modules/github.com/beorn7/perks/@v/v0.0.0-20180321164747-3a771d992973.mod) = zE0fqtdZZfpp6xMSC/lWgncZAF/z7NxwSzb7WPsf0W4=
SHA256 (go_modules/github.com/beorn7/perks/@v/v0.0.0-20180321164747-3a771d992973.zip) = U258FdO9386SPrx/Vbh79MevaSC869vyTTlp5iTrdTc=
SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.zip) = a0SoQ5UfNxtwEMdU7MPKvv6BXVztHFuUCfstaX6KiQ0=
SHA256 (go_modules/github.com/golang/protobuf/@v/v1.2.0.mod) = wKIDG/J3CHdJ2MzEMkSfaxN1eH6shkHdL5MAdCMar7Q=
SHA256 (go_modules/github.com/golang/protobuf/@v/v1.2.0.zip) = dXTmUPbxIYbe+LMbDo2YDMuIpqNluZ+/NlFfbnuZ/Qk=
SHA256 (go_modules/github.com/konsorten/go-windows-terminal-sequences/@v/v1.0.1.mod) = a2na/Tz2TXtX6XiEin4nGivgoE2aJWTdJVZJHSfQoDQ=
SHA256 (go_modules/github.com/konsorten/go-windows-terminal-sequences/@v/v1.0.1.zip) = f9AnP8CFXtCBcsFQ91bnCNbkPEptUspJOai0PQM1YJE=
SHA256 (go_modules/github.com/matttproud/golang_protobuf_extensions/@v/v1.0.1.mod) = XJwAhrmy623J8nuh0zsopmRj/jDC+Hb/BbfISOd56nc=
SHA256 (go_modules/github.com/matttproud/golang_protobuf_extensions/@v/v1.0.1.zip) = 5k3FgCP0uMRHLQWkTycZuE1sLMNkzGgoIMn3KyM8nNw=
SHA256 (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.mod) = dLLnZushU3eGTVh7rfV+lVIfaS0qeGCzx3WQk/nJvsI=
SHA256 (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.zip) = 3gTOzBpLjVPkNXBRAmeUvLxU8uaiYM+sUIzmnV1kV6A=
SHA256 (go_modules/github.com/prometheus/client_golang/@v/v0.9.2.mod) = BXocZOjW9i88x5FE5cNQmTlL1p62eZ9KdW9X5ySbvjU=
SHA256 (go_modules/github.com/prometheus/client_golang/@v/v0.9.2.zip) = RBpGgj5HDeSEdq2Euw2/mwVbnjKlZGBmUg+A5HSv5Vg=
SHA256 (go_modules/github.com/prometheus/client_model/@v/v0.0.0-20180712105110-5c3871d89910.mod) = ns1IHRDj87hroHVZhqhYUgKLhvK6WXll09NnKy8vtzg=
SHA256 (go_modules/github.com/prometheus/client_model/@v/v0.0.0-20180712105110-5c3871d89910.zip) = eq7jJln3j8wDL9HmoDCOins4a9VbVxy2pv/ymztquqw=
SHA256 (go_modules/github.com/prometheus/common/@v/v0.0.0-20181126121408-4724e9255275.mod) = BQyxxQq3PNWzp4RWTFLeTV03phPn5bx0jnxvXySXwpU=
SHA256 (go_modules/github.com/prometheus/common/@v/v0.0.0-20181126121408-4724e9255275.zip) = OSqhSJohlC/kLq5wG5M+ASBjoLZnZ95UVTHdcBEWOPc=
SHA256 (go_modules/github.com/prometheus/procfs/@v/v0.0.0-20181204211112-1dc9a6cbc91a.mod) = Ut7XCWB1iCAO/0vPvWH84yuww/Dv3TLYRuPqFQsZY1I=
SHA256 (go_modules/github.com/prometheus/procfs/@v/v0.0.0-20181204211112-1dc9a6cbc91a.zip) = AN7B1TNQknhWxt+6Lt2R1Ij0YT5KmP5t9D8ipl096bw=
SHA256 (go_modules/github.com/sirupsen/logrus/@v/v1.4.0.mod) = 1nBJZSdJq8ZWDyLe46J6q3laMu4sfgeKVGFaYberuZs=
SHA256 (go_modules/github.com/sirupsen/logrus/@v/v1.4.0.zip) = ixaVSu2VtE46pVgTOCIjK/CuA1wLBIFDtK1+JeBFiEI=
SHA256 (go_modules/github.com/stretchr/objx/@v/v0.1.1.mod) = E1A1TVLSKHpiM27MDVYjLUxHaZr5u6ScZ8K0glTamPE=
SHA256 (go_modules/github.com/stretchr/objx/@v/v0.1.1.zip) = A1mewdaIjpvwQpNG2VpsB8ZNYGFLXkrzbyNMziIMfKA=
SHA256 (go_modules/github.com/stretchr/testify/@v/v1.2.2.mod) = SrRj9ow3AEH5UMEMq1EEkD1FmMUM+CT5qtG3t/aSVa8=
SHA256 (go_modules/github.com/stretchr/testify/@v/v1.2.2.zip) = oNEnjptJ9z53C98goq9fIytt9rnw5VdwfbAO/Kbtqe0=
SHA256 (go_modules/golang.org/x/crypto/@v/v0.0.0-20180904163835-0709b304e793.mod) = XQEUTZSEElkdjxHUn3p0+trOWOEtc2bPCvmSFH5SSG0=
SHA256 (go_modules/golang.org/x/crypto/@v/v0.0.0-20180904163835-0709b304e793.zip) = a1E+vdzpE19sCbU3dyhtFbDFGJ6BXvN8/MbEsTZCQBo=
SHA256 (go_modules/golang.org/x/net/@v/v0.0.0-20181201002055-351d144fa1fc.mod) = Pgj0h93aGFG4kd9bHQS7GgG4TW1wKqgtnvvM3gqn34E=
SHA256 (go_modules/golang.org/x/net/@v/v0.0.0-20181201002055-351d144fa1fc.zip) = D3YCETwWzI5JaG5n0sNULCNOy2InB0IvGsbgDtyxapI=
SHA256 (go_modules/golang.org/x/sync/@v/v0.0.0-20181108010431-42b317875d0f.mod) = Qh9hOWhtWJHz3FpWPQmVeA0yefZcrU0iXOpSaGeUFhw=
SHA256 (go_modules/golang.org/x/sync/@v/v0.0.0-20181108010431-42b317875d0f.zip) = 1QdjIf85J5JWi7jsnlgneKYCruvz0nxquZ8Ujq0L8bM=
SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20180905080454-ebe1bf3edb33.mod) = iWkRXko5EIhIMk55ob2KhEUjDm46rMvp+AV/tQ//yME=
SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20180905080454-ebe1bf3edb33.zip) = x/4JmbIDZWxR0YbQIM27xXMlhn0/q1duYYIaHi0CrQk=
SHA256 (gortr-v0.14.7.zip) = lpGU1n1urU6uP1asAbF1jxi9t+rGXFHt4u02E0CYJS8=
SIZE (go_modules/github.com/beorn7/perks/@v/v0.0.0-20180321164747-3a771d992973.mod) = 31
SIZE (go_modules/github.com/beorn7/perks/@v/v0.0.0-20180321164747-3a771d992973.zip) = 15013
SIZE (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.mod) = 34
SIZE (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.zip) = 60320
SIZE (go_modules/github.com/golang/protobuf/@v/v1.2.0.mod) = 34
SIZE (go_modules/github.com/golang/protobuf/@v/v1.2.0.zip) = 482403
SIZE (go_modules/github.com/konsorten/go-windows-terminal-sequences/@v/v1.0.1.mod) = 58
SIZE (go_modules/github.com/konsorten/go-windows-terminal-sequences/@v/v1.0.1.zip) = 3567
SIZE (go_modules/github.com/matttproud/golang_protobuf_extensions/@v/v1.0.1.mod) = 56
SIZE (go_modules/github.com/matttproud/golang_protobuf_extensions/@v/v1.0.1.zip) = 44378
SIZE (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.mod) = 37
SIZE (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.zip) = 12433
SIZE (go_modules/github.com/prometheus/client_golang/@v/v0.9.2.mod) = 540
SIZE (go_modules/github.com/prometheus/client_golang/@v/v0.9.2.zip) = 193855
SIZE (go_modules/github.com/prometheus/client_model/@v/v0.0.0-20180712105110-5c3871d89910.mod) = 42
SIZE (go_modules/github.com/prometheus/client_model/@v/v0.0.0-20180712105110-5c3871d89910.zip) = 68325
SIZE (go_modules/github.com/prometheus/common/@v/v0.0.0-20181126121408-4724e9255275.mod) = 36
SIZE (go_modules/github.com/prometheus/common/@v/v0.0.0-20181126121408-4724e9255275.zip) = 132691
SIZE (go_modules/github.com/prometheus/procfs/@v/v0.0.0-20181204211112-1dc9a6cbc91a.mod) = 36
SIZE (go_modules/github.com/prometheus/procfs/@v/v0.0.0-20181204211112-1dc9a6cbc91a.zip) = 103337
SIZE (go_modules/github.com/sirupsen/logrus/@v/v1.4.0.mod) = 393
SIZE (go_modules/github.com/sirupsen/logrus/@v/v1.4.0.zip) = 57451
SIZE (go_modules/github.com/stretchr/objx/@v/v0.1.1.mod) = 32
SIZE (go_modules/github.com/stretchr/objx/@v/v0.1.1.zip) = 37190
SIZE (go_modules/github.com/stretchr/testify/@v/v1.2.2.mod) = 35
SIZE (go_modules/github.com/stretchr/testify/@v/v1.2.2.zip) = 81710
SIZE (go_modules/golang.org/x/crypto/@v/v0.0.0-20180904163835-0709b304e793.mod) = 27
SIZE (go_modules/golang.org/x/crypto/@v/v0.0.0-20180904163835-0709b304e793.zip) = 1758421
SIZE (go_modules/golang.org/x/net/@v/v0.0.0-20181201002055-351d144fa1fc.mod) = 24
SIZE (go_modules/golang.org/x/net/@v/v0.0.0-20181201002055-351d144fa1fc.zip) = 1322810
SIZE (go_modules/golang.org/x/sync/@v/v0.0.0-20181108010431-42b317875d0f.mod) = 25
SIZE (go_modules/golang.org/x/sync/@v/v0.0.0-20181108010431-42b317875d0f.zip) = 24743
SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20180905080454-ebe1bf3edb33.mod) = 24
SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20180905080454-ebe1bf3edb33.zip) = 1347424
SIZE (gortr-v0.14.7.zip) = 138516

11
net/gortr/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
goRTR is an open-source implementation of the RPKI to Router protocol
(RFC 6810), normally used with BGP routers, using the Go programming
language.
Features of the server
Refreshes a JSON list of prefixes
Prometheus metrics
Lightweight
TLS
SSH
Signature verification and expiration control

4
net/gortr/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/12/09 11:11:32 claudio Exp $
@bin bin/gortr
@bin bin/rtrdump
@bin bin/rtrmon