git: 62562539a5f3 - main - databases/percona-toolkit: Update to 3.5.0

From: Florian Smeets <flo_at_FreeBSD.org>
Date: Sun, 08 Jan 2023 08:49:11 UTC
The branch main has been updated by flo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=62562539a5f3b8553c5872273ba948c047a3edb9

commit 62562539a5f3b8553c5872273ba948c047a3edb9
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2023-01-08 08:18:43 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2023-01-08 08:47:53 +0000

    databases/percona-toolkit: Update to 3.5.0
---
 databases/percona-toolkit/Makefile                | 2 +-
 databases/percona-toolkit/distinfo                | 6 +++---
 databases/percona-toolkit/files/patch-Makefile.PL | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/databases/percona-toolkit/Makefile b/databases/percona-toolkit/Makefile
index 93298d604888..66f0371b35ef 100644
--- a/databases/percona-toolkit/Makefile
+++ b/databases/percona-toolkit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	percona-toolkit
-PORTVERSION=	3.3.1
+PORTVERSION=	3.5.0
 CATEGORIES=	databases
 MASTER_SITES=	https://www.percona.com/downloads/${PORTNAME}/${PORTVERSION}/source/tarball/
 
diff --git a/databases/percona-toolkit/distinfo b/databases/percona-toolkit/distinfo
index b3f0ad9b1f6c..32f79ba1408a 100644
--- a/databases/percona-toolkit/distinfo
+++ b/databases/percona-toolkit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644348536
-SHA256 (percona-toolkit-3.3.1.tar.gz) = 60fc106b195b6716f1ebb3ca16b401692228c1a2a885da72111a93391fd12090
-SIZE (percona-toolkit-3.3.1.tar.gz) = 15348084
+TIMESTAMP = 1673103559
+SHA256 (percona-toolkit-3.5.0.tar.gz) = f4344bc86a1aadc6db6691a4fedd2736b4a17bd9ee8ca085722917ba08dac610
+SIZE (percona-toolkit-3.5.0.tar.gz) = 15696972
diff --git a/databases/percona-toolkit/files/patch-Makefile.PL b/databases/percona-toolkit/files/patch-Makefile.PL
index a582fe703d8a..da53fa76faeb 100644
--- a/databases/percona-toolkit/files/patch-Makefile.PL
+++ b/databases/percona-toolkit/files/patch-Makefile.PL
@@ -1,7 +1,7 @@
---- Makefile.PL.orig	2017-12-16 18:29:36 UTC
+--- Makefile.PL.orig	2022-11-28 18:41:57 UTC
 +++ Makefile.PL
 @@ -5,12 +5,12 @@ WriteMakefile(
-     VERSION   => '3.0.5',
+     VERSION   => '3.5.0',
      EXE_FILES => [ <bin/*> ],
      MAN1PODS  => {
 -      'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
@@ -9,9 +9,9 @@
        map {
           (my $name = $_) =~ s/^bin.//;
           my $file_name = $_;
-          if ( $file_name !~ m/mongo/ ) {
+          if ( ( $file_name !~ m/mongo/ ) || ( $file_name !~ m/pg/ ) ) {
 -             $_ => "blib/man1/$name.1p";
 +             $_ => "blib/man1/$name.1";
-         }
+          }
        } <bin/*>
      },