Ticket #15119 (closed defect: fixed)
mysql-5.0.51 no longer available
| Reported by: | dadiv@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | jwa@…, tyoshida@…, reddy@… | |
| Port: |
Description
MySQL mirrors seem to have removed the mysql-5.0.51.tar.gz file that the 'mysql5' port depends on, in favor of mysql-5.0.51a.tar.gz. Requests for the original file now result in an HTML error page, which is saved as the original portfile and of course fails checksum.
Macintosh-35:~ sshadmin$ sudo port clean --all mysql5 ---> Cleaning mysql5 Macintosh-35:~ sshadmin$ sudo port install mysql5 +server ---> Fetching mysql5 ---> Attempting to fetch mysql-5.0.51.tar.gz from http://mysql.mirrors.pair.com/Downloads/MySQL-5.0/ ---> Attempting to fetch mysql-5.0.51.tar.gz from http://mysql.he.net/Downloads/MySQL-5.0/ ---> Verifying checksum(s) for mysql5 Error: Checksum (md5) mismatch for mysql-5.0.51.tar.gz Error: Checksum (sha1) mismatch for mysql-5.0.51.tar.gz Error: Checksum (rmd160) mismatch for mysql-5.0.51.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. Macintosh-35:~ sshadmin$
Attachments
Change History
comment:2 Changed 5 years ago by ryandesign@…
- Status changed from new to assigned
- Cc jwa@…, tyoshida@…, reddy@… added
- Milestone set to Port Bugs
Thank you for reporting this. 5.0.51a has apparently been available since January but I didn't notice. I'll need to update the livecheck.
This bug was also reported in #15118 by Takashi and to me personally via email by Nithin.
I'll update the port but I want to test it locally first and that will take a moment as I'm on a non-speedy Mac today.
comment:3 Changed 5 years ago by dadiv@…
I can confirm that mysql 5.0.51a seems to build and work as expected for me, once the checksums and version number are adjusted in the existing Portfile for 5.0.51.
Changed 5 years ago by wsiegrist@…
- Attachment Portfile.diff added
made the patch correctly this time


They had some security issues in 5.0.51, so they replaced the distfile it seems. I've attached a patch to the Portfile to bump the version. The checksums I used were from the file I got from the pair.com mirror.