git: 89fc60cb3759 - main - devel/protobuf: Update to 3.21.12

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:06:40 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89fc60cb3759616376afdcd412e30d526129e642

commit 89fc60cb3759616376afdcd412e30d526129e642
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:29:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:15 +0000

    devel/protobuf: Update to 3.21.12
    
    Changes:        https://github.com/protocolbuffers/protobuf/releases
---
 devel/protobuf/Makefile  | 3 ++-
 devel/protobuf/distinfo  | 6 +++---
 devel/protobuf/pkg-plist | 6 +++---
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/devel/protobuf/Makefile b/devel/protobuf/Makefile
index bcbe4fd53004..fd5d299e15f2 100644
--- a/devel/protobuf/Makefile
+++ b/devel/protobuf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	protobuf
-PORTVERSION=	3.21.9
+PORTVERSION=	3.21.12
 DISTVERSIONPREFIX=	cpp-
 PORTEPOCH=	1
 CATEGORIES=	devel
@@ -32,6 +32,7 @@ TEST_TARGET=	check
 USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 
+PLIST_SUB=	PATCH_VERSION=${PORTVERSION:E}
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 CPE_VENDOR=	google
diff --git a/devel/protobuf/distinfo b/devel/protobuf/distinfo
index 998b14ba8eba..b0b2e5326d8a 100644
--- a/devel/protobuf/distinfo
+++ b/devel/protobuf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057585
-SHA256 (protobuf-cpp-3.21.9.tar.gz) = bddc5dd16da45c89a510704683e02ba08c30af78fe092d255cf25b9b01259405
-SIZE (protobuf-cpp-3.21.9.tar.gz) = 4836811
+TIMESTAMP = 1674589582
+SHA256 (protobuf-cpp-3.21.12.tar.gz) = 4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460
+SIZE (protobuf-cpp-3.21.12.tar.gz) = 4842303
diff --git a/devel/protobuf/pkg-plist b/devel/protobuf/pkg-plist
index 56e0b2d27a09..d60b9a3c684c 100644
--- a/devel/protobuf/pkg-plist
+++ b/devel/protobuf/pkg-plist
@@ -133,14 +133,14 @@ include/google/protobuf/wrappers.proto
 lib/libprotobuf-lite.a
 lib/libprotobuf-lite.so
 lib/libprotobuf-lite.so.32
-lib/libprotobuf-lite.so.32.0.9
+lib/libprotobuf-lite.so.32.0.%%PATCH_VERSION%%
 lib/libprotobuf.a
 lib/libprotobuf.so
 lib/libprotobuf.so.32
-lib/libprotobuf.so.32.0.9
+lib/libprotobuf.so.32.0.%%PATCH_VERSION%%
 lib/libprotoc.a
 lib/libprotoc.so
 lib/libprotoc.so.32
-lib/libprotoc.so.32.0.9
+lib/libprotoc.so.32.0.%%PATCH_VERSION%%
 libdata/pkgconfig/protobuf-lite.pc
 libdata/pkgconfig/protobuf.pc