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