Bug 277703

Summary: databases/mysqltuner shebang fix [PATCH]
Product: Ports & Packages Reporter: Miroslav Lachman <000.fbsd>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me Flags: pi: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix for shebang line and PORTREVISION=1 none

Description Miroslav Lachman 2024-03-14 19:38:28 UTC
Created attachment 249168 [details]
fix for shebang line and PORTREVISION=1

Port version update to 2.5.2 was not properly tested (by me), the upstream version of mysqltuner.pl has missing shebang line, it was fixed by upstream after the release of 2.5.2 and the fixed version 2.5.3 is not released yet. 

https://github.com/major/MySQLTuner-perl/commit/86ccfb2fcc87cd3c6f0d7fec98bba483146dd0c1
https://github.com/major/MySQLTuner-perl/commit/aa8de299c46e03fdfe345a046ebbfbe0e3c4afe1

I created patch that adds shebang line #!/usr/local/bin/perl and PORTREVISION=1

Please commit this fix soon. Users already upgraded to 2.5.2 have non working version installed now.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2024-03-14 20:31:06 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-03-14 20:31:26 UTC
A commit in branch main references this bug:

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

commit a994cc4dce95de181d4fc72e5bf1fd485acaf649
Author:     Miroslav Lachman <000.fbsd@quip.cz>
AuthorDate: 2024-03-14 20:30:20 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-14 20:30:20 +0000

    databases/mysqltuner: fix shebang

    PR:     277703

 databases/mysqltuner/Makefile                        | 1 +
 databases/mysqltuner/files/patch-mysqltuner.pl (new) | 7 +++++++
 2 files changed, 8 insertions(+)