Bug 277703 - databases/mysqltuner shebang fix [PATCH]
Summary: databases/mysqltuner shebang fix [PATCH]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 19:38 UTC by Miroslav Lachman
Modified: 2024-03-14 20:31 UTC (History)
0 users

See Also:
pi: maintainer-feedback+


Attachments
fix for shebang line and PORTREVISION=1 (833 bytes, patch)
2024-03-14 19:38 UTC, Miroslav Lachman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)