source: server/fedora/specs/httpd.spec.patch @ 796

Last change on this file since 796 was 795, checked in by geofft, 16 years ago
httpd: Commit quentin's mod_status patch, which disallows server-status in .htaccess files
File size: 1.4 KB
  • httpd.spec

    old new  
    5454Conflicts: pcre < 4.0
    5555Requires: httpd-tools = %{version}-%{release}
    5656
     57Patch1000: httpd-suexec-scripts.patch
     58Patch1001: httpd-2.2.8-sni.patch
     59Patch1002: httpd-2.2.x-broken-ldap-caching.patch
     60Patch1003: httpd-2.2.x-mod_status-security.patch
     61
    5762%description
    5863The Apache HTTP Server is a powerful, efficient, and extensible
    5964web server.
     
    127132# Patch in vendor/release string
    128133sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
    129134
     135%patch1000 -p1 -b .scripts
     136%patch1001 -p1 -b .sni
     137%patch1002 -p1 -b .broken-ldap
     138%patch1003 -p1 -b .permitstatus
     139
    130140# Safety check: prevent build if defined MMN does not equal upstream MMN.
    131141vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    132142if test "x${vmmn}" != "x%{mmn}"; then
     
    175184        --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    176185        --enable-suexec --with-suexec \
    177186        --with-suexec-caller=%{suexec_caller} \
    178         --with-suexec-docroot=%{contentdir} \
     187        --with-suexec-docroot=/ \
     188        --with-suexec-userdir=web_scripts \
    179189        --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
    180190        --with-suexec-bin=%{_sbindir}/suexec \
    181         --with-suexec-uidmin=500 --with-suexec-gidmin=100 \
     191        --with-suexec-uidmin=50 --with-suexec-gidmin=50 \
    182192        --enable-pie \
    183193        --with-pcre \
    184194        $*
Note: See TracBrowser for help on using the repository browser.