View | Details | Raw Unified | Return to bug 276574 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/grpc-legacy/Makefile (+55 lines)
Added Link Here
1
PORTNAME=	grpc
2
PORTVERSION=	1.54.3
3
DISTVERSIONPREFIX=	v
4
CATEGORIES=	devel
5
PKGNAMESUFFIX=	-legacy
6
7
MAINTAINER=	mfechner@FreeBSD.org
8
COMMENT=	HTTP/2-based RPC framework
9
WWW=		https://grpc.io/
10
11
LICENSE=	BSD3CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
LIB_DEPENDS=	libabsl_base.so:devel/abseil \
15
		libbenchmark.so:devel/benchmark \
16
		libcares.so:dns/c-ares \
17
		libgflags.so:devel/gflags \
18
		libprotobuf.so:devel/protobuf \
19
		libre2.so:devel/re2
20
21
USES=		cmake compiler:c++17-lang cpe localbase:ldflags pkgconfig ssl
22
23
USE_GITHUB=	yes
24
25
CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17 \
26
		-DgRPC_ABSL_PROVIDER=package \
27
		-DgRPC_BENCHMARK_PROVIDER=package \
28
		-DgRPC_CARES_PROVIDER=package \
29
		-DgRPC_GFLAGS_PROVIDER=package \
30
		-DgRPC_PROTOBUF_PROVIDER=package \
31
		-DgRPC_RE2_PROVIDER=package \
32
		-DgRPC_SSL_PROVIDER=package \
33
		-DgRPC_ZLIB_PROVIDER=package
34
CMAKE_ON=	BUILD_SHARED_LIBS
35
LDFLAGS+=	-labsl_hash -labsl_raw_hash_set
36
USE_LDCONFIG=	yes
37
38
PLIST_SUB=	SHLIB_MAJOR=${PORTVERSION:R} \
39
		SHLIB_MINOR=${PORTVERSION:E}
40
41
CONFLICTS_INSTALL=	grpc142 grpc
42
43
.include <bsd.port.pre.mk>
44
45
post-patch:
46
# Clean up bundled libraries
47
	@${RM} -r ${WRKSRC}/third_party/abseil-cpp/
48
	@${RM} -r ${WRKSRC}/third_party/benchmark/
49
	@${RM} -r ${WRKSRC}/third_party/boringssl-with-bazel/
50
	@${RM} -r ${WRKSRC}/third_party/cares/
51
	@${RM} -r ${WRKSRC}/third_party/protobuf/
52
	@${RM} -r ${WRKSRC}/third_party/re2/
53
	@${RM} -r ${WRKSRC}/third_party/zlib/
54
55
.include <bsd.port.post.mk>
(-)b/devel/grpc-legacy/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1706116417
2
SHA256 (grpc-grpc-v1.54.3_GH0.tar.gz) = 17e4e1b100657b88027721220cbfb694d86c4b807e9257eaf2fb2d273b41b1b1
3
SIZE (grpc-grpc-v1.54.3_GH0.tar.gz) = 8914754
(-)b/devel/grpc-legacy/files/patch-protobuf (+55 lines)
Added Link Here
1
--- src/compiler/config_protobuf.h.orig	2021-11-16 23:39:48 UTC
2
+++ src/compiler/config_protobuf.h
3
@@ -50,7 +50,7 @@
4
 #endif
5
 
6
 #ifndef GRPC_CUSTOM_CSHARP_GETCLASSNAME
7
-#include <google/protobuf/compiler/csharp/csharp_names.h>
8
+#include <google/protobuf/compiler/csharp/names.h>
9
 #define GRPC_CUSTOM_CSHARP_GETCLASSNAME \
10
   ::google::protobuf::compiler::csharp::GetClassName
11
 #define GRPC_CUSTOM_CSHARP_GETFILENAMESPACE \
12
--- src/compiler/objective_c_generator.cc.orig	2021-11-16 23:39:48 UTC
13
+++ src/compiler/objective_c_generator.cc
14
@@ -22,7 +22,7 @@
15
 #include <set>
16
 #include <sstream>
