source:
trunk/server/fedora/specs/httpd.spec.patch
@
1627
Last change on this file since 1627 was 1607, checked in by gdb, 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.15 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.gz 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 … … 102 111 Requires(post): openssl >= 0.9.7f-4, /bin/cat 103 112 Requires(pre): httpd 104 113 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmn} 114 Provides: scripts-mod_ssl 105 115 Obsoletes: stronghold-mod_ssl 106 116 107 117 %description -n mod_ssl … … 129 139 # Patch in vendor/release string 130 140 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 131 141 142 %patch1000 -p1 -b .scripts 143 %patch1003 -p1 -b .permitstatus 144 %patch1004 -p1 -b .scripts-304 145 %patch1005 -p1 -b .ssl-sessioncache 146 %patch1006 -p1 -b .cloexec 147 %patch1007 -p1 -b .fixup-vhost 148 132 149 # Safety check: prevent build if defined MMN does not equal upstream MMN. 133 150 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 134 151 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.