source:
trunk/server/fedora/specs/httpd.spec.patch
@
2321
Last change on this file since 2321 was 2321, checked in by geofft, 12 years ago | |
---|---|
File size: 2.5 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 Patch1008: httpd-SSLCompression.patch 69 61 70 %description 62 71 The Apache HTTP Server is a powerful, efficient, and extensible 63 72 web server. … … 68 78 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 69 79 Requires: apr-devel, apr-util-devel, pkgconfig 70 80 Requires: httpd = %{version}-%{release} 81 Provides: scripts-httpd-devel = %{version}-%{release} 71 82 72 83 %description devel 73 84 The httpd-devel package contains the APXS binary and other files … … 106 117 Requires(post): openssl, /bin/cat 107 118 Requires(pre): httpd 108 119 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 120 Provides: scripts-mod_ssl 109 121 Obsoletes: stronghold-mod_ssl 110 122 111 123 %description -n mod_ssl … … 133 150 # Patch in vendor/release string 134 151 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 135 152 153 %patch1000 -p1 -b .scripts 154 %patch1003 -p1 -b .permitstatus 155 %patch1004 -p1 -b .scripts-304 156 %patch1005 -p1 -b .ssl-sessioncache 157 %patch1006 -p1 -b .cloexec 158 %patch1007 -p1 -b .fixup-vhost 159 %patch1008 -p1 -b .sslcompression 160 136 161 # Safety check: prevent build if defined MMN does not equal upstream MMN. 137 162 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 138 163 if test "x${vmmn}" != "x%{mmn}"; then … … 193 219 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 194 220 --enable-suexec --with-suexec \ 195 221 --with-suexec-caller=%{suexec_caller} \ 196 --with-suexec-docroot=%{contentdir} \ 222 --with-suexec-docroot=/ \ 223 --with-suexec-userdir=web_scripts \ 224 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 197 225 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 198 226 --with-suexec-bin=%{_sbindir}/suexec \ 199 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \227 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 200 228 --enable-pie \ 201 229 --with-pcre \ 202 230 $*
Note: See TracBrowser
for help on using the repository browser.