CVS commit: pkgsrc/devel

"Adam Ciarcinski" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	adam
Date:		Wed Aug 26 10:11:21 UTC 2026

Modified Files:
	pkgsrc/devel/protobuf: Makefile PLIST distinfo
	pkgsrc/devel/py-protobuf: Makefile PLIST distinfo

Log Message:
protobuf py-protobuf: updated to [7.]36.0

36.0

Compiler

Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
Add deprecation warnings for (py|cc|java)_generic_service. (517be42)
Disallow reserving field number INT_MAX. (933c522)
Add bazel targets for standalone plugin binaries (81880fa)
Feat: --<lang>_prefix cli option (92dd27c)
Enforce proto limits in the descriptor by default for EDITION_2026. (d8520d9)
Fix: Apply path traversal guard to WriteAllToZip() matching WriteAllToDisk() (28bef98)
Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)

C++

Disable option sub-location mapping in open-source builds. (1d8a656)
Add  json_options.proto and json_enumvalue_options.proto and/or gencode derived from them to release artifacts (15e9334)
Add deprecation warning for Reflection::GetEnum() and Reflection::GetRepeatedEnum(). (0bca288)
Migrate top-level protobuf unittest protos from Edition 2024 to Edition 2026. (271ca53)
Util: validate Duration/Timestamp in TimeUtil::FromString against spec limits
Make default_symbol_visibility STRICT in edition 2026 (fcd68c5)
Use the direct map reflection API when converting message to JSON, if the repeated field reflection is not valid. (e75aac3)
Add bazel targets for standalone plugin binaries
Fix(cpp): stop TextFormat iteration if output stream fails
Enforce proto limits in the descriptor by default for EDITION_2026. (d8520d9)
Add an enforce_proto_limits feature which will be implemented in Edition 2026. (5ddd524)
Workaround for attribute handling bug in gcc < 13 (ba10a4e)
Fix confusing error message for map value type name conflicts (7864b85)
C++Proto JSON: Align behavior on the type.proto path with the descriptor.proto path (0bc1f14)

Python

Add  json_options.proto and json_enumvalue_options.proto and/or gencode derived from them to release artifacts (15e9334)
Emit future warning when mutating GetOptions() in OSS (2255541)
Emit deprecation warning when comparing descriptor containers with unrecognized types in OSS (5865e6b)
Migrate top-level protobuf unittest protos from Edition 2024 to Edition 2026. (271ca53)
Configure extra compile args in setup.py
Python: fix heap-use-after-free in MapIterator after map.clear()
Add PyDescriptorPool_FromSharedPool(std::shared_ptr) API (abdf212)
Fix memory leak in PyUpb_Descriptor_GetExtensionRanges (3d31b0f)
Warn on out-of-range pop index in upb repeated fields. (a70d121)
Support assigning repeated scalar fields using Python Buffer API. (ea40f1d)
Fix Pure Python map<string, ...> key handling for bytes lookups. (156a0b8)
Change Python DescriptorDatabase FindFileContainingSymbol() to accept leading "." to match DescriptorPool and other languages (e86e536)
Faster Python cpp protos assignment to bytes/string fields. (593ab17)
Serialize length-prefixed protos once
[py/upb] Make GetOptions() return immutable options for scalar type. UPB will raise a TypeError when options returned GetOptions() by is mutated. (403d429)
Add bazel targets for standalone plugin binaries
Add mutex protection to DescriptorPool caches. (cecbbf4)
Refactor container comparison function in py/C++ and py/upb to return enum instead of integer. (c857f49)
Py JSON: Fix issue with depth enforcement on Struct/Value WKT paths. (cfcc433)
Fix RepeatedContainer_pop to raise IndexError for out-of-bounds indices. (78a09ad)


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/devel/protobuf/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/protobuf/PLIST
cvs rdiff -u -r1.102 -r1.103 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r1.98 -r1.99 pkgsrc/devel/py-protobuf/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-protobuf/PLIST
cvs rdiff -u -r1.89 -r1.90 pkgsrc/devel/py-protobuf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 10.9 KB)
Modified files:

Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.110 pkgsrc/devel/protobuf/Makefile:1.111
--- pkgsrc/devel/protobuf/Makefile:1.110	Thu Jul  2 11:39:29 2026
+++ pkgsrc/devel/protobuf/Makefile	Wed Aug 26 10:11:21 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2026/07/02 11:39:29 gdt Exp $
+# $NetBSD: Makefile,v 1.111 2026/08/26 10:11:21 adam Exp $
 #
 # When updating this, please also update devel/py-protobuf.
 #
