diff options
-rw-r--r-- | www-apache/mpm_itk/Manifest | 31 | ||||
-rw-r--r-- | www-apache/mpm_itk/files/00_mpm_itk.conf | 5 | ||||
-rw-r--r-- | www-apache/mpm_itk/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/mpm_itk/mpm_itk-2.4.7_p2.ebuild | 51 |
4 files changed, 80 insertions, 15 deletions
diff --git a/www-apache/mpm_itk/Manifest b/www-apache/mpm_itk/Manifest index 1e08662923cc..d70e8d7d7a42 100644 --- a/www-apache/mpm_itk/Manifest +++ b/www-apache/mpm_itk/Manifest @@ -3,24 +3,25 @@ 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 +EBUILD mpm_itk-2.4.7_p2.ebuild 1344 SHA256 1c8f3ab143044e11df7bed8c696e190a733bf0df2f4478e602bd30f1e1ad0356 SHA512 afc9997ee9b94dc6bb6775cf6565bcfb5f137162ee0574306aad5e60024845ed7a4ff60890b842f4a513d7554c39f9818388e23b7728084e5cf47d42f3e12eaa WHIRLPOOL b7225a7dc486c64e2384dbd5e3994e174021196313232acc864f7d9fa2faacd4040e205bcb09f8bb24e17c01b572d708891776f0d54b8a0d5ae6859d784a3fd5 +MISC ChangeLog 442 SHA256 2212b01c3beae0003ab8e564e5cb7023188474684666209b78413ec447cec04a SHA512 e83b067dcc5b03e9c75e93e5698c80072ea4be85aaa9481babde1afafab1682eaa2a780e26e1ac26b273a72c1f56e759a0fb43c1480c1e7579714ab6b901dbfd WHIRLPOOL 1e4963e4411c0c480590b02bfd30af798bad90435410818a0521ae779a4555685f575adcd4de1607037b09f1c35af6295cbe8641c5ba28b02c5fae7fd499648f MISC metadata.xml 220 SHA256 1a163079bc0e544c30498c16b6ed29c2da5634a3fdff972d0fc2875860283af1 SHA512 0afd13e69acfda5fa7481b5b0aae135d019f780145ebaca1e39913c5f69aa357164b1d24b9da3d21e6be68f8c3f5d5621485bae1eb61266576872d7e8dd61dfe WHIRLPOOL 601860b79dd6ab358ec3438762dd9032cc8ba863a30170376d40602ccbd17dbb836c163136997622f60cf381cbe7df79844ae6979431c1e3611b51be84714e01 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQJ8BAEBCABmBQJThUCXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJThUiyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNEU5RDcyRDdCMUFGREVGQzBCNDFDMUY2 -RjQ4RDNEQTA1QzJEQURCAAoJEG9I09oFwtrbUtQ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QxiYMoATWU2ffTEk +w9Sy5BEGETSGb6ch48RhOZ7EP1T/LV3MsKuZskkkj1c0ktcab0klotdg8kMRda34 +V+GVg0kmmAF3N3yOyVbRyx86YiMy00GKWuY7V0lG4/uOLG5a19Vylo3Uwnbk5Wz6 +8a7DrnkXf4+s4B666dixszo4CyaeFJX+Sf8BSd2CeKY9Kk3GYbIvJ5+VPuIwdA3y +0kX05vFVzk1Q4rfUMKulamZc/14XgCcp5Xf2sH+CgzLoAENIR3lCmAIbWFInGxbO +3O/kJHbFLmSSHmZRqeS+dZnXEt20raPIFa7kpfRaEtyTbr2gZzBCVbEvMjYRmyaU +CIKnUXqa49IDrJUR9mSJ +=1Oj4 -----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 +} |