Re: downgrade php5

2010-04-16 Thread doug schmidt
On Thu, Apr 15, 2010 at 10:10 PM, Greg Larkin glar...@freebsd.org wrote:

 I hope your environment is stable again, and please continue to post
 with any questions or issues, and we'll do our best to help you resolve
 them.

Thanks for all the info you provided. Currently the environment is stable.
Over the next week or so, I will be working with our developers for a plan
to move our applications to php 5.3.x

doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-15 Thread doug schmidt
On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin glar...@freebsd.org wrote:

 Hi Doug,

 I just realized I should have specified 2010-04-01 as the checkout date,
 just to be a bit safer.

Hope this is not a late joke.  8-)


 php5-zip still exists in the ports tree, and a new patch file was
 imported for the 5.3.2 upgrade.  For any directory that you check out
 with the datestamp, make sure to do an rm -rf on it first to ensure
 that you don't have a mix of old and new files.

 After you do that, php5-zip should compile cleanly.

 Regards,
 Greg

php5-zip compiled cleanly. Checking through my php_error.log these ports
were also removed, and I install them after cvs co.

php5-wddx
php5-ming
php5-dbase
php5-ncurses
php5-spl

Going back to php5-extensions, a make install complains; (about ming,
dbase, and ncurses)

[r...@test /usr/ports/lang/php5-extensions]# make install
Unknown extension ncurses for PHP 5.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

However, checking with our developers, we don't use any of these so
in, make config I unchecked them.
php5-extensions install finished. I'll check with our QA folk and see
that the applications are working.

thanks again.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

doug schmidt wrote:
 On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin glar...@freebsd.org wrote:
 Hi Doug,

 I just realized I should have specified 2010-04-01 as the checkout date,
 just to be a bit safer.
 
 Hope this is not a late joke.  8-)

Hi Doug,

No, I just noticed that I should have given you a date much closer to
the final sweeping commit to move from PHP 5.2.x to 5.3.2 that occurred
on 4/9.  I suppose the 4/1 was just a coincidence! :)

 
 php5-zip still exists in the ports tree, and a new patch file was
 imported for the 5.3.2 upgrade.  For any directory that you check out
 with the datestamp, make sure to do an rm -rf on it first to ensure
 that you don't have a mix of old and new files.

 After you do that, php5-zip should compile cleanly.

 Regards,
 Greg
 
 php5-zip compiled cleanly. Checking through my php_error.log these ports
 were also removed, and I install them after cvs co.
 
 php5-wddx
 php5-ming
 php5-dbase
 php5-ncurses
 php5-spl
 
 Going back to php5-extensions, a make install complains; (about ming,
 dbase, and ncurses)
 
 [r...@test /usr/ports/lang/php5-extensions]# make install
 Unknown extension ncurses for PHP 5.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5-extensions.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5-extensions.
 
 However, checking with our developers, we don't use any of these so
 in, make config I unchecked them.
 php5-extensions install finished. I'll check with our QA folk and see
 that the applications are working.
 
 thanks again.
 doug

Ah yes, you most likely have to check out an older version of
/usr/ports/Mk/bsd.php.mk, too, because it is going to be tightly coupled
with the PHP-related ports in the tree.  I just started working with the
PHP ports earlier this week (fixing some misc. breakages after the big
upgrade), and I forgot about that file.

One solution I've seen on the mailing lists is to set a datestamp tag in
your ports-supfile and csup the whole tree back to that date.  Of
course, if you rely on some newer ports along with the old PHP ports,
that will be unwieldy.

There are some rumblings about creating a PR to restore PHP 5.2 to the
tree (lang/php52 + extensions), but to say it would be a lot of work to
maintain both release branches in the tree would be the understatement
of the year. I'll keep an eye on how that idea evolves.

I hope your environment is stable again, and please continue to post
with any questions or issues, and we'll do our best to help you resolve
them.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLx8cA0sRouByUApARAvB1AJ9w8Vf6lt1zJHycBqF060tMzIVM/QCfWscg
tRNj2NIJWx1WpftarbAT2gw=
=C6w9
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


downgrade php5

2010-04-14 Thread doug schmidt
After upgrading to php 5.3.2, we have a few in house applications that
broke and our developers will not be able to work this out for at
least another week or so, so I need to downgrade back to 5.2.12 in the
mean time.

I've used portdowngrade lang/php5 and lang/php5-extensions, during
make install of php5-extensions it fails on php5-filter

[...]
===Verifying install for /usr/local/lib/php/20060613/filter.so in
/usr/ports/security/php5-filter
===  Building for php5-filter-5.2.12_2
/bin/sh /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/libtool
--mode=compile cc  -I.
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-DPHP_ATOM_INC 
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-DHAVE_CONFIG_H  -O2 -fno-strict-aliasing -pipe   -c
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
-o logical_filters.lo
 cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-DPHP_ATOM_INC 
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
 -fPIC -DPIC -o .libs/logical_filters.o
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:25:31:
error: ext/pcre/php_pcre.h: No such file or directory
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
In function 'php_filter_validate_regexp':
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: (Each undeclared identifier is reported only once
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: for each function it appears in.)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:413:
error: 'pcre_extra' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
In function 'php_filter_validate_email':
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:478:
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/security/php5-filter.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

