--- apache2-mpm-itk-2.2.6-02.orig/patches/series
+++ apache2-mpm-itk-2.2.6-02/patches/series
@@ -7,3 +7,4 @@
 07-max-clients-per-vhost.patch
 08-capabilities.patch
 09-nice.patch
+10-handle-waitpid-eintr.patch
--- apache2-mpm-itk-2.2.6-02.orig/patches/10-handle-waitpid-eintr.patch
+++ apache2-mpm-itk-2.2.6-02/patches/10-handle-waitpid-eintr.patch
@@ -0,0 +1,26 @@
+Index: apache2.2/server/mpm/experimental/itk/itk.c
+===================================================================
+--- apache2.2.orig/server/mpm/experimental/itk/itk.c	2010-02-13 18:11:24.000000000 +0100
++++ apache2.2/server/mpm/experimental/itk/itk.c	2010-02-13 18:12:46.000000000 +0100
+@@ -703,7 +703,7 @@
+         }
+ 
+         {
+-            pid_t pid = fork();
++            pid_t pid = fork(), child_pid;
+             int status;
+             switch (pid) {
+             case -1:
+@@ -718,7 +718,11 @@
+                 }
+                 exit(0);
+             default: /* parent; just wait for child to be done */
+-                if (waitpid(pid, &status, 0) != pid || !WIFEXITED(status)) {
++                do {
++                    child_pid = waitpid(pid, &status, 0);
++                } while (child_pid == -1 && errno == EINTR);
++
++                if (child_pid != pid || !WIFEXITED(status)) {
+                     if (WIFSIGNALED(status)) {
+                         ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf, "child died with signal %u", WTERMSIG(status));
+                     } else if (WEXITSTATUS(status) != 0) {
--- apache2-mpm-itk-2.2.6-02.orig/debian/rules
+++ apache2-mpm-itk-2.2.6-02/debian/rules
@@ -0,0 +1,77 @@
+#! /usr/bin/make -f
+
+clean:
+	dh_testdir
+	dh_clean
+	$(RM) -r build-tree/
+	$(RM) -r apache2/
+	$(RM) build-stamp
+
+build: build-stamp
+build-arch: build-stamp
+build-stamp:
+	dh_testdir
+	mkdir build-tree/
+	tar zxf /usr/src/apache2.tar.gz
+	
+	# Using quilt confuses autoconf badly, so we just apply by hand
+	# when building. This gives us the additional benefit that we
+	# can copy prefork and use it as a base instead of using the
+	# moral patch equivalent (01-copy-prefork.patch).
+	cd apache2/ && (									\
+		set -e ;									\
+		mkdir server/mpm/experimental/itk/ ;						\
+		cp server/mpm/prefork/* server/mpm/experimental/itk/ ;				\
+		mv server/mpm/experimental/itk/prefork.c server/mpm/experimental/itk/itk.c ;	\
+												\
+		for PATCH in $(shell tail -n +2 patches/series); do 				\
+			echo Applying $$PATCH ... ;						\
+			patch -p1 < ../patches/$$PATCH ;					\
+			echo ;									\
+		done ;										\
+												\
+		autoheader ;									\
+		autoconf									\
+	)
+	
+	# Use the same flags as for compiling all the other MPMs, only
+	# a different source directory and of course a different MPM
+	sed 's,prefork,itk,;s,^".*/configure",../apache2/configure,;s,^"--srcdir=.*",--srcdir=../apache2/,' < apache2/config.nice.prefork > build-tree/config.nice
+	chmod +x build-tree/config.nice
+	cd build-tree/ && ./config.nice
+	cd build-tree/ && $(MAKE)
+	touch build-stamp
+
+binary: binary-arch
+binary-indep:
+binary-arch: build-arch
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	
+	install -m 0755 build-tree/apache2 debian/apache2-mpm-itk/usr/sbin/
+	
+	dh_fixperms
+	dh_strip
+	dh_installdocs README
+	dh_installchangelogs
+	dh_installdeb
+	dh_compress
+	dh_shlibdeps
+	echo "apache:Depends=apache2.2-common (= `dpkg -s apache2-src | grep ^Version: | cut -d" " -f2`)" >> debian/apache2-mpm-itk.substvars
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Useful for hacking on the source; requires quilt.
+source: clean
+	dh_testdir
+	mkdir build-tree/
+	tar zxf /usr/src/apache2.tar.gz
+	
+	cd apache2/ && (									\
+		QUILT_PATCHES=../patches quilt --quiltrc /dev/null push -a			\
+	)
+
+.PHONY: clean build build-arch binary binary-arch binary-indep
+
--- apache2-mpm-itk-2.2.6-02.orig/debian/compat
+++ apache2-mpm-itk-2.2.6-02/debian/compat
@@ -0,0 +1 @@
+5
--- apache2-mpm-itk-2.2.6-02.orig/debian/copyright
+++ apache2-mpm-itk-2.2.6-02/debian/copyright
@@ -0,0 +1,688 @@
+apache2-mpm-itk is copyright Steinar H. Gunderson <sgunderson@bigfoot.com>,
+and is provided under the same license as the Apache web server.
+
+Get the latest version at http://mpm-itk.sesse.net/ . The .orig.tar.gz is
+created manually from the text of the web page and the patch series provided.
+The Debian packaging is under the same copyright and license as the upstream
+package.
+
+The entire license text for Apache is:
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+
+APACHE HTTP SERVER SUBCOMPONENTS: 
+
+The Apache HTTP Server includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses. 
+
+For the mod_mime_magic component:
+
+/*
+ * mod_mime_magic: MIME type lookup via file magic numbers
+ * Copyright (c) 1996-1997 Cisco Systems, Inc.
+ *
+ * This software was submitted by Cisco Systems to the Apache Group in July
+ * 1997.  Future revisions and derivatives of this source code must
+ * acknowledge Cisco Systems as the original contributor of this module.
+ * All other licensing and usage conditions are those of the Apache Group.
+ *
+ * Some of this code is derived from the free version of the file command
+ * originally posted to comp.sources.unix.  Copyright info for that program
+ * is included below as required.
+ * ---------------------------------------------------------------------------
+ * - Copyright (c) Ian F. Darwin, 1987. Written by Ian F. Darwin.
+ *
+ * This software is not subject to any license of the American Telephone and
+ * Telegraph Company or of the Regents of the University of California.
+ *
+ * Permission is granted to anyone to use this software for any purpose on any
+ * computer system, and to alter it and redistribute it freely, subject to
+ * the following restrictions:
+ *
+ * 1. The author is not responsible for the consequences of use of this
+ * software, no matter how awful, even if they arise from flaws in it.
+ *
+ * 2. The origin of this software must not be misrepresented, either by
+ * explicit claim or by omission.  Since few users ever read sources, credits
+ * must appear in the documentation.
+ *
+ * 3. Altered versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.  Since few users ever read
+ * sources, credits must appear in the documentation.
+ *
+ * 4. This notice may not be removed or altered.
+ * -------------------------------------------------------------------------
+ *
+ */
+
+
+For the  modules\mappers\mod_imap.c component:
+
+  "macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com
+
+For the  server\util_md5.c component:
+
+/************************************************************************
+ * NCSA HTTPd Server
+ * Software Development Group
+ * National Center for Supercomputing Applications
+ * University of Illinois at Urbana-Champaign
+ * 605 E. Springfield, Champaign, IL 61820
+ * httpd@ncsa.uiuc.edu
+ *
+ * Copyright  (C)  1995, Board of Trustees of the University of Illinois
+ *
+ ************************************************************************
+ *
+ * md5.c: NCSA HTTPd code which uses the md5c.c RSA Code
+ *
+ *  Original Code Copyright (C) 1994, Jeff Hostetler, Spyglass, Inc.
+ *  Portions of Content-MD5 code Copyright (C) 1993, 1994 by Carnegie Mellon
+ *     University (see Copyright below).
+ *  Portions of Content-MD5 code Copyright (C) 1991 Bell Communications 
+ *     Research, Inc. (Bellcore) (see Copyright below).
+ *  Portions extracted from mpack, John G. Myers - jgm+@cmu.edu
+ *  Content-MD5 Code contributed by Martin Hamilton (martin@net.lut.ac.uk)
+ *
+ */
+
+
+/* these portions extracted from mpack, John G. Myers - jgm+@cmu.edu */
+/* (C) Copyright 1993,1994 by Carnegie Mellon University
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software
+ * and its documentation for any purpose is hereby granted without
+ * fee, provided that the above copyright notice appear in all copies
+ * and that both that copyright notice and this permission notice
+ * appear in supporting documentation, and that the name of Carnegie
+ * Mellon University not be used in advertising or publicity
+ * pertaining to distribution of the software without specific,
+ * written prior permission.  Carnegie Mellon University makes no
+ * representations about the suitability of this software for any
+ * purpose.  It is provided "as is" without express or implied
+ * warranty.
+ *
+ * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
+ * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
+ * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
+ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+ * SOFTWARE.
+ */
+
+/*
+ * Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
+ *
+ * Permission to use, copy, modify, and distribute this material
+ * for any purpose and without fee is hereby granted, provided
+ * that the above copyright notice and this permission notice
+ * appear in all copies, and that the name of Bellcore not be
+ * used in advertising or publicity pertaining to this
+ * material without the specific, prior written permission
+ * of an authorized representative of Bellcore.  BELLCORE
+ * MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
+ * OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS",
+ * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.  
+ */
+
+For the  srclib\apr\include\apr_md5.h component: 
+/*
+ * This is work is derived from material Copyright RSA Data Security, Inc.
+ *
+ * The RSA copyright statement and Licence for that original material is
+ * included below. This is followed by the Apache copyright statement and
+ * licence for the modifications made to that material.
+ */
+
+/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+   rights reserved.
+
+   License to copy and use this software is granted provided that it
+   is identified as the "RSA Data Security, Inc. MD5 Message-Digest
+   Algorithm" in all material mentioning or referencing this software
+   or this function.
+
+   License is also granted to make and use derivative works provided
+   that such works are identified as "derived from the RSA Data
+   Security, Inc. MD5 Message-Digest Algorithm" in all material
+   mentioning or referencing the derived work.
+
+   RSA Data Security, Inc. makes no representations concerning either
+   the merchantability of this software or the suitability of this
+   software for any particular purpose. It is provided "as is"
+   without express or implied warranty of any kind.
+
+   These notices must be retained in any copies of any part of this
+   documentation and/or software.
+ */
+
+For the  srclib\apr\passwd\apr_md5.c component:
+
+/*
+ * This is work is derived from material Copyright RSA Data Security, Inc.
+ *
+ * The RSA copyright statement and Licence for that original material is
+ * included below. This is followed by the Apache copyright statement and
+ * licence for the modifications made to that material.
+ */
+
+/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
+ */
+
+/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+   rights reserved.
+
+   License to copy and use this software is granted provided that it
+   is identified as the "RSA Data Security, Inc. MD5 Message-Digest
+   Algorithm" in all material mentioning or referencing this software
+   or this function.
+
+   License is also granted to make and use derivative works provided
+   that such works are identified as "derived from the RSA Data
+   Security, Inc. MD5 Message-Digest Algorithm" in all material
+   mentioning or referencing the derived work.
+
+   RSA Data Security, Inc. makes no representations concerning either
+   the merchantability of this software or the suitability of this
+   software for any particular purpose. It is provided "as is"
+   without express or implied warranty of any kind.
+
+   These notices must be retained in any copies of any part of this
+   documentation and/or software.
+ */
+/*
+ * The apr_md5_encode() routine uses much code obtained from the FreeBSD 3.0
+ * MD5 crypt() function, which is licenced as follows:
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <phk@login.dknet.dk> wrote this file.  As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return.  Poul-Henning Kamp
+ * ----------------------------------------------------------------------------
+ */
+
+For the srclib\apr-util\crypto\apr_md4.c component:
+
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ * rights reserved.
+ *
+ * License to copy and use this software is granted provided that it
+ * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
+ * Algorithm" in all material mentioning or referencing this software
+ * or this function.
+ *
+ * License is also granted to make and use derivative works provided
+ * that such works are identified as "derived from the RSA Data
+ * Security, Inc. MD4 Message-Digest Algorithm" in all material
+ * mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+For the srclib\apr-util\include\apr_md4.h component:
+
+ *
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ * rights reserved.
+ *
+ * License to copy and use this software is granted provided that it
+ * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
+ * Algorithm" in all material mentioning or referencing this software
+ * or this function.
+ *
+ * License is also granted to make and use derivative works provided
+ * that such works are identified as "derived from the RSA Data
+ * Security, Inc. MD4 Message-Digest Algorithm" in all material
+ * mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+
+For the srclib\apr-util\test\testdbm.c component:
+
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ *    if any, must include the following acknowledgment:
+ *       "This product includes software developed by the
+ *        Apache Software Foundation (http://www.apache.org/)."
+ *    Alternately, this acknowledgment may appear in the software itself,
+ *    if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" must
+ *    not be used to endorse or promote products derived from this
+ *    software without prior written permission. For written
+ *    permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ *    nor may "Apache" appear in their name, without prior written
+ *    permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ * This file came from the SDBM package (written by oz@nexus.yorku.ca).
+ * That package was under public domain. This file has been ported to
+ * APR, updated to ANSI C and other, newer idioms, and added to the Apache
+ * codebase under the above copyright and license.
+ */
+
+
+For the srclib\apr-util\test\testmd4.c component:
+
+ *
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
+ * rights reserved.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+For the srclib\apr-util\xml\expat\conftools\install-sh component:
+
+#
+# install - install a program, script, or datafile
+# This comes from X11R5 (mit/util/scripts/install.sh).
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission.  M.I.T. makes no representations about the
+# suitability of this software for any purpose.  It is provided "as is"
+# without express or implied warranty.
+#
+
+For the srclib\pcre\install-sh component:
+
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission.  M.I.T. makes no representations about the
+# suitability of this software for any purpose.  It is provided "as is"
+# without express or implied warranty.
+
+For the pcre component:
+
+PCRE LICENCE
+------------
+
+PCRE is a library of functions to support regular expressions whose syntax
+and semantics are as close as possible to those of the Perl 5 language.
+
+Written by: Philip Hazel <ph10@cam.ac.uk>
+
+University of Cambridge Computing Service,
+Cambridge, England. Phone: +44 1223 334714.
+
+Copyright (c) 1997-2001 University of Cambridge
+
+Permission is granted to anyone to use this software for any purpose on any
+computer system, and to redistribute it freely, subject to the following
+restrictions:
+
+1. This software is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+2. The origin of this software must not be misrepresented, either by
+   explicit claim or by omission. In practice, this means that if you use
+   PCRE in software which you distribute to others, commercially or
+   otherwise, you must put a sentence like this
+
+     Regular expression support is provided by the PCRE library package,
+     which is open source software, written by Philip Hazel, and copyright
+     by the University of Cambridge, England.
+
+   somewhere reasonably visible in your documentation and in any relevant
+   files or online help data or similar. A reference to the ftp site for
+   the source, that is, to
+
+     ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+
+   should also be given in the documentation.
+
+3. Altered versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+
+4. If PCRE is embedded in any software that is released under the GNU
+   General Purpose Licence (GPL), or Lesser General Purpose Licence (LGPL),
+   then the terms of that licence shall supersede any condition above with
+   which it is incompatible.
+
+The documentation for PCRE, supplied in the "doc" directory, is distributed
+under the same terms as the software itself.
+
+End PCRE LICENCE
+
+
+For the test\zb.c component:
+
+/*                          ZeusBench V1.01
+			    ===============
+
+This program is Copyright (C) Zeus Technology Limited 1996.
+
+This program may be used and copied freely providing this copyright notice
+is not removed.
+
+This software is provided "as is" and any express or implied waranties, 
+including but not limited to, the implied warranties of merchantability and
+fitness for a particular purpose are disclaimed.  In no event shall 
+Zeus Technology Ltd. be liable for any direct, indirect, incidental, special, 
+exemplary, or consequential damaged (including, but not limited to, 
+procurement of substitute good or services; loss of use, data, or profits;
+or business interruption) however caused and on theory of liability.  Whether
+in contract, strict liability or tort (including negligence or otherwise) 
+arising in any way out of the use of this software, even if advised of the
+possibility of such damage.
+
+     Written by Adam Twiss (adam@zeus.co.uk).  March 1996
+
+Thanks to the following people for their input:
+  Mike Belshe (mbelshe@netscape.com) 
+  Michael Campanella (campanella@stevms.enet.dec.com)
+
+*/
+
+For the expat xml parser component:
+
+Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+                               and Clark Cooper
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+	
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+	
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====================================================================
--- apache2-mpm-itk-2.2.6-02.orig/debian/changelog
+++ apache2-mpm-itk-2.2.6-02/debian/changelog
@@ -0,0 +1,129 @@
+apache2-mpm-itk (2.2.6-02-1+lenny4) stable-security; urgency=high
+
+  * Non-maintainer upload by the Security Team.
+  * Rebuild with apache2-src 2.2.9-10+lenny9.
+
+ -- Stefan Fritsch <sf@debian.org>  Thu, 30 Dec 2010 12:48:15 +0100
+
+apache2-mpm-itk (2.2.6-02-1+lenny3) stable; urgency=low
+
+  * 10-handle-waitpid-eintr.patch: New patch, backported from unstable
+    (originally adapted from a patch by Jan Boysen, and later corrected
+    by Dave Cundiff). Fixes an issue where child processes would not be
+    properly reaped on reload, leading to them being stuck in "graceful
+    restart" in the scoreboard and vhosts wrongly hitting the MaxClientsVhost
+    roof after a while. (Closes: #569712)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sun, 21 Feb 2010 14:25:02 +0100
+
+apache2-mpm-itk (2.2.6-02-1+lenny2) stable-security; urgency=high
+
+   * Non-maintainer upload by the security team.
+   * Rebuild with apache2-src 2.2.9-10+lenny4.
+
+ -- Stefan Fritsch <sf@debian.org>  Tue, 14 Jul 2009 23:13:18 +0200
+
+apache2-mpm-itk (2.2.6-02-1+lenny1) stable-security; urgency=low
+
+  * Non-maintainer upload by the security team.
+  * Rebuild with apache2-src 2.2.9-10+lenny3.
+
+ -- Stefan Fritsch <sf@debian.org>  Mon, 15 Jun 2009 20:57:05 +0200
+
+apache2-mpm-itk (2.2.6-02-1) unstable; urgency=medium
+
+  * New upstream release.
+    * Fixes a configure test for libcap.
+  * Update Debian package to fix fine-grained capability dropping support.
+    Together with the upstream fixes, this enables capability dropping,
+    which was previously broken. (Closes: #492614)
+    * Run autoheader before autoconf, so HAVE_LIBCAP gets into the right .h
+      file.
+    * Change build-dependency from libcap-dev to libcap2-dev, as libcap-dev is
+      deprecated.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sun, 27 Jul 2008 22:18:26 +0200
+
+apache2-mpm-itk (2.2.6-01-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Correctly determine the dependency on apache2.2-common. (Closes: #477772)
+
+ -- Stefan Fritsch <sf@debian.org>  Wed, 18 Jun 2008 23:09:34 +0200
+
+apache2-mpm-itk (2.2.6-01-3) unstable; urgency=low
+
+  * Use config.nice from apache2-src. This allows us to drop the
+    build-dependency on apache2-prefork-dev.
+    * Bump versioned build-dependency on apache2-src to 2.2.9.
+    * Build-depend on libaprutil1-dev, since we no lenger get it in
+      transitively from apache2-prefork-dev.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sun, 15 Jun 2008 10:11:49 -0700
+
+apache2-mpm-itk (2.2.6-01-2) unstable; urgency=low
+
+  * Update the long description to better reflect the status of the package
+    (it can hardly be called “highly experimental” anymore).
+  * Lintian fixes:
+    * Build-depend on apache2-src (>= 2.2.6) instead of apache2-src
+      (>= 2.2.6-1).
+    * Update to Standards-Version 3.7.3 (no changes needed).
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Tue, 29 Apr 2008 00:55:41 +0200
+
+apache2-mpm-itk (2.2.6-01-1) unstable; urgency=high
+
+  * New upstream release, with patches updated for Apache 2.2.6. Should fix
+    FTBFS (but that FTBFS was silently ignored, see next item).
+    * Update the apache2-src build dependency to at least 2.2.6-1, as I'm
+      unsure of the effects of building with this patch set against older
+      versions.
+  * Use "set -e" in the patch target so failing hunks are not ignored during
+    building.
+  * Updated the homepage URL in debian/copyright, and added
+    licensing/copyright/tarball information.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sat, 05 Jan 2008 12:27:08 +0100
+
+apache2-mpm-itk (2.2.3-04-3) unstable; urgency=medium
+
+  * Provide and conflict with apache2-mpm, in line with new practice from
+    the main Apache package. This replaces the old conflict lines, as well as
+    the Provides: apache2-modules.
+  * apache2-src now contains a top-level directory; adjust debian/rules
+    accordingly so we just unpack the tarball instead of making an apache2.2
+    directory and untarring within that. Fixes FTBFS with newer apache2-src.
+    (Closes: #428919)
+    * Build-depend on apache2-src (>= 2.2.3-5), as this will now FTBFS with
+      older apache2-src versions.
+  * Remove an obsolete comment from the debian/rules source target.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Fri, 15 Jun 2007 13:19:51 +0200
+
+apache2-mpm-itk (2.2.3-04-2) unstable; urgency=low
+
+  * Don't build-depend on libcap-dev for non-Linux architectures, which
+    prevents building on those; patch from Cyril Brulebois.
+    (Closes: #416460)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sat, 19 May 2007 01:48:11 +0200
+
+apache2-mpm-itk (2.2.3-04-1) unstable; urgency=low
+
+  * New upstream release; now with split patches in a tarball (with license
+    and all) instead of one monolithic patch.
+    * Adjust debian/rules accordingly.
+    * Make a "source" target that uses quilt instead of manual patching.
+  * Remove workaround for old apache2-src.
+  * Drop dh_testroot from the clean target, as we do not really need root for
+    it, and it's convenient to be able to just do "debian/rules source" without
+    using fakeroot.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Wed, 25 Apr 2007 14:13:33 +0200
+
+apache2-mpm-itk (2.2.3-01-1) unstable; urgency=low
+
+  * Initial port to Apache 2.2, and upload to Debian.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sun, 29 Oct 2006 23:05:36 +0100
--- apache2-mpm-itk-2.2.6-02.orig/debian/apache2-mpm-itk.preinst
+++ apache2-mpm-itk-2.2.6-02/debian/apache2-mpm-itk.preinst
@@ -0,0 +1,28 @@
+#!/bin/sh -e
+
+#Debian preinstall handling for apache2
+# Thom May <thom@debian.org>
+
+if [ "$2" ] && dpkg --compare-versions "$2" lt 2.2; then
+    if [ -x "/etc/init.d/apache2" ]; then
+        if [ -x /usr/sbin/invoke-rc.d ]; then
+                invoke-rc.d apache2 stop || true
+        else
+                /etc/init.d/apache2 stop || true
+        fi
+    fi
+    chmod -x /usr/sbin/apache2
+fi
+
+case "$1" in
+	install)
+		rm -f /var/cache/apache2/reload
+		;;
+	upgrade)
+		if [ -d /var/cache/apache2 ]; then
+			touch /var/cache/apache2/reload
+		fi
+		;;
+	*)
+		;;
+esac
--- apache2-mpm-itk-2.2.6-02.orig/debian/control
+++ apache2-mpm-itk-2.2.6-02/debian/control
@@ -0,0 +1,21 @@
+Source: apache2-mpm-itk
+Section: net
+Priority: extra
+Build-Depends: apache2-src (>= 2.2.9), libaprutil1-dev, libcap2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], autoconf, debhelper (>> 5.0.0)
+Maintainer: Steinar H. Gunderson <sesse@debian.org>
+Standards-Version: 3.7.3
+
+Package: apache2-mpm-itk
+Provides: apache2-mpm, apache2, httpd, httpd-cgi
+Conflicts: apache2-mpm, apache2-common
+Depends: ${apache:Depends}, ${shlibs:Depends}
+Architecture: any
+Description: multiuser MPM for Apache 2.2
+ The ITK Multi-Processing Module (MPM) works in about the same way as the
+ classical "prefork" module (that is, without threads), except that it allows
+ you to constrain each individual vhost to a particular system user. This
+ allows you to run several different web sites on a single server without
+ worrying that they will be able to read each others' files.
+ .
+ Please note that this MPM is somewhat less tested than the MPMs that come with
+ Apache itself.
--- apache2-mpm-itk-2.2.6-02.orig/debian/apache2-mpm-itk.dirs
+++ apache2-mpm-itk-2.2.6-02/debian/apache2-mpm-itk.dirs
@@ -0,0 +1 @@
+usr/sbin/
--- apache2-mpm-itk-2.2.6-02.orig/debian/apache2-mpm-itk.postinst
+++ apache2-mpm-itk-2.2.6-02/debian/apache2-mpm-itk.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -e
+
+if [ "$1" != "configure" ]; then
+        exit 0
+fi
+
+#enable cgi, but only on new installs.
+if [ -z "$2" ]; then
+	a2dismod cgid >/dev/null || true
+        a2enmod cgi >/dev/null || echo "It looks like you've deleted /etc/apache2/mods-available/cgi.load, so cgi can not be enabled.  To fix this, please purge and reinstall apache2.2-common."
+fi
+
+if [ -x "/etc/init.d/apache2" ]; then
+        update-rc.d apache2 defaults 91 09 >/dev/null
+        if [ -x /usr/sbin/invoke-rc.d ]; then
+                invoke-rc.d apache2 start ||true
+        else
+                /etc/init.d/apache2 start ||true
+        fi
+fi
+
+exit 0
--- apache2-mpm-itk-2.2.6-02.orig/debian/apache2-mpm-itk.prerm
+++ apache2-mpm-itk-2.2.6-02/debian/apache2-mpm-itk.prerm
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# Apache2 prerm
+# Thom May <thom@debian.org>
+
+case "$1" in
+        upgrade|remove)
+                /usr/sbin/invoke-rc.d apache2 stop
+		sleep 2
+        ;;
+        deconfigure|failed-upgrade)
+        ;;
+        *)
+                echo "prerm called with unknown argument \`$1'" >&2
+                exit 1
+        ;;
+esac
+
+exit 0
