Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2006 03:04:55 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Henri Hennebert <hlh@restart.be>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Changing release version on source
Message-ID:  <20060309080455.GA60577@xor.obsecurity.org>
In-Reply-To: <20060309085658.o6d44acukg4ksso8@webmail.restart.be>
References:  <440F393C.9030302@rogers.com> <7.0.1.0.2.20060308120809.03286448@antimatter.net> <440F3DAC.4030402@rogers.com> <20060309085658.o6d44acukg4ksso8@webmail.restart.be>

next in thread | previous in thread | raw e-mail | index | archive | help

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 09, 2006 at 08:56:58AM +0100, Henri Hennebert wrote:
> Quoting Mike Jakubik <mikej@rogers.com>:
>=20
> >Glenn Dawson wrote:
> >>At 12:06 PM 3/8/2006, you wrote:
> >>>Does anyone know how to change the release version of the source  =20
> >>>code? I have some brain dead software (Plesk) that insists on  =20
> >>>FreeBSD 5.3, while it will work just fine on 5.5 and even 6. I am  =20
> >>>wondering i can change the version of RELENG_5 code so that this  =20
> >>>software will think its 5.3-R and let me install. I have tried  =20
> >>>changing the variable in /usr/src/release/Makefile, but that seems =20
> >>> 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.
>=20
> I would prefer to wrap /usr/bin/uname with a temporary custom version =20
> 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

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFED+GnWry0BWjoQKURApXkAJ9w8CmMlymlGdPHtydRPKYHgHDmPQCg+pit
Fep53aa/rabwF0XI2qdJSSQ=
=ZdlN
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060309080455.GA60577>