source:
branches/fc19-dev/server/fedora/specs/httpd.spec.patch
@
2462
Last change on this file since 2462 was 2462, 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.6 17 Release: 2%{?dist} 17 Release: 2%{?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 … … 83 83 Requires(postun): systemd-units 84 84 Requires(post): systemd-units 85 85 86 Provides: scripts-httpd = %{version}-%{release} 87 Patch1001: httpd-suexec-scripts.patch 88 Patch1002: httpd-mod_status-security.patch 89 Patch1003: httpd-304s.patch 90 Patch1004: httpd-fixup-vhost.patch 91 86 92 %description 87 93 The Apache HTTP Server is a powerful, efficient, and extensible 88 94 web server. … … 93 99 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 94 100 Requires: apr-devel, apr-util-devel, pkgconfig 95 101 Requires: httpd = %{version}-%{release} 102 Provides: scripts-httpd-devel = %{version}-%{release} 96 103 97 104 %description devel 98 105 The httpd-devel package contains the APXS binary and other files … … 131 138 Requires(post): openssl, /bin/cat 132 139 Requires(pre): httpd 133 140 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 141 Provides: scripts-mod_ssl 134 142 Obsoletes: stronghold-mod_ssl 135 143 136 144 %description -n mod_ssl … … 197 205 # Prevent use of setcap in "install-suexec-caps" target. 198 206 sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in 199 207 208 %patch1001 -p1 -b .suexec-scripts 209 %patch1002 -p1 -b .mod_status-security 210 %patch1003 -p1 -b .scripts-304s 211 %patch1004 -p1 -b .fixup-vhost 212 200 213 # Safety check: prevent build if defined MMN does not equal upstream MMN. 201 214 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 202 215 if test "x${vmmn}" != "x%{mmn}"; then … … 243 256 --enable-suexec --with-suexec \ 244 257 --enable-suexec-capabilities \ 245 258 --with-suexec-caller=%{suexec_caller} \ 246 --with-suexec-docroot=%{docroot} \ 247 --without-suexec-logfile \ 248 --with-suexec-syslog \ 259 --with-suexec-docroot=/ \ 260 --with-suexec-userdir=web_scripts \ 261 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 262 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 263 --without-suexec-syslog \ 249 264 --with-suexec-bin=%{_sbindir}/suexec \ 250 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \265 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 251 266 --enable-pie \ 252 267 --with-pcre \ 253 268 --enable-mods-shared=all \
Note: See TracBrowser
for help on using the repository browser.