source:
branches/fc20-dev/server/fedora/specs/httpd.spec.patch
@
2525
Last change on this file since 2525 was 2525, checked in by achernya, 10 years ago | |
---|---|
File size: 2.4 KB |
-
httpd.spec
old new 15 15 Summary: Apache HTTP Server 16 16 Name: httpd 17 17 Version: 2.4.9 18 Release: 2%{?dist} 18 Release: 2%{?dist}.scripts.%{scriptsversion} 19 19 URL: http://httpd.apache.org/ 20 20 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 21 21 Source1: index.html … … 86 86 Requires(post): systemd-units 87 87 Conflicts: apr < 1.5.0-1 88 88 89 Provides: scripts-httpd = %{version}-%{release} 90 Patch1001: httpd-suexec-scripts.patch 91 Patch1002: httpd-mod_status-security.patch 92 Patch1003: httpd-304s.patch 93 Patch1004: httpd-fixup-vhost.patch 94 89 95 %description 90 96 The Apache HTTP Server is a powerful, efficient, and extensible 91 97 web server. … … 96 102 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 97 103 Requires: apr-devel, apr-util-devel, pkgconfig 98 104 Requires: httpd = %{version}-%{release} 105 Provides: scripts-httpd-devel = %{version}-%{release} 99 106 100 107 %description devel 101 108 The httpd-devel package contains the APXS binary and other files … … 134 141 Requires(post): openssl, /bin/cat 135 142 Requires(pre): httpd 136 143 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 144 Provides: scripts-mod_ssl 137 145 Obsoletes: stronghold-mod_ssl 138 146 139 147 %description -n mod_ssl … … 200 208 # Prevent use of setcap in "install-suexec-caps" target. 201 209 sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in 202 210 211 %patch1001 -p1 -b .suexec-scripts 212 %patch1002 -p1 -b .mod_status-security 213 %patch1003 -p1 -b .scripts-304s 214 %patch1004 -p1 -b .fixup-vhost 215 203 216 # Safety check: prevent build if defined MMN does not equal upstream MMN. 204 217 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 205 218 if test "x${vmmn}" != "x%{mmn}"; then … … 246 259 --enable-suexec --with-suexec \ 247 260 --enable-suexec-capabilities \ 248 261 --with-suexec-caller=%{suexec_caller} \ 249 --with-suexec-docroot=%{docroot} \ 250 --without-suexec-logfile \ 251 --with-suexec-syslog \ 262 --with-suexec-docroot=/ \ 263 --with-suexec-userdir=web_scripts \ 264 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 265 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 266 --without-suexec-syslog \ 252 267 --with-suexec-bin=%{_sbindir}/suexec \ 253 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \268 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 254 269 --enable-pie \ 255 270 --with-pcre \ 256 271 --enable-mods-shared=all \
Note: See TracBrowser
for help on using the repository browser.