summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-09-11 09:52:41 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-09-11 09:52:41 +0000
commit5829e74957ea285169ba3364e7521288bbafe5fa (patch)
tree1d7a92a4c3a8e8ede222e6c8709bd6cc08306574 /net
parentc7bd61511ced01239a9d7b27735b51f082395074 (diff)
downloadpkgsrc-5829e74957ea285169ba3364e7521288bbafe5fa.tar.gz
New package, go-grpc.
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start guide at http://grpc.io/docs/.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/go-grpc/DESCR3
-rw-r--r--net/go-grpc/Makefile35
-rw-r--r--net/go-grpc/PLIST152
-rw-r--r--net/go-grpc/buildlink3.mk20
-rw-r--r--net/go-grpc/distinfo6
6 files changed, 218 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 2ce2a20b900..bdc4b823169 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1128 2016/08/21 19:54:07 bsiegert Exp $
+# $NetBSD: Makefile,v 1.1129 2016/09/11 09:52:41 bsiegert Exp $
#
COMMENT= Networking tools
@@ -173,6 +173,7 @@ SUBDIR+= gnome-online-accounts
SUBDIR+= gnome-vfs-smb
SUBDIR+= gnugk
SUBDIR+= go-dns
+SUBDIR+= go-grpc
SUBDIR+= go-net
SUBDIR+= go-vultr
SUBDIR+= gofish
diff --git a/net/go-grpc/DESCR b/net/go-grpc/DESCR
new file mode 100644
index 00000000000..0b61085bf05
--- /dev/null
+++ b/net/go-grpc/DESCR
@@ -0,0 +1,3 @@
+The Go implementation of gRPC: A high performance, open source, general RPC
+framework that puts mobile and HTTP/2 first. For more information see the gRPC
+Quick Start guide at http://grpc.io/docs/.
diff --git a/net/go-grpc/Makefile b/net/go-grpc/Makefile
new file mode 100644
index 00000000000..e98fd7fb56f
--- /dev/null
+++ b/net/go-grpc/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2016/09/11 09:52:41 bsiegert Exp $
+#
+
+DISTNAME= go-grpc-1.0.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
+GITHUB_PROJECT= grpc-go
+GITHUB_TAG= v1.0.1-GA
+
+HOMEPAGE= http://${GO_SRCPATH}
+COMMENT= Go language implementation of gRPC, HTTP/2 based RPC
+LICENSE= modified-bsd
+
+GO_SRCPATH= google.golang.org/grpc
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}
+GO_BUILD_PATTERN= ${GO_SRCPATH}
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/codes/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/credentials/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/grpclog/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/health/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/metadata/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/naming/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/peer/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/reflection/...
+GO_BUILD_PATTERN+= ${GO_SRCPATH}/transport/...
+
+#pre-patch:
+# ${RM} -rf ${WRKSRC}/test
+
+.include "../../devel/go-glog/buildlink3.mk"
+.include "../../devel/go-protobuf/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../security/go-oauth2/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/go-grpc/PLIST b/net/go-grpc/PLIST
new file mode 100644
index 00000000000..25b88f3d085
--- /dev/null
+++ b/net/go-grpc/PLIST
@@ -0,0 +1,152 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/11 09:52:41 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/codes.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/credentials.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/credentials/oauth.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/grpclog.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/grpclog/glogger.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/health.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/health/grpc_health_v1.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/internal.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/metadata.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/naming.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/peer.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/reflection.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/reflection/grpc_reflection_v1alpha.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/reflection/grpc_testing.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/transport.a
+gopkg/src/google.golang.org/grpc/CONTRIBUTING.md
+gopkg/src/google.golang.org/grpc/Documentation/grpc-auth-support.md
+gopkg/src/google.golang.org/grpc/Documentation/grpc-metadata.md
+gopkg/src/google.golang.org/grpc/LICENSE
+gopkg/src/google.golang.org/grpc/Makefile
+gopkg/src/google.golang.org/grpc/PATENTS
+gopkg/src/google.golang.org/grpc/README.md
+gopkg/src/google.golang.org/grpc/backoff.go
+gopkg/src/google.golang.org/grpc/backoff_test.go
+gopkg/src/google.golang.org/grpc/balancer.go
+gopkg/src/google.golang.org/grpc/balancer_test.go
+gopkg/src/google.golang.org/grpc/benchmark/benchmark.go
+gopkg/src/google.golang.org/grpc/benchmark/benchmark_test.go
+gopkg/src/google.golang.org/grpc/benchmark/client/main.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/control.pb.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/control.proto
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/messages.pb.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/messages.proto
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/payloads.pb.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/payloads.proto
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/services.pb.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/services.proto
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/stats.pb.go
+gopkg/src/google.golang.org/grpc/benchmark/grpc_testing/stats.proto
+gopkg/src/google.golang.org/grpc/benchmark/server/main.go
+gopkg/src/google.golang.org/grpc/benchmark/server/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/benchmark/server/testdata/server1.key
+gopkg/src/google.golang.org/grpc/benchmark/server/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/benchmark/stats/histogram.go
+gopkg/src/google.golang.org/grpc/benchmark/stats/stats.go
+gopkg/src/google.golang.org/grpc/benchmark/stats/util.go
+gopkg/src/google.golang.org/grpc/benchmark/worker/benchmark_client.go
+gopkg/src/google.golang.org/grpc/benchmark/worker/benchmark_server.go
+gopkg/src/google.golang.org/grpc/benchmark/worker/main.go
+gopkg/src/google.golang.org/grpc/benchmark/worker/util.go
+gopkg/src/google.golang.org/grpc/call.go
+gopkg/src/google.golang.org/grpc/call_test.go
+gopkg/src/google.golang.org/grpc/clientconn.go
+gopkg/src/google.golang.org/grpc/clientconn_test.go
+gopkg/src/google.golang.org/grpc/codegen.sh
+gopkg/src/google.golang.org/grpc/codes/code_string.go
+gopkg/src/google.golang.org/grpc/codes/codes.go
+gopkg/src/google.golang.org/grpc/coverage.sh
+gopkg/src/google.golang.org/grpc/credentials/credentials.go
+gopkg/src/google.golang.org/grpc/credentials/credentials_util_go17.go
+gopkg/src/google.golang.org/grpc/credentials/credentials_util_pre_go17.go
+gopkg/src/google.golang.org/grpc/credentials/oauth/oauth.go
+gopkg/src/google.golang.org/grpc/doc.go
+gopkg/src/google.golang.org/grpc/examples/README.md
+gopkg/src/google.golang.org/grpc/examples/gotutorial.md
+gopkg/src/google.golang.org/grpc/examples/helloworld/greeter_client/main.go
+gopkg/src/google.golang.org/grpc/examples/helloworld/greeter_server/main.go
+gopkg/src/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.pb.go
+gopkg/src/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.proto
+gopkg/src/google.golang.org/grpc/examples/route_guide/README.md
+gopkg/src/google.golang.org/grpc/examples/route_guide/client/client.go
+gopkg/src/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.pb.go
+gopkg/src/google.golang.org/grpc/examples/route_guide/routeguide/route_guide.proto
+gopkg/src/google.golang.org/grpc/examples/route_guide/server/server.go
+gopkg/src/google.golang.org/grpc/examples/route_guide/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/examples/route_guide/testdata/route_guide_db.json
+gopkg/src/google.golang.org/grpc/examples/route_guide/testdata/server1.key
+gopkg/src/google.golang.org/grpc/examples/route_guide/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/grpclog/glogger/glogger.go
+gopkg/src/google.golang.org/grpc/grpclog/logger.go
+gopkg/src/google.golang.org/grpc/health/grpc_health_v1/health.pb.go
+gopkg/src/google.golang.org/grpc/health/grpc_health_v1/health.proto
+gopkg/src/google.golang.org/grpc/health/health.go
+gopkg/src/google.golang.org/grpc/interceptor.go
+gopkg/src/google.golang.org/grpc/internal/internal.go
+gopkg/src/google.golang.org/grpc/interop/client/client.go
+gopkg/src/google.golang.org/grpc/interop/client/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/interop/client/testdata/server1.key
+gopkg/src/google.golang.org/grpc/interop/client/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/interop/grpc_testing/test.pb.go
+gopkg/src/google.golang.org/grpc/interop/grpc_testing/test.proto
+gopkg/src/google.golang.org/grpc/interop/server/server.go
+gopkg/src/google.golang.org/grpc/interop/server/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/interop/server/testdata/server1.key
+gopkg/src/google.golang.org/grpc/interop/server/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/interop/test_utils.go
+gopkg/src/google.golang.org/grpc/metadata/metadata.go
+gopkg/src/google.golang.org/grpc/metadata/metadata_test.go
+gopkg/src/google.golang.org/grpc/naming/naming.go
+gopkg/src/google.golang.org/grpc/peer/peer.go
+gopkg/src/google.golang.org/grpc/reflection/README.md
+gopkg/src/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.pb.go
+gopkg/src/google.golang.org/grpc/reflection/grpc_reflection_v1alpha/reflection.proto
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/proto2.pb.go
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/proto2.proto
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.pb.go
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/proto2_ext.proto
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/test.pb.go
+gopkg/src/google.golang.org/grpc/reflection/grpc_testing/test.proto
+gopkg/src/google.golang.org/grpc/reflection/serverreflection.go
+gopkg/src/google.golang.org/grpc/reflection/serverreflection_test.go
+gopkg/src/google.golang.org/grpc/rpc_util.go
+gopkg/src/google.golang.org/grpc/rpc_util_test.go
+gopkg/src/google.golang.org/grpc/server.go
+gopkg/src/google.golang.org/grpc/server_test.go
+gopkg/src/google.golang.org/grpc/stream.go
+gopkg/src/google.golang.org/grpc/stress/client/main.go
+gopkg/src/google.golang.org/grpc/stress/grpc_testing/metrics.pb.go
+gopkg/src/google.golang.org/grpc/stress/grpc_testing/metrics.proto
+gopkg/src/google.golang.org/grpc/stress/metrics_client/main.go
+gopkg/src/google.golang.org/grpc/test/codec_perf/perf.pb.go
+gopkg/src/google.golang.org/grpc/test/codec_perf/perf.proto
+gopkg/src/google.golang.org/grpc/test/end2end_test.go
+gopkg/src/google.golang.org/grpc/test/grpc_testing/test.pb.go
+gopkg/src/google.golang.org/grpc/test/grpc_testing/test.proto
+gopkg/src/google.golang.org/grpc/test/race_test.go
+gopkg/src/google.golang.org/grpc/test/servertester_test.go
+gopkg/src/google.golang.org/grpc/test/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/test/testdata/server1.key
+gopkg/src/google.golang.org/grpc/test/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/testdata/server1.key
+gopkg/src/google.golang.org/grpc/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/trace.go
+gopkg/src/google.golang.org/grpc/transport/control.go
+gopkg/src/google.golang.org/grpc/transport/go16.go
+gopkg/src/google.golang.org/grpc/transport/go17.go
+gopkg/src/google.golang.org/grpc/transport/handler_server.go
+gopkg/src/google.golang.org/grpc/transport/handler_server_test.go
+gopkg/src/google.golang.org/grpc/transport/http2_client.go
+gopkg/src/google.golang.org/grpc/transport/http2_server.go
+gopkg/src/google.golang.org/grpc/transport/http_util.go
+gopkg/src/google.golang.org/grpc/transport/http_util_test.go
+gopkg/src/google.golang.org/grpc/transport/pre_go16.go
+gopkg/src/google.golang.org/grpc/transport/testdata/ca.pem
+gopkg/src/google.golang.org/grpc/transport/testdata/server1.key
+gopkg/src/google.golang.org/grpc/transport/testdata/server1.pem
+gopkg/src/google.golang.org/grpc/transport/transport.go
+gopkg/src/google.golang.org/grpc/transport/transport_test.go
+@pkgdir bin
diff --git a/net/go-grpc/buildlink3.mk b/net/go-grpc/buildlink3.mk
new file mode 100644
index 00000000000..260d4a98030
--- /dev/null
+++ b/net/go-grpc/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/09/11 09:52:41 bsiegert Exp $
+
+BUILDLINK_TREE+= go-grpc
+
+.if !defined(GO_GRPC_BUILDLINK3_MK)
+GO_GRPC_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-grpc= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-grpc?= build
+
+BUILDLINK_API_DEPENDS.go-grpc+= go-grpc>=1.0.1
+BUILDLINK_PKGSRCDIR.go-grpc?= ../../net/go-grpc
+
+.include "../../devel/go-glog/buildlink3.mk"
+.include "../../devel/go-protobuf/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../security/go-oauth2/buildlink3.mk"
+.endif # GO_GRPC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-grpc
diff --git a/net/go-grpc/distinfo b/net/go-grpc/distinfo
new file mode 100644
index 00000000000..0ffe9284abd
--- /dev/null
+++ b/net/go-grpc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/11 09:52:41 bsiegert Exp $
+
+SHA1 (go-grpc-1.0.1.tar.gz) = 94226a3f8c024eb1972a6c2f9c5af316d486542f
+RMD160 (go-grpc-1.0.1.tar.gz) = e0e85abcde8705af7dce033229645990259a3d5b
+SHA512 (go-grpc-1.0.1.tar.gz) = 2492b0f1a98a872ddb42cd72de3d251122e8b25f60d4349555ee2c3da9c0ca0aeefbe3fcfe3b088e07d6ec897d3e7f286510ebc8b8cb98d7dbb45ee7472cb5a4
+Size (go-grpc-1.0.1.tar.gz) = 202220 bytes