New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15119 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

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

Portfile.diff (964 bytes) - added by wsiegrist@… 5 years ago.
made the patch correctly this time

Change History

comment:1 Changed 5 years ago by wsiegrist@…

  • Owner changed from macports-tickets@… to ryandesign@…

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.

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@…

made the patch correctly this time

comment:4 Changed 5 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

I updated the port to 5.0.51a in r36258. This should appear within 12 hours via sudo port selfupdate && port outdated

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.