Subject: pkg/20293: www/php4-apc fails checksum match
To: None <gnats-bugs@gnats.netbsd.org>
From: None <soren@blef.org>
List: netbsd-bugs
Date: 02/11/2003 05:02:50
>Number:         20293
>Category:       pkg
>Synopsis:       www/php4-apc fails checksum match
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 10 20:58:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Soren Jacobsen
>Release:        NetBSD 1.6N
>Organization:
	
>Environment:
	
	
System: NetBSD monstar 1.6N NetBSD 1.6N (MONSTAR) #0: Thu Feb 6 20:17:50 PST 2003 root@monstar:/usr/obj/sys/arch/i386/compile/MONSTAR i386
Architecture: i386
Machine: i386
>Description:
$MASTER_SITES is overrided by www/php4/Makefile.common, which is included by
www/php4/Makefile.module which is included by php4-apc's Makefile, causing
apc-1.1.0pl1.tar.gz to be fetched from http://php.net/somethingorother/, which
does not host it. A file (an HTML page) is downloaded and the checksum match is
attempted and fails.
>How-To-Repeat:
	
make checksum in www/php4-apc.
>Fix:
I see two solutions.

The first (and probably safest) is to just move, in php4-apc's Makefile, the
definition of MASTER_SITES to after ../../www/php4/Makefile.module is included,
so that we override the MASTER_SITES that is set by Makefile.common.

The second, which seems more proper to me, is to change MASTER_SITES= to
MASTER_SITES?= in www/php4/Makefile.common. I suppose there is a chance that
that could break things, but it seems like a bad idea for a PHP module to be
relying on PHP to set its MASTER_SITES.
>Release-Note:
>Audit-Trail:
>Unformatted: