Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15119 closed defect (fixed)

mysql-5.0.51 no longer available

Reported by: dadiv@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jyrkiwahlstedt, 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 (1)

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

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 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 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… tyoshida@… reddy@… added
Milestone: Port Bugs
Status: newassigned

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 16 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 16 years ago by wsiegrist@…

Attachment: Portfile.diff added

made the patch correctly this time

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

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 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.