pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/go-grpc go-grpc: Remove testing and example client...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e95677bd4dac
branches:  trunk
changeset: 443552:e95677bd4dac
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Dec 15 20:08:12 2020 +0000

description:
go-grpc: Remove testing and example clients and servers

There are a number of binaries called "client" and "server" in this package.
Installing one of them (a random one really) as bin/client and bin/server
is not useful.

Bump revision.

diffstat:

 net/go-grpc/Makefile |   8 ++++++--
 net/go-grpc/PLIST    |  20 ++++----------------
 2 files changed, 10 insertions(+), 18 deletions(-)

diffs (102 lines):

diff -r ed2c7d0d93a7 -r e95677bd4dac net/go-grpc/Makefile
--- a/net/go-grpc/Makefile      Tue Dec 15 17:59:11 2020 +0000
+++ b/net/go-grpc/Makefile      Tue Dec 15 20:08:12 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2020/11/13 19:26:18 bsiegert Exp $
+# $NetBSD: Makefile,v 1.35 2020/12/15 20:08:12 bsiegert Exp $
 
 DISTNAME=              go-grpc-1.15.0
-PKGREVISION=           23
+PKGREVISION=           24
 CATEGORIES=            net
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_PROJECT=                grpc-go
@@ -33,6 +33,10 @@
 REPLACE_SH+=   install_gae.sh
 REPLACE_SH+=   vet.sh
 
+pre-patch:
+       find ${WRKSRC} -type d -name server | xargs ${RM} -rf
+       find ${WRKSRC} -type d -name client | xargs ${RM} -rf
+
 .include "../../devel/go-glog/buildlink3.mk"
 .include "../../devel/go-protobuf/buildlink3.mk"
 .include "../../misc/go-genproto-googleapis-rpc/buildlink3.mk"
diff -r ed2c7d0d93a7 -r e95677bd4dac net/go-grpc/PLIST
--- a/net/go-grpc/PLIST Tue Dec 15 17:59:11 2020 +0000
+++ b/net/go-grpc/PLIST Tue Dec 15 20:08:12 2020 +0000
@@ -1,9 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2018/09/11 20:03:27 minskim Exp $
-bin/client
+@comment $NetBSD: PLIST,v 1.4 2020/12/15 20:08:12 bsiegert Exp $
 bin/go_vet
 bin/http2
 bin/metrics_client
-bin/server
 gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc.a
 gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/channelz/grpc_channelz_v1.a
 gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/channelz/service.a
@@ -93,7 +91,6 @@
 gopkg/src/google.golang.org/grpc/benchmark/benchmark16_test.go
 gopkg/src/google.golang.org/grpc/benchmark/benchmark17_test.go
 gopkg/src/google.golang.org/grpc/benchmark/benchresult/main.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
@@ -110,7 +107,6 @@
 gopkg/src/google.golang.org/grpc/benchmark/primitives/context_test.go
 gopkg/src/google.golang.org/grpc/benchmark/primitives/primitives_test.go
 gopkg/src/google.golang.org/grpc/benchmark/run_bench.sh
-gopkg/src/google.golang.org/grpc/benchmark/server/main.go
 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
@@ -187,18 +183,12 @@
 gopkg/src/google.golang.org/grpc/examples/helloworld/helloworld/helloworld.proto
 gopkg/src/google.golang.org/grpc/examples/helloworld/mock_helloworld/hw_mock.go
 gopkg/src/google.golang.org/grpc/examples/helloworld/mock_helloworld/hw_mock_test.go
-gopkg/src/google.golang.org/grpc/examples/oauth/client/main.go
-gopkg/src/google.golang.org/grpc/examples/oauth/server/main.go
 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/mock_routeguide/rg_mock.go
 gopkg/src/google.golang.org/grpc/examples/route_guide/mock_routeguide/rg_mock_test.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/route_guide_db.json
-gopkg/src/google.golang.org/grpc/examples/rpc_errors/client/main.go
-gopkg/src/google.golang.org/grpc/examples/rpc_errors/server/main.go
 gopkg/src/google.golang.org/grpc/go.mod
 gopkg/src/google.golang.org/grpc/go.sum
 gopkg/src/google.golang.org/grpc/go16.go
@@ -247,13 +237,9 @@
 gopkg/src/google.golang.org/grpc/internal/transport/log.go
 gopkg/src/google.golang.org/grpc/internal/transport/transport.go
 gopkg/src/google.golang.org/grpc/internal/transport/transport_test.go
-gopkg/src/google.golang.org/grpc/interop/alts/client/client.go
-gopkg/src/google.golang.org/grpc/interop/alts/server/server.go
-gopkg/src/google.golang.org/grpc/interop/client/client.go
 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/http2/negative_http2_client.go
-gopkg/src/google.golang.org/grpc/interop/server/server.go
 gopkg/src/google.golang.org/grpc/interop/test_utils.go
 gopkg/src/google.golang.org/grpc/keepalive/keepalive.go
 gopkg/src/google.golang.org/grpc/metadata/metadata.go
@@ -315,7 +301,6 @@
 gopkg/src/google.golang.org/grpc/status/status.go
 gopkg/src/google.golang.org/grpc/status/status_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
@@ -342,3 +327,6 @@
 gopkg/src/google.golang.org/grpc/trace.go
 gopkg/src/google.golang.org/grpc/version.go
 gopkg/src/google.golang.org/grpc/vet.sh
+@pkgdir gopkg/src/google.golang.org/grpc/interop/alts
+@pkgdir gopkg/src/google.golang.org/grpc/examples/rpc_errors
+@pkgdir gopkg/src/google.golang.org/grpc/examples/oauth



Home | Main Index | Thread Index | Old Index