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

Last change on this file since 760 was 760, checked in by presbrey, 14 years ago
Update build system for Fedora 9
File size: 1.3 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
     60
    5761%description
    5862The Apache HTTP Server is a powerful, efficient, and extensible
    5963web 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
    130138# Safety check: prevent build if defined MMN does not equal upstream MMN.
    131139vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    132140if 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.