Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 13:10:54 -0400
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        ports@freebsd.org, Kevin Oberman <kob6558@gmail.com>
Subject:   Re: painful process.. php53/etc
Message-ID:  <4FE4A71E.1040304@FreeBSD.org>
In-Reply-To: <20120622162241.GD4598@over-yonder.net>
References:  <4FE48696.2020601@FreeBSD.org> <CAN6yY1sxfD5hyKXMis%2BjnV%2BSJj3KFrqCHF1o1MyCUPZtGdvOpQ@mail.gmail.com> <20120622161259.GB4598@over-yonder.net> <4FE49A2B.10707@FreeBSD.org> <20120622162241.GD4598@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE4A71E.1040304>