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

Last change on this file since 708 was 685, checked in by andersk, 16 years ago
Fix a stupid mod_ldap caching bug.
File size: 1.3 KB
  • httpd.spec

    old new  
    5959Obsoletes: mod_put, mod_roaming, mod_jk
    6060Conflicts: pcre < 4.0
    6161
     62Patch1000: httpd-suexec-scripts.patch
     63Patch1001: httpd-2.2.8-sni.patch
     64Patch1002: httpd-2.2.x-broken-ldap-caching.patch
     65
    6266%description
    6367The Apache HTTP Server is a powerful, efficient, and extensible
    6468web server.
     
    127129# Patch in vendor/release string
    128130sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
    129131
     132%patch1000 -p1 -b .scripts
     133%patch1001 -p1 -b .sni
     134%patch1002 -p1 -b .broken-ldap
     135
    130136# Safety check: prevent build if defined MMN does not equal upstream MMN.
    131137vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    132138if test "x${vmmn}" != "x%{mmn}"; then
     
    166166        --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    167167        --enable-suexec --with-suexec \
    168168        --with-suexec-caller=%{suexec_caller} \
    169         --with-suexec-docroot=%{contentdir} \
     169        --with-suexec-docroot=/ \
     170        --with-suexec-userdir=web_scripts \
    170171        --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
    171172        --with-suexec-bin=%{_sbindir}/suexec \
    172         --with-suexec-uidmin=500 --with-suexec-gidmin=100 \
     173        --with-suexec-uidmin=50 --with-suexec-gidmin=50 \
    173174        --enable-pie \
    174175        --with-pcre \
    175176        $*
Note: See TracBrowser for help on using the repository browser.