Subject: Re: PHP5 broken?
To: Quentin Garnier <cube@cubidou.net>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-pkg
Date: 05/16/2006 14:10:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Quentin Garnier" <cube@cubidou.net> writes:

> On Tue, May 16, 2006 at 12:41:07PM -0400, Christopher W. Richardson wrote:
> > 
> > "Adrian Portelli" <adrianp@stindustries.net> writes:
> > 
> > > Christopher W. Richardson wrote:
> > > > Hi,
> > > > 
> > > > On a fresh checkout of pkgsrc, php5 seems broken (not sure if
> > > > it's our distfile info or the actual tar ball):
> > > > 
> > > > cwr@ns$pwd
> > > > /usr/pkgsrc/lang/php5
> > > > cwr@ns$cat distinfo
> > > > $NetBSD: distinfo,v 1.20 2006/05/07 09:41:56 jdolecek Exp $
> > > > 
> > > > SHA1 (php-5.1.4/php-5.1.4.tar.bz2) = 65c9cf8ddbcf023503c8bb618a95438f605b5098
> > > > [...]
> > > > r@ns$sha1  /usr/pkgsrc/distfiles/php-5.1.4/php-5.1.4.tar.bz2
> > > > SHA1 (/usr/pkgsrc/distfiles/php-5.1.4/php-5.1.4.tar.bz2) = 83d4c5a4a3e8f3bcb0da841edd8d55893dbf5394
> > >
> ftp.netbsd.org has it.  Anyway, the diff is only one big chunk long:
>
> diff -Nru php-5.1.4/pear/install-pear-nozlib.phar php-5.1.4-new/pear/install-pear-nozlib.phar
> --- php-5.1.4/pear/install-pear-nozlib.phar     1970-01-01 01:00:00.000000000 +0100
> +++ php-5.1.4-new/pear/install-pear-nozlib.phar 2006-03-30 01:08:54.000000000 +0200
> @@ -0,0 +1,84968 @@
>
> P(h)ear me!

Yes, the makefile for php5 says:

# fetch pear PHAR explicitly; the PHP installation tries to wget it if it's not
# present; use DIST_SUBDIR, since the pear file is not versioned
  
And the netbsd tarball does not include it, while the new php one
does.  It looks like the PHP folks have taken it upon themselves
do deal with this additional comment in the makefile:

# do not checksum the pear file - it's not versioned and might (and
# very probably will) change over time
  
So, maybe we don't need to worry about treating pear separately
anymore?

Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFEahWUP65RBOOHTzERAmGiAKDF4jMeBlVqFHxyiF5Lm068sr1MegCgjmCj
+TCgVQ1XkD9hRF4PtbXUyMc=
=z7YH
-----END PGP SIGNATURE-----