www-servers/apache: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@362 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-03-28 19:23:43 +00:00
parent 2cc238b426
commit 37e6e7a93a
4 changed files with 364 additions and 40 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
28 Mar 2008; Mario Fetka <mario-fetka@gmx.at> +apache-2.2.8.ebuild,
+apache-2.2.8-r102.ebuild:
Bump
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> apache-2.2.8-r100.ebuild: 19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> apache-2.2.8-r100.ebuild:
correct typo correct typo

View File

@ -1,54 +1,19 @@
AUX apache-2.2.6-r102.patch 2593 RMD160 24d27bf6c9f9f7b6656d3bdbc72cdbf63d454250 SHA1 659e47e2848a1fdcb07e196a32f46a3f3673aab6 SHA256 8770598b10ba86dfac7ac414049e6367718cdcc75da8567fe2c5266e4fa10ffe AUX apache-2.2.6-r102.patch 2593 RMD160 24d27bf6c9f9f7b6656d3bdbc72cdbf63d454250 SHA1 659e47e2848a1fdcb07e196a32f46a3f3673aab6 SHA256 8770598b10ba86dfac7ac414049e6367718cdcc75da8567fe2c5266e4fa10ffe
MD5 b3dfd050a6eb7df9cd90bc9f5c04dab9 files/apache-2.2.6-r102.patch 2593
RMD160 24d27bf6c9f9f7b6656d3bdbc72cdbf63d454250 files/apache-2.2.6-r102.patch 2593
SHA256 8770598b10ba86dfac7ac414049e6367718cdcc75da8567fe2c5266e4fa10ffe files/apache-2.2.6-r102.patch 2593
DIST gentoo-apache-2.2.6-r102-20071020.tar.bz2 58752 RMD160 705f6913612dd02b21e0ce0399a80899be688ac2 SHA1 26bffdc3490261c8abd9826e8dc0934fd4f148ee SHA256 e208bd87a3cd0708ade1176bda1d5ea95c250dc1260c1a231b00ce32d4028467 DIST gentoo-apache-2.2.6-r102-20071020.tar.bz2 58752 RMD160 705f6913612dd02b21e0ce0399a80899be688ac2 SHA1 26bffdc3490261c8abd9826e8dc0934fd4f148ee SHA256 e208bd87a3cd0708ade1176bda1d5ea95c250dc1260c1a231b00ce32d4028467
DIST gentoo-apache-2.2.6-r103-20071110.tar.bz2 61229 RMD160 8ed21ba3d8abb74711fb58498c063de7ed4cadf9 SHA1 34e6eafac4fd08416034f04acde092d47aadf9bc SHA256 1ddb42d76ac4f7deaef42fe5e8b5e6f4a410c6d1f53e64fef84ea58ae03d3d84 DIST gentoo-apache-2.2.6-r103-20071110.tar.bz2 61229 RMD160 8ed21ba3d8abb74711fb58498c063de7ed4cadf9 SHA1 34e6eafac4fd08416034f04acde092d47aadf9bc SHA256 1ddb42d76ac4f7deaef42fe5e8b5e6f4a410c6d1f53e64fef84ea58ae03d3d84
DIST gentoo-apache-2.2.6-r107-20080107.tar.bz2 61517 RMD160 8eb40ba3b664d522f331f549b7ae1affbf6bfa31 SHA1 4c43183a69acb8fb41ffcf1f60318596d217d49f SHA256 936c7393bdec160e57a11e43b0de0c08378a8fe4cdaa5ba424d369c8d5950e45 DIST gentoo-apache-2.2.6-r107-20080107.tar.bz2 61517 RMD160 8eb40ba3b664d522f331f549b7ae1affbf6bfa31 SHA1 4c43183a69acb8fb41ffcf1f60318596d217d49f SHA256 936c7393bdec160e57a11e43b0de0c08378a8fe4cdaa5ba424d369c8d5950e45
DIST gentoo-apache-2.2.6-r99-20070921.tar.bz2 58066 RMD160 85285c079b6e975c2bfcd8b8ed8070ae6f8ee7cb SHA1 fb3f091b2e5a3cfab912535c50b5286bd65b813a SHA256 d10754cb517ea68a717e5da6bb5897b103a3e5ac864e99ada8e35c69e1da9c89 DIST gentoo-apache-2.2.6-r99-20070921.tar.bz2 58066 RMD160 85285c079b6e975c2bfcd8b8ed8070ae6f8ee7cb SHA1 fb3f091b2e5a3cfab912535c50b5286bd65b813a SHA256 d10754cb517ea68a717e5da6bb5897b103a3e5ac864e99ada8e35c69e1da9c89
DIST gentoo-apache-2.2.8-20080119.tar.bz2 60363 RMD160 c54970fdbd8e5906db5a86d383e15d5f542f2ab2 SHA1 48e98685c38e6940f2ea120419ce8d3c216a054e SHA256 6086dcf40451c348305e100551ebb1516050b50803e837cfcf53fa53ffd4d292
DIST gentoo-apache-2.2.8-r100-20080119.tar.bz2 60365 RMD160 8713e314c2813d332a20717b5e792954b3d1b18a SHA1 37e6ae8b93c432c89c9c6350bf2f81bad8aa4962 SHA256 a0876fbcd7892b24cd22ba0f13cc04b023beeae4db7bc558c910c70e8d751453 DIST gentoo-apache-2.2.8-r100-20080119.tar.bz2 60365 RMD160 8713e314c2813d332a20717b5e792954b3d1b18a SHA1 37e6ae8b93c432c89c9c6350bf2f81bad8aa4962 SHA256 a0876fbcd7892b24cd22ba0f13cc04b023beeae4db7bc558c910c70e8d751453
DIST gentoo-apache-2.2.8-r102-20080322.tar.bz2 59869 RMD160 0a8496d587144b4ef547c33a9058462d6fe48a80 SHA1 e42acd7aacd4dbf82e0668bbb5a1b020862eaa41 SHA256 c1a8fd26a6198521bd2adebccbec77455b441e0a526d6154f5fdc6ef2794adb9
DIST httpd-2.2.6.tar.bz2 4717066 RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f SHA1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c DIST httpd-2.2.6.tar.bz2 4717066 RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f SHA1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c
DIST httpd-2.2.8.tar.bz2 4799055 RMD160 0736ea9617bafaa1c8cd34ce4fc1c7a659afea57 SHA1 5074904435d3d942ce2dc96c44b07294b8eaca77 SHA256 2ad8d0db1e478838ba88a0ddaf538c7150027d937b017739fdcb3fabb96ebd39 DIST httpd-2.2.8.tar.bz2 4799055 RMD160 0736ea9617bafaa1c8cd34ce4fc1c7a659afea57 SHA1 5074904435d3d942ce2dc96c44b07294b8eaca77 SHA256 2ad8d0db1e478838ba88a0ddaf538c7150027d937b017739fdcb3fabb96ebd39
EBUILD apache-2.2.6-r102.ebuild 16331 RMD160 feb61aae899968d8e4f85187e05ca66d2f78c679 SHA1 b203f3caa5ff19826c6b2c5e3efe1f48af22902a SHA256 39160a715f18abf318a01574884d773ddfab32a0c218ffceba3238653ea8715a EBUILD apache-2.2.6-r102.ebuild 16331 RMD160 feb61aae899968d8e4f85187e05ca66d2f78c679 SHA1 b203f3caa5ff19826c6b2c5e3efe1f48af22902a SHA256 39160a715f18abf318a01574884d773ddfab32a0c218ffceba3238653ea8715a
MD5 9172f6c426d98505ed01dfed8a7ac5e5 apache-2.2.6-r102.ebuild 16331
RMD160 feb61aae899968d8e4f85187e05ca66d2f78c679 apache-2.2.6-r102.ebuild 16331
SHA256 39160a715f18abf318a01574884d773ddfab32a0c218ffceba3238653ea8715a apache-2.2.6-r102.ebuild 16331
EBUILD apache-2.2.6-r103.ebuild 16331 RMD160 9bc077436e2dde5c8288717219a5b04447a3440e SHA1 f78f865f19170dd42b5aeb1ecb44a71e2d0878fe SHA256 45a2303ad6e444e037ced407a1161b4f2fddb3b552ed1d4a88c43d754826bcee EBUILD apache-2.2.6-r103.ebuild 16331 RMD160 9bc077436e2dde5c8288717219a5b04447a3440e SHA1 f78f865f19170dd42b5aeb1ecb44a71e2d0878fe SHA256 45a2303ad6e444e037ced407a1161b4f2fddb3b552ed1d4a88c43d754826bcee
MD5 236a72eb998e4db49f2da6f5fdfc8fbe apache-2.2.6-r103.ebuild 16331
RMD160 9bc077436e2dde5c8288717219a5b04447a3440e apache-2.2.6-r103.ebuild 16331
SHA256 45a2303ad6e444e037ced407a1161b4f2fddb3b552ed1d4a88c43d754826bcee apache-2.2.6-r103.ebuild 16331
EBUILD apache-2.2.6-r107.ebuild 5182 RMD160 7fa9f8db97a591374904cc62689e64ccc2ea75c1 SHA1 d9c876cb693ee9a8d541e6caa81baaefbea75cb8 SHA256 a0059b5a403e5b77256347101b73ca274e664f7b710fbaff4ad1298e7dc15951 EBUILD apache-2.2.6-r107.ebuild 5182 RMD160 7fa9f8db97a591374904cc62689e64ccc2ea75c1 SHA1 d9c876cb693ee9a8d541e6caa81baaefbea75cb8 SHA256 a0059b5a403e5b77256347101b73ca274e664f7b710fbaff4ad1298e7dc15951
MD5 f722192720747e04d454d350a66cc59d apache-2.2.6-r107.ebuild 5182
RMD160 7fa9f8db97a591374904cc62689e64ccc2ea75c1 apache-2.2.6-r107.ebuild 5182
SHA256 a0059b5a403e5b77256347101b73ca274e664f7b710fbaff4ad1298e7dc15951 apache-2.2.6-r107.ebuild 5182
EBUILD apache-2.2.6-r99.ebuild 16198 RMD160 c65320efc11db2097567991a198981c7446284b6 SHA1 bcad52bbb6ef4fb2280ae80c2b2d1362540f1580 SHA256 be5295da5ede9286b52b2a1f8e167a13814b21abef6d5759fe2ec13abde4e6d4 EBUILD apache-2.2.6-r99.ebuild 16198 RMD160 c65320efc11db2097567991a198981c7446284b6 SHA1 bcad52bbb6ef4fb2280ae80c2b2d1362540f1580 SHA256 be5295da5ede9286b52b2a1f8e167a13814b21abef6d5759fe2ec13abde4e6d4
MD5 ec61850f97c4061bf1e91de3947bddcd apache-2.2.6-r99.ebuild 16198
RMD160 c65320efc11db2097567991a198981c7446284b6 apache-2.2.6-r99.ebuild 16198
SHA256 be5295da5ede9286b52b2a1f8e167a13814b21abef6d5759fe2ec13abde4e6d4 apache-2.2.6-r99.ebuild 16198
EBUILD apache-2.2.8-r100.ebuild 5190 RMD160 f31a484441c1e92ce3618be0998862f22e617427 SHA1 19db8cb0e6c9fa987f9bbe87643fe542baf38ab7 SHA256 b49022b128cd63900028b51386d09933030aa33388496a8a0cfbcf52b6024189 EBUILD apache-2.2.8-r100.ebuild 5190 RMD160 f31a484441c1e92ce3618be0998862f22e617427 SHA1 19db8cb0e6c9fa987f9bbe87643fe542baf38ab7 SHA256 b49022b128cd63900028b51386d09933030aa33388496a8a0cfbcf52b6024189
MD5 7944fdaede6ae9dca69d57f0b726b75d apache-2.2.8-r100.ebuild 5190 EBUILD apache-2.2.8-r102.ebuild 5230 RMD160 d8a79cbc1253739795e1216aedf7b5561bcc00ae SHA1 1bd7106850df504cca69cb1afaf087ccae02b22e SHA256 45617eac919d7a72bf4a507fe411d67593cd8dd66a52cfa864123222449191f2
RMD160 f31a484441c1e92ce3618be0998862f22e617427 apache-2.2.8-r100.ebuild 5190 EBUILD apache-2.2.8.ebuild 5175 RMD160 52d5e26de8274a92e1d06cdbf221cac02e6e2b28 SHA1 fc0ace217cc63fa40c048428cd385cd01331f972 SHA256 220020b754266d2530f7e8b783d8c8f447ed1d2588a296a8304d61c52ea06051
SHA256 b49022b128cd63900028b51386d09933030aa33388496a8a0cfbcf52b6024189 apache-2.2.8-r100.ebuild 5190 MISC ChangeLog 989 RMD160 aa440e8dfff2bdfe2c57c79b2eab5c555c1c4195 SHA1 113721db13594a560ba6acb3eb2d8699c2c8d4dd SHA256 ebf58683d3b77fb49904e4e3c2ef5e8265a6bd5c6ab6118c79f8ae62b3d3e5a5
MISC ChangeLog 882 RMD160 450e21da49fbdf73546c72660f31f40fb5eadf42 SHA1 3e6517aaa3be8ee6805437e5a679ad0695494829 SHA256 6982a32c4fe7207fd072965b31d2b97eda195fc914e69f5a88a9444211f37bc7
MD5 0c6fc158b15551392c6f7360d862e771 ChangeLog 882
RMD160 450e21da49fbdf73546c72660f31f40fb5eadf42 ChangeLog 882
SHA256 6982a32c4fe7207fd072965b31d2b97eda195fc914e69f5a88a9444211f37bc7 ChangeLog 882
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 79a6a075e10732527cdbbe6aae280c49 files/digest-apache-2.2.6-r102 542
RMD160 e9a6e9e422844c0b070d269da5be14dd2f55fc42 files/digest-apache-2.2.6-r102 542
SHA256 28e9143218044c4503121bc966793a1aade78d5fda6bdb99e143ff1c8879ff1d files/digest-apache-2.2.6-r102 542
MD5 ea1c388881a1a939d806a49fcc4820be files/digest-apache-2.2.6-r103 542
RMD160 f5a893d642e71f2f61dcda7f4ba10d191f4f7960 files/digest-apache-2.2.6-r103 542
SHA256 3132dbfe954d68e2b62d8d1704765daaff30214bf9ff110ca548e5635ec95e8f files/digest-apache-2.2.6-r103 542
MD5 facdc39230bdbc7ac62601b09d6c7480 files/digest-apache-2.2.6-r107 542
RMD160 ef3d58649196ad610c3a604484f43b82b828059b files/digest-apache-2.2.6-r107 542
SHA256 678b03595c22405cb78f306091e38e307d850ebe2c0db34f123306d1f3c53cab files/digest-apache-2.2.6-r107 542
MD5 5e923f52ede7540a4d8e7fdcefe76042 files/digest-apache-2.2.6-r99 539
RMD160 44b0718fbe6d485d1601a1eb2dc946908e8353d7 files/digest-apache-2.2.6-r99 539
SHA256 76d37e10679163de4e46ffbb1f69112f5403f6271d0e6bc225bb6163e131dd5d files/digest-apache-2.2.6-r99 539
MD5 88d3f45166d6efaad7ae355c97e2e0c0 files/digest-apache-2.2.8-r100 542
RMD160 bc54a17943b3881bec5307a869e1bbc27aabc6eb files/digest-apache-2.2.8-r100 542
SHA256 406bcf7abae68a3d497a134ed399aa3d32fd76fa31344635115d4044d8772891 files/digest-apache-2.2.8-r100 542

