Fri Jan 17 21:09:18 2020 UTC ()
protobuf-c: updated to 1.3.2

protobuf-c (1.3.2)
* Use protobuf 3.7.1 in the Travis-CI environment.
* Fix test suite build failure on newer versions of protobuf.
* Fix proto3 repeated scalar field default packing behavior.
* Fix out-of-bounds read in scan_length_prefixed_data().
* Fix -Wdeclaration-after-statement warning in parse_oneof_member().
* Fix SIGSEGV in protobuf_c_message_check() on messages with unpopulated
  oneof member.
* Do not allow tag values of 0 in protobuf messages, as these are not
  allowed by proto2 or proto3.

protobuf-c (1.3.1)
* Restore protobuf-2.x compatibility.
* Use xenial and protobuf 3.6.1 in the Travis-CI environment.
* Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, needed
  to compile against protobuf 3.6.1.
* Use AX_CXX_COMPILE_STDCXX macro to enable C++11 support in old compilers
* Add std:: to some types.
* Check the return value of int_range_lookup before using as an array index;
  it can return -1.
* Fix compilation on mingw by using explicit protoc --plugin=NAME=PATH syntax
  in Makefile.am


(adam)
diff -r1.5 -r1.6 pkgsrc/devel/protobuf-c/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/protobuf-c/buildlink3.mk
diff -r1.6 -r1.7 pkgsrc/devel/protobuf-c/distinfo
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__field.cc
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__field.h
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__file.cc
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.cc
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__helpers.cc
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__message.cc
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__message.h
diff -r1.1 -r0 pkgsrc/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc

cvs diff -r1.5 -r1.6 pkgsrc/devel/protobuf-c/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/protobuf-c/Makefile 2018/08/04 21:36:16 1.5
+++ pkgsrc/devel/protobuf-c/Makefile 2020/01/17 21:09:18 1.6
@@ -1,25 +1,21 @@ @@ -1,25 +1,21 @@
1# $NetBSD: Makefile,v 1.5 2018/08/04 21:36:16 minskim Exp $ 1# $NetBSD: Makefile,v 1.6 2020/01/17 21:09:18 adam Exp $
2 2
3DISTNAME= protobuf-c-1.3.0 3DISTNAME= protobuf-c-1.3.2
4PKGREVISION= 2 
5CATEGORIES= devel 4CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_RELEASE= v${PKGVERSION_NOREV}
8 7
9MAINTAINER= wiedi@frubar.net 8MAINTAINER= wiedi@frubar.net
10HOMEPAGE= https://github.com/protobuf-c/protobuf-c 9HOMEPAGE= https://github.com/protobuf-c/protobuf-c
11COMMENT= Protocol Buffers implementation in C 10COMMENT= Protocol Buffers implementation in C
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14GNU_CONFIGURE= yes 13USE_LANGUAGES= c99 c++11
15USE_LIBTOOL= yes 14USE_LIBTOOL= yes
16USE_TOOLS+= pkg-config aclocal autoconf automake gmake 15USE_TOOLS+= gmake pkg-config
17USE_LANGUAGES= c99 c++11 16GNU_CONFIGURE= yes
18 
19PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in 17PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in
20 18TEST_TARGET= check
21pre-configure: 
22 cd ${WRKSRC} && ./autogen.sh 
23 19
24.include "../../devel/protobuf/buildlink3.mk" 20.include "../../devel/protobuf/buildlink3.mk"
25.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/devel/protobuf-c/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/devel/protobuf-c/buildlink3.mk 2018/01/17 12:10:37 1.2
+++ pkgsrc/devel/protobuf-c/buildlink3.mk 2020/01/17 21:09:18 1.3
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1# $NetBSD: buildlink3.mk,v 1.2 2018/01/17 12:10:37 jperkin Exp $ 1# $NetBSD: buildlink3.mk,v 1.3 2020/01/17 21:09:18 adam Exp $
2 2
3BUILDLINK_TREE+= protobuf-c 3BUILDLINK_TREE+= protobuf-c
4 4
5.if !defined(PROTOBUF_C_BUILDLINK3_MK) 5.if !defined(PROTOBUF_C_BUILDLINK3_MK)
6PROTOBUF_C_BUILDLINK3_MK:= 6PROTOBUF_C_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.protobuf-c+= protobuf-c>=1.1.1 8BUILDLINK_API_DEPENDS.protobuf-c+= protobuf-c>=1.1.1
9BUILDLINK_ABI_DEPENDS.protobuf-c?= protobuf-c>=1.3.0nb1 9BUILDLINK_ABI_DEPENDS.protobuf-c+= protobuf-c>=1.3.0nb1
10BUILDLINK_PKGSRCDIR.protobuf-c?= ../../devel/protobuf-c 10BUILDLINK_PKGSRCDIR.protobuf-c?= ../../devel/protobuf-c
11 11
12.include "../../devel/protobuf/buildlink3.mk" 12.include "../../devel/protobuf/buildlink3.mk"
13.endif # PROTOBUF_C_BUILDLINK3_MK 13.endif # PROTOBUF_C_BUILDLINK3_MK
14 14
15BUILDLINK_TREE+= -protobuf-c 15BUILDLINK_TREE+= -protobuf-c