17
 
18
-#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
19
+#include <google/protobuf/compiler/objectivec/names.h>
20
 
21
 #include "src/compiler/config.h"
22
 #include "src/compiler/objective_c_generator_helpers.h"
23
--- src/compiler/objective_c_generator_helpers.h.orig	2021-11-16 23:39:48 UTC
24
+++ src/compiler/objective_c_generator_helpers.h
25
@@ -21,7 +21,7 @@
26
 
27
 #include <map>
28
 
29
-#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
30
+#include <google/protobuf/compiler/objectivec/names.h>
31
 
32
 #include "src/compiler/config.h"
33
 #include "src/compiler/generator_helpers.h"
34
--- src/compiler/objective_c_plugin.cc.orig	2021-11-16 23:39:48 UTC
35
+++ src/compiler/objective_c_plugin.cc
36
@@ -20,7 +20,7 @@
37
 
38
 #include <memory>
39
 
40
-#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
41
+#include <google/protobuf/compiler/objectivec/names.h>
42
 
43
 #include "src/compiler/config.h"
44
 #include "src/compiler/objective_c_generator.h"
45
--- include/grpcpp/impl/codegen/config_protobuf.h.orig	2021-11-16 23:39:48 UTC
46
+++ include/grpcpp/impl/codegen/config_protobuf.h
47
@@ -69,7 +69,7 @@
48
 #include <google/protobuf/util/json_util.h>
49
 #include <google/protobuf/util/type_resolver_util.h>
50
 #define GRPC_CUSTOM_JSONUTIL ::google::protobuf::util
51
-#define GRPC_CUSTOM_UTIL_STATUS ::google::protobuf::util::Status
52
+#define GRPC_CUSTOM_UTIL_STATUS ::absl::Status
53
 #endif
54
 
