From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 17:40:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DB4116A400 for ; Mon, 9 Jul 2007 17:40:26 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 00AED13C458 for ; Mon, 9 Jul 2007 17:40:25 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 3590081CB; Mon, 9 Jul 2007 12:40:25 -0500 (CDT) Received: from [192.168.1.5] (unknown [192.168.2.1]) by mail.tcbug.org (Postfix) with ESMTP id AA34034248E; Mon, 9 Jul 2007 12:40:24 -0500 (CDT) From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Mon, 9 Jul 2007 12:40:21 -0500 User-Agent: KMail/1.9.6 References: <10d8a2f60b52bb6ea77b63f9db3b8f1b@szalbot.homedns.org> In-Reply-To: <10d8a2f60b52bb6ea77b63f9db3b8f1b@szalbot.homedns.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1462454.HvVG2MbC4s"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707091240.24000.josh@tcbug.org> Cc: zbigniew@szalbot.homedns.org Subject: Re: php 4.3.10, manual installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 17:40:26 -0000 --nextPart1462454.HvVG2MbC4s Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 July 2007, zbigniew@szalbot.homedns.org wrote: > Hello, > > I currently have php 4.4.7 on my FBSD machine but due to some > requirements I need to downgrade to php 4.3.10. It will be for an > offline machine so I am not worried about possible security holes > but I would like to ask how you would advise me to downgrade? > > 1. Delete php using pkg_delete? > 2. Unpack 4.3.10 sources and... yes... what should I do here? > > Just copy them where php gets installed by default? > > I am not able to use port for this (I usually install all software > via portinstall) as this version is no longer maintained. > > But I'd appreciate your help. I do not want to make mess on this > machine as I have it quite nicely customized so I thought I'd ask > for your advice. > > Thank you! > > Zbigniew Szalbot > I would take a look at cvsweb.freebsd.org and find out when PHP 4.3.10=20 was in ports, then roll back your ports tree to that date with cvsup=20 and install it from ports. So in this case the commit that updated the port to 4.3.11 was on Mon=20 April 4 2005, so if you roll back the ports tree to April 1 you'll be=20 fine. You'll need cvsup for this. In your ports-supfile add the following line: *default date=3D2005.04.01.00.00.00 If you have the current versions of gettext, libtool, m4, perl, and=20 expat installed you can simply roll back the lang directory with=20 cvsup, saving you from rolling back the entire tree by commenting out=20 ports-all, and uncommenting ports-base and ports-lang Otherwise, if you want to install the versions of the dependancies=20 that were current at the time of php 4.3.10 you'll want to roll back=20 the entire tree. After you run cvsup you can just portinstall it or=20 cd /usr/ports/lang/php4 && make install clean HTH =2D-=20 Thanks, Josh Paetzel --nextPart1462454.HvVG2MbC4s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGknMHJvkB8SevrssRAuEUAJkBAN89lJ9UUVm2/zyato2LSMFh6wCbB+lX b1pCZE8TEQyXcv0yI9V5HlA= =JjnK -----END PGP SIGNATURE----- --nextPart1462454.HvVG2MbC4s--