Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 10:25:47 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Derrick Edwards <derrick@uniquestrength.net>
Cc:        ports@freebsd.org
Subject:   Re: PHP5 upgrade no good.
Message-ID:  <4535121B.8010009@FreeBSD.org>
In-Reply-To: <200610170525.28131.derrick@uniquestrength.net>
References:  <200610170525.28131.derrick@uniquestrength.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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