PHP5 upgrade no good.

Doug Barton dougb at FreeBSD.org
Tue Oct 17 17:25:50 UTC 2006


Derrick Edwards wrote:
> 	Hi, 
> Attempting to upgrade php5 and the suhosin  patch file is not being found.
> I did a manual check of the ftp repository and it was not there.
> v/r
> Derrick 
> 
> Port to upgrade: php5-5.1.6_1
> ===>>> Port directory: /usr/ports/lang/php5
> ===>>> Gathering dependency list for lang/php5 from ports
> ===>>> Starting dependency check
> ===>>> Checking dependency: /usr/ports/devel/autoconf259
> ===>>> Checking dependency: /usr/ports/devel/pkg-config
> ===>>> Checking dependency: /usr/ports/textproc/libxml2
> ===>>> Checking dependency: /usr/ports/www/apache22
> ===>>> Dependency check complete for lang/php5

Thanks for using portmaster. :)

> ===>  Cleaning for php5-5.1.6_2
> ===>  Vulnerability check disabled, database not found
> ===>  Found saved configuration for php5-5.1.5
> ===>  Extracting for php5-5.1.6_2
> => MD5 Checksum OK for php-5.1.6.tar.bz2.
> => SHA256 Checksum OK for php-5.1.6.tar.bz2.
> => MD5 Checksum mismatch for suhosin-patch-5.1.6-0.9.5.patch.gz.
> => SHA256 Checksum mismatch for suhosin-patch-5.1.6-0.9.5.patch.gz.

You have _a_ version of the patch, probably a partial download.

> ===>  Refetch for 1 more times files: suhosin-patch-5.1.6-0.9.5.patch.gz 

The 'make checksum' target tries to do the right thing in this case, 
but does not always succeed. Portmaster tries to help it along, but it 
does not always succeed either.

> => Attempting to fetch from http://www.hardened-php.net/suhosin/_media/.
> fetch: suhosin-patch-5.1.6-0.9.5.patch.gz: local modification time does not 
> match remote

This is a symptom of the issue you're seeing above. Delete the file 
manually from /usr/ports/distfiles, and try again. I was able to 
retrieve a version of the file from 
http://www.hardened-php.net/suhosin/_media/suhosin-patch-5.1.6-0.9.5.patch.gz, 
so if you delete the bogus one, it should work for you.

Good luck,

Doug

-- 

     This .signature sanitized for your protection


More information about the freebsd-ports mailing list