View File

@ -0,0 +1,178 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.8-r2.ebuild,v 1.1 2008/03/22 15:45:21 hollow Exp $
# latest gentoo apache files
GENTOO_PATCHSTAMP="20080322"
GENTOO_DEVELOPER="hollow"
# IUSE/USE_EXPAND magic
IUSE_MPMS_FORK="itk peruser prefork"
IUSE_MPMS_THREAD="event worker"
IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
ext_filter file_cache filter headers ident imagemap include info log_config
log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp
proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling
status unique_id userdir usertrack version vhost_alias"
# inter-module dependencies
# TODO: this may still be incomplete
MODULE_DEPENDS="
dav_fs:dav
dav_lock:dav
deflate:filter
disk_cache:cache
ext_filter:filter
file_cache:cache
log_forensic:log_config
logio:log_config
mem_cache:cache
mime_magic:mime
proxy_ajp:proxy
proxy_balancer:proxy
proxy_connect:proxy
proxy_ftp:proxy
proxy_http:proxy
usertrack:unique_id
"
# module<->define mappings
MODULE_DEFINES="
auth_digest:AUTH_DIGEST
authnz_ldap:AUTHNZ_LDAP
cache:CACHE
dav:DAV
dav_fs:DAV
dav_lock:DAV
disk_cache:CACHE
file_cache:CACHE
info:INFO
ldap:LDAP
mem_cache:CACHE
proxy:PROXY
proxy_ajp:PROXY
proxy_balancer:PROXY
proxy_connect:PROXY
proxy_ftp:PROXY
proxy_http:PROXY
ssl:SSL
status:STATUS
suexec:SUEXEC
userdir:USERDIR
"
# critical modules for the default config
MODULE_CRITICAL="
authz_host
dir
mime
"
inherit apache-2
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 ~x86-fbsd"
IUSE="sni"
DEPEND="${DEPEND}
apache2_modules_deflate? ( sys-libs/zlib )"
RDEPEND="${RDEPEND}
apache2_modules_mime? ( app-misc/mime-types )"
src_unpack() {
if ! use sni ; then
EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
fi
apache-2_src_unpack
}
pkg_postinst() {
apache-2_pkg_postinst
# previous installations of apache-2.2 installed the upstream configuration
# files, which shouldn't even have been installed!
if has_version '>=www-servers/apache-2.2.4' ; then
if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
fi
for i in extra original ; do
if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
fi
done
fi
# note regarding IfDefine changes
if has_version '<www-servers/apache-2.2.6-r1' ; then
elog
elog "When upgrading from versions 2.2.6 or earlier, please be aware"
elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
elog "with AUTH_DIGEST now."
elog
fi
# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
if has_version '<www-servers/apache-2.2.4-r7' ; then
elog
elog "Listen directives have been moved into the default virtual host"
elog "configuation. At least DEFAULT_VHOST has been enabled for you"
elog "(depending on your USE-flags.)"
elog
elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
elog "be no listening sockets available."
elog
fi
# note the user of the config changes
if has_version '<www-servers/apache-2.2.4-r5' ; then
elog
elog "Please make sure that you update your /etc directory."
elog "Between the versions, we had to changes some config files"
elog "and move some stuff out of the main httpd.conf file to a seperate"
elog "modules.d entry."
elog
elog "Thus please update your /etc directory either via etc-update,"
elog "dispatch-conf or conf-update !"
elog
fi
# check for dual/upgrade install
if has_version '<www-servers/apache-2.2.0' ; then
elog
elog "When upgrading from versions below 2.2.0 to this version, you"
elog "need to rebuild all your modules. Please do so for your modules"
elog "to continue working correctly."
elog
elog "Also note that some configuration directives have been"
elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
elog "and that some modules, foremost the authentication related ones,"
elog "have been renamed."
elog
elog "Some examples:"
elog " - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
elog
elog "For more information on what you may need to change, please"
elog "see the overview of changes at:"
elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
elog "and the upgrading guide at:"
elog "http://httpd.apache.org/docs/2.2/upgrading.html"
elog
fi
# cleanup the vim backup files, placed in /etc/apache2 by the last
# patchtarball (gentoo-apache-2.2.4-r7-20070615)
rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
}

