source:
trunk/server/fedora/specs/httpd.spec.patch
@
2707
Last change on this file since 2707 was 2707, checked in by andersk, 10 years ago | |
---|---|
File size: 3.2 KB |
-
httpd.spec
old new 15 15 Summary: Apache HTTP Server 16 16 Name: httpd 17 17 Version: 2.4.10 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 … … 65 65 Patch101: httpd-2.4.6-CVE-2014-3581.patch 66 66 Patch102: httpd-2.4.10-CVE-2014-3583.patch 67 67 Patch103: httpd-2.4.10-CVE-2014-8109.patch 68 69 Patch1001: httpd-suexec-scripts.patch 70 Patch1002: httpd-mod_status-security.patch 71 Patch1003: httpd-304s.patch 72 Patch1004: httpd-fixup-vhost.patch 73 Patch1005: httpd-allow-null-user.patch 74 Patch1006: httpd-suexec-journald.patch 75 Patch1007: httpd-bug57070.patch 76 68 77 License: ASL 2.0 69 78 Group: System Environment/Daemons 70 79 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root … … 77 86 Provides: webserver 78 87 Provides: mod_dav = %{version}-%{release}, httpd-suexec = %{version}-%{release} 79 88 Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}, httpd-mmn = %{oldmmnisa} 89 Provides: scripts-httpd = %{version}-%{release} 80 90 Requires: httpd-tools = %{version}-%{release} 81 91 Requires(pre): /usr/sbin/useradd 82 92 Requires(preun): systemd-units … … 94 104 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 95 105 Requires: apr-devel, apr-util-devel, pkgconfig 96 106 Requires: httpd = %{version}-%{release} 107 Provides: scripts-httpd-devel = %{version}-%{release} 97 108 98 109 %description devel 99 110 The httpd-devel package contains the APXS binary and other files … … 132 143 Requires(post): openssl, /bin/cat 133 144 Requires(pre): httpd 134 145 Requires: httpd = 0:%{version}-%{release}, httpd-mmn = %{mmnisa} 146 Provides: scripts-mod_ssl 135 147 Obsoletes: stronghold-mod_ssl 136 148 137 149 %description -n mod_ssl … … 190 202 %patch55 -p1 -b .malformedhost 191 203 %patch56 -p1 -b .uniqueid 192 204 205 %patch1001 -p1 -b .suexec-scripts 206 %patch1002 -p1 -b .mod_status-security 207 %patch1003 -p1 -b .scripts-304s 208 %patch1004 -p1 -b .fixup-vhost 209 %patch1005 -p1 -b .allow-null-user 210 %patch1006 -p1 -b .journald 211 %patch1007 -p0 -b .bug57070 212 193 213 # Patch in the vendor string 194 214 sed -i '/^#define PLATFORM/s/Unix/%{vstring}/' os/unix/os.h 195 215 … … 242 262 --enable-suexec --with-suexec \ 243 263 --enable-suexec-capabilities \ 244 264 --with-suexec-caller=%{suexec_caller} \ 245 --with-suexec-docroot=%{docroot} \ 246 --without-suexec-logfile \ 247 --with-suexec-syslog \ 265 --with-suexec-docroot=/ \ 266 --with-suexec-userdir=web_scripts \ 267 --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 268 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 269 --without-suexec-syslog \ 248 270 --with-suexec-bin=%{_sbindir}/suexec \ 249 --with-suexec-uidmin=50 0 --with-suexec-gidmin=100 \271 --with-suexec-uidmin=50 --with-suexec-gidmin=50 \ 250 272 --enable-pie \ 251 273 --with-pcre \ 252 274 --enable-mods-shared=all \ … … 542 564 %{_sbindir}/fcgistarter 543 565 %{_sbindir}/apachectl 544 566 %{_sbindir}/rotatelogs 545 %caps(cap_setuid,cap_setgid+pe) %attr(510,root,%{suexec_caller}) %{_sbindir}/suexec 567 # cap_dac_override needed to write to /var/log/httpd 568 %caps(cap_setuid,cap_setgid,cap_dac_override+pe) %attr(555,root,%{suexec_caller}) %{_sbindir}/suexec 546 569 547 570 %dir %{_libdir}/httpd 548 571 %dir %{_libdir}/httpd/modules
Note: See TracBrowser
for help on using the repository browser.