@@ -8,8 +8,7 @@
 # likely that any upstream release, even if apparently minor, will
 # require a recursive revbump.
 
-DISTNAME=	protobuf-35.1
-PKGREVISION=	1
+DISTNAME=	protobuf-36.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=protocolbuffers/}
 GITHUB_PROJECT=	protobuf

Index: pkgsrc/devel/protobuf/PLIST
diff -u pkgsrc/devel/protobuf/PLIST:1.36 pkgsrc/devel/protobuf/PLIST:1.37
--- pkgsrc/devel/protobuf/PLIST:1.36	Fri May 29 11:59:19 2026
+++ pkgsrc/devel/protobuf/PLIST	Wed Aug 26 10:11:21 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2026/05/29 11:59:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.37 2026/08/26 10:11:21 adam Exp $
 bin/protoc
 bin/protoc-${PKGVERSION}.0
 bin/protoc-gen-upb
@@ -19,6 +19,7 @@ include/google/protobuf/arena_cleanup.h
 include/google/protobuf/arenastring.h
 include/google/protobuf/arenaz_sampler.h
 include/google/protobuf/c_sharp_features.proto
+include/google/protobuf/class_data.h
 include/google/protobuf/compiler/code_generator.h
 include/google/protobuf/compiler/code_generator_lite.h
 include/google/protobuf/compiler/command_line_interface.h
@@ -54,11 +55,15 @@ include/google/protobuf/compiler/zip_wri
 include/google/protobuf/cpp_edition_defaults.h
 include/google/protobuf/cpp_features.pb.h
 include/google/protobuf/cpp_features.proto
+include/google/protobuf/cpp_file_options.pb.h
+include/google/protobuf/cpp_file_options.proto
+include/google/protobuf/cpp_options.proto
 include/google/protobuf/descriptor.h
 include/google/protobuf/descriptor.pb.h
 include/google/protobuf/descriptor.proto
 include/google/protobuf/descriptor.upb.h
 include/google/protobuf/descriptor.upb_minitable.h
+include/google/protobuf/descriptor_builder.h
 include/google/protobuf/descriptor_database.h
 include/google/protobuf/descriptor_legacy.h
 include/google/protobuf/descriptor_lite.h
@@ -114,6 +119,11 @@ include/google/protobuf/json/internal/un
 include/google/protobuf/json/internal/writer.h
 include/google/protobuf/json/internal/zero_copy_buffered_stream.h
 include/google/protobuf/json/json.h
+include/google/protobuf/json_enumvalue_options.pb.h
+include/google/protobuf/json_enumvalue_options.proto
+include/google/protobuf/json_enumvalue_options.upb.h
+include/google/protobuf/json_enumvalue_options.upb_minitable.h
+include/google/protobuf/json_options.proto
 include/google/protobuf/map.h
 include/google/protobuf/map_entry.h
 include/google/protobuf/map_field.h
@@ -121,9 +131,11 @@ include/google/protobuf/map_field_lite.h
 include/google/protobuf/map_type_handler.h
 include/google/protobuf/message.h
 include/google/protobuf/message_lite.h
+include/google/protobuf/message_traits.h
 include/google/protobuf/metadata.h
 include/google/protobuf/metadata_lite.h
 include/google/protobuf/micro_string.h
+include/google/protobuf/naming_style.h
 include/google/protobuf/os_macros_restore.inc
 include/google/protobuf/os_macros_undef.inc
 include/google/protobuf/parse_context.h
@@ -155,6 +167,7 @@ include/google/protobuf/stubs/common.h
 include/google/protobuf/stubs/platform_macros.h
 include/google/protobuf/stubs/port.h
 include/google/protobuf/stubs/status_macros.h
+include/google/protobuf/symbol.h
 include/google/protobuf/symbol_checker.h
 include/google/protobuf/text_format.h
 include/google/protobuf/thread_safe_arena.h
@@ -162,6 +175,7 @@ include/google/protobuf/timestamp.pb.h
 include/google/protobuf/timestamp.proto
 include/google/protobuf/type.pb.h
 include/google/protobuf/type.proto
+include/google/protobuf/type_id.h
 include/google/protobuf/unknown_field_set.h
 include/google/protobuf/util/delimited_message_util.h
 include/google/protobuf/util/field_comparator.h
@@ -194,7 +208,6 @@ include/upb/json/decode.h
 include/upb/json/encode.h
 include/upb/lex/atoi.h
 include/upb/lex/round_trip.h
-include/upb/lex/strtod.h
 include/upb/lex/unicode.h
 include/upb/mem/alloc.h
 include/upb/mem/arena.h
