source:
server/fedora/specs/httpd.spec.patch
@
983
Last change on this file since 983 was 959, checked in by geofft, 16 years ago | |
---|---|
File size: 1.9 KB |
-
httpd.spec
old new 9 9 Summary: Apache HTTP Server 10 10 Name: httpd 11 11 Version: 2.2.10 12 Release: 2 12 Release: 2.scripts.%{scriptsversion} 13 13 URL: http://httpd.apache.org/ 14 14 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz 15 15 Source1: index.html … … 58 58 Conflicts: pcre < 4.0 59 59 Requires: httpd-tools = %{version}-%{release} 60 60 61 Provides: scripts-httpd 62 Patch1000: httpd-suexec-scripts.patch 63 Patch1001: httpd-2.2.x-sni.patch 64 Patch1003: httpd-2.2.x-mod_status-security.patch 65 61 66 %description 62 67 The Apache HTTP Server is a powerful, efficient, and extensible 63 68 web server. … … 104 109 BuildRequires: openssl-devel, distcache-devel 105 110 Requires(post): openssl >= 0.9.7f-4, /bin/cat 106 111 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmn} 112 Provides: scripts-mod_ssl 107 113 Obsoletes: stronghold-mod_ssl 108 114 109 115 %description -n mod_ssl … … 132 138 # Patch in vendor/release string 133 139 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 134 140 141 %patch1000 -p1 -b .scripts 142 %patch1001 -p1 -b .sni 143 %patch1003 -p1 -b .permitstatus 144 135 145 # Safety check: prevent build if defined MMN does not equal upstream MMN. 136 146 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 137 147 if test "x${vmmn}" != "x%{mmn}"; then … … 180 190 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 181 191 --enable-suexec --with-suexec \ 182 192 --with-suexec-caller=%{suexec_caller} \ 183 --with-suexec-docroot=%{contentdir} \ 193 --with-suexec-docroot=/ \ 194 --with-suexec-userdir=web_scripts \ 195 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 184 196 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 185 197 --with-suexec-bin=%{_sbindir}/suexec \ 186 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \198 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 187 199 --enable-pie \ 188 200 --with-pcre \ 189 201 $*
Note: See TracBrowser
for help on using the repository browser.