diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-05-04 10:13:05 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2025-05-04 18:44:52 +0000 |
| commit | f7ae4c5c4794439408424c6d006c820dc94a71d7 (patch) | |
| tree | 031f10465f46f847262abe9985ffffec6e622854 | |
| parent | 426b844f15d4cc9a3db9b1f82b7c99da3b16639d (diff) | |
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/grpc-gateway/Makefile | 22 | ||||
| -rw-r--r-- | devel/grpc-gateway/distinfo | 5 | ||||
| -rw-r--r-- | devel/grpc-gateway/pkg-descr | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 17aa23a3b81d..ebcaa54eccb2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -953,6 +953,7 @@ SUBDIR += grcov SUBDIR += grex SUBDIR += grpc + SUBDIR += grpc-gateway SUBDIR += gsettings-desktop-schemas SUBDIR += gsl-lite SUBDIR += gsoap diff --git a/devel/grpc-gateway/Makefile b/devel/grpc-gateway/Makefile new file mode 100644 index 000000000000..28cf5ecee147 --- /dev/null +++ b/devel/grpc-gateway/Makefile @@ -0,0 +1,22 @@ +PORTNAME= grpc-gateway +DISTVERSIONPREFIX= v +DISTVERSION= 2.26.3 +CATEGORIES= devel + +MAINTAINER= bofh@FreeBSD.org +COMMENT= gRPC to JSON proxy generator following the gRPC HTTP spec +WWW= https://github.com/grpc-ecosystem/grpc-gateway/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:1.23,modules + +GO_MODULE= github.com/grpc-ecosystem/grpc-gateway/v2 +GO_TARGET= ./protoc-gen-grpc-gateway \ + ./protoc-gen-openapiv2 + +PLIST_FILES= bin/protoc-gen-grpc-gateway \ + bin/protoc-gen-openapiv2 + +.include <bsd.port.mk> diff --git a/devel/grpc-gateway/distinfo b/devel/grpc-gateway/distinfo new file mode 100644 index 000000000000..099646d3dcdc --- /dev/null +++ b/devel/grpc-gateway/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1746353122 +SHA256 (go/devel_grpc-gateway/grpc-gateway-v2.26.3/v2.26.3.mod) = 2cddbad8d2382213d6072bc12793873dba8d6612bcc56da1c1582b601f3a87b6 +SIZE (go/devel_grpc-gateway/grpc-gateway-v2.26.3/v2.26.3.mod) = 680 +SHA256 (go/devel_grpc-gateway/grpc-gateway-v2.26.3/v2.26.3.zip) = c330a95ca20bf6c52af5474ebb58eb5c034925731e111a32c25e260f69075fb0 +SIZE (go/devel_grpc-gateway/grpc-gateway-v2.26.3/v2.26.3.zip) = 1142715 diff --git a/devel/grpc-gateway/pkg-descr b/devel/grpc-gateway/pkg-descr new file mode 100644 index 000000000000..1aa2c860f558 --- /dev/null +++ b/devel/grpc-gateway/pkg-descr @@ -0,0 +1,5 @@ +The gRPC-Gateway is a plugin of the Google protocol buffers compiler +protoc. It reads protobuf service definitions and generates a +reverse-proxy server which translates a RESTful HTTP API into gRPC. This +server is generated according to the google.api.http annotations in your +service definitions. |
