From owner-freebsd-ports@FreeBSD.ORG Fri Jun 22 16:18:36 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 843F1106566C for ; Fri, 22 Jun 2012 16:18:36 +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 4DBF08FC15 for ; Fri, 22 Jun 2012 16:18:36 +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 D20C0621C30; Fri, 22 Jun 2012 12:18:35 -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 01F56621C0F; Fri, 22 Jun 2012 12:18:35 -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 12:18:34 -0400 Message-ID: <4FE49AD4.6050901@FreeBSD.org> Date: Fri, 22 Jun 2012 12:18:28 -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: Kevin Oberman References: <4FE48696.2020601@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: 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 16:18:36 -0000 On 6/22/12 12:05 PM, Kevin Oberman wrote: > N.B. I have no clue on PHP in specific, having avoided it like the > plague for years, but in general, the proper way to replace one port > with another is: > portmaster -o www/php5 www/php53 > This will cause portmaster to do the right things, including fix-up > all dependent ports to point at the newly installed port. At least, I > see no reason to re-build all of the ports that depend on PHP. I don't > think that this produced any changed in APIs or ABIs. this patch look reasonable? install it right under ale@ UPDATING entry? RCS file: /home/pcvs/ports/UPDATING,v retrieving revision 1.1256 diff -u -r1.1256 UPDATING --- UPDATING 18 Jun 2012 23:23:18 -0000 1.1256 +++ UPDATING 22 Jun 2012 16:16:16 -0000 @@ -252,6 +252,17 @@ If you want to remain at PHP 5.3, a new port (lang/php53) has been created for such purpose. +20120516: + AFFECTS: users of lang/php5 who want to stay at lang/php53 + AUTHOR: scheidell@FreeBSD.org + + If as above, you want to stay at lang/php53, and you have lang/php5 (5.3) + currently installed, you should allow portmaster to fix this up for you. + Update your ports tree, and do this: + portmaster -o lang/php53 lang/php5 + It should do the right things, including fix-up all the dependent ports + to point at the newly installed port. (with thanks to Kevin Oberman) + -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell