git: 57c987a21a65 - main - devel/valgrind: update to 3.21

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 18:43:01 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57c987a21a65a18e9dee884e60d1779510bec6e1

commit 57c987a21a65a18e9dee884e60d1779510bec6e1
Author:     Paul Floyd <pjfloyd@wanadoo.fr>
AuthorDate: 2023-04-29 12:24:13 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-30 18:41:41 +0000

    devel/valgrind: update to 3.21
    
    There are a couple of new python scripts for gdb integration.
    
    Some of the post-processing tools have switched from Perl and C
    to Python (minimum 3.9).
    
    Changelog: https://sourceware.org/git/?p=valgrind.git;a=blob;f=NEWS;h=342a733650a7247ebc0ba0da91cfa802440fc319;hb=HEAD
    
    PR:             271126
---
 devel/valgrind/Makefile  | 6 +++---
 devel/valgrind/distinfo  | 6 +++---
 devel/valgrind/pkg-plist | 2 ++
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index eca7126db466..391d437067f5 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	valgrind
-PORTVERSION=	3.20.0
+PORTVERSION=	3.21.0
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	SOURCEWARE/valgrind
@@ -13,9 +13,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 ONLY_FOR_ARCHS=	amd64 i386
 
-USES=		autoreconf cpe gmake pathfix perl5 pkgconfig shebangfix tar:bz2
+USES=		autoreconf cpe gmake pathfix perl5 pkgconfig shebangfix python:3.9+,run tar:bz2
 USE_PERL5=	build
-SHEBANG_FILES=	callgrind/callgrind_annotate.in callgrind/callgrind_control.in
+SHEBANG_FILES= callgrind/callgrind_annotate.in callgrind/callgrind_control.in cachegrind/cg_merge.in cachegrind/cg_diff.in cachegrind/cg_annotate.in
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	ac_cv_path_PERL=${PERL}
 
diff --git a/devel/valgrind/distinfo b/devel/valgrind/distinfo
index ac4a44ef1f9a..f5bac8b4be66 100644
--- a/devel/valgrind/distinfo
+++ b/devel/valgrind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666856128
-SHA256 (valgrind-3.20.0.tar.bz2) = 8536c031dbe078d342f121fa881a9ecd205cb5a78e639005ad570011bdb9f3c6
-SIZE (valgrind-3.20.0.tar.bz2) = 16469274
+TIMESTAMP = 1682710174
+SHA256 (valgrind-3.21.0.tar.bz2) = 10ce1618bb3e33fad16eb79552b0a3e1211762448a0d7fce11c8a6243b9ac971
+SIZE (valgrind-3.21.0.tar.bz2) = 17449484
diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist
index 65633e0f586c..42788f3cfbef 100644
--- a/devel/valgrind/pkg-plist
+++ b/devel/valgrind/pkg-plist
@@ -277,6 +277,8 @@ libexec/valgrind/s390x-linux64-valgrind-s2.xml
 libexec/valgrind/s390x-linux64.xml
 libexec/valgrind/s390x-vx-linux-valgrind.xml
 libexec/valgrind/s390x-vx-linux.xml
+libexec/valgrind/valgrind-monitor-def.py
+libexec/valgrind/valgrind-monitor.py
 %%AMD64%%libexec/valgrind/vgpreload_core-amd64-freebsd.so
 %%X86%%libexec/valgrind/vgpreload_core-x86-freebsd.so
 %%AMD64%%libexec/valgrind/vgpreload_dhat-amd64-freebsd.so