source:
trunk/server/fedora/specs/httpd.spec.patch
@
2493
Last change on this file since 2493 was 2377, checked in by achernya, 12 years ago | |
---|---|
File size: 2.5 KB |
-
/tmp/httpd/httpd.spec
old new 9 9 Summary: Apache HTTP Server 10 10 Name: httpd 11 11 Version: 2.2.23 12 Release: 1%{?dist} 12 Release: 1%{?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 … … 57 57 Requires(postun): systemd-units 58 58 Requires(post): systemd-units 59 59 60 Provides: scripts-httpd = %{version}-%{release} 61 Patch1000: httpd-suexec-scripts.patch 62 Patch1003: httpd-2.2.x-mod_status-security.patch 63 Patch1004: httpd-2.2.x-304.patch 64 Patch1005: httpd-2.2.x-mod_ssl-sessioncaching.patch 65 Patch1006: httpd-suexec-cloexec.patch 66 Patch1007: httpd-fixup-vhost.patch 67 Patch1008: httpd-SSLCompression.patch 68 60 69 %description 61 70 The Apache HTTP Server is a powerful, efficient, and extensible 62 71 web server. … … 67 76 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 68 77 Requires: apr-devel, apr-util-devel, pkgconfig 69 78 Requires: httpd = %{version}-%{release} 79 Provides: scripts-httpd-devel = %{version}-%{release} 70 80 71 81 %description devel 72 82 The httpd-devel package contains the APXS binary and other files … … 105 115 Requires(post): openssl, /bin/cat 106 116 Requires(pre): httpd 107 117 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 118 Provides: scripts-mod_ssl 108 119 Obsoletes: stronghold-mod_ssl 109 120 110 121 %description -n mod_ssl … … 131 142 # Patch in vendor/release string 132 143 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 133 144 145 %patch1000 -p1 -b .scripts 146 %patch1003 -p1 -b .permitstatus 147 %patch1004 -p1 -b .scripts-304 148 %patch1005 -p1 -b .ssl-sessioncache 149 %patch1006 -p1 -b .cloexec 150 %patch1007 -p1 -b .fixup-vhost 151 %patch1008 -p1 -b .sslcompression 152 134 153 # Safety check: prevent build if defined MMN does not equal upstream MMN. 135 154 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 136 155 if test "x${vmmn}" != "x%{mmn}"; then … … 191 210 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 192 211 --enable-suexec --with-suexec \ 193 212 --with-suexec-caller=%{suexec_caller} \ 194 --with-suexec-docroot=%{contentdir} \ 213 --with-suexec-docroot=/ \ 214 --with-suexec-userdir=web_scripts \ 215 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 195 216 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 196 217 --with-suexec-bin=%{_sbindir}/suexec \ 197 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \218 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 198 219 --enable-pie \ 199 220 --with-pcre \ 200 221 $*
Note: See TracBrowser
for help on using the repository browser.