| Summary: | databases/mysql80-server: Does not install LOCALBASE/bin/mysql_secure_installation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sean McBride <sean> | ||||
| Component: | Individual Port(s) | Assignee: | Jochen Neumeister <joneum> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Many People | CC: | chris, joneum, tech-lists | ||||
| Priority: | --- | Keywords: | needs-qa | ||||
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(joneum) koobs: merge-quarterly? |
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| URL: | https://forums.freebsd.org/threads/created-famp-server-from-scratch-but-mysql_secure_installation-is-missing.83867/ | ||||||
| Attachments: |
|
||||||
|
Description
Sean McBride
2022-01-27 18:10:04 UTC
Are any other databases/* ports affected in the same way? I've never used any other database, but I know mariadb is a fork so tried `mariadb105-server-10.5.13` and with it `mysql_secure_installation` in installed. HTH. Does the mysql_secure_installation file that should be getting installed exist in git somewhere so I can install it locally manually and get myself unstuck? MySQL doesn't have a git repository. Try to download https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-boost-8.0.28.tar.gz and check where the script is located. Thanks for the link. There are a few files with mysql_secure_installation in their name, but none of them are shell scripts. One is C code. Maybe it's not a shell script anymore (though it is with the MariaDB test I installed). Could this change be the bug: https://github.com/freebsd/freebsd-ports/blob/ea739e8990792020fa9fcdc83adcd5854095ea7d/databases/mysql80-server/files/patch-client_CMakeLists.txt line 59 is: ``` +IF(NOT_WITHOUT_SERVER) ``` but I think should be: ``` +IF(NOT WITHOUT_SERVER) ``` Created attachment 231627 [details]
patch
I've confirmed that was the problem, and here's a patch.
Jochen, any comments on my patch? What can I do to help move it forward? Thanks. Friendly ping... This bug: - is a regression - is simple and straightforward - has a patch (by me) - has been tested (by me) |