Protocol buffers have seen a few releases over the past weeks, so it's
time for an update. I have built this diff on amd64, macppc and sparc64
and tested interoperability between these platforms with mosh linked
against protobuf 3.11 and 3.12.

The google/protobuf home now redirects to a new location, so I changed
that.

Major bumps required for all three libs. The diff between 3.11.4 and
3.12.2 is huge as usual, the one well-known test hang is still present.

I will do some more build testing in the coming days, but wanted to send
this out already.

Index: Makefile
===================================================================
RCS file: /var/cvs/ports/devel/protobuf/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile    6 Mar 2020 14:06:10 -0000       1.33
+++ Makefile    28 May 2020 19:09:09 -0000
@@ -2,26 +2,26 @@
 
 COMMENT =              c++ protocol buffers
 
-V =                    3.11.4
+V =                    3.12.2
 DISTNAME =             protobuf-cpp-$V
 PKGNAME =              protobuf-$V
 
 WRKDIST =              ${WRKDIR}/protobuf-${V}
 
-SHARED_LIBS +=         protobuf        6.0   # 22.4
-SHARED_LIBS +=         protoc          7.0   # 22.4
-SHARED_LIBS +=         protobuf-lite   6.0   # 22.4
+SHARED_LIBS +=         protobuf        7.0   # 23.2
+SHARED_LIBS +=         protoc          8.0   # 23.2
+SHARED_LIBS +=         protobuf-lite   7.0   # 23.2
 
 CATEGORIES =           devel
 
-HOMEPAGE =             https://github.com/google/protobuf/
+HOMEPAGE =             https://github.com/protocolbuffers/protobuf/
 
 # New BSD
 PERMIT_PACKAGE =       Yes
 
 WANTLIB +=             c m pthread ${COMPILER_LIBCXX} z
 
-MASTER_SITES =         
https://github.com/google/protobuf/releases/download/v$V/
+MASTER_SITES =         
https://github.com/protocolbuffers/protobuf/releases/download/v$V/
 
 COMPILER =             base-clang ports-gcc
 
@@ -34,7 +34,7 @@ CONFIGURE_ARGS +=     --with-zlib
 
 # avoid undefined reference to __atomic_fetch_add_8
 .if ${CHOSEN_COMPILER} == "ports-gcc"
-. if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "hppa"
+. if ${MACHINE_ARCH} == "hppa"
 CONFIGURE_ENV +=       LIBS="-latomic"
 WANTLIB +=             atomic
 . endif
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/devel/protobuf/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    6 Mar 2020 14:06:10 -0000       1.12
+++ distinfo    27 May 2020 20:01:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (protobuf-cpp-3.11.4.tar.gz) = 
uku8PmtY0sz+QG5hZXbvSHEKKq4gX0Y2GAJfxpFUnP4=
-SIZE (protobuf-cpp-3.11.4.tar.gz) = 4605834
+SHA256 (protobuf-cpp-3.12.2.tar.gz) = 
8vGA6TQ8uyuahIIlW/7CF2osx/oi3kllNaCgzzh5dJU=
+SIZE (protobuf-cpp-3.12.2.tar.gz) = 4631779

Reply via email to