Changing release version on source
Kris Kennaway
kris at obsecurity.org
Thu Mar 9 08:04:57 UTC 2006
On Thu, Mar 09, 2006 at 08:56:58AM +0100, Henri Hennebert wrote:
> Quoting Mike Jakubik <mikej at rogers.com>:
>
> >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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060309/de35f93b/attachment.bin
More information about the freebsd-stable
mailing list