Subject: Re: php5 downgrade
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 11/14/2006 21:17:29
Arne Kaiser wrote:
> Hello,
> i just installed php5.2 from cvs updated pkgsource. Now I realized that
> this was really a bad idea and I would like to downgrade to 5.16. I
> tried serveral cvs commands but i had no succsess to get the older
> version of php into my /usr/pkgsrc/lan/php5 directory. I hope someone
> can help with this.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/php5/Makefile
From the log message, it looks like you're using pkgsrc -current.
Revision 1.45 of the Makefile says it implements PHP 5.2, so I have to
think the previous revision still used 5.1.6. That also happens to be
part of the pkgsrc quarterly release 2006Q3.
Of course it's not a simple matter of fetching one makefile or even one
package: you want all of pkgsrc to be consistent, which in this case means
getting everything as of that release, i.e. everything tagged
"pkgsrc-2006Q3".
So I think you want a command about like this:
$ cd /usr
$ cvs update -r pkgsrc-2006Q3 pkgsrc
Then wait. Then 'cd pkgsrc/lang/php5 && make clean && make' should do the
job.
(That will put you on the release branch. You could fetch the files as of
a point in time and stick with -current, too. But after some years as a
pkgsrc pursuer, I'm offering pkgsrc advice in the guise of cvs help.)
HTH.
--jkl