Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22644 - mod_php-4.3.2-r2 incorrectly uses break statements in 'case' check on lines 28-29
Summary: mod_php-4.3.2-r2 incorrectly uses break statements in 'case' check on lines 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 15:21 UTC by Matt Keadle
Modified: 2003-06-11 15:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.