Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 19:37:28 -0400
From:      doug schmidt <douglas.j.schmidt@gmail.com>
To:        glarkin@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: downgrade php5
Message-ID:  <i2i320306641004141637hcaee0f29r952ccfbd6e80bc0c@mail.gmail.com>
In-Reply-To: <4BC6461B.2060005@FreeBSD.org>
References:  <x2s320306641004141333l29fbee55x438fef30ff56de44@mail.gmail.com> <4BC62EEB.7030806@FreeBSD.org> <r2x320306641004141439r40938326r98b15c2efbb746d1@mail.gmail.com> <4BC6461B.2060005@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin <glarkin@freebsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> doug schmidt wrote:
>> On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin <glarkin@freebsd.org> wrote=
:
>>> Hi Doug,
>>>
>>> For any port that is no longer present in the tree because it's bundled
>>> with PHP 5.3.2, please use these commands to restore them:
>>>
>>> =A0 =A0export CVS_RSH=3Dssh =A0 =A0# or "setenv CVS_RSH ssh" if csh
>>> =A0 =A0cd /usr/ports
>>> =A0 =A0cvs -d :ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co -D
>>> '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre
>>>
>>> Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the
>>> other <category>/<portname> values that you need.
>>>
>>
>> Hi Greg,
>> Seems to be complaining about devel directory;
>>
>> [root@test /usr/ports]# cvs -d
>> :ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co -D '2009-03-31' -d
>> devel/php5-pcre ports/devel/php5-pcre
>> cvs [checkout aborted]: could not change directory to requested
>> checkout directory `devel': No such file or directory
>> [root@test /usr/ports]# ls -ld devel
>> drwxr-xr-x =A03212 root =A0wheel =A075264 Apr 13 14:15 devel
>>
>> thanks.
>> doug
>>
>
> Hi Doug,
>
> Sorry about that - I thought the -d option accepted multi-level
> directories. =A0This works:
>
> =A0 =A0cd /usr/ports/devel
> =A0 =A0cvs -d :ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co -D
> '2009-03-31' -d php5-pcre ports/devel/php5-pcre
>
> Hope that helps,
> Greg

Greg, that did the trick for php5-pcre.

Moving along with php5-extensions install, I now have an issue with php5-zi=
p
getting patched. The same error comes up with make install of php5-extensio=
ns,
so I tried doing a checkout of previous date;

[root@test /usr/ports/archivers]# cvs -d
:ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co -D '2009-03-31' -d
php5-zip ports/archivers/php5-zip
? php5-zip/files
cvs checkout: Updating php5-zip
U php5-zip/Makefile
cvs checkout: Updating php5-zip/files
[root@test /usr/ports/archivers]# cd php5-zip
[root@test /usr/ports/archivers/php5-zip]# make install
=3D> php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch from http://dk.php.net/distributions/.
php-5.2.12.tar.bz2                            100% of 8862 kB  338 kBps 00m=
00s
=3D=3D=3D>  Extracting for php5-zip-5.2.12_2
=3D> MD5 Checksum OK for php-5.2.12.tar.bz2.
=3D> SHA256 Checksum OK for php-5.2.12.tar.bz2.
=3D=3D=3D>  Patching for php5-zip-5.2.12_2
=3D=3D=3D>  Applying FreeBSD patches for php5-zip-5.2.12_2
1 out of 1 hunks failed--saving rejects to config.m4.rej
=3D> Patch patch-config.m4 failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/archivers/php5-zip.

thanks for your help on this.
doug



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