source:
trunk/server/fedora/specs/httpd.spec.patch
@
1119
Last change on this file since 1119 was 1035, checked in by mitchb, 16 years ago | |
---|---|
File size: 2.0 KB |
-
httpd.spec
old new 6 6 Summary: Apache HTTP Server 7 7 Name: httpd 8 8 Version: 2.2.10 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 Patch1004: httpd-2.2.x-304.patch 62 57 63 %description 58 64 The Apache HTTP Server is a powerful, efficient, and extensible 59 65 web server. … … 100 106 BuildRequires: openssl-devel, distcache-devel 101 107 Requires(post): openssl >= 0.9.7f-4, /bin/cat 102 108 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmn} 109 Provides: scripts-mod_ssl 103 110 Obsoletes: stronghold-mod_ssl 104 111 105 112 %description -n mod_ssl … … 127 134 # Patch in vendor/release string 128 135 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 129 136 137 %patch1000 -p1 -b .scripts 138 %patch1001 -p1 -b .sni 139 %patch1003 -p1 -b .permitstatus 140 %patch1004 -p1 -b .scripts-304 141 130 142 # Safety check: prevent build if defined MMN does not equal upstream MMN. 131 143 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 132 144 if test "x${vmmn}" != "x%{mmn}"; then … … 175 187 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 176 188 --enable-suexec --with-suexec \ 177 189 --with-suexec-caller=%{suexec_caller} \ 178 --with-suexec-docroot=%{contentdir} \ 190 --with-suexec-docroot=/ \ 191 --with-suexec-userdir=web_scripts \ 192 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 179 193 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 180 194 --with-suexec-bin=%{_sbindir}/suexec \ 181 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \195 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 182 196 --enable-pie \ 183 197 --with-pcre \ 184 198 $*
Note: See TracBrowser
for help on using the repository browser.