@@ -204,6 +217,7 @@ include/upb/message/accessors.h
 include/upb/message/array.h
 include/upb/message/compare.h
 include/upb/message/compat.h
+include/upb/message/convert.h
 include/upb/message/copy.h
 include/upb/message/internal/accessors.h
 include/upb/message/internal/array.h
@@ -219,6 +233,7 @@ include/upb/message/map.h
 include/upb/message/map_gencode_util.h
 include/upb/message/merge.h
 include/upb/message/message.h
+include/upb/message/unknown_fields.h
 include/upb/message/value.h
 include/upb/mini_descriptor/build_enum.h
 include/upb/mini_descriptor/decode.h
@@ -278,6 +293,7 @@ include/upb/reflection/internal/method_d
 include/upb/reflection/internal/oneof_def.h
 include/upb/reflection/internal/service_def.h
 include/upb/reflection/internal/upb_edition_defaults.h
+include/upb/reflection/json_enumvalue_options_bootstrap.h
 include/upb/reflection/message.h
 include/upb/reflection/message.hpp
 include/upb/reflection/message_def.h
@@ -298,7 +314,10 @@ include/upb/wire/decode_fast/data.h
 include/upb/wire/decode_fast/select.h
 include/upb/wire/encode.h
 include/upb/wire/eps_copy_input_stream.h
+include/upb/wire/internal/back_alloc.h
+include/upb/wire/internal/constants.h
 include/upb/wire/internal/decoder.h
+include/upb/wire/internal/encoder.h
 include/upb/wire/internal/eps_copy_input_stream.h
 include/upb/wire/internal/reader.h
 include/upb/wire/reader.h

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.102 pkgsrc/devel/protobuf/distinfo:1.103
--- pkgsrc/devel/protobuf/distinfo:1.102	Mon Jul  6 14:03:04 2026
+++ pkgsrc/devel/protobuf/distinfo	Wed Aug 26 10:11:21 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.102 2026/07/06 14:03:04 sborrill Exp $
+$NetBSD: distinfo,v 1.103 2026/08/26 10:11:21 adam Exp $
 
-BLAKE2s (protobuf-35.1.tar.gz) = 6a5d80600b6452d1b4f7cedf67985210fbbbb4231ca6dce296f85843bfe7d89b
-SHA512 (protobuf-35.1.tar.gz) = 3cf3bd6cf7789fe65b57f3062ca3eebcf1660fbabe2c8c8504382052cb47f3a2b9ea146579a0fde58edacb53fa8c6f9eee3efee4250c9facc872e6cb0755568e
-Size (protobuf-35.1.tar.gz) = 7146181 bytes
+BLAKE2s (protobuf-36.0.tar.gz) = b3d8c2cb57e4388268cd46b2bf3471960dc63e70839c4cf439ef5fc44a66fd4d
+SHA512 (protobuf-36.0.tar.gz) = 30a7e54a54e8c42cb67531858aeb90dc9b7386a39087d0369c142834a4702b5ee2a3953fc7047c326c362a58386566a5c85d1a63b55c77c1f2e2f6cea798a26b
+Size (protobuf-36.0.tar.gz) = 7311082 bytes
 SHA1 (patch-src_file__lists.cmake) = 0b693792cefcff5bed559c6abbe9092e4fb1efdc
 SHA1 (patch-src_google_protobuf_io_zero_copy_stream_impl.cc) = 379eeacfd54d4d3ad577844449d44e29d16ce254

Index: pkgsrc/devel/py-protobuf/Makefile
diff -u pkgsrc/devel/py-protobuf/Makefile:1.98 pkgsrc/devel/py-protobuf/Makefile:1.99
--- pkgsrc/devel/py-protobuf/Makefile:1.98	Fri Jun 12 04:29:48 2026
+++ pkgsrc/devel/py-protobuf/Makefile	Wed Aug 26 10:11:21 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.98 2026/06/12 04:29:48 adam Exp $
+# $NetBSD: Makefile,v 1.99 2026/08/26 10:11:21 adam Exp $
 
-DISTNAME=	protobuf-7.35.1
+DISTNAME=	protobuf-7.36.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/protobuf/}
@@ -12,7 +12,7 @@ LICENSE=	modified-bsd
 
 TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 
-USE_CXX_FEATURES=	c++11
+USE_CXX_FEATURES=	c++17
 USE_LANGUAGES+=		c c++
 
 MAKE_ENV+=	PROTOC=${PREFIX}/bin/protoc

