From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 22:57:39 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 4F08116A474 for ; Mon, 9 Jul 2007 22:57:39 +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 1FD1013C44B for ; Mon, 9 Jul 2007 22:57:38 +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 1D5BD81A1; Mon, 9 Jul 2007 17:57:38 -0500 (CDT) Received: from [192.168.1.5] (unknown [192.168.2.1]) by mail.tcbug.org (Postfix) with ESMTP id DE086341C2B; Mon, 9 Jul 2007 17:57:37 -0500 (CDT) From: Josh Paetzel To: Zbigniew Szalbot Date: Mon, 9 Jul 2007 17:57:32 -0500 User-Agent: KMail/1.9.6 References: <200707091654.18871.josh@tcbug.org> <9a49ade120d8f38e47f0f498e26f9ad8@szalbot.homedns.org> In-Reply-To: <9a49ade120d8f38e47f0f498e26f9ad8@szalbot.homedns.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2190803.HLUYXHCWgJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707091757.37500.josh@tcbug.org> Cc: freebsd-questions@freebsd.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 22:57:39 -0000 --nextPart2190803.HLUYXHCWgJ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 July 2007, Zbigniew Szalbot wrote: > Hi there, > > On Mon, 9 Jul 2007 16:54:16 -0500, Josh Paetzel =20 wrote: > > On Monday 09 July 2007, zbigniew@szalbot.homedns.org wrote: > >> Hello, > >> > >> > I would take a look at cvsweb.freebsd.org and find out when > >> > PHP 4.3.10 was in ports, then roll back your ports tree to > >> > that date with cvsup and install it from ports. > >> > > >> > So in this case the commit that updated the port to 4.3.11 was > >> > on Mon April 4 2005, so if you roll back the ports tree to > >> > April 1 you'll be 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 expat installed you can simply roll back the lang > >> > directory with cvsup, saving you from rolling back the entire > >> > tree by commenting out ports-all, and uncommenting ports-base > >> > and ports-lang > >> > > >> > Otherwise, if you want to install the versions of the > >> > dependancies that were current at the time of php 4.3.10 > >> > you'll want to roll back the entire tree. > >> > > >> > After you run cvsup you can just portinstall it or > >> > cd /usr/ports/lang/php4 && make install clean > >> > >> All clear but when I go to install this particular version of > >> PHP I am (rightly) warned about its multiple known > >> vulnerabilities. I read man portinstall but don't think I have > >> seen information how to temporarily switch this security check > >> off when installing a port. > >> > >> Many thanks in advance! > >> > >> Zbigniew Szalbot > > > > make -DDISABLE_VULNERABILITIES install > > Thanks for your patience! However, when I try I get: > > make -DDISABLE_VULNERABILITIES install clean > Dependency warning: used OpenSSL version contains known > vulnerabilities Please update or define either WITH_OPENSSL_BASE or > WITH_OPENSSL_PORT *** Error code 1 > > Stop in /usr/ports/lang/php4. > > Now I did include WITH_OPENSSL_PORT=3D1 in pkgtools.conf for php4 but > it does not seem to take any effect. I also tried inserting > WITH_DISABLE_VULNERABILITIES=3D1 in this file but it did not help. > > Thank you! > > Zbigniew Szalbot > Right, because pkgtools.conf isn't used by the ports tree....so add=20 in -DWITH_OPENSSL_PORT to the mix =2D-=20 Thanks, Josh Paetzel --nextPart2190803.HLUYXHCWgJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGkr1hJvkB8SevrssRApz5AJkBZOPTKlpqWwf+U3LQmcU+Jad2JwCglulm /i9R9Xa4zOXPPPFvumLQf5w= =2BAe -----END PGP SIGNATURE----- --nextPart2190803.HLUYXHCWgJ--