View File

@ -0,0 +1,177 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.8.ebuild,v 1.7 2008/02/17 13:14:17 angelos Exp $
# latest gentoo apache files
GENTOO_PATCHSTAMP="20080119"
GENTOO_DEVELOPER="hollow"
# IUSE/USE_EXPAND magic
IUSE_MPMS_FORK="itk peruser prefork"
IUSE_MPMS_THREAD="event worker"
IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon
authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta
charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
ext_filter file_cache filter headers ident imagemap include info log_config
log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp
proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling
status unique_id userdir usertrack version vhost_alias"
# inter-module dependencies
# TODO: this may still be incomplete
MODULE_DEPENDS="
dav_fs:dav
dav_lock:dav
deflate:filter
disk_cache:cache
ext_filter:filter
file_cache:cache
log_forensic:log_config
logio:log_config
mem_cache:cache
mime_magic:mime
proxy_ajp:proxy
proxy_balancer:proxy
proxy_connect:proxy
proxy_ftp:proxy
proxy_http:proxy
usertrack:unique_id
"
# module<->define mappings
MODULE_DEFINES="
auth_digest:AUTH_DIGEST
authnz_ldap:AUTHNZ_LDAP
cache:CACHE
dav:DAV
dav_fs:DAV
dav_lock:DAV
disk_cache:CACHE
file_cache:CACHE
info:INFO
ldap:LDAP
mem_cache:CACHE
proxy:PROXY
proxy_ajp:PROXY
proxy_balancer:PROXY
proxy_connect:PROXY
proxy_ftp:PROXY
proxy_http:PROXY
ssl:SSL
status:STATUS
suexec:SUEXEC
userdir:USERDIR
"
MODULE_CRITICAL="
authz_host
dir
mime
"
inherit apache-2
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 ~x86-fbsd"
IUSE="sni"
DEPEND="${DEPEND}
apache2_modules_deflate? ( sys-libs/zlib )"
RDEPEND="${RDEPEND}
apache2_modules_mime? ( app-misc/mime-types )"
src_unpack() {
if ! use sni ; then
EPATCH_EXCLUDE="04_all_mod_ssl_tls_sni.patch"
fi
apache-2_src_unpack
}
pkg_postinst() {
apache-2_pkg_postinst
# previous installations of apache-2.2 installed the upstream configuration
# files, which shouldn't even have been installed!
if has_version '>=www-servers/apache-2.2.4' ; then
if [[ -f "${ROOT}"etc/apache2/apache2.conf ]] ; then
rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1
fi
for i in extra original ; do
if [[ -d "${ROOT}"/etc/apache2/${i} ]] ; then
rm -rf "${ROOT}"/etc/apache2/${i} >/dev/null 2>&1
fi
done
fi
# note regarding IfDefine changes
if has_version '<www-servers/apache-2.2.6-r1' ; then
elog
elog "When upgrading from versions 2.2.6 or earlier, please be aware"
elog "that the define for mod_authnz_ldap has changed from AUTH_LDAP"
elog "to AUTHNZ_LDAP. Additionally mod_auth_digest needs to be enabled"
elog "with AUTH_DIGEST now."
elog
fi
# note the changes regarding DEFAULT_VHOST and SSL_DEFAULT_VHOST
if has_version '<www-servers/apache-2.2.4-r7' ; then
elog
elog "Listen directives have been moved into the default virtual host"
elog "configuation. At least DEFAULT_VHOST has been enabled for you"
elog "(depending on your USE-flags.)"
elog
elog "If you disable DEFAULT_VHOST or SSL_DEFAULT_VHOST, there will"
elog "be no listening sockets available."
elog
fi
# note the user of the config changes
if has_version '<www-servers/apache-2.2.4-r5' ; then
elog
elog "Please make sure that you update your /etc directory."
elog "Between the versions, we had to changes some config files"
elog "and move some stuff out of the main httpd.conf file to a seperate"
elog "modules.d entry."
elog
elog "Thus please update your /etc directory either via etc-update,"
elog "dispatch-conf or conf-update !"
elog
fi
# check for dual/upgrade install
if has_version '<www-servers/apache-2.2.0' ; then
elog
elog "When upgrading from versions below 2.2.0 to this version, you"
elog "need to rebuild all your modules. Please do so for your modules"
elog "to continue working correctly."
elog
elog "Also note that some configuration directives have been"
elog "split into their own files under ${ROOT}etc/apache2/modules.d/"
elog "and that some modules, foremost the authentication related ones,"
elog "have been renamed."
elog
elog "Some examples:"
elog " - USERDIR is now configureable in ${ROOT}etc/apache2/modules.d/00_mod_userdir.conf."
elog
elog "For more information on what you may need to change, please"
elog "see the overview of changes at:"
elog "http://httpd.apache.org/docs/2.2/new_features_2_2.html"
elog "and the upgrading guide at:"
elog "http://httpd.apache.org/docs/2.2/upgrading.html"
elog
fi
# cleanup the vim backup files, placed in /etc/apache2 by the last
# patchtarball (gentoo-apache-2.2.4-r7-20070615)
rm -f "${ROOT}etc/apache2/modules.d/*.conf~"
}