From owner-freebsd-stable@FreeBSD.ORG Thu Mar 9 08:04:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED41616A422 for ; Thu, 9 Mar 2006 08:04:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A874243D45 for ; Thu, 9 Mar 2006 08:04:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 8EC8D1A3C29; Thu, 9 Mar 2006 00:04:56 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AF91252529; Thu, 9 Mar 2006 03:04:55 -0500 (EST) Date: Thu, 9 Mar 2006 03:04:55 -0500 From: Kris Kennaway To: Henri Hennebert Message-ID: <20060309080455.GA60577@xor.obsecurity.org> References: <440F393C.9030302@rogers.com> <7.0.1.0.2.20060308120809.03286448@antimatter.net> <440F3DAC.4030402@rogers.com> <20060309085658.o6d44acukg4ksso8@webmail.restart.be> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <20060309085658.o6d44acukg4ksso8@webmail.restart.be> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: Changing release version on source X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 08:04:57 -0000 --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 : >=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--