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