diff options
-rw-r--r-- | www-servers/apache/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/apache/Manifest | 26 | ||||
-rw-r--r-- | www-servers/apache/apache-2.4.6-r1.ebuild | 217 |
3 files changed, 234 insertions, 16 deletions
diff --git a/www-servers/apache/ChangeLog b/www-servers/apache/ChangeLog index 5fc58e7a2fe3..7a284f7ae14e 100644 --- a/www-servers/apache/ChangeLog +++ b/www-servers/apache/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/apache # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.238 2013/07/23 20:02:10 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.239 2013/07/25 12:02:02 kensington Exp $ + +*apache-2.4.6-r1 (25 Jul 2013) + + 25 Jul 2013; Michael Palimaka <kensington@gentoo.org> +apache-2.4.6-r1.ebuild: + Fix "invalid mutex directory" error when starting wrt bug #438758. 23 Jul 2013; Agostino Sarubbo <ago@gentoo.org> apache-2.2.25.ebuild: Stable for arm, wrt bug #476568 diff --git a/www-servers/apache/Manifest b/www-servers/apache/Manifest index 79c82892e3ce..b5fba35ed2ec 100644 --- a/www-servers/apache/Manifest +++ b/www-servers/apache/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX 00_systemd.conf 88 SHA256 487e7451ce2d834d8af09a1db09bfe235fbc87b17b13a88bf849f0739b023ce3 SHA512 c510b77450f45d8ca5b8f00ebae5de9e3dc0ecb45f9857e391ac923dadb6b5193b13e9bc372790de20bb8829f2bee5bfc0e85ad03b3a72818c5dd6a0d7f45353 WHIRLPOOL 35ff7234f1ac513a522481ed08d2281dc331835cccd1049dbbadd9f2dff7fce1700a3ae9fd8f2f490f09d82edd960f4a0b4f00a91db2bafb7c647e3b54733cef AUX 2.2.22-envvars-std.in 1071 SHA256 1721b424f2335640e49d71e671a4be15424d29fe90f55fe4f52bd241a998d3ee SHA512 c18fd461f02ab79fc456a1ad99bf91c8891ecdabd90f41437ebf87e20b3d28d2006a10d6726164c2f0333e7aee350bd125838abaff3a188d8ab2f5f34d3e5466 WHIRLPOOL 59cbee68fc8012df01229b8d5e38045eb974bab3f08ebf5b01097dabb5275bb83e28cd09a058ce71949ca4a2439811cff457d4c7df88d7b3fc5318c6b7ef0075 @@ -9,6 +9,7 @@ AUX apache2.4.service 728 SHA256 4420af10d1237f90ae519e56e75f1cc84e9f7c7b63aca9d AUX httpd-2.4.3-mod_systemd.patch 5396 SHA256 d8f5c76dd5eb0edc9759ea300d3b320ee96b6e6f9fabb8a4043f8d1b77b646a2 SHA512 0db785fac6034aa431e9d816bd06020a5b287dbdae794f8b94eb267805981a1d2a97fdb92bd13e32d35329e6db3f799a03e98456329f6a80c5863e72a26e5c59 WHIRLPOOL 4016b9626af1a8ca001518e8a45262ca4dd27a998727db988a8f1234aa7c5d56d439f4ecfdc6219510f57c97991884a7f57eaa83535988cb72e9fd8ffdee7b6e DIST gentoo-apache-2.2.23-20121012.tar.bz2 64135 SHA256 711a88f26c58b10b082f7ff411366cd768f9450101da050438a2f77abeab7333 SHA512 92a49f954b82d4427862f41977625a60641731cc25ab3efdd666be8db839038e7b1c2ef2f878d5efed243eaa63237e88ee4993cd25cca1dfbb0f56a6b2093d57 WHIRLPOOL 221d9c0cf999430afc11a8e48ae67019c7f31daca827a5db7615aca24859788743e5da00e4c99b7b7b375e58fafd6c148339e5671be939dbc30735031e12c49f DIST gentoo-apache-2.4.4-20130227.tar.bz2 24579 SHA256 cf27447dc87b4c145e50a6850245e3ed8d350bc3500bb249035322b23d03ccd2 SHA512 d6e8e37c53c37e9791c9d0ed3501d271212f0d2e2aac757a8a1914f20eb7b3dc0ca7e2d33a6f17dcb3572bc1f01b2c2f5876329ac8c2a4aaa7d2bca8e71f1d84 WHIRLPOOL 6364049b25c0aa21c4336dab7d1af8d3f3d06a60766fe401fc4f818f8ff7764564d136a414c444811612698221d830040ff4c5afb2a379607d5bd32b60260be6 +DIST gentoo-apache-2.4.4-20130725.tar.bz2 24525 SHA256 c155dae39d87acc43ef34b385a2eaf2a45ff9c11d31b1c1791a74f9946335c39 SHA512 95489af418e3674b9d20dc988f4473d5d088d892bb2e6660a46a225667b0427c904d883a19fa3a847778fa00eb8ac0f27e1a5f76f0d65a28eaf0a39747353bbb WHIRLPOOL 1fd36df2db6814d01846cb40be9443aa963a0df9b45647859e901981872f64a8b4ba95aff9a14a8985feb74d51c551ab10c6734a63d5e9d001c53ab3c4383c42 DIST httpd-2.2.24.tar.bz2 5490439 SHA256 0453f5d2d7e3b1975a1c6a8a22b6d6ff768715a3b0a89b51e5f7b5851628fad7 SHA512 e1c24535bb0ae309c249c0a6fbd390064a929d960241e5e68737744f120a88b615bd5d9065fc2f749ee664ed96621c9373576e6ca32bd189d625fcd4dc1b8f01 WHIRLPOOL b24bf388e1be29cc52341d66af00318b3a60ad6db6b4df8c6cc0abf496c4e603d3b733529d21d3d1c37dad0008cacafa8078abdff6c25cb42b3874b6e176713e DIST httpd-2.2.25.tar.bz2 5524905 SHA256 4bcaf3524796a514b31aa5c64ce80b0cdb484bab5735416de29d00f6d50fa65a SHA512 4750e79bdab4ca28c602a808531dfc1482e86bf425d5cb3bcb42a9ccfbbfde5bfd05e66649ea741523c96de6582f5e12facbb1e7d67257bcf78a3ed7a66f80d9 WHIRLPOOL 7ce37be9b66de24cc7259c6e8a0696b496c893933b1c5dbdff5147c279fb644b5d5fc77ed02531b0f081f0c217f684d1bcd98bac26938b23c1d7a4ec085162f6 DIST httpd-2.4.4.tar.bz2 4780289 SHA256 92aabddeca76a4ac7330b143df1407bbf35574c7291c15172238ac598d97655c SHA512 d68789e1e585b4acf26e4e32d063fa512525f8fcc2077b1dbf573dd9f4b47667772d94bb65fefb354fbfae331e87b3fdea422a732838c86d8887eed4b3a76af0 WHIRLPOOL c2ec29a0d52ff1d674f103d0d59c0acd15b194b1102ba5078ef76b62aa959ff92adc5977e095b30c6a778cd9385f9c4ded9bfdc6ce8fba381735ca1aa84aa9f0 @@ -18,24 +19,19 @@ EBUILD apache-2.2.24.ebuild 3098 SHA256 c742f39514dab10ec7732ac351b98fd3a5c4995e EBUILD apache-2.2.25.ebuild 3258 SHA256 c4a397010db491e611e78dc856ad3d5231079d933d3646a55649efd924b57b77 SHA512 2ce4b03f5087d329ebd30a1fd91a25a92d1a5f38fb188db1ae8d71a8f00db03fd2a7423fca83e6fa29c50f31c8bbcf9ee7f39e26e3a2e811d54e6efd666bfb31 WHIRLPOOL 628b0da13e81671816e1a82f1a80585730d76b1ee7fcedaf5b7a64999a773af36f55fed2f9e6d99403cac7ffca392a3bf43d0a659b6e8020dd1de1e236306f80 EBUILD apache-2.4.4-r3.ebuild 7545 SHA256 e1a2d8b84131cb9086e702a189e2e8438062ae7637a8fededd5e3fb67f422dec SHA512 d4bbf08abf58f279abc9bf4c5c34bf8226b2c6eae2f7b332bfcd4bde4735a4f077484478a894cac343be114cb96d90cfadc54fc935ebcbb0460fb7ec30d814e5 WHIRLPOOL 6c4be7a6060d0df07fa64e4f33830e215970ff95dc9b9fbb56f4b366f72909c22c641b1c783fb2428e7e2650b4201c0252550fea5aa7c98925c7ce6c60651ed1 EBUILD apache-2.4.4.ebuild 7122 SHA256 484112ce1681f6ea85f2e7f8c8d106a0831da108ad5e3ecebf4adb26d4973965 SHA512 84d10fb9aff453c4b5f71307799c1f1f65775b5aeba22e4f6fe97e144be08ec3c0150c30331277ce60ab279e66edd0f964fbd684257b1e6834f1ba04d205c2af WHIRLPOOL 6b7d067a8a719a961240255e99388089f56d45f951e33c3c802723cc3375ece4b9b1e94386a666adfcd42abd84871297136134eea7a9cf26f6b29babd2fd8fab +EBUILD apache-2.4.6-r1.ebuild 7418 SHA256 83be2d90be5b68b77366d98617412c19e2756b1224145595cf4b1bfa0cef806e SHA512 7632b30da865a15ed01c08f2eb0a7aa1f90217cfc7c0fc33a26b38623d653770a3d826322a2c8f1a8dd12dd03ac24d3f6970724a8107e8bf12b1ef2d31956ec6 WHIRLPOOL 30b2f1e95005801335d3a3f24b2116453e099aa0826447da94d9f0a4db0c1a887ccb2be54a79982dd1afb2cd1290b491e62f3fae8a7c7151da4bfb3fbc44c149 EBUILD apache-2.4.6.ebuild 7542 SHA256 25a3cdf349400e9345bc0808568310d24ffd92cd3a5f84a17417fc0347789316 SHA512 fbcd2aebb8b22a464e7ed66dfe4dee294d7b53022622df4e6f30346427cc83f72116e3b295a899d852ad399c921ddaf8f7b600deacbfd9889550f976e6e3e366 WHIRLPOOL f1bfa32c781c4164a40eb5d7ebe70f03aa7e71af0726cdddcfebaed2bd3e172cb8f2e0d29fc55946344594c74b9701d4ed8dc580afd03d35bc9b4f7702f27548 -MISC ChangeLog 20401 SHA256 14a6d92ff1222400b13fbe8fdd7bd390a2a913e1f962bb40aba7bd990c7496b0 SHA512 e569ed90b70d6379ad7704871b6ba0f2ee0af653637db1bf6713e796728d7406d42e3a31146cfd2cf923d653b18222598b65ff5e06a64e9f14edd072a3f6f4e4 WHIRLPOOL 3daf19b791f40073d5abfe6ecbe9f39a830c7f1d10476f17650a1a7cdbb7db27a4fec013732b7f19c03d4d63e75cef315cd2b3bb0ae7f361de22b84357798614 +MISC ChangeLog 20591 SHA256 2cca2493de624110ba2ca9fa3d298cd9b0cf84f2216bb8390913b212e76002cb SHA512 a1c08bdfe8bce7ccae990d5488fb98dd4607e8187d2ed4f5f0bd385ab7c8dfe074895f428bdcf598421d528b5958cf9963125ee2d5c514dc52c63ba7f863d968 WHIRLPOOL 79c0d6f909a9ac64762ccb2bf1b9cbb0e4acf5ea522275233204c4c0399630b099dde78a97a2607cc0c58d06eaa307201c98bf240f47cd11621052e6e8400f80 MISC ChangeLog-2008 105137 SHA256 4afec18ad3c76df40314edb37b5512f81ca6223c38a899534d9d15342481accf SHA512 92dfd339b1c4ddec29222076a597220dc7faa504e2ee770339892f155febbf34004e60395f9eb21b43d3b1feb5f362c2946b69cc65151b5ba00fb53b35ccb9c6 WHIRLPOOL 89d77300aafb53ae0632904118064de19313fe51f635512314471e845574e7a624a770ae4ca4e335cff67d4fee92e062d28ef985a54c577a1b8b3ea0f621c0f8 MISC metadata.xml 2492 SHA256 f132bc37567605f338e23ed6ec22c553e1443d2b6cf407ab0bcff359fc9b3f90 SHA512 0582259bc2d615f1f640d375aab4452613a4006dca03c8bcf9757c376599bc2c7789df44003db914e2e3a5cd5a3ce725b0bf76d92488f65c67f4859927c83d11 WHIRLPOOL 6e826e0847788527dc2499e10c8c4ec59b78e2e4859b23127c26f103fc679c1516720be587ee25753c52d04f0544e634f553a769bed2d24db8442d57be22d26f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJR7uCHAAoJELp701BxlEWfCl0QALUL8ofvdBdqIEVxCWAjXe1U -MmdwfQsUE3xRKtAn1ukNyjczGE6tyUd8pP3bKqTlJ7hlwrjSzjdOatScKU279Iij -+jF4ag7CrpcB8Txc8RvZMHEK+hV+HlOVH7lumCW3aNxPv0JK/xYCmxzQ2HOZa62W -whZFjzo/sEMSTo7VLJBqjk8Z5KR713l8CEUZjLIMzNEMyBaQmUJK/vE3ck4zdbWw -hZ1QnK5DanRPjODrKpjOQfJEByOsuPRafAtrTpmDI5qWpO7ZmoOEQfbJQxD1ufzi -+Dac+iwtEI6FteWQqiULUvq0ED16rx6MNU9diuSE2rGQcTwREMbfPGBvIPg0qa76 -sda6NkBKRvQk3xnLfB4eQK5vb14ZsNzCPDxqwo0VJdHH4QX1LugK9dwehsiJk11v -GWkqeGDolijkK0EdMQ5ItP5WS4A8NQSLThyXXEiFFKMrodQ76twlINB+lx8HDfr4 -Ay4kIlQmzjKyp7w0X5FYVexlASKDoQKn2b/rCpiMmZ3O2vAaJ9NSGXWVd+1GvWE8 -9ByiMKInMiz1TQpWlh/jyUIvKN7jI71r4GED9aodQdeRD2YtWmrEq+xk0KNxJlDj -i9lNl066t7J5aEc5jeTvKZIAu75nsGrvSR62BH6kRUuFKGinCqeXrXFGP1bdTPWI -iNxSNpKYHJ/JcaMerrSz -=sxzw +iQEcBAEBCAAGBQJR8RNDAAoJEMbwO6tnXQ0sdw4H/284LJBgege0SO/fdcG4mgaY +DS87VTx3B/VPT4FsDhvA8Ji8OvSm8xtku2GuKsit3I/4ENe/QHAN5fOZUiwaTDFm +uvwKItDKdBJHGAtSVI5q6g1w76tFCpxLVHTjL+d5DSnBAqcLosCX2amEHTLwd+fs +cx8guzyTs+CmYgRGnIyFvWvq7uQK0utp2KqlfP6LjmlaaI1CehbSDj3z//w5yUn7 +fmMKlPSeB+5R3JAs3wxLXOXN3dE4gcmHa8VD40ZqPsO1X6qElxseaF3GHeYJ2JBe +yZ6+iH20QMqoewiMLxmpPS6f1BnmXqx5raNCJA6D7nsxP4VP4EMTGLwHX7r59oA= +=jidg -----END PGP SIGNATURE----- diff --git a/www-servers/apache/apache-2.4.6-r1.ebuild b/www-servers/apache/apache-2.4.6-r1.ebuild new file mode 100644 index 000000000000..901b4088ad56 --- /dev/null +++ b/www-servers/apache/apache-2.4.6-r1.ebuild @@ -0,0 +1,217 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.6-r1.ebuild,v 1.1 2013/07/25 12:02:02 kensington Exp $ + +EAPI="2" + +# latest gentoo apache files +GENTOO_PATCHSTAMP="20130725" +GENTOO_DEVELOPER="kensington" +GENTOO_PATCHNAME="gentoo-apache-2.4.4" + +# IUSE/USE_EXPAND magic +IUSE_MPMS_FORK="itk peruser prefork" +IUSE_MPMS_THREAD="event worker" + +# << obsolete modules: +# authn_default authz_default mem_cache +# mem_cache is replaced by cache_disk +# ?? buggy modules +# proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found +# >> added modules for reason: +# compat: compatibility with 2.2 access control +# authz_host: new module for access control +# authn_core: functionality provided by authn_alias in previous versions +# authz_core: new module, provides core authorization capabilities +# cache_disk: replacement for mem_cache +# lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3 +# lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3 +# lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3 +# lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3 +# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests). +# socache_shmcb: shared object cache provider. Default config with ssl needs it +# unixd: fixes startup error: Invalid command 'User' +IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon +authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm +authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta +charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir dumpio +env expires ext_filter file_cache filter headers ident imagemap include info +lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat +log_config log_forensic logio mime mime_magic negotiation proxy +proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi proxy_fcgi +rewrite ratelimit remoteip reqtimeout setenvif slotmem_shm speling socache_shmcb status substitute +unique_id userdir usertrack unixd version vhost_alias" +# The following are also in the source as of this version, but are not available +# for user selection: +# bucketeer case_filter case_filter_in echo http isapi optional_fn_export +# optional_fn_import optional_hook_export optional_hook_import + +# inter-module dependencies +# TODO: this may still be incomplete +MODULE_DEPENDS=" + dav_fs:dav + dav_lock:dav + deflate:filter + cache_disk:cache + ext_filter:filter + file_cache:cache + lbmethod_byrequests:proxy_balancer + lbmethod_byrequests:slotmem_shm + lbmethod_bytraffic:proxy_balancer + lbmethod_bybusyness:proxy_balancer + lbmethod_heartbeat:proxy_balancer + log_forensic:log_config + logio:log_config + cache_disk:cache + mime_magic:mime + proxy_ajp:proxy + proxy_balancer:proxy + proxy_connect:proxy + proxy_ftp:proxy + proxy_http:proxy + proxy_scgi:proxy + proxy_fcgi:proxy + substitute:filter +" + +# module<->define mappings +MODULE_DEFINES=" + auth_digest:AUTH_DIGEST + authnz_ldap:AUTHNZ_LDAP + cache:CACHE + cache_disk:CACHE + dav:DAV + dav_fs:DAV + dav_lock:DAV + file_cache:CACHE + info:INFO + ldap:LDAP + proxy:PROXY + proxy_ajp:PROXY + proxy_balancer:PROXY + proxy_connect:PROXY + proxy_ftp:PROXY + proxy_http:PROXY + proxy_fcgi:PROXY + socache_shmcb:SSL + ssl:SSL + status:STATUS + suexec:SUEXEC + userdir:USERDIR +" + +# critical modules for the default config +MODULE_CRITICAL=" + authn_core + authz_core + authz_host + dir + mime + unixd +" +# dependend criticals +use ssl && MODULE_CRITICAL+=" socache_shmcb" +use doc && MODULE_CRITICAL+=" alias negotiation setenvif" + +inherit eutils apache-2 systemd + +DESCRIPTION="The Apache Web Server." +HOMEPAGE="http://httpd.apache.org/" + +# some helper scripts are Apache-1.1, thus both are here +LICENSE="Apache-2.0 Apache-1.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="${DEPEND} + >=dev-libs/openssl-0.9.8m + apache2_modules_deflate? ( sys-libs/zlib )" + +# dependency on >=dev-libs/apr-1.4.5 for bug #368651 +RDEPEND="${RDEPEND} + >=dev-libs/apr-1.4.5 + >=dev-libs/openssl-0.9.8m + apache2_modules_mime? ( app-misc/mime-types )" + +# init script fixup - should be rolled into next tarball #389965 +src_prepare() { + # the following patch can be removed once it is included in + # GENTOO_PATCHNAME="gentoo-apache-2.4.1" ... + if [ -f "${FILESDIR}/${GENTOO_PATCHNAME}-${GENTOO_DEVELOPER}-${GENTOO_PATCHSTAMP}-${PVR}.patch" ]; then + cd "${GENTOO_PATCHDIR}" || die "Failed to cd to ${GENTOO_PATCHDIR}" + epatch "${FILESDIR}/${GENTOO_PATCHNAME}-${GENTOO_DEVELOPER}-${GENTOO_PATCHSTAMP}-${PVR}.patch" \ + || die "epatch failed" + cd "${S}" || die "Failed to cd to ${S}" + fi + apache-2_src_prepare + sed -i -e 's/! test -f/test -f/' "${GENTOO_PATCHDIR}"/init/apache2.initd || die "Failed to fix init script" +} + +src_install() { + apache-2_src_install + for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do + rm "${D}"/$i || die "Failed to prune apache-tools bits" + done + for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do + rm "${D}"/$i || die "Failed to prune apache-tools bits" + done + for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do + rm "${D}"/$i || die "Failed to prune apache-tools bits" + done + for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do + rm "${D}/"$i || die "Failed to prune apache-tools bits" + done + + # well, actually installing things makes them more installed, I guess? + cp "${S}"/support/apxs "${D}"/usr/sbin/apxs || die "Failed to install apxs" + chmod 0755 "${D}"/usr/sbin/apxs + + # Note: wait for mod_systemd to be included in the next release, + # then apache2.4.service can be used and systemd support controlled + # through --enable-systemd + systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service" + systemd_dotmpfilesd "${FILESDIR}/apache.conf" + #insinto /etc/apache2/modules.d + #doins "${FILESDIR}/00_systemd.conf" +} + +pkg_postinst() +{ + apache-2_pkg_postinst || die "apache-2_pkg_postinst failed" + # warnings that default config might not work out of the box + for mod in $MODULE_CRITICAL; do + if ! use "apache2_modules_${mod}"; then + echo + ewarn "Warning: Critical module not installed!" + ewarn "Modules 'authn_core', 'authz_core' and 'unixd'" + ewarn "are highly recomended but might not be in the base profile yet." + ewarn "Default config for ssl needs module 'socache_shmcb'." + ewarn "Enabling the following flags is highly recommended:" + for cmod in $MODULE_CRITICAL; do + use "apache2_modules_${cmod}" || \ + ewarn "+ apache2_modules_${cmod}" + done + echo + break + fi + done + # warning for proxy_balancer and missing load balancing scheduler + if use apache2_modules_proxy_balancer; then + local lbset= + for mod in lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat; do + if use "apache2_modules_${mod}"; then + lbset=1 && break + fi + done + if [ ! $lbset ]; then + echo + ewarn "Info: Missing load balancing scheduler algorithm module" + ewarn "(They were split off from proxy_balancer in 2.3)" + ewarn "In order to get the ability of load balancing, at least" + ewarn "one of these modules has to be present:" + ewarn "lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" + echo + fi + fi +} |