summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mpm_itk')
-rw-r--r--www-apache/mpm_itk/ChangeLog10
-rw-r--r--www-apache/mpm_itk/Manifest26
-rw-r--r--www-apache/mpm_itk/files/00_mpm_itk.conf5
-rw-r--r--www-apache/mpm_itk/metadata.xml8
-rw-r--r--www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild51
5 files changed, 100 insertions, 0 deletions
diff --git a/www-apache/mpm_itk/ChangeLog b/www-apache/mpm_itk/ChangeLog
new file mode 100644
index 000000000000..dab05690c7b5
--- /dev/null
+++ b/www-apache/mpm_itk/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apache/mpm_itk
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mpm_itk/ChangeLog,v 1.1 2014/05/28 02:23:41 mjo Exp $
+
+*mpm_itk-2.4.7_p2 (28 May 2014)
+
+ 28 May 2014; Michael Orlitzky <mjo@gentoo.org> +files/00_mpm_itk.conf,
+ +metadata.xml, +mpm_itk-2.4.7_p2.ebuild:
+ New package: www-apache/mpm_itk, for itk support in apache-2.4. Fixes bug
+ #410451.
diff --git a/www-apache/mpm_itk/Manifest b/www-apache/mpm_itk/Manifest
new file mode 100644
index 000000000000..1e08662923cc
--- /dev/null
+++ b/www-apache/mpm_itk/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 00_mpm_itk.conf 130 SHA256 b79114947e786e190e261b0885aa8b35f41566020543a1e1869b66f43ae7acd4 SHA512 ac997b764631d90e4bbf37d3ccaaad55d555e8829c25a5feb5c018ac4505328692d7e781d15a6ada861320726a423af75d870428834e103092e65b4874593980 WHIRLPOOL db514919c753fe7979251facf423a4bb084f6a0cdc41359f188789834b9dfec0224ee09a51f8475a22e217d3762669f800bab7e2d415adefa4e8162eec292155
+DIST mpm-itk-2.4.7-02.tar.gz 45450 SHA256 f12656326a1d3b92fefe63446032f0939ed9c803d4d9a1f89bae318eb3432e75 SHA512 d5430662b926821b9c17e1d38d4ade61e9ecf886f53c93de700d835abe6f967cfcdba63e7a4c7e5613043a66ca2356fcea45b572322d09c885fd3af46adb3505 WHIRLPOOL 7fc70f900c5d605059d341d46c5f95662e17eaedb44bce0713d31d39ac618970402b5f6850b806f9d5c807354be72a9e7b27414781f43a1b868634ee629b0a94
+EBUILD mpm_itk-2.4.7_p2.ebuild 1243 SHA256 f7a5292619a329fb50e638c976aa9714f0a34405908672eb09fbc6d688c5acb7 SHA512 e80d38479add7cce7d2c3a14e755ba959dbc017060387e5c11a7ee376d0fe60cd67cf30bd6c74ee39a1353937c0740d4029e6cebb7c7a200a67134f2a9ad501a WHIRLPOOL acc92f83316f192bcde2871d5adeae6aa01f2e7b413368eca2137ba555bea48d6e5b42ea27cb992e628a3d960ec61f14c856199d8d2285588f9f5e3157572161
+MISC metadata.xml 220 SHA256 1a163079bc0e544c30498c16b6ed29c2da5634a3fdff972d0fc2875860283af1 SHA512 0afd13e69acfda5fa7481b5b0aae135d019f780145ebaca1e39913c5f69aa357164b1d24b9da3d21e6be68f8c3f5d5621485bae1eb61266576872d7e8dd61dfe WHIRLPOOL 601860b79dd6ab358ec3438762dd9032cc8ba863a30170376d40602ccbd17dbb836c163136997622f60cf381cbe7df79844ae6979431c1e3611b51be84714e01
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJThUCXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNEU5RDcyRDdCMUFGREVGQzBCNDFDMUY2
+RjQ4RDNEQTA1QzJEQURCAAoJEG9I09oFwtrbUtQP/jROpwvpvM2s0ocM3jXJ4b3/
+KlQARaYvjCTGWEDCdbVvS715NDxHFkbjRAf5GtNIERhbGH36JXMTw/rYxQUEul0/
+jtPO3/AnWuY2tUt1VqEHcDZOHeLyv1DBneYWYOME1S4eVRieYsdYS3NA9Uk12+2J
+id04zDer+95Wg8p3lpSlIADCxg9Smee+w11SkHZJ+oLcMSFS4wfVHB58eVDDkKrm
+DdukEsv8OYfeEWX/zcFNyOc4YUJYMkpChhewk+u1b8dvflU/8EidX7NKMbf/uIo7
+vFz3K1NBv6umnZiupg77veEa1JHRnpDnOw2cbx1R/KdhTOAjhUWMHXs0ulVtQ2IN
+JpcPFbbe535vzHl2AjDKKrXHPldz6/PnlBfuOvPI6cBM/Col3KLpWjZECf2JBo70
+wxA0651J00Qgf3g6cjcQkx8F+9VizOQVOO0ddYOTufe00MTtlRARs2AUi/WbixXM
+BMw30gsQpMOID8XyPYnmYmf9kRFtY06xSgFG3nkHd7Hn+rcGnfYsMZBZvPAb8PyM
+2tXYIVa4YtPVKRQ1I0rIIdrnL2gkNVYlTAizdS/qdzUkJA9z92mhAcz+HQPPYxY0
+gc/Nk3ZzDc7cRKjmOAy36KUOrqioL/kXqUoenZm7lGpnDfUySJjNHjdxUE7fhJf1
+2lDcKH6JF3ovbiHAl6A3
+=x6d8
+-----END PGP SIGNATURE-----
diff --git a/www-apache/mpm_itk/files/00_mpm_itk.conf b/www-apache/mpm_itk/files/00_mpm_itk.conf
new file mode 100644
index 000000000000..bb77e57aec6c
--- /dev/null
+++ b/www-apache/mpm_itk/files/00_mpm_itk.conf
@@ -0,0 +1,5 @@
+<IfDefine MPM_ITK>
+ LoadModule mpm_itk_module modules/mpm_itk.so
+ LimitUIDRange 1000 2000
+ LimitGIDRange 1000 2000
+</IfDefine>
diff --git a/www-apache/mpm_itk/metadata.xml b/www-apache/mpm_itk/metadata.xml
new file mode 100644
index 000000000000..ff7dac8af886
--- /dev/null
+++ b/www-apache/mpm_itk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild b/www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild
new file mode 100644
index 000000000000..19fae3877839
--- /dev/null
+++ b/www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild,v 1.1 2014/05/28 02:23:41 mjo Exp $
+
+EAPI=5
+inherit apache-module linux-info
+
+MY_PN=${PN/_/-}
+MY_PV=${PV/_p/-0}
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="Run virtual hosts under separate users/groups"
+HOMEPAGE="http://mpm-itk.sesse.net/"
+SRC_URI="http://mpm-itk.sesse.net/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+# The libcap dependency is automagic, so we require it
+# unconditionally. Reported upstream at,
+#
+# http://lists.err.no/pipermail/mpm-itk/2014-May/000808.html
+#
+#
+# The -threads USE dependency is only reliable as long as we don't
+# support building more than one MPM. See bug #511658.
+#
+DEPEND="sys-libs/libcap
+ >=www-servers/apache-2.4.7[-threads]"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_CONF="00_${PN}"
+APACHE2_MOD_DEFINE="MPM_ITK"
+APXS2_ARGS="-c ${PN}.c seccomp.c -lcap"
+need_apache2_4
+
+pkg_setup() {
+ CONFIG_CHECK="~SECCOMP"
+ linux-info_pkg_setup
+
+ local minkv="3.5"
+ if kernel_is -lt ${minkv//./ }; then
+ ewarn "A kernel newer than ${minkv} (with seccomp v2) is needed"
+ ewarn "for LimitUIDRange and LimitGIDRange which we include by"
+ ewarn "default in ${APACHE2_MOD_CONF}.conf."
+ fi
+}