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

Last change on this file since 684 was 684, checked in by andersk, 14 years ago
Make the packaged suexec work.
File size: 1.2 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
     64
    6265%description
    6366The Apache HTTP Server is a powerful, efficient, and extensible
    6467web 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
    130135# Safety check: prevent build if defined MMN does not equal upstream MMN.
    131136vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    132137if 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.