Sun Apr 3 18:19:24 2022 UTC ()
protobuf py-protobuf: updated to 3.20.0

Protocol Buffers v3.20.0

C++

Add option to use external GTest in CMake
cmake: Set correct sonames for libprotobuf-lite.so and libprotoc.so
Java

Revert "Standardize on Array copyOf"
Resolve more java field accessor name conflicts

Python

Pin multibuild scripts to get manylinux1 wheels back
Dropped support for Python < 3.7

PHP

fix: [PHP] add missing reserved classnames

Ruby

Dropped Ruby 2.3 and 2.4 support for CI and releases.
[Ruby] Message.decode/encode: Add max_recursion_depth option
Ruby: rename max_recursion_depth to recursion_limit
Fix conversion of singleton classes in Ruby
Suppress warning for intentional circular require
[Ruby] allow encode json options to be an object that responds to to_hash

Other

[C#] Fix trim warnings
Add protoc-gen-go-svc to options.md
Fixes NullReferenceException when accessing FieldDescriptor.IsPacked
Add ToProto() method to all C# descriptor classes
Add cmake option protobuf_INSTALL to not install files
[CMake] Allow custom plugin options e.g. to generate mocks
Add an option to preserve proto names in JsonFormatter
Add test scope to kotlin-test for protobuf-kotlin-lite
Add prefix_to_proto_package_mappings_path ObjC option.
[ObjC] Rename proto_package_to_prefix_mappings_path to package_to_prefix_mappings_path.
cmake: Use linker version scripts
Add a generation option to control use of forward declarations in headers.
[C#] fix parse failure for extensions with large field numbers


(adam)
diff -r1.54 -r1.55 pkgsrc/devel/protobuf/Makefile
diff -r1.18 -r1.19 pkgsrc/devel/protobuf/PLIST
diff -r1.61 -r1.62 pkgsrc/devel/protobuf/distinfo
diff -r1.51 -r1.52 pkgsrc/devel/py-protobuf/Makefile
diff -r1.16 -r1.17 pkgsrc/devel/py-protobuf/PLIST
diff -r1.47 -r1.48 pkgsrc/devel/py-protobuf/distinfo

cvs diff -r1.54 -r1.55 pkgsrc/devel/protobuf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/Makefile 2022/01/30 16:33:43 1.54
+++ pkgsrc/devel/protobuf/Makefile 2022/04/03 18:19:24 1.55
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1# $NetBSD: Makefile,v 1.54 2022/01/30 16:33:43 adam Exp $ 1# $NetBSD: Makefile,v 1.55 2022/04/03 18:19:24 adam Exp $
2# 2#
3# When updating this, please also update devel/py-protobuf 3# When updating this, please also update devel/py-protobuf
4# 4#
5# Please note: this package often changes the major version 5# Please note: this package often changes the major version
6# number of libraries, so please compare binary packages 6# number of libraries, so please compare binary packages
7# from before and after, and do a recursive PKGREVISION 7# from before and after, and do a recursive PKGREVISION
8# bump if necessary 8# bump if necessary
9 9
10DISTNAME= protobuf-cpp-3.19.4 10DISTNAME= protobuf-cpp-3.20.0
11PKGNAME= ${DISTNAME:S/-cpp//} 11PKGNAME= ${DISTNAME:S/-cpp//}
12CATEGORIES= devel 12CATEGORIES= devel
13MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/} 13MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/}
14GITHUB_PROJECT= protobuf 14GITHUB_PROJECT= protobuf
15GITHUB_RELEASE= v${PKGVERSION_NOREV} 15GITHUB_RELEASE= v${PKGVERSION_NOREV}
16 16
17MAINTAINER= pkgsrc-users@NetBSD.org 17MAINTAINER= pkgsrc-users@NetBSD.org
18HOMEPAGE= https://github.com/protocolbuffers/protobuf 18HOMEPAGE= https://github.com/protocolbuffers/protobuf
19COMMENT= Google protocol buffers 19COMMENT= Google protocol buffers
20LICENSE= modified-bsd 20LICENSE= modified-bsd
21 21
22WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//} 22WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//}
23 23

cvs diff -r1.18 -r1.19 pkgsrc/devel/protobuf/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/PLIST 2021/11/01 20:52:04 1.18
+++ pkgsrc/devel/protobuf/PLIST 2022/04/03 18:19:24 1.19
@@ -1,71 +1,70 @@ @@ -1,71 +1,70 @@
1@comment $NetBSD: PLIST,v 1.18 2021/11/01 20:52:04 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.19 2022/04/03 18:19:24 adam Exp $
2bin/protoc 2bin/protoc
3include/google/protobuf/any.h 3include/google/protobuf/any.h
4include/google/protobuf/any.pb.h 4include/google/protobuf/any.pb.h
5include/google/protobuf/any.proto 5include/google/protobuf/any.proto
6include/google/protobuf/api.pb.h 6include/google/protobuf/api.pb.h
7include/google/protobuf/api.proto 7include/google/protobuf/api.proto
8include/google/protobuf/arena.h 8include/google/protobuf/arena.h
9include/google/protobuf/arena_impl.h 9include/google/protobuf/arena_impl.h
10include/google/protobuf/arenastring.h 10include/google/protobuf/arenastring.h
 11include/google/protobuf/arenaz_sampler.h
11include/google/protobuf/compiler/code_generator.h 12include/google/protobuf/compiler/code_generator.h
12include/google/protobuf/compiler/command_line_interface.h 13include/google/protobuf/compiler/command_line_interface.h
13include/google/protobuf/compiler/cpp/cpp_file.h 14include/google/protobuf/compiler/cpp/cpp_file.h
14include/google/protobuf/compiler/cpp/cpp_generator.h 15include/google/protobuf/compiler/cpp/cpp_generator.h
15include/google/protobuf/compiler/cpp/cpp_helpers.h 16include/google/protobuf/compiler/cpp/cpp_helpers.h
16include/google/protobuf/compiler/cpp/cpp_names.h 17include/google/protobuf/compiler/cpp/cpp_names.h
17include/google/protobuf/compiler/csharp/csharp_doc_comment.h 18include/google/protobuf/compiler/csharp/csharp_doc_comment.h
18include/google/protobuf/compiler/csharp/csharp_generator.h 19include/google/protobuf/compiler/csharp/csharp_generator.h
19include/google/protobuf/compiler/csharp/csharp_names.h 20include/google/protobuf/compiler/csharp/csharp_names.h
20include/google/protobuf/compiler/csharp/csharp_options.h 21include/google/protobuf/compiler/csharp/csharp_options.h
21include/google/protobuf/compiler/importer.h 22include/google/protobuf/compiler/importer.h
22include/google/protobuf/compiler/java/java_generator.h 23include/google/protobuf/compiler/java/java_generator.h
23include/google/protobuf/compiler/java/java_kotlin_generator.h 24include/google/protobuf/compiler/java/java_kotlin_generator.h
24include/google/protobuf/compiler/java/java_names.h 25include/google/protobuf/compiler/java/java_names.h
25include/google/protobuf/compiler/js/js_generator.h 26include/google/protobuf/compiler/js/js_generator.h
26include/google/protobuf/compiler/objectivec/objectivec_generator.h 27include/google/protobuf/compiler/objectivec/objectivec_generator.h
27include/google/protobuf/compiler/objectivec/objectivec_helpers.h 28include/google/protobuf/compiler/objectivec/objectivec_helpers.h
28include/google/protobuf/compiler/parser.h 29include/google/protobuf/compiler/parser.h
29include/google/protobuf/compiler/php/php_generator.h 30include/google/protobuf/compiler/php/php_generator.h
30include/google/protobuf/compiler/plugin.h 31include/google/protobuf/compiler/plugin.h
31include/google/protobuf/compiler/plugin.pb.h 32include/google/protobuf/compiler/plugin.pb.h
32include/google/protobuf/compiler/plugin.proto 33include/google/protobuf/compiler/plugin.proto
33include/google/protobuf/compiler/python/python_generator.h 34include/google/protobuf/compiler/python/python_generator.h
 35include/google/protobuf/compiler/python/python_pyi_generator.h
34include/google/protobuf/compiler/ruby/ruby_generator.h 36include/google/protobuf/compiler/ruby/ruby_generator.h
35include/google/protobuf/descriptor.h 37include/google/protobuf/descriptor.h
36include/google/protobuf/descriptor.pb.h 38include/google/protobuf/descriptor.pb.h
37include/google/protobuf/descriptor.proto 39include/google/protobuf/descriptor.proto
38include/google/protobuf/descriptor_database.h 40include/google/protobuf/descriptor_database.h
39include/google/protobuf/duration.pb.h 41include/google/protobuf/duration.pb.h
40include/google/protobuf/duration.proto 42include/google/protobuf/duration.proto
41include/google/protobuf/dynamic_message.h 43include/google/protobuf/dynamic_message.h
42include/google/protobuf/empty.pb.h 44include/google/protobuf/empty.pb.h
43include/google/protobuf/empty.proto 45include/google/protobuf/empty.proto
44include/google/protobuf/explicitly_constructed.h 46include/google/protobuf/explicitly_constructed.h
45include/google/protobuf/extension_set.h 47include/google/protobuf/extension_set.h
46include/google/protobuf/extension_set_inl.h 48include/google/protobuf/extension_set_inl.h
47include/google/protobuf/field_access_listener.h 49include/google/protobuf/field_access_listener.h
48include/google/protobuf/field_mask.pb.h 50include/google/protobuf/field_mask.pb.h
49include/google/protobuf/field_mask.proto 51include/google/protobuf/field_mask.proto
50include/google/protobuf/generated_enum_reflection.h 52include/google/protobuf/generated_enum_reflection.h
51include/google/protobuf/generated_enum_util.h 53include/google/protobuf/generated_enum_util.h
52include/google/protobuf/generated_message_bases.h 54include/google/protobuf/generated_message_bases.h
53include/google/protobuf/generated_message_reflection.h 55include/google/protobuf/generated_message_reflection.h
54include/google/protobuf/generated_message_table_driven.h 
55include/google/protobuf/generated_message_table_driven_lite.h 
56include/google/protobuf/generated_message_tctable_decl.h 56include/google/protobuf/generated_message_tctable_decl.h
57include/google/protobuf/generated_message_tctable_impl.h 57include/google/protobuf/generated_message_tctable_impl.h
58include/google/protobuf/generated_message_tctable_impl.inc 
59include/google/protobuf/generated_message_util.h 58include/google/protobuf/generated_message_util.h
60include/google/protobuf/has_bits.h 59include/google/protobuf/has_bits.h
61include/google/protobuf/implicit_weak_message.h 60include/google/protobuf/implicit_weak_message.h
62include/google/protobuf/inlined_string_field.h 61include/google/protobuf/inlined_string_field.h
63include/google/protobuf/io/coded_stream.h 62include/google/protobuf/io/coded_stream.h
64include/google/protobuf/io/gzip_stream.h 63include/google/protobuf/io/gzip_stream.h
65include/google/protobuf/io/io_win32.h 64include/google/protobuf/io/io_win32.h
66include/google/protobuf/io/printer.h 65include/google/protobuf/io/printer.h
67include/google/protobuf/io/strtod.h 66include/google/protobuf/io/strtod.h
68include/google/protobuf/io/tokenizer.h 67include/google/protobuf/io/tokenizer.h
69include/google/protobuf/io/zero_copy_stream.h 68include/google/protobuf/io/zero_copy_stream.h
70include/google/protobuf/io/zero_copy_stream_impl.h 69include/google/protobuf/io/zero_copy_stream_impl.h
71include/google/protobuf/io/zero_copy_stream_impl_lite.h 70include/google/protobuf/io/zero_copy_stream_impl_lite.h

cvs diff -r1.61 -r1.62 pkgsrc/devel/protobuf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/distinfo 2022/01/30 16:33:43 1.61
+++ pkgsrc/devel/protobuf/distinfo 2022/04/03 18:19:24 1.62
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.61 2022/01/30 16:33:43 adam Exp $ 1$NetBSD: distinfo,v 1.62 2022/04/03 18:19:24 adam Exp $
2 2
3BLAKE2s (protobuf-cpp-3.19.4.tar.gz) = a2d8a937adb98acbb605c305feaae312b73f35afb99e3c22a79e6a079dbdd555 3BLAKE2s (protobuf-cpp-3.20.0.tar.gz) = 2bde14b52de0e92e67e02c3ff97c69a0c113c16d5021cf8224faf689247589e2
4SHA512 (protobuf-cpp-3.19.4.tar.gz) = e5374e280eda20d5eae9884dfe4aecc3fad79d19f27f15f0a35273aa64945705146d7d495762606438563438411503fea7f94b978427101ab528a47efa173570 4SHA512 (protobuf-cpp-3.20.0.tar.gz) = e36b94d1df220a9e75cc2f3bf4c84cc3ac90970b14fe0135d8457cc51a589bd354cb94b81241899f7c8b271af4b73e45bb32f09e5281c26431269a9b3c410131
5Size (protobuf-cpp-3.19.4.tar.gz) = 4803263 bytes 5Size (protobuf-cpp-3.20.0.tar.gz) = 4837193 bytes
6SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef 6SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef
7SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855 7SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855

cvs diff -r1.51 -r1.52 pkgsrc/devel/py-protobuf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-protobuf/Makefile 2022/01/30 16:33:43 1.51
+++ pkgsrc/devel/py-protobuf/Makefile 2022/04/03 18:19:24 1.52
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.51 2022/01/30 16:33:43 adam Exp $ 1# $NetBSD: Makefile,v 1.52 2022/04/03 18:19:24 adam Exp $
2 2
3DISTNAME= protobuf-3.19.4 3DISTNAME= protobuf-3.20.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://developers.google.com/protocol-buffers/ 9HOMEPAGE= https://developers.google.com/protocol-buffers/
10COMMENT= Python bindings for protobuf 10COMMENT= Python bindings for protobuf
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LANGUAGES+= c c++11 13USE_LANGUAGES+= c c++11
14 14
15PYTHON_VERSIONS_INCOMPATIBLE= 27 15PYTHON_VERSIONS_INCOMPATIBLE= 27
16 16

cvs diff -r1.16 -r1.17 pkgsrc/devel/py-protobuf/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-protobuf/PLIST 2021/09/30 18:59:47 1.16
+++ pkgsrc/devel/py-protobuf/PLIST 2022/04/03 18:19:24 1.17
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.16 2021/09/30 18:59:47 adam Exp $ 1@comment $NetBSD: PLIST,v 1.17 2022/04/03 18:19:24 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt 5${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/${EGG_NAME}-nspkg.pth 7${PYSITELIB}/${EGG_NAME}-nspkg.pth
8${PYSITELIB}/google/protobuf/__init__.py 8${PYSITELIB}/google/protobuf/__init__.py
9${PYSITELIB}/google/protobuf/__init__.pyc 9${PYSITELIB}/google/protobuf/__init__.pyc
10${PYSITELIB}/google/protobuf/__init__.pyo 10${PYSITELIB}/google/protobuf/__init__.pyo
11${PYSITELIB}/google/protobuf/any_pb2.py 11${PYSITELIB}/google/protobuf/any_pb2.py
12${PYSITELIB}/google/protobuf/any_pb2.pyc 12${PYSITELIB}/google/protobuf/any_pb2.pyc
13${PYSITELIB}/google/protobuf/any_pb2.pyo 13${PYSITELIB}/google/protobuf/any_pb2.pyo
14${PYSITELIB}/google/protobuf/api_pb2.py 14${PYSITELIB}/google/protobuf/api_pb2.py
@@ -38,26 +38,29 @@ ${PYSITELIB}/google/protobuf/duration_pb @@ -38,26 +38,29 @@ ${PYSITELIB}/google/protobuf/duration_pb
38${PYSITELIB}/google/protobuf/empty_pb2.py 38${PYSITELIB}/google/protobuf/empty_pb2.py
39${PYSITELIB}/google/protobuf/empty_pb2.pyc 39${PYSITELIB}/google/protobuf/empty_pb2.pyc
40${PYSITELIB}/google/protobuf/empty_pb2.pyo 40${PYSITELIB}/google/protobuf/empty_pb2.pyo
41${PYSITELIB}/google/protobuf/field_mask_pb2.py 41${PYSITELIB}/google/protobuf/field_mask_pb2.py
42${PYSITELIB}/google/protobuf/field_mask_pb2.pyc 42${PYSITELIB}/google/protobuf/field_mask_pb2.pyc
43${PYSITELIB}/google/protobuf/field_mask_pb2.pyo 43${PYSITELIB}/google/protobuf/field_mask_pb2.pyo
44${PYSITELIB}/google/protobuf/internal/__init__.py 44${PYSITELIB}/google/protobuf/internal/__init__.py
45${PYSITELIB}/google/protobuf/internal/__init__.pyc 45${PYSITELIB}/google/protobuf/internal/__init__.pyc
46${PYSITELIB}/google/protobuf/internal/__init__.pyo 46${PYSITELIB}/google/protobuf/internal/__init__.pyo
47${PYSITELIB}/google/protobuf/internal/_api_implementation.so 47${PYSITELIB}/google/protobuf/internal/_api_implementation.so
48${PYSITELIB}/google/protobuf/internal/api_implementation.py 48${PYSITELIB}/google/protobuf/internal/api_implementation.py
49${PYSITELIB}/google/protobuf/internal/api_implementation.pyc 49${PYSITELIB}/google/protobuf/internal/api_implementation.pyc
50${PYSITELIB}/google/protobuf/internal/api_implementation.pyo 50${PYSITELIB}/google/protobuf/internal/api_implementation.pyo
 51${PYSITELIB}/google/protobuf/internal/builder.py
 52${PYSITELIB}/google/protobuf/internal/builder.pyc
 53${PYSITELIB}/google/protobuf/internal/builder.pyo
51${PYSITELIB}/google/protobuf/internal/containers.py 54${PYSITELIB}/google/protobuf/internal/containers.py
52${PYSITELIB}/google/protobuf/internal/containers.pyc 55${PYSITELIB}/google/protobuf/internal/containers.pyc
53${PYSITELIB}/google/protobuf/internal/containers.pyo 56${PYSITELIB}/google/protobuf/internal/containers.pyo
54${PYSITELIB}/google/protobuf/internal/decoder.py 57${PYSITELIB}/google/protobuf/internal/decoder.py
55${PYSITELIB}/google/protobuf/internal/decoder.pyc 58${PYSITELIB}/google/protobuf/internal/decoder.pyc
56${PYSITELIB}/google/protobuf/internal/decoder.pyo 59${PYSITELIB}/google/protobuf/internal/decoder.pyo
57${PYSITELIB}/google/protobuf/internal/encoder.py 60${PYSITELIB}/google/protobuf/internal/encoder.py
58${PYSITELIB}/google/protobuf/internal/encoder.pyc 61${PYSITELIB}/google/protobuf/internal/encoder.pyc
59${PYSITELIB}/google/protobuf/internal/encoder.pyo 62${PYSITELIB}/google/protobuf/internal/encoder.pyo
60${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py 63${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py
61${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc 64${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc
62${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyo 65${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyo
63${PYSITELIB}/google/protobuf/internal/extension_dict.py 66${PYSITELIB}/google/protobuf/internal/extension_dict.py

cvs diff -r1.47 -r1.48 pkgsrc/devel/py-protobuf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-protobuf/distinfo 2022/01/30 16:33:43 1.47
+++ pkgsrc/devel/py-protobuf/distinfo 2022/04/03 18:19:24 1.48
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.47 2022/01/30 16:33:43 adam Exp $ 1$NetBSD: distinfo,v 1.48 2022/04/03 18:19:24 adam Exp $
2 2
3BLAKE2s (protobuf-3.19.4.tar.gz) = 8e4eb12d9f100b1aa855cbb6bac96e8b8fc46f4f5fc2d0e42ab7934981d37d5a 3BLAKE2s (protobuf-3.20.0.tar.gz) = 1101c1753b7bbe464976a5272e41be06d49979f319976ef0c1a633461210da2b
4SHA512 (protobuf-3.19.4.tar.gz) = af83a52265d6ad9a47e3964d37634698b6c2fb8d14a2b1bfbd0294f7a60fcbf15c6194072c2fff175682fc1831306b7060c5fd9335d4dec1c8bb8a6c11add97e 4SHA512 (protobuf-3.20.0.tar.gz) = 2367b8c5caa50e61bd9bfc48f344b83ad49a015b2fa11a1ae7bd33c5581619e77dfa825ff8500faa99d70094fbd8365aa16c3c9ddc76a0f246e2642c719abd70
5Size (protobuf-3.19.4.tar.gz) = 217854 bytes 5Size (protobuf-3.20.0.tar.gz) = 216509 bytes