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