Re: Changing release version on source
Henri Hennebert writes: | > Glenn Dawson wrote: | >> At 12:06 PM 3/8/2006, you wrote: | >>> Does anyone know how to change the release version of the source | >>> code? I have some brain dead software (Plesk) that insists on | >>> FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am | >>> wondering i can change the version of RELENG_5 code so that this | >>> software will think its 5.3-R and let me install. I have tried | >>> changing the variable in /usr/src/release/Makefile, but that seems | >>> to have no effect. | >> | >> Take a look at sys/conf/newvers.sh | > | > Excellent, thanks! I'm presuming i have to do a full build/install | > world for this to take effect. Do you think that anything may break | > because of this manual change, even if i used RELENG_6 code? I will not | > be installing any ports. | | I would prefer to wrap /usr/bin/uname with a temporary custom version | returning | the disired values. You can use UNAME_ over-rides. Doug A. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
On Thu, 09 Mar 2006 03:04:55 -0500 Kris Kennaway <[EMAIL PROTECTED]> wrote: > It already supports this, see the manpage. The software may not be > using uname(1) to determine kernel version though. ah, that is interesting. I didn't know about that one. Thanks for enlightening me. -- Regards, Torfinn Ingolfsen, Norway ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
On Thu, Mar 09, 2006 at 08:56:58AM +0100, Henri Hennebert wrote: > Quoting Mike Jakubik <[EMAIL PROTECTED]>: > > >Glenn Dawson wrote: > >>At 12:06 PM 3/8/2006, you wrote: > >>>Does anyone know how to change the release version of the source > >>>code? I have some brain dead software (Plesk) that insists on > >>>FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am > >>>wondering i can change the version of RELENG_5 code so that this > >>>software will think its 5.3-R and let me install. I have tried > >>>changing the variable in /usr/src/release/Makefile, but that seems > >>> to have no effect. > >> > >>Take a look at sys/conf/newvers.sh > > > >Excellent, thanks! I'm presuming i have to do a full build/install > >world for this to take effect. Do you think that anything may break > >because of this manual change, even if i used RELENG_6 code? I will not > >be installing any ports. > > I would prefer to wrap /usr/bin/uname with a temporary custom version > returning > the disired values. It already supports this, see the manpage. The software may not be using uname(1) to determine kernel version though. Kris pgp9zrvamaASK.pgp Description: PGP signature
Re: Changing release version on source
Quoting Mike Jakubik <[EMAIL PROTECTED]>: Glenn Dawson wrote: At 12:06 PM 3/8/2006, you wrote: Does anyone know how to change the release version of the source code? I have some brain dead software (Plesk) that insists on FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am wondering i can change the version of RELENG_5 code so that this software will think its 5.3-R and let me install. I have tried changing the variable in /usr/src/release/Makefile, but that seems to have no effect. Take a look at sys/conf/newvers.sh Excellent, thanks! I'm presuming i have to do a full build/install world for this to take effect. Do you think that anything may break because of this manual change, even if i used RELENG_6 code? I will not be installing any ports. I would prefer to wrap /usr/bin/uname with a temporary custom version returning the disired values. Henri This message was sent using IMP, the Internet Messaging Program. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
If the software you're using gets the version in the same manner as uname, then all you should need is a new kernel. Or maybe just LD_PRELOAD a replacement for uname() that fakes out the release information? --lyndon ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
At 12:25 PM 3/8/2006, Mike Jakubik wrote: Glenn Dawson wrote: At 12:06 PM 3/8/2006, you wrote: Does anyone know how to change the release version of the source code? I have some brain dead software (Plesk) that insists on FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am wondering i can change the version of RELENG_5 code so that this software will think its 5.3-R and let me install. I have tried changing the variable in /usr/src/release/Makefile, but that seems to have no effect. Take a look at sys/conf/newvers.sh Excellent, thanks! I'm presuming i have to do a full build/install world for this to take effect. Do you think that anything may break because of this manual change, even if i used RELENG_6 code? I will not be installing any ports. If the software you're using gets the version in the same manner as uname, then all you should need is a new kernel. -Glenn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
Glenn Dawson wrote: At 12:06 PM 3/8/2006, you wrote: Does anyone know how to change the release version of the source code? I have some brain dead software (Plesk) that insists on FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am wondering i can change the version of RELENG_5 code so that this software will think its 5.3-R and let me install. I have tried changing the variable in /usr/src/release/Makefile, but that seems to have no effect. Take a look at sys/conf/newvers.sh Excellent, thanks! I'm presuming i have to do a full build/install world for this to take effect. Do you think that anything may break because of this manual change, even if i used RELENG_6 code? I will not be installing any ports. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
Scot Hetzel wrote: On 3/8/06, Mike Jakubik <[EMAIL PROTECTED]> wrote: Does anyone know how to change the release version of the source code? I have some brain dead software (Plesk) that insists on FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am wondering i can change the version of RELENG_5 code so that this software will think its 5.3-R and let me install. I have tried changing the variable in /usr/src/release/Makefile, but that seems to have no effect. To change it, you would have to edit sys/*/param.h. Does the installer for this program use shell scripts? If it does, you could edit the shell scripts to reconize newer version of FreeBSD. Yes it does, but it's not easy to change them. They also check their own CRC validity, and it wold be too much of a pain to do it. Also, some binaries do checks too. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Changing release version on source
On 3/8/06, Mike Jakubik <[EMAIL PROTECTED]> wrote: > Does anyone know how to change the release version of the source code? I > have some brain dead software (Plesk) that insists on FreeBSD 5.3, while > it will work just fine on 5.5 and even 6. I am wondering i can change > the version of RELENG_5 code so that this software will think its 5.3-R > and let me install. I have tried changing the variable in > /usr/src/release/Makefile, but that seems to have no effect. > To change it, you would have to edit sys/*/param.h. Does the installer for this program use shell scripts? If it does, you could edit the shell scripts to reconize newer version of FreeBSD. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Changing release version on source
Does anyone know how to change the release version of the source code? I have some brain dead software (Plesk) that insists on FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am wondering i can change the version of RELENG_5 code so that this software will think its 5.3-R and let me install. I have tried changing the variable in /usr/src/release/Makefile, but that seems to have no effect. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"