55
 namespace grpc {
(-)b/devel/grpc-legacy/pkg-descr (+5 lines)
Added Link Here
1
gRPC is a modern, open source, high-performance remote procedure call (RPC)
2
framework that can run anywhere, enables client and server applications to
3
communicate transparently, and simplifies the building of connected systems.
4
5
See also: https://github.com/grpc/grpc
(-)b/devel/grpc-legacy/pkg-plist (+339 lines)
Added Link Here
1
bin/grpc_cpp_plugin
2
bin/grpc_csharp_plugin
3
bin/grpc_node_plugin
4
bin/grpc_objective_c_plugin
5
bin/grpc_php_plugin
6
bin/grpc_python_plugin
7
bin/grpc_ruby_plugin
8
include/grpc++/alarm.h
9
include/grpc++/channel.h
10
include/grpc++/client_context.h
11
include/grpc++/completion_queue.h
12
include/grpc++/create_channel.h
13
include/grpc++/create_channel_posix.h
14
include/grpc++/ext/health_check_service_server_builder_option.h
15
include/grpc++/ext/proto_server_reflection_plugin.h
16
include/grpc++/generic/async_generic_service.h
17
include/grpc++/generic/generic_stub.h
18
include/grpc++/grpc++.h
19
include/grpc++/health_check_service_interface.h
20
include/grpc++/impl/call.h
21
include/grpc++/impl/channel_argument_option.h
22
include/grpc++/impl/client_unary_call.h
23
include/grpc++/impl/codegen/async_stream.h
24
include/grpc++/impl/codegen/async_unary_call.h
25
include/grpc++/impl/codegen/byte_buffer.h
26
include/grpc++/impl/codegen/call.h
27
include/grpc++/impl/codegen/call_hook.h
28
include/grpc++/impl/codegen/channel_interface.h
29
include/grpc++/impl/codegen/client_context.h
30
include/grpc++/impl/codegen/client_unary_call.h
31
include/grpc++/impl/codegen/completion_queue.h
32
include/grpc++/impl/codegen/completion_queue_tag.h
33
include/grpc++/impl/codegen/config.h
34
include/grpc++/impl/codegen/config_protobuf.h
35
include/grpc++/impl/codegen/create_auth_context.h
36
include/grpc++/impl/codegen/metadata_map.h
37
include/grpc++/impl/codegen/method_handler_impl.h
38
include/grpc++/impl/codegen/proto_utils.h
39
include/grpc++/impl/codegen/rpc_method.h
40
include/grpc++/impl/codegen/rpc_service_method.h
41
include/grpc++/impl/codegen/security/auth_context.h
42
include/grpc++/impl/codegen/serialization_traits.h
43
include/grpc++/impl/codegen/server_context.h
44
include/grpc++/impl/codegen/server_interface.h
45
include/grpc++/impl/codegen/service_type.h
46
include/grpc++/impl/codegen/slice.h
47
include/grpc++/impl/codegen/status.h
48
include/grpc++/impl/codegen/status_code_enum.h
49
include/grpc++/impl/codegen/string_ref.h
50
include/grpc++/impl/codegen/stub_options.h
51
include/grpc++/impl/codegen/sync_stream.h
52
include/grpc++/impl/codegen/time.h
53
include/grpc++/impl/grpc_library.h
54
include/grpc++/impl/method_handler_impl.h
55
include/grpc++/impl/rpc_method.h
56
include/grpc++/impl/rpc_service_method.h
57
include/grpc++/impl/serialization_traits.h
58
include/grpc++/impl/server_builder_option.h
59
include/grpc++/impl/server_builder_plugin.h
60
include/grpc++/impl/server_initializer.h
61
include/grpc++/impl/service_type.h
62
include/grpc/event_engine/memory_request.h
63
include/grpc/event_engine/slice.h
64
include/grpc/event_engine/slice_buffer.h
65
include/grpcpp/ext/call_metric_recorder.h
66
include/grpcpp/impl/call_hook.h
67
include/grpcpp/impl/call_op_set.h
68
include/grpcpp/impl/call_op_set_interface.h
69
include/grpcpp/impl/channel_interface.h
70
include/grpcpp/security/tls_certificate_verifier.h
71
include/grpcpp/support/callback_common.h
72
include/grpcpp/version_info.h
73
include/grpc++/resource_quota.h
74
include/grpc++/security/auth_context.h
75
include/grpc++/security/auth_metadata_processor.h
76
include/grpc++/security/credentials.h
77
include/grpc++/security/server_credentials.h
78
include/grpc++/server.h
79
include/grpc++/server_builder.h
80
include/grpc++/server_context.h
81
include/grpc++/server_posix.h
82
include/grpc++/support/async_stream.h
83
include/grpc++/support/async_unary_call.h
84
include/grpc++/support/byte_buffer.h
85
include/grpc++/support/channel_arguments.h
86
include/grpc++/support/config.h
87
include/grpc++/support/error_details.h
88
include/grpc++/support/slice.h
89
include/grpc++/support/status.h
90
include/grpc++/support/status_code_enum.h
91
include/grpc++/support/string_ref.h
92
include/grpc++/support/stub_options.h
93
include/grpc++/support/sync_stream.h
94
include/grpc++/support/time.h
95
include/grpc/byte_buffer.h
96
include/grpc/byte_buffer_reader.h
97
include/grpc/census.h
98
include/grpc/compression.h
99
include/grpc/event_engine/endpoint_config.h
100
include/grpc/event_engine/event_engine.h
101
include/grpc/event_engine/internal/memory_allocator_impl.h
102
include/grpc/event_engine/memory_allocator.h
103
include/grpc/event_engine/port.h
104
include/grpc/fork.h
105
include/grpc/grpc.h
106
include/grpc/grpc_posix.h
107
include/grpc/grpc_security.h
108
include/grpc/grpc_security_constants.h
109
include/grpc/impl/codegen/atm.h
110
include/grpc/impl/codegen/atm_gcc_atomic.h
111
include/grpc/impl/codegen/atm_gcc_sync.h
112
include/grpc/impl/codegen/atm_windows.h
113
include/grpc/impl/codegen/byte_buffer.h
114
include/grpc/impl/codegen/byte_buffer_reader.h
115
include/grpc/impl/codegen/compression_types.h
116
include/grpc/impl/codegen/connectivity_state.h
117
include/grpc/impl/codegen/fork.h
118
include/grpc/impl/codegen/gpr_types.h
119
include/grpc/impl/codegen/grpc_types.h
120
include/grpc/impl/codegen/log.h
121
include/grpc/impl/codegen/port_platform.h
122
include/grpc/impl/codegen/propagation_bits.h
123
include/grpc/impl/codegen/slice.h
124
include/grpc/impl/codegen/status.h
125
include/grpc/impl/codegen/sync.h
126
include/grpc/impl/codegen/sync_abseil.h
127
include/grpc/impl/codegen/sync_custom.h
128
include/grpc/impl/codegen/sync_generic.h
129
include/grpc/impl/codegen/sync_posix.h
130
include/grpc/impl/codegen/sync_windows.h
131
include/grpc/load_reporting.h
132
include/grpc/slice.h
133
include/grpc/slice_buffer.h
134
include/grpc/status.h
135
include/grpc/support/alloc.h
136
include/grpc/support/atm.h
137
include/grpc/support/atm_gcc_atomic.h
138
include/grpc/support/atm_gcc_sync.h
139
include/grpc/support/atm_windows.h
140
include/grpc/support/cpu.h
141
include/grpc/support/log.h
142
include/grpc/support/log_windows.h
143
include/grpc/support/port_platform.h
144
include/grpc/support/string_util.h
145
include/grpc/support/sync.h
146
include/grpc/support/sync_abseil.h
147
include/grpc/support/sync_custom.h
148
include/grpc/support/sync_generic.h
149
include/grpc/support/sync_posix.h
150
include/grpc/support/sync_windows.h
151
include/grpc/support/thd_id.h
152
include/grpc/support/time.h
153
include/grpc/support/workaround_list.h
154
include/grpcpp/alarm.h
155
include/grpcpp/channel.h
156
include/grpcpp/client_context.h
157
include/grpcpp/completion_queue.h
158
include/grpcpp/create_channel.h
159
include/grpcpp/create_channel_binder.h
160
include/grpcpp/create_channel_posix.h
161
include/grpcpp/ext/channelz_service_plugin.h
162
include/grpcpp/ext/health_check_service_server_builder_option.h
163
include/grpcpp/ext/proto_server_reflection_plugin.h
164
include/grpcpp/generic/async_generic_service.h
165
include/grpcpp/generic/generic_stub.h
166
include/grpcpp/grpcpp.h
167
include/grpcpp/health_check_service_interface.h
168
include/grpcpp/impl/call.h
169
include/grpcpp/impl/channel_argument_option.h
170
include/grpcpp/impl/client_unary_call.h
171
include/grpcpp/impl/codegen/async_generic_service.h
172
include/grpcpp/impl/codegen/async_stream.h
173
include/grpcpp/impl/codegen/async_unary_call.h
174
include/grpcpp/impl/codegen/byte_buffer.h
175
include/grpcpp/impl/codegen/call.h
176
include/grpcpp/impl/codegen/call_hook.h
177
include/grpcpp/impl/codegen/call_op_set.h
178
include/grpcpp/impl/codegen/call_op_set_interface.h
179
include/grpcpp/impl/codegen/callback_common.h
180
include/grpcpp/impl/codegen/channel_interface.h
181
include/grpcpp/impl/codegen/client_callback.h
182
include/grpcpp/impl/codegen/client_context.h
183
include/grpcpp/impl/codegen/client_interceptor.h
184
include/grpcpp/impl/codegen/client_unary_call.h
185
include/grpcpp/impl/codegen/completion_queue.h
186
include/grpcpp/impl/codegen/completion_queue_tag.h
187
include/grpcpp/impl/codegen/config.h
188
include/grpcpp/impl/codegen/config_protobuf.h
189
include/grpcpp/impl/codegen/create_auth_context.h
190
include/grpcpp/impl/codegen/delegating_channel.h
191
include/grpcpp/impl/codegen/intercepted_channel.h
192
include/grpcpp/impl/codegen/interceptor.h
193
include/grpcpp/impl/codegen/interceptor_common.h
194
include/grpcpp/impl/codegen/message_allocator.h
195
include/grpcpp/impl/codegen/metadata_map.h
196
include/grpcpp/impl/codegen/method_handler.h
197
include/grpcpp/impl/codegen/method_handler_impl.h
198
include/grpcpp/impl/codegen/proto_buffer_reader.h
199
include/grpcpp/impl/codegen/proto_buffer_writer.h
200
include/grpcpp/impl/codegen/proto_utils.h
201
include/grpcpp/impl/codegen/rpc_method.h
202
include/grpcpp/impl/codegen/rpc_service_method.h
203
include/grpcpp/impl/codegen/security/auth_context.h
204
include/grpcpp/impl/codegen/serialization_traits.h
205
include/grpcpp/impl/codegen/server_callback.h
206
include/grpcpp/impl/codegen/server_callback_handlers.h
207
include/grpcpp/impl/codegen/server_context.h
208
include/grpcpp/impl/codegen/server_interceptor.h
209
include/grpcpp/impl/codegen/server_interface.h
210
include/grpcpp/impl/codegen/service_type.h
211
include/grpcpp/impl/codegen/slice.h
212
include/grpcpp/impl/codegen/status.h
213
include/grpcpp/impl/codegen/status_code_enum.h
214
include/grpcpp/impl/codegen/string_ref.h
215
include/grpcpp/impl/codegen/stub_options.h
216
include/grpcpp/impl/codegen/sync.h
217
include/grpcpp/impl/codegen/sync_stream.h
218
include/grpcpp/impl/codegen/time.h
219
include/grpcpp/impl/grpc_library.h
220
include/grpcpp/impl/method_handler_impl.h
221
include/grpcpp/impl/rpc_method.h
222
include/grpcpp/impl/rpc_service_method.h
223
include/grpcpp/impl/serialization_traits.h
224
include/grpcpp/impl/server_builder_option.h
225
include/grpcpp/impl/server_builder_plugin.h
226
include/grpcpp/impl/server_initializer.h
227
include/grpcpp/impl/service_type.h
228
include/grpcpp/resource_quota.h
229
include/grpcpp/security/alts_context.h
230
include/grpcpp/security/alts_util.h
231
include/grpcpp/security/auth_context.h
232
include/grpcpp/security/auth_metadata_processor.h
233
include/grpcpp/security/authorization_policy_provider.h
234
include/grpcpp/security/binder_credentials.h
235
include/grpcpp/security/binder_security_policy.h
236
include/grpcpp/security/credentials.h
237
include/grpcpp/security/server_credentials.h
238
include/grpcpp/security/tls_certificate_provider.h
239
include/grpcpp/security/tls_credentials_options.h
240
include/grpcpp/server.h
241
include/grpcpp/server_builder.h
242
include/grpcpp/server_context.h
243
include/grpcpp/server_posix.h
244
include/grpcpp/support/async_stream.h
245
include/grpcpp/support/async_unary_call.h
246
include/grpcpp/support/byte_buffer.h
247
include/grpcpp/support/channel_arguments.h
248
include/grpcpp/support/client_callback.h
249
include/grpcpp/support/client_interceptor.h
250
include/grpcpp/support/config.h
251
include/grpcpp/support/error_details.h
252
include/grpcpp/support/interceptor.h
253
include/grpcpp/support/message_allocator.h
254
include/grpcpp/support/method_handler.h
255
include/grpcpp/support/proto_buffer_reader.h
256
include/grpcpp/support/proto_buffer_writer.h
257
include/grpcpp/support/server_callback.h
258
include/grpcpp/support/server_interceptor.h
259
include/grpcpp/support/slice.h
260
include/grpcpp/support/status.h
261
include/grpcpp/support/status_code_enum.h
262
include/grpcpp/support/string_ref.h
263
include/grpcpp/support/stub_options.h
264
include/grpcpp/support/sync_stream.h
265
include/grpcpp/support/time.h
266
include/grpcpp/support/validate_service_config.h
267
include/grpcpp/xds_server_builder.h
268
lib/cmake/grpc/gRPCConfig.cmake
269
lib/cmake/grpc/gRPCConfigVersion.cmake
270
lib/cmake/grpc/gRPCTargets-%%CMAKE_BUILD_TYPE%%.cmake
271
lib/cmake/grpc/gRPCTargets.cmake
272
lib/cmake/grpc/modules/Findc-ares.cmake
273
lib/cmake/grpc/modules/Findre2.cmake
274
include/grpc/event_engine/internal/slice_cast.h
275
include/grpc/impl/compression_types.h
276
include/grpc/impl/connectivity_state.h
277
include/grpc/impl/grpc_types.h
278
include/grpc/impl/propagation_bits.h
279
include/grpc/impl/slice_type.h
280
include/grpcpp/ext/server_metric_recorder.h
281
include/grpcpp/impl/completion_queue_tag.h
282
include/grpcpp/impl/create_auth_context.h
283
include/grpcpp/impl/delegating_channel.h
284
include/grpcpp/impl/intercepted_channel.h
285
include/grpcpp/impl/interceptor_common.h
286
include/grpcpp/impl/metadata_map.h
287
include/grpcpp/impl/proto_utils.h
288
include/grpcpp/impl/server_callback_handlers.h
289
include/grpcpp/impl/status.h
290
include/grpcpp/impl/sync.h
291
include/grpcpp/server_interface.h
292
lib/cmake/grpc/gRPCPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
293
lib/cmake/grpc/gRPCPluginTargets.cmake
294
lib/cmake/grpc/modules/Findsystemd.cmake
295
lib/libgrpc_authorization_provider.so
296
lib/libgrpc_authorization_provider.so.%%SHLIB_MAJOR%%
297
lib/libgrpc_authorization_provider.so.%%SHLIB_MAJOR%%.3
298
lib/libaddress_sorting.so
299
lib/libaddress_sorting.so.31
300
lib/libaddress_sorting.so.31.0.0
301
lib/libgpr.so
302
lib/libgpr.so.31
303
lib/libgpr.so.31.0.0
304
lib/libgrpc++.so
305
lib/libgrpc++.so.%%SHLIB_MAJOR%%
306
lib/libgrpc++.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
307
lib/libgrpc++_alts.so
308
lib/libgrpc++_alts.so.%%SHLIB_MAJOR%%
309
lib/libgrpc++_alts.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
310
lib/libgrpc++_error_details.so
311
lib/libgrpc++_error_details.so.%%SHLIB_MAJOR%%
312
lib/libgrpc++_error_details.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
313
lib/libgrpc++_reflection.so
314
lib/libgrpc++_reflection.so.%%SHLIB_MAJOR%%
315
lib/libgrpc++_reflection.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
316
lib/libgrpc++_unsecure.so
317
lib/libgrpc++_unsecure.so.%%SHLIB_MAJOR%%
318
lib/libgrpc++_unsecure.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
319
lib/libgrpc.so
320
lib/libgrpc.so.31
321
lib/libgrpc.so.31.0.0
322
lib/libgrpc_plugin_support.so
323
lib/libgrpc_plugin_support.so.%%SHLIB_MAJOR%%
324
lib/libgrpc_plugin_support.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
325
lib/libgrpc_unsecure.so
326
lib/libgrpc_unsecure.so.31
327
lib/libgrpc_unsecure.so.31.0.0
328
lib/libgrpcpp_channelz.so
329
lib/libgrpcpp_channelz.so.%%SHLIB_MAJOR%%
330
lib/libgrpcpp_channelz.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
331
lib/libupb.so
332
lib/libupb.so.31
333
lib/libupb.so.31.0.0
334
libdata/pkgconfig/gpr.pc
335
libdata/pkgconfig/grpc++.pc
336
libdata/pkgconfig/grpc++_unsecure.pc
337
libdata/pkgconfig/grpc.pc
338
libdata/pkgconfig/grpc_unsecure.pc
339
%%DATADIR%%/roots.pem

Return to bug 276574