Ignore:
Timestamp:
Jun 27, 2012, 10:29:47 PM (12 years ago)
Author:
ezyang
Message:
Reintegrate Fedora 17 development branch into trunk.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/server/fedora/specs/httpd.spec.patch

    r2157 r2246  
    1 --- httpd.spec.~1~      2012-02-13 09:46:36.000000000 -0500
    2 +++ httpd.spec  2012-03-26 01:33:53.247271289 -0400
    3 @@ -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 @@
    44 Summary: Apache HTTP Server
    55 Name: httpd
    66 Version: 2.2.22
    7 -Release: 1%{?dist}
    8 +Release: 1%{?dist}.scripts.%{scriptsversion}
     7-Release: 4%{?dist}
     8+Release: 4%{?dist}.scripts.%{scriptsversion}
    99 URL: http://httpd.apache.org/
    1010 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
    1111 Source1: index.html
    12 @@ -54,6 +54,15 @@
    13  Provides: httpd-mmn = %{mmn}, httpd-mmn = %{mmnisa}
    14  Requires: httpd-tools = %{version}-%{release}, apr-util-ldap, systemd-units
     12@@ -58,6 +58,14 @@
     13 Requires(postun): systemd-units
     14 Requires(post): systemd-units
    1515 
    1616+Provides: scripts-httpd = %{version}-%{release}
     
    2121+Patch1006: httpd-suexec-cloexec.patch
    2222+Patch1007: httpd-fixup-vhost.patch
    23 +Patch1008: httpd-sysv-deps.patch
    2423+
    2524 %description
    2625 The Apache HTTP Server is a powerful, efficient, and extensible
    2726 web server.
    28 @@ -64,6 +76,7 @@
     27@@ -68,6 +77,7 @@
    2928 Obsoletes: secureweb-devel, apache-devel, stronghold-apache-devel
    3029 Requires: apr-devel, apr-util-devel, pkgconfig
     
    3433 %description devel
    3534 The httpd-devel package contains the APXS binary and other files
    36 @@ -102,6 +115,7 @@
     35@@ -106,6 +116,7 @@
    3736 Requires(post): openssl, /bin/cat
    3837 Requires(pre): httpd
     
    4241 
    4342 %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 @@
    5744 # Patch in vendor/release string
    5845 sed "s/@RELEASE@/%{vstring}/" < %{PATCH20} | patch -p1
     
    6451+%patch1006 -p1 -b .cloexec
    6552+%patch1007 -p1 -b .fixup-vhost
    66 +# Note that patch1008 is not here, as it patches the initscript elsewhere in this .spec
    6753+
    6854 # Safety check: prevent build if defined MMN does not equal upstream MMN.
    6955 vmmn=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include include/ap_mmn.h | sed -n '/^2/p'`
    7056 if test "x${vmmn}" != "x%{mmn}"; then
    71 @@ -175,10 +205,12 @@
     57@@ -193,10 +217,12 @@
    7258         --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
    7359        --enable-suexec --with-suexec \
Note: See TracChangeset for help on using the changeset viewer.