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

Last change on this file since 809 was 809, checked in by quentin, 16 years ago
Make the patch valid (emacs patch-mode FTW)
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.
     
    127131# Patch in vendor/release string
    128132sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
    129133
     134%patch1000 -p1 -b .scripts
     135%patch1001 -p1 -b .sni
     136%patch1002 -p1 -b .broken-ldap
     137%patch1003 -p1 -b .permitstatus
     138
    130139# Safety check: prevent build if defined MMN does not equal upstream MMN.
    131140vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    132141if test "x${vmmn}" != "x%{mmn}"; then
     
    175183        --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    176184        --enable-suexec --with-suexec \
    177185        --with-suexec-caller=%{suexec_caller} \
    178         --with-suexec-docroot=%{contentdir} \
     186        --with-suexec-docroot=/ \
     187        --with-suexec-userdir=web_scripts \
    179188        --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \
    180189        --with-suexec-bin=%{_sbindir}/suexec \
    181         --with-suexec-uidmin=500 --with-suexec-gidmin=100 \
     190        --with-suexec-uidmin=50 --with-suexec-gidmin=50 \
    182191        --enable-pie \
    183192        --with-pcre \
    184193        $*
Note: See TracBrowser for help on using the repository browser.