Downgrade port

2006-08-17 Thread Johnny Choque
Hi all,

When I have tried to install java 1.5 in freebsd 6.1-release using the
binary file provided in:
http://www.freebsdfoundation.org/downloads/java.shtml

I got an error message pointing out that it needed javavmwrapper-2.0.6
instead of 2.3 (which I actually have installed). I'm trying to use
portdowngrade in order to downgrade javavmwrapper but I have problems with
cvs servers listed in:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html

Could you tell me if there is another way to downgrade a port? 

Cheers,

Johnny

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Downgrade port

2006-08-17 Thread Eric Schuele

On 08/17/2006 07:20, Johnny Choque wrote:

Hi all,

When I have tried to install java 1.5 in freebsd 6.1-release using the
binary file provided in:
http://www.freebsdfoundation.org/downloads/java.shtml

I got an error message pointing out that it needed javavmwrapper-2.0.6
instead of 2.3 (which I actually have installed). I'm trying to use
portdowngrade in order to downgrade javavmwrapper but I have problems with
cvs servers listed in:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html

Could you tell me if there is another way to downgrade a port? 



I believe 'portdowngrade' is the canonical way.  However, I *always* 
have trouble with the servers for some reason.


Last time I did a portdowngrade I used the following (mind the wrap):
portdowngrade -o 
-s:pserver:[EMAIL PROTECTED]:/home/ncvs port-name


Then enter any password.

HTH


Cheers,

Johnny

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Downgrade port

2006-08-17 Thread Odhiambo Washington
* On 17/08/06 14:20 +0200, Johnny Choque wrote:
| Hi all,
| 
| When I have tried to install java 1.5 in freebsd 6.1-release using the
| binary file provided in:
| http://www.freebsdfoundation.org/downloads/java.shtml
| 
| I got an error message pointing out that it needed javavmwrapper-2.0.6
| instead of 2.3 (which I actually have installed). I'm trying to use
| portdowngrade in order to downgrade javavmwrapper but I have problems with
| cvs servers listed in:
| http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
| 
| Could you tell me if there is another way to downgrade a port? 

cd /port/directory
edit Makefile and change the version from 2.3 - 2.0.6
edit distinfo and change version there too.

then

portupgrade -f portname

It will actually downgrade it.

I am not quite sure how this blends with the related libraries but it
does work. I've used it but mostly during minor version changes, not
the major version change like you have.

Why don't you deinstall the 2.3 and install 2.0.6 though?


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

A professor is one who talks in someone else's sleep.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]