git: 7faf3caa2884 - main - devel/valgrind: Update to 3.18.1 and switch to use sourceware

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Mon, 18 Oct 2021 19:03:49 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7faf3caa288457fc1180e1e37ce373c21a3479bf

commit 7faf3caa288457fc1180e1e37ce373c21a3479bf
Author:     Paul Floyd <pjfloyd@wanadoo.fr>
AuthorDate: 2021-10-18 19:00:05 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-10-18 19:03:29 +0000

    devel/valgrind: Update to 3.18.1 and switch to use sourceware
    
    The FreeBSD port of Valgrind has now been merged upstream and a new
    release of Valgrind is out, 3.18.1. This updates Makefile, distinfo and
    pkg-descr to reflect that.
    
    Also remove pkg-message which has been incorrect and obsolete for a fair time.
    
    PR:             259224
---
 devel/valgrind/Makefile    | 15 ++++-----------
 devel/valgrind/distinfo    |  6 +++---
 devel/valgrind/pkg-descr   |  1 -
 devel/valgrind/pkg-message | 15 ---------------
 devel/valgrind/pkg-plist   |  2 ++
 5 files changed, 9 insertions(+), 30 deletions(-)

diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index 0afc0e4758d9..90a304c96554 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -1,12 +1,10 @@
 # Created by: Simon Barner <barner@gmx.de>
 
 PORTNAME=	valgrind
-PORTVERSION=	3.17.0.g20210319
-DISTVERSIONPREFIX=	freebsd-
-PORTREVISION=	0
+PORTVERSION=	3.18.1
 PORTEPOCH=	1
 CATEGORIES=	devel
-MASTER_SITES=	https://valgrind.org/
+MASTER_SITES=	SOURCEWARE/valgrind
 
 MAINTAINER=	pjfloyd@wanadoo.fr
 COMMENT=	Memory debugging and profiling tool
@@ -16,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 ONLY_FOR_ARCHS=	amd64 i386
 
-USES=		cpe pathfix pkgconfig gmake perl5 shebangfix autoreconf
+USES=		cpe pathfix pkgconfig gmake perl5 shebangfix autoreconf tar:bz2
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
@@ -24,12 +22,7 @@ SHEBANG_FILES=	callgrind/callgrind_annotate.in callgrind/callgrind_control.in
 SSP_UNSAFE=	yes
 LIB32_PATH?=	/usr/lib32/libc.so
 
-CONFLICTS=	valgrind-[0-9]*
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	paulfloyd
-GH_PROJECT=	freebsd_valgrind
-GH_TAGNAME=	d333c54
+CONFLICTS=	valgrind-devel-[0-9]*
 
 CONFIGURE_ENV+=	ac_cv_path_PERL=${PERL}
 
diff --git a/devel/valgrind/distinfo b/devel/valgrind/distinfo
index c7364c85ea6f..03634cf9998b 100644
--- a/devel/valgrind/distinfo
+++ b/devel/valgrind/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616493211
-SHA256 (paulfloyd-freebsd_valgrind-freebsd-3.17.0.g20210319-d333c54_GH0.tar.gz) = 2f631d7768fda08a62d6327cea0ea56062becad0083ba2751262215c2390387e
-SIZE (paulfloyd-freebsd_valgrind-freebsd-3.17.0.g20210319-d333c54_GH0.tar.gz) = 15796240
+TIMESTAMP = 1634460994
+SHA256 (valgrind-3.18.1.tar.bz2) = 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5
+SIZE (valgrind-3.18.1.tar.bz2) = 16149159
diff --git a/devel/valgrind/pkg-descr b/devel/valgrind/pkg-descr
index 8a88d8b1cf4e..ae6db068ded1 100644
--- a/devel/valgrind/pkg-descr
+++ b/devel/valgrind/pkg-descr
@@ -16,5 +16,4 @@ The Valgrind distribution includes 10 tools:
 
 Valgrind was initially ported to FreeBSD by Doug Rabson.
 
-WWW: https://github.com/paulfloyd/freebsd_valgrind
 WWW: http://www.valgrind.org/
diff --git a/devel/valgrind/pkg-message b/devel/valgrind/pkg-message
deleted file mode 100644
index 999db08e752f..000000000000
--- a/devel/valgrind/pkg-message
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-	Known problems:
-	1) DRD/Helgrind tool gives excessive false-positivies for the
-	   internals of pthreads library.  This is now under
-	   investigation.
-	2) exp-ptrcheck tool doesn't work on FreeBSD now
-
-	If you'll encounter any problems when using Valgrind do not
-	hesitate to contact the maintainer with the description of
-	these problems.
-EOM
-}
-]
diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist
index 32014f5c9231..e4c4c999b8ae 100644
--- a/devel/valgrind/pkg-plist
+++ b/devel/valgrind/pkg-plist
@@ -299,3 +299,5 @@ libexec/valgrind/dh_view.js
 %%MANPAGES%%man/man1/valgrind-listener.1.gz
 %%MANPAGES%%man/man1/valgrind.1.gz
 %%MANPAGES%%man/man1/vgdb.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/valgrind_manual.pdf
+%%PORTDOCS%%%%DOCSDIR%%/valgrind_manual.ps