Changeset 2422 for branches/fc19-dev/server/fedora/specs/httpd.spec.patch
- Timestamp:
- May 29, 2013, 1:13:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc19-dev/server/fedora/specs/httpd.spec.patch
r2377 r2422 1 --- /tmp/httpd/httpd.spec.orig 2013-02-14 17:53:29.967176396 -05002 +++ /tmp/httpd/httpd.spec 2013-02-14 17:54:57.172521444 -05003 @@ - 9,7 +9,7 @@1 --- httpd.spec.orig 2013-05-29 00:46:07.522169507 -0400 2 +++ httpd.spec 2013-05-29 00:46:37.905169507 -0400 3 @@ -14,7 +14,7 @@ 4 4 Summary: Apache HTTP Server 5 5 Name: httpd 6 Version: 2. 2.237 -Release: 1%{?dist}8 +Release: 1%{?dist}.scripts.%{scriptsversion}6 Version: 2.4.4 7 -Release: 4%{?dist} 8 +Release: 4%{?dist}.scripts.%{scriptsversion} 9 9 URL: http://httpd.apache.org/ 10 10 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 11 11 Source1: index.html 12 @@ - 57,6 +57,15@@12 @@ -79,6 +79,12 @@ 13 13 Requires(postun): systemd-units 14 14 Requires(post): systemd-units 15 15 16 16 +Provides: scripts-httpd = %{version}-%{release} 17 +Patch1000: httpd-suexec-scripts.patch 18 +Patch1003: httpd-2.2.x-mod_status-security.patch 19 +Patch1004: httpd-2.2.x-304.patch 20 +Patch1005: httpd-2.2.x-mod_ssl-sessioncaching.patch 21 +Patch1006: httpd-suexec-cloexec.patch 22 +Patch1007: httpd-fixup-vhost.patch 23 +Patch1008: httpd-SSLCompression.patch 17 +Patch1001: httpd-suexec-scripts.patch 18 +Patch1002: httpd-mod_status-security.patch 19 +Patch1003: httpd-304s.patch 20 +Patch1004: httpd-fixup-vhost.patch 24 21 + 25 22 %description 26 23 The Apache HTTP Server is a powerful, efficient, and extensible 27 24 web server. 28 @@ - 67,6 +76,7 @@25 @@ -89,6 +95,7 @@ 29 26 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 30 27 Requires: apr-devel, apr-util-devel, pkgconfig … … 34 31 %description devel 35 32 The httpd-devel package contains the APXS binary and other files 36 @@ -1 05,6 +115,7 @@33 @@ -127,6 +134,7 @@ 37 34 Requires(post): openssl, /bin/cat 38 35 Requires(pre): httpd … … 42 39 43 40 %description -n mod_ssl 44 @@ -1 31,6 +142,14@@45 # P atch in vendor/release string46 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p141 @@ -189,6 +197,11 @@ 42 # Prevent use of setcap in "install-suexec-caps" target. 43 sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in 47 44 48 +%patch1000 -p1 -b .scripts 49 +%patch1003 -p1 -b .permitstatus 50 +%patch1004 -p1 -b .scripts-304 51 +%patch1005 -p1 -b .ssl-sessioncache 52 +%patch1006 -p1 -b .cloexec 53 +%patch1007 -p1 -b .fixup-vhost 54 +%patch1008 -p1 -b .sslcompression 45 +%patch1001 -p1 -b .suexec-scripts 46 +%patch1002 -p1 -b .mod_status-security 47 +%patch1003 -p1 -b .scripts-304s 48 +%patch1004 -p1 -b .fixup-vhost 55 49 + 56 50 # Safety check: prevent build if defined MMN does not equal upstream MMN. 57 51 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 58 52 if test "x${vmmn}" != "x%{mmn}"; then 59 @@ -191,10 +210,12 @@ 60 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 53 @@ -235,11 +248,13 @@ 61 54 --enable-suexec --with-suexec \ 55 --enable-suexec-capabilities \ 62 56 --with-suexec-caller=%{suexec_caller} \ 63 - --with-suexec-docroot=%{contentdir} \ 57 - --with-suexec-docroot=%{docroot} \ 58 - --without-suexec-logfile \ 59 - --with-suexec-syslog \ 64 60 + --with-suexec-docroot=/ \ 65 61 + --with-suexec-userdir=web_scripts \ 66 62 + --with-suexec-trusteddir=/usr/libexec/scripts-trusted \ 67 --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 63 + --with-suexec-logfile=%{_localstatedir}/log/httpd/suexec.log \ 64 + --without-suexec-syslog \ 68 65 --with-suexec-bin=%{_sbindir}/suexec \ 69 66 - --with-suexec-uidmin=500 --with-suexec-gidmin=100 \ … … 71 68 --enable-pie \ 72 69 --with-pcre \ 73 $*70 --enable-mods-shared=all \
Note: See TracChangeset
for help on using the changeset viewer.