ID:          36002
 Updated by:  [EMAIL PROTECTED]
 Reported By: bkw at weisshuhn dot de
 Status:      Assigned
 Bug Type:    *General Issues
 PHP Version: 4.4.2
 Assigned To: cellog
 New Comment:

I'll be able to do this tomorrow when I get back home to my unix box
where I can fix this and test to make sure it actually works

this is quite simple to fix, for future reference.

cd php-src/pear/packages
pear download -Z Archive_Tar Console_Getopt HTML_Template_IT
cvs commit -m "fix less-than-precise search/replace"


Previous Comments:
------------------------------------------------------------------------

[2006-01-20 18:59:10] go at quay dot net

Will there be a 4.4.3 release forthcoming with this fix or at least an
official patch?  At least on FreeBSD 6.0 this completely breaks the PHP
build.  I'd prefer not hack it on my systems since I have an automated
build tool that would have to be modified to do so on each system.

4.4.1 builds just fine.

------------------------------------------------------------------------

[2006-01-20 18:34:14] nighthawk at ezsm dot net

ok...here is what I did to fix this. 
In the directory php-4.4.2/pear/packages, the following changes are
needed:
In Archive_Tar-1.3.1.tar:

-      <file role="php" baseinstalldir="/"
md5sum="5a9ef212cbfc1789c875870b3a4db6e5" name="Archive/Tar.php"/>
+      <file role="php" baseinstalldir="/"
md5sum="3bfe16e97cc829209059ca881fa43345" name="Archive/Tar.php"/>
                                                                       
                                                     
                                                                       
                                                     
In Console_Getopt-1.2.tar:

-      <file role="php" md5sum="add0781a1cae0b3daf5e8521b8a954cc"
name="Console/Getopt.php"/>
+      <file role="php" md5sum="a3f1fafebd6d42d7d7219fd0f8e1f900"
name="Console/Getopt.php"/>
                                                                       
                                                     
                                                                       
                                                     
In HTML_Template_IT-1.1.tar:

-      <file role="php" baseinstalldir="HTML/Template"
md5sum="f24437fe8aaabc57b58550d64ab4a7b1" name="IT.php"/>
-      <file role="php" baseinstalldir="HTML/Template"
md5sum="77915a3c42c935e7572221d241226d8e" name="ITX.php"/>
-      <file role="php" baseinstalldir="HTML/Template"
md5sum="3db8ec57f15668ed27ee9087b31d491f" name="IT_Error.php"/>
+      <file role="php" baseinstalldir="HTML/Template"
md5sum="2238e382d24263a03a94ecee4410b646" name="IT.php"/>
+      <file role="php" baseinstalldir="HTML/Template"
md5sum="b4d4d9c10f6214e2b25453f34d585d1f" name="ITX.php"/>
+      <file role="php" baseinstalldir="HTML/Template"
md5sum="d77a17a034706397ca8aea0412628df8" name="IT_Error.php"/>


I did write a patch for this, but I didn't think you wanted that pasted
into this form.

------------------------------------------------------------------------

[2006-01-18 23:56:05] [EMAIL PROTECTED]

Greg, can you please fix this? I know I broke it but I don't have time
to fix it. (I don't know even where to start looking..)


------------------------------------------------------------------------

[2006-01-18 23:14:51] [EMAIL PROTECTED]

Actually, this is something that Jani broke - and he was warned about
this. Assigning to him instead.

------------------------------------------------------------------------

[2006-01-13 20:00:55] bkw at weisshuhn dot de

Description:
------------
The bundled pear packages Archive_Tar, Console_Getopt and
HTML_Template_IT fail the md5sum check during make
install-pear-packages.

Seems somebody made a search-and-replace (Copyright and license 3.01)
before bundling php-4.4.2 and forgot to update the md5sums contained in
the package.xml's of the tar files.

Reproduce code:
---------------
% ./configure
% make
% make install-pear-packages INSTALL_ROOT=/var/tmp/foo

[PEAR] Archive_Tar: bad md5sum for file
/var/tmp/foo/usr/local/lib/php/Archive/Tar.php
[PEAR] Console_Getopt: bad md5sum for file
/var/tmp/foo/usr/local/lib/php/Console/Getopt.php
[PEAR] HTML_Template_IT: bad md5sum for file
/var/tmp/foo/usr/local/lib/php/HTML/Template/IT.php



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36002&edit=1

Reply via email to