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