source:
branches/fc17-dev/server/fedora/specs/httpd.spec.patch
@
2419
Last change on this file since 2419 was 2207, checked in by ezyang, 12 years ago | |
---|---|
File size: 2.4 KB |
-
httpd.spec
old new 9 9 Summary: Apache HTTP Server 10 10 Name: httpd 11 11 Version: 2.2.22 12 Release: 4%{?dist} 12 Release: 4%{?dist}.scripts.%{scriptsversion} 13 13 URL: http://httpd.apache.org/ 14 14 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 15 15 Source1: index.html … … 58 58 Requires(postun): systemd-units 59 59 Requires(post): systemd-units 60 60 61 Provides: scripts-httpd = %{version}-%{release} 62 Patch1000: httpd-suexec-scripts.patch 63 Patch1003: httpd-2.2.x-mod_status-security.patch 64 Patch1004: httpd-2.2.x-304.patch 65 Patch1005: httpd-2.2.x-mod_ssl-sessioncaching.patch 66 Patch1006: httpd-suexec-cloexec.patch 67 Patch1007: httpd-fixup-vhost.patch 68 61 69 %description 62 70 The Apache HTTP Server is a powerful, efficient, and extensible 63 71 web server. … … 68 77 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 69 78 Requires: apr-devel, apr-util-devel, pkgconfig 70 79 Requires: httpd = %{version}-%{release} 80 Provides: scripts-httpd-devel = %{version}-%{release} 71 81 72 82 %description devel 73 83 The httpd-devel package contains the APXS binary and other files … … 106 116 Requires(post): openssl, /bin/cat 107 117 Requires(pre): httpd 108 118 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 119 Provides: scripts-mod_ssl 109 120 Obsoletes: stronghold-mod_ssl 110 121 111 122 %description -n mod_ssl … … 133 149 # Patch in vendor/release string 134 150 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 135 151 152 %patch1000 -p1 -b .scripts 153 %patch1003 -p1 -b .permitstatus 154 %patch1004 -p1 -b .scripts-304 155 %patch1005 -p1 -b .ssl-sessioncache 156 %patch1006 -p1 -b .cloexec 157 %patch1007 -p1 -b .fixup-vhost 158 136 159 # Safety check: prevent build if defined MMN does not equal upstream MMN. 137 160 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 138 161 if test "x${vmmn}" != "x%{mmn}"; then … … 193 217 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 194 218 --enable-suexec --with-suexec \ 195 219 --with-suexec-caller=%{suexec_caller} \ 196 --with-suexec-docroot=%{contentdir} \ 220 --with-suexec-docroot=/ \ 221 --with-suexec-userdir=web_scripts \ 222 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 197 223 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 198 224 --with-suexec-bin=%{_sbindir}/suexec \ 199 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \225 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 200 226 --enable-pie \ 201 227 --with-pcre \ 202 228 $*
Note: See TracBrowser
for help on using the repository browser.