From owner-freebsd-ports@FreeBSD.ORG Fri Jun 22 14:52:11 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D104F1065674 for ; Fri, 22 Jun 2012 14:52:11 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id A15D38FC15 for ; Fri, 22 Jun 2012 14:52:11 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 2BEEA621C0E for ; Fri, 22 Jun 2012 10:52:11 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id 276F6621C09 for ; Fri, 22 Jun 2012 10:52:10 -0400 (EDT) Received: from USBCTMX001.secnap.com (::ffff:10.70.1.129) by USBCTDC001.secnap.com (::ffff:10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Fri, 22 Jun 2012 10:52:09 -0400 Message-ID: <4FE48696.2020601@FreeBSD.org> Date: Fri, 22 Jun 2012 10:52:06 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: painful process.. php53/etc X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 14:52:11 -0000 I needed to update php5(x)-gd (which needs png15). problem is, the server has php5 (php5.3) installed, so in order to upgrade php5 (5.3) to php53 (5.3), I looked in /usr/ports/UPDATING (I didn't find my answer there, not sure why, I will look again, and add some notes.) I think the OFFICIAL version of what is supposed to happen is: portmaster --list-origins > /tmp/pkgs portmaster -r lang/php53 lang/php5 (ok, I am not really sure) I did this: cd /var/db/pkgs renamed everything php5- to php53- then sed -i '' -e 's/php5/php53/g' /var/db/pkgs/* then on to tinderbox to build php5-gd woops, it sets dependency for php5 (5.4) so, in tinderbox need to set DEFAULT_PHP_VER=53 then pecl-pdflib (which needs png15) need updating, and it sets php5 (5.4) as its dependency! and joomla25, all need to be recompiled with DEFAULT_PHP_VER. anyway we can just leave php5x like perl versions (many of them, on default), like mysql-client*, python, etc? just putting on very small update in has taken 4 hours. (ps, web site never went down this way, it was running all through the update process, sometimes important in todays world) back to official updating in /usr/ports/UPDATING: where did I miss the updating instructions if you want to KEEP php53? -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell