From owner-freebsd-ports@FreeBSD.ORG Fri Jun 22 17:10:59 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 6E426106564A for ; Fri, 22 Jun 2012 17:10:59 +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 294188FC14 for ; Fri, 22 Jun 2012 17:10:59 +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 CE4F2621C53; Fri, 22 Jun 2012 13:10:58 -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 633CD621C4D; Fri, 22 Jun 2012 13:10:57 -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 13:10:57 -0400 Message-ID: <4FE4A71E.1040304@FreeBSD.org> Date: Fri, 22 Jun 2012 13:10:54 -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: "Matthew D. Fuller" References: <4FE48696.2020601@FreeBSD.org> <20120622161259.GB4598@over-yonder.net> <4FE49A2B.10707@FreeBSD.org> <20120622162241.GD4598@over-yonder.net> In-Reply-To: <20120622162241.GD4598@over-yonder.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, Kevin Oberman 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 17:10:59 -0000 On 6/22/12 12:22 PM, Matthew D. Fuller wrote: > You'd have to -o anything that moved. Which in this case, would be > php5-everything; probably nothing else though. > > this is easier: didn't need to touch anything, no port, no pkg, didn't need to compile anything update ports tree, then: (dont try this at home, we are trained professionals on a test track): get rid of anything that you accidentally updated to php5 (5.4) grep php5-*-5.4 /var/db/pkg/* grep php5-5.4 /var/db/pkg/* #!/bin/sh cd /var/db/pkg || exit tar -zcvf /var/tmp/pkg.tgz ./ a=`ls -d php5-5.3* | cut -f2 -d '-'` mv php5-${a}/ php53-${a}/ a=`ls -d php5-*-5.3* | cut -f2,3 -d '-'` for x in $a; do mv php5-${x} php53-${x} done sed -i '' -e 's/php5-5.3/php53-5.3/g' */* sed -i '' -e '/php5-*-5.3/s/php5-/php53-/g' */* THEN, update php5-gd. -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell