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