Changeset 2551 for branches/fc20-dev/server/fedora/specs/httpd.spec.patch
- Timestamp:
- Jul 27, 2014, 5:52:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc20-dev/server/fedora/specs/httpd.spec.patch
r2543 r2551 1 --- httpd.spec.orig 2014-0 5-25 18:59:21.318657218-04002 +++ httpd.spec 2014-0 5-25 19:00:15.324430542 -04001 --- httpd.spec.orig 2014-07-23 06:24:15.000000000 -0400 2 +++ httpd.spec 2014-07-27 17:38:45.622914152 -0400 3 3 @@ -15,7 +15,7 @@ 4 4 Summary: Apache HTTP Server … … 10 10 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 11 11 Source1: index.html 12 @@ -8 6,6 +86,12 @@12 @@ -84,6 +84,12 @@ 13 13 Requires(post): systemd-units 14 14 Conflicts: apr < 1.5.0-1 … … 23 23 The Apache HTTP Server is a powerful, efficient, and extensible 24 24 web server. 25 @@ -9 6,6 +102,7 @@25 @@ -94,6 +100,7 @@ 26 26 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 27 27 Requires: apr-devel, apr-util-devel, pkgconfig … … 31 31 %description devel 32 32 The httpd-devel package contains the APXS binary and other files 33 @@ -13 4,6 +141,7 @@33 @@ -132,6 +139,7 @@ 34 34 Requires(post): openssl, /bin/cat 35 35 Requires(pre): httpd … … 39 39 40 40 %description -n mod_ssl 41 @@ - 200,6 +208,11 @@41 @@ -196,6 +204,11 @@ 42 42 # Prevent use of setcap in "install-suexec-caps" target. 43 43 sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in … … 51 51 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 52 52 if test "x${vmmn}" != "x%{mmn}"; then 53 @@ -24 6,11 +259,13 @@53 @@ -242,11 +255,13 @@ 54 54 --enable-suexec --with-suexec \ 55 55 --enable-suexec-capabilities \ … … 69 69 --with-pcre \ 70 70 --enable-mods-shared=all \ 71 @@ -542,7 +557,8 @@ 72 %{_sbindir}/fcgistarter 73 %{_sbindir}/apachectl 74 %{_sbindir}/rotatelogs 75 -%caps(cap_setuid,cap_setgid+pe) %attr(510,root,%{suexec_caller}) %{_sbindir}/suexec 76 +# cap_dac_override needed to write to /var/log/httpd 77 +%caps(cap_setuid,cap_setgid,cap_dac_override+pe) %attr(510,root,%{suexec_caller}) %{_sbindir}/suexec 78 79 %dir %{_libdir}/httpd 80 %dir %{_libdir}/httpd/modules
Note: See TracChangeset
for help on using the changeset viewer.