Index: pkgsrc/devel/py-protobuf/PLIST
diff -u pkgsrc/devel/py-protobuf/PLIST:1.29 pkgsrc/devel/py-protobuf/PLIST:1.30
--- pkgsrc/devel/py-protobuf/PLIST:1.29	Mon Jun 30 14:47:47 2025
+++ pkgsrc/devel/py-protobuf/PLIST	Wed Aug 26 10:11:21 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2025/06/30 14:47:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.30 2026/08/26 10:11:21 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -23,6 +23,9 @@ ${PYSITELIB}/google/protobuf/api_pb2.pyo
 ${PYSITELIB}/google/protobuf/compiler/__init__.py
 ${PYSITELIB}/google/protobuf/compiler/__init__.pyc
 ${PYSITELIB}/google/protobuf/compiler/__init__.pyo
+${PYSITELIB}/google/protobuf/compiler/descriptor_pb2.py
+${PYSITELIB}/google/protobuf/compiler/descriptor_pb2.pyc
+${PYSITELIB}/google/protobuf/compiler/descriptor_pb2.pyo
 ${PYSITELIB}/google/protobuf/compiler/plugin_pb2.py
 ${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyc
 ${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyo
@@ -77,6 +80,9 @@ ${PYSITELIB}/google/protobuf/internal/ex
 ${PYSITELIB}/google/protobuf/internal/field_mask.py
 ${PYSITELIB}/google/protobuf/internal/field_mask.pyc
 ${PYSITELIB}/google/protobuf/internal/field_mask.pyo
+${PYSITELIB}/google/protobuf/internal/message_benchmark.py
+${PYSITELIB}/google/protobuf/internal/message_benchmark.pyc
+${PYSITELIB}/google/protobuf/internal/message_benchmark.pyo
 ${PYSITELIB}/google/protobuf/internal/message_listener.py
 ${PYSITELIB}/google/protobuf/internal/message_listener.pyc
 ${PYSITELIB}/google/protobuf/internal/message_listener.pyo
@@ -98,9 +104,15 @@ ${PYSITELIB}/google/protobuf/internal/we
 ${PYSITELIB}/google/protobuf/internal/wire_format.py
 ${PYSITELIB}/google/protobuf/internal/wire_format.pyc
 ${PYSITELIB}/google/protobuf/internal/wire_format.pyo
+${PYSITELIB}/google/protobuf/json_enumvalue_options_pb2.py
+${PYSITELIB}/google/protobuf/json_enumvalue_options_pb2.pyc
+${PYSITELIB}/google/protobuf/json_enumvalue_options_pb2.pyo
 ${PYSITELIB}/google/protobuf/json_format.py
 ${PYSITELIB}/google/protobuf/json_format.pyc
 ${PYSITELIB}/google/protobuf/json_format.pyo
+${PYSITELIB}/google/protobuf/json_options_pb2.py
+${PYSITELIB}/google/protobuf/json_options_pb2.pyc
+${PYSITELIB}/google/protobuf/json_options_pb2.pyo
 ${PYSITELIB}/google/protobuf/message.py
 ${PYSITELIB}/google/protobuf/message.pyc
 ${PYSITELIB}/google/protobuf/message.pyo

Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.89 pkgsrc/devel/py-protobuf/distinfo:1.90
--- pkgsrc/devel/py-protobuf/distinfo:1.89	Fri Jun 12 04:29:48 2026
+++ pkgsrc/devel/py-protobuf/distinfo	Wed Aug 26 10:11:21 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.89 2026/06/12 04:29:48 adam Exp $
+$NetBSD: distinfo,v 1.90 2026/08/26 10:11:21 adam Exp $
 
-BLAKE2s (protobuf-7.35.1.tar.gz) = 82648116b6b1d67c58c74d4ec9b3470d9b4f78b6bbda4d2119f041f6c51436d9
-SHA512 (protobuf-7.35.1.tar.gz) = f732067c69921340aaf295e2b55c21d244e60f59430379c0dbda3657bcd104a094c8747f64bbc692ce6d2e2ee6593c587f04d42369d11f97cc2fd27d03864a1d
-Size (protobuf-7.35.1.tar.gz) = 458717 bytes
+BLAKE2s (protobuf-7.36.0.tar.gz) = e8da9741586cde498c17718ce614ae71d200a0404cdd8e8122c6936bedb3612a
+SHA512 (protobuf-7.36.0.tar.gz) = e6ac5262d0ed06a1b646e21618b83641101b2e16b2c431a9ae165af62e2c8a062e93589784e46dab8255fc925f42eac9e2246f281ae628f0b95f8fb2bf9dfe13
+Size (protobuf-7.36.0.tar.gz) = 510034 bytes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.