Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22644

Summary: mod_php-4.3.2-r2 incorrectly uses break statements in 'case' check on lines 28-29
Product: Gentoo Linux Reporter: Matt Keadle <mkeadle>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: critical CC: php-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Keadle 2003-06-11 15:21:42 UTC
Lines 27-32 of mod_php-4.3.2-r2.ebuild read:

case "${APACHEVER}" in
    1) break ;;
    2) break ;;
    both) use apache2 && APACHEVER=2 || APACHEVER=1 ;;
    *) MSG="Unknown Apache version!"; eerror $MSG ; die $MSG ;;
esac

break statements are invalid in a case check. this does not cause the build to
fail, but does not correctly process the desired options.

Reproducible: Always
Steps to Reproduce:
1.emerge mod_php-4.3.2-r2
2.
3.

Actual Results:  
non-functional mod_php

Expected Results:  
installed and worked correctly
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-11 15:36:01 UTC
Fixed in CVS.