Since some ports have been removed as they are bundled with 5.3.2, how
can I get this downgraded properly. (devel/php5-pcre is no longer
in the ports tree).

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-14 Thread Michael Powell
doug schmidt wrote:

 After upgrading to php 5.3.2, we have a few in house applications that
 broke and our developers will not be able to work this out for at
 least another week or so, so I need to downgrade back to 5.2.12 in the
 mean time.
 
 I've used portdowngrade lang/php5 and lang/php5-extensions, during
 make install of php5-extensions it fails on php5-filter
 
[snip]
 
 Stop in /usr/ports/lang/php5-extensions.
 
 Since some ports have been removed as they are bundled with 5.3.2, how
 can I get this downgraded properly. (devel/php5-pcre is no longer
 in the ports tree).
 

I feel for you, as I am slogging my way through the PHP upgrade myself. I've 
been fairly lucky so far as most of it I've been able to fairly easily get 
by. Only outstanding item for me at this point in time is php5_pdo-mysql is 
horribly broken [Again]. 

It has been a long time since I've had to do anything like this, but I 
believe what you will probably end up needing to do is to csup the ports 
tree back one step to the earlier date/state. Then build the php5-pcre as it 
was when it was before.

Not entirely sure about how big a mess that might be in attempting to 
properly confuse portdowngrade. In the past when I've had trouble of this 
nature I step in and just build/install whatever ports are problematic 
manually by hand and bypass using the portupgrade tools.

-Mike
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

doug schmidt wrote:
 After upgrading to php 5.3.2, we have a few in house applications that
 broke and our developers will not be able to work this out for at
 least another week or so, so I need to downgrade back to 5.2.12 in the
 mean time.
 
 I've used portdowngrade lang/php5 and lang/php5-extensions, during
 make install of php5-extensions it fails on php5-filter
 
 [...]
 ===Verifying install for /usr/local/lib/php/20060613/filter.so in
 /usr/ports/security/php5-filter
 ===  Building for php5-filter-5.2.12_2
 /bin/sh /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/libtool
 --mode=compile cc  -I.
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
 -DPHP_ATOM_INC 
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
 -I/usr/local/include/php -I/usr/local/include/php/main
 -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
 -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
 -DHAVE_CONFIG_H  -O2 -fno-strict-aliasing -pipe   -c
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
 -o logical_filters.lo
  cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
 -DPHP_ATOM_INC 
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
 -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
 -I/usr/local/include/php -I/usr/local/include/php/main
 -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
 -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
 -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
  -fPIC -DPIC -o .libs/logical_filters.o
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:25:31:
 error: ext/pcre/php_pcre.h: No such file or directory
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
 In function 'php_filter_validate_regexp':
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
 error: 'pcre' undeclared (first use in this function)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
 error: (Each undeclared identifier is reported only once
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
 error: for each function it appears in.)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
 error: 're' undeclared (first use in this function)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:413:
 error: 'pcre_extra' undeclared (first use in this function)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
 In function 'php_filter_validate_email':
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
 error: 'pcre' undeclared (first use in this function)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
 error: 're' undeclared (first use in this function)
 /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:478:
 error: 'pcre_extra' undeclared (first use in this function)
 *** Error code 1
 1 error
 *** Error code 1
 
 Stop in /usr/ports/security/php5-filter.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5-extensions.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5-extensions.
 
 Since some ports have been removed as they are bundled with 5.3.2, how
 can I get this downgraded properly. (devel/php5-pcre is no longer
 in the ports tree).
 

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:

export CVS_RSH=ssh# or setenv CVS_RSH ssh if csh
cd /usr/ports
cvs -d :ext:anon...@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.

I checked the source code to portdowngrade to see if it could restore a
removed port, but didn't see a way to do that.  I'm rusty in C/C++, but
maybe someone can prepare a patch to handle that case, too.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLxi7r0sRouByUApARAhGHAKChl5GLL7kTO7nrr5uxhb6zyM4fHwCfdcRe
aj3NPo8i1umuTpt7r2jrs/E=
=G9ph
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list

Re: downgrade php5

2010-04-14 Thread doug schmidt
On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin glar...@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:

    export CVS_RSH=ssh    # or setenv CVS_RSH ssh if csh
    cd /usr/ports
    cvs -d :ext:anon...@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;

[r...@test /usr/ports]# cvs -d
:ext:anon...@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
[r...@test /usr/ports]# ls -ld devel
drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel

thanks.
doug



 Regards,
 Greg
 - --
 Greg Larkin

 http://www.FreeBSD.org/           - The Power To Serve
 http://www.sourcehosting.net/     - Ready. Set. Code.
 http://twitter.com/sourcehosting/ - Follow me, follow you
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iD8DBQFLxi7r0sRouByUApARAhGHAKChl5GLL7kTO7nrr5uxhb6zyM4fHwCfdcRe
 aj3NPo8i1umuTpt7r2jrs/E=
 =G9ph
 -END PGP SIGNATURE-


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

doug schmidt wrote:
 On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin glar...@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:

export CVS_RSH=ssh# or setenv CVS_RSH ssh if csh
cd /usr/ports
cvs -d :ext:anon...@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;
 
 [r...@test /usr/ports]# cvs -d
 :ext:anon...@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
 [r...@test /usr/ports]# ls -ld devel
 drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel
 
 thanks.
 doug
 

Hi Doug,

Sorry about that - I thought the -d option accepted multi-level
directories.  This works:

cd /usr/ports/devel
cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D
'2009-03-31' -d php5-pcre ports/devel/php5-pcre

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLxkYb0sRouByUApARAnebAKCVMgttDuRwVPonMcBK8NvjaTvLhgCgsrT4
xhzal7cvMfB2YLusynrbfEA=
=c5/u
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-14 Thread doug schmidt
On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 doug schmidt wrote:
 On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin glar...@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:

    export CVS_RSH=ssh    # or setenv CVS_RSH ssh if csh
    cd /usr/ports
    cvs -d :ext:anon...@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;

 [r...@test /usr/ports]# cvs -d
 :ext:anon...@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
 [r...@test /usr/ports]# ls -ld devel
 drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel

 thanks.
 doug


 Hi Doug,

 Sorry about that - I thought the -d option accepted multi-level
 directories.  This works:

    cd /usr/ports/devel
    cvs -d :ext:anon...@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-zip
getting patched. The same error comes up with make install of php5-extensions,
so I tried doing a checkout of previous date;

[r...@test /usr/ports/archivers]# cvs -d
:ext:anon...@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
[r...@test /usr/ports/archivers]# cd php5-zip
[r...@test /usr/ports/archivers/php5-zip]# make install
= php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://dk.php.net/distributions/.
php-5.2.12.tar.bz2100% of 8862 kB  338 kBps 00m00s
===  Extracting for php5-zip-5.2.12_2
= MD5 Checksum OK for php-5.2.12.tar.bz2.
= SHA256 Checksum OK for php-5.2.12.tar.bz2.
===  Patching for php5-zip-5.2.12_2
===  Applying FreeBSD patches for php5-zip-5.2.12_2
1 out of 1 hunks failed--saving rejects to config.m4.rej
= 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: downgrade php5

2010-04-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

doug schmidt wrote:
 On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 doug schmidt wrote:
 On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin glar...@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:

export CVS_RSH=ssh# or setenv CVS_RSH ssh if csh
cd /usr/ports
cvs -d :ext:anon...@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;

 [r...@test /usr/ports]# cvs -d
 :ext:anon...@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
 [r...@test /usr/ports]# ls -ld devel
 drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel

 thanks.
 doug

 Hi Doug,

 Sorry about that - I thought the -d option accepted multi-level
 directories.  This works:

cd /usr/ports/devel
cvs -d :ext:anon...@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-zip
 getting patched. The same error comes up with make install of php5-extensions,
 so I tried doing a checkout of previous date;
 
 [r...@test /usr/ports/archivers]# cvs -d
 :ext:anon...@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
 [r...@test /usr/ports/archivers]# cd php5-zip
 [r...@test /usr/ports/archivers/php5-zip]# make install
 = php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch from http://dk.php.net/distributions/.
 php-5.2.12.tar.bz2100% of 8862 kB  338 kBps 00m00s
 ===  Extracting for php5-zip-5.2.12_2
 = MD5 Checksum OK for php-5.2.12.tar.bz2.
 = SHA256 Checksum OK for php-5.2.12.tar.bz2.
 ===  Patching for php5-zip-5.2.12_2
 ===  Applying FreeBSD patches for php5-zip-5.2.12_2
 1 out of 1 hunks failed--saving rejects to config.m4.rej
 = 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

Hi Doug,

I just realized I should have specified 2010-04-01 as the checkout date,
just to be a bit safer.

php5-zip still exists in the ports tree, and a new patch file was
imported for the 5.3.2 upgrade.  For any directory that you check out
with the datestamp, make sure to do an rm -rf on it first to ensure
that you don't have a mix of old and new files.

After you do that, php5-zip should compile cleanly.

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvGZyUACgkQ0sRouByUApBAmQCgvNKipGH2svtd8e/XXQkJ21x6
8MMAoMiLfNMN/ypMAHgOWB2SaJk+OpWr
=viZR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org