cvs diff -r1.6 -r1.7 pkgsrc/devel/protobuf-c/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/protobuf-c/distinfo 2019/03/27 11:31:21 1.6
+++ pkgsrc/devel/protobuf-c/distinfo 2020/01/17 21:09:18 1.7
@@ -1,15 +1,6 @@ @@ -1,15 +1,6 @@
1$NetBSD: distinfo,v 1.6 2019/03/27 11:31:21 jperkin Exp $ 1$NetBSD: distinfo,v 1.7 2020/01/17 21:09:18 adam Exp $
2 2
3SHA1 (protobuf-c-1.3.0.tar.gz) = b1df242c1445e2cc22708ca1889f5ce63bcbfc6c 3SHA1 (protobuf-c-1.3.2.tar.gz) = 6e486ec03e2c60305ec59d1811425f93f5b2b37e
4RMD160 (protobuf-c-1.3.0.tar.gz) = 528c1ae07297990f1e3405db2e3129eef9823698 4RMD160 (protobuf-c-1.3.2.tar.gz) = b64ec1f0d062a885a8b82d58aae22ae6275b8714
5SHA512 (protobuf-c-1.3.0.tar.gz) = 52a8564c4570ce45de41f664d2c8edaa0712a5c076d6c9b48a4a1022df83ba5f2e1950823a0e91c2754d9ea9922e11d0cc86f82c23ba77e0f0c5659ed43126aa 5SHA512 (protobuf-c-1.3.2.tar.gz) = d94d2c6f11b3e482fd3d1b8cef5b2d896ad37a679068f393d29916311deadc5b6b86f946b046d7ee49260b0223e3128e052dc76324b4a8cd6ea184d566ad9aa6
6Size (protobuf-c-1.3.0.tar.gz) = 123153 bytes 6Size (protobuf-c-1.3.2.tar.gz) = 500100 bytes
7SHA1 (patch-protoc-c_c__field.cc) = 79f649fcc6deeda7f86e4ba83f7e279b3aef2070 
8SHA1 (patch-protoc-c_c__field.h) = 9b6a71cb880b774a676c14783cc60bff21ebb6c3 
9SHA1 (patch-protoc-c_c__file.cc) = 27a9e34d34cae5f726ecef3f4d96ad6bdc9ddd9f 
10SHA1 (patch-protoc-c_c__file.h) = 7e7e42a56939d3cf6b23f5e53a9dd7a89e04db1b 
11SHA1 (patch-protoc-c_c__generator.cc) = fc5795bec0c6536713ee7043777edd10b07db9b4 
12SHA1 (patch-protoc-c_c__helpers.cc) = 236b1ead1a5f452cf8532507326bd6316e6c6c17 
13SHA1 (patch-protoc-c_c__message.cc) = f36502a761f46cb555708ef14d26e4aec5725001 
14SHA1 (patch-protoc-c_c__message.h) = b5f2761ab1f1f735fd0a795342b3479e6b253832 
15SHA1 (patch-t_generated-code2_cxx-generate-packed-data.cc) = c23e890f088e51f1ce4e96a48f1bf3ea8b0f1d3a 

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__field.cc

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__field.h

File Deleted: pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__file.cc

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__generator.cc

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__helpers.cc

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__message.cc

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-protoc-c_c__message.h

File Deleted: pkgsrc/devel/protobuf-c/patches/Attic/patch-t_generated-code2_cxx-generate-packed-data.cc