Changeset 2246 for trunk/server/fedora/specs/httpd.spec.patch
- Timestamp:
- Jun 27, 2012, 10:29:47 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/fc17-dev (added) merged: 2081,2195-2198,2202,2204-2208,2210-2212,2215-2226,2230-2232,2235-2236,2238-2243,2245
- Property svn:mergeinfo changed
-
trunk/server/fedora/specs/httpd.spec.patch
r2157 r2246 1 --- httpd.spec.~1~ 2012-0 2-13 09:46:36.000000000 -05002 +++ httpd.spec 2012-0 3-26 01:33:53.247271289-04003 @@ - 8,7 +8,7 @@1 --- httpd.spec.~1~ 2012-04-30 05:52:31.000000000 -0400 2 +++ httpd.spec 2012-05-22 23:31:12.397142763 -0400 3 @@ -9,7 +9,7 @@ 4 4 Summary: Apache HTTP Server 5 5 Name: httpd 6 6 Version: 2.2.22 7 -Release: 1%{?dist}8 +Release: 1%{?dist}.scripts.%{scriptsversion}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 @@ -5 4,6 +54,15@@13 Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}14 Requires : httpd-tools = %{version}-%{release}, apr-util-ldap,systemd-units12 @@ -58,6 +58,14 @@ 13 Requires(postun): systemd-units 14 Requires(post): systemd-units 15 15 16 16 +Provides: scripts-httpd = %{version}-%{release} … … 21 21 +Patch1006: httpd-suexec-cloexec.patch 22 22 +Patch1007: httpd-fixup-vhost.patch 23 +Patch1008: httpd-sysv-deps.patch24 23 + 25 24 %description 26 25 The Apache HTTP Server is a powerful, efficient, and extensible 27 26 web server. 28 @@ -6 4,6 +76,7 @@27 @@ -68,6 +77,7 @@ 29 28 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel 30 29 Requires: apr-devel, apr-util-devel, pkgconfig … … 34 33 %description devel 35 34 The httpd-devel package contains the APXS binary and other files 36 @@ -10 2,6 +115,7 @@35 @@ -106,6 +116,7 @@ 37 36 Requires(post): openssl, /bin/cat 38 37 Requires(pre): httpd … … 42 41 43 42 %description -n mod_ssl 44 @@ -110,6 +124,11 @@ 45 Security (TLS) protocols. 46 47 %prep 48 + 49 +# Horrible hack to patch the httpd.init file 50 +cd $RPM_SOURCE_DIR 51 +%patch1008 -p1 -b .sysv-deps 52 + 53 %setup -q 54 %patch1 -p1 -b .apctl 55 %patch2 -p1 -b .apxs 56 @@ -128,6 +147,14 @@ 43 @@ -133,6 +149,13 @@ 57 44 # Patch in vendor/release string 58 45 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1 … … 64 51 +%patch1006 -p1 -b .cloexec 65 52 +%patch1007 -p1 -b .fixup-vhost 66 +# Note that patch1008 is not here, as it patches the initscript elsewhere in this .spec67 53 + 68 54 # Safety check: prevent build if defined MMN does not equal upstream MMN. 69 55 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'` 70 56 if test "x${vmmn}" != "x%{mmn}"; then 71 @@ -1 75,10 +205,12 @@57 @@ -193,10 +217,12 @@ 72 58 --with-apr=%{_prefix} --with-apr-util=%{_prefix} \ 73 59 --enable-suexec --with-suexec \
Note: See TracChangeset
for help on using the changeset viewer.