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.amdiff -r1.5 -r1.6 pkgsrc/devel/protobuf-c/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= protobuf-c-1.3.0 | 3 | DISTNAME= protobuf-c-1.3.2 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/} | |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | |
8 | 7 | |||
9 | MAINTAINER= wiedi@frubar.net | 8 | MAINTAINER= wiedi@frubar.net | |
10 | HOMEPAGE= https://github.com/protobuf-c/protobuf-c | 9 | HOMEPAGE= https://github.com/protobuf-c/protobuf-c | |
11 | COMMENT= Protocol Buffers implementation in C | 10 | COMMENT= Protocol Buffers implementation in C | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | GNU_CONFIGURE= yes | 13 | USE_LANGUAGES= c99 c++11 | |
15 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= pkg-config aclocal autoconf automake gmake | 15 | USE_TOOLS+= gmake pkg-config | |
17 | USE_LANGUAGES= c99 c++11 | 16 | GNU_CONFIGURE= yes | |
18 | ||||
19 | PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in | 17 | PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in | |
20 | 18 | TEST_TARGET= check | ||
21 | pre-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" |
@@ -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 | |||
3 | BUILDLINK_TREE+= protobuf-c | 3 | BUILDLINK_TREE+= protobuf-c | |
4 | 4 | |||
5 | .if !defined(PROTOBUF_C_BUILDLINK3_MK) | 5 | .if !defined(PROTOBUF_C_BUILDLINK3_MK) | |
6 | PROTOBUF_C_BUILDLINK3_MK:= | 6 | PROTOBUF_C_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.protobuf-c+= protobuf-c>=1.1.1 | 8 | BUILDLINK_API_DEPENDS.protobuf-c+= protobuf-c>=1.1.1 | |
9 | BUILDLINK_ABI_DEPENDS.protobuf-c?= protobuf-c>=1.3.0nb1 | 9 | BUILDLINK_ABI_DEPENDS.protobuf-c+= protobuf-c>=1.3.0nb1 | |
10 | BUILDLINK_PKGSRCDIR.protobuf-c?= ../../devel/protobuf-c | 10 | BUILDLINK_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 | |||
15 | BUILDLINK_TREE+= -protobuf-c | 15 | BUILDLINK_TREE+= -protobuf-c |
@@ -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 | |||
3 | SHA1 (protobuf-c-1.3.0.tar.gz) = b1df242c1445e2cc22708ca1889f5ce63bcbfc6c | 3 | SHA1 (protobuf-c-1.3.2.tar.gz) = 6e486ec03e2c60305ec59d1811425f93f5b2b37e | |
4 | RMD160 (protobuf-c-1.3.0.tar.gz) = 528c1ae07297990f1e3405db2e3129eef9823698 | 4 | RMD160 (protobuf-c-1.3.2.tar.gz) = b64ec1f0d062a885a8b82d58aae22ae6275b8714 | |
5 | SHA512 (protobuf-c-1.3.0.tar.gz) = 52a8564c4570ce45de41f664d2c8edaa0712a5c076d6c9b48a4a1022df83ba5f2e1950823a0e91c2754d9ea9922e11d0cc86f82c23ba77e0f0c5659ed43126aa | 5 | SHA512 (protobuf-c-1.3.2.tar.gz) = d94d2c6f11b3e482fd3d1b8cef5b2d896ad37a679068f393d29916311deadc5b6b86f946b046d7ee49260b0223e3128e052dc76324b4a8cd6ea184d566ad9aa6 | |
6 | Size (protobuf-c-1.3.0.tar.gz) = 123153 bytes | 6 | Size (protobuf-c-1.3.2.tar.gz) = 500100 bytes | |
7 | SHA1 (patch-protoc-c_c__field.cc) = 79f649fcc6deeda7f86e4ba83f7e279b3aef2070 | |||
8 | SHA1 (patch-protoc-c_c__field.h) = 9b6a71cb880b774a676c14783cc60bff21ebb6c3 | |||
9 | SHA1 (patch-protoc-c_c__file.cc) = 27a9e34d34cae5f726ecef3f4d96ad6bdc9ddd9f | |||
10 | SHA1 (patch-protoc-c_c__file.h) = 7e7e42a56939d3cf6b23f5e53a9dd7a89e04db1b | |||
11 | SHA1 (patch-protoc-c_c__generator.cc) = fc5795bec0c6536713ee7043777edd10b07db9b4 | |||
12 | SHA1 (patch-protoc-c_c__helpers.cc) = 236b1ead1a5f452cf8532507326bd6316e6c6c17 | |||
13 | SHA1 (patch-protoc-c_c__message.cc) = f36502a761f46cb555708ef14d26e4aec5725001 | |||
14 | SHA1 (patch-protoc-c_c__message.h) = b5f2761ab1f1f735fd0a795342b3479e6b253832 | |||
15 | SHA1 (patch-t_generated-code2_cxx-generate-packed-data.cc) = c23e890f088e51f1ce4e96a48f1bf3ea8b0f1d3a |