FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 4.1.11 Upgrade
Author: Kaan 
Date:   17-04-05 08:25

Hi all.

I'm a J2EE developer who does not understand BSD systems at administrator level at this time.

Becouse of "possible" connection pool problems occured with Hibernate and MySQL 4.1.5-gamma I want to upgrade my MySQL to 4.1.11

I checked, FreshPorts has a 4.1.11 port.

As I understood, I ran the following command with making neccasary changes in cvs-supfile:
/usr/local/bin/cvsup /usr/share/examples/cvsup/cvs-supfile

But when i type the "distfiles" under /usr/ports/databases/mysql41-server:
# cat distinfo
MD5 (mysql-4.1.5-gamma.tar.gz) = 93ad89451363586634679458acd11625
SIZE (mysql-4.1.5-gamma.tar.gz) = 19436415

As you see it still says 4.1.5. Shouldn't it be 4.1.11 ?

And even if it was 4.1.11, is there a command like "make upgrade" to upgrade mysql automatically? I know there is not "make upgrade" for mysql41-server, becouse:
# make upgrade
make: don't know how to make upgrade. Stop

But there should be something like that, BSD makes everything so simple.

The system I'm doing these is not a test enviroment and I do not want to risk it. I'm waiting all of yours recommendations.

Thank in advance.

Reply To This Message
 
 Re: 4.1.11 Upgrade
Author: Dan 
Date:   17-04-05 12:57

Kaan wrote:

> I checked, FreshPorts has a 4.1.11 port.

To be clear: FreshPorts merely tells you what the CVS Repository has. In this regard FreshPorts does not actually *have* anything.

> As I understood, I ran the following command with making
> neccasary changes in cvs-supfile:
> /usr/local/bin/cvsup /usr/share/examples/cvsup/cvs-supfile

That is the wrong file. You want /usr/share/examples/cvsup/ports-supfile

Not cvs-supfile, which updates your system source, not your ports tree.

Do the cvsup again, with the correct supfile.

> But when i type the "distfiles" under
> /usr/ports/databases/mysql41-server:
> # cat distinfo
> MD5 (mysql-4.1.5-gamma.tar.gz) =
> 93ad89451363586634679458acd11625
> SIZE (mysql-4.1.5-gamma.tar.gz) = 19436415
>
> As you see it still says 4.1.5. Shouldn't it be 4.1.11 ?

Yes, if you cvsup.

> And even if it was 4.1.11, is there a command like "make
> upgrade" to upgrade mysql automatically? I know there is not
> "make upgrade" for mysql41-server, becouse:
> # make upgrade
> make: don't know how to make upgrade. Stop

Try portupgrade after your cvsup has run.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.