diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-01-19 10:56:37 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-01-19 10:56:37 +0000 |
commit | 655018abca36037a825e7ae8610218acfcc51aef (patch) | |
tree | bc93577ee252b3e28c044ffd04808dcdfcd03bfd /www-servers/apache | |
parent | version bump (diff) | |
download | historical-655018abca36037a825e7ae8610218acfcc51aef.tar.gz historical-655018abca36037a825e7ae8610218acfcc51aef.tar.bz2 historical-655018abca36037a825e7ae8610218acfcc51aef.zip |
version bump; cleanup
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'www-servers/apache')
-rw-r--r-- | www-servers/apache/ChangeLog | 9 | ||||
-rw-r--r-- | www-servers/apache/Manifest | 43 | ||||
-rw-r--r-- | www-servers/apache/apache-2.2.6-r5.ebuild | 496 | ||||
-rw-r--r-- | www-servers/apache/apache-2.2.8.ebuild (renamed from www-servers/apache/apache-2.2.6-r6.ebuild) | 8 | ||||
-rw-r--r-- | www-servers/apache/files/apache-2.2.6_CVE-2007-5000.patch | 25 | ||||
-rw-r--r-- | www-servers/apache/files/digest-apache-2.2.6-r5 | 6 | ||||
-rw-r--r-- | www-servers/apache/files/digest-apache-2.2.6-r6 | 6 | ||||
-rw-r--r-- | www-servers/apache/files/digest-apache-2.2.8 | 6 |
8 files changed, 34 insertions, 565 deletions
diff --git a/www-servers/apache/ChangeLog b/www-servers/apache/ChangeLog index 2155a911d7e6..b99660d20e00 100644 --- a/www-servers/apache/ChangeLog +++ b/www-servers/apache/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-servers/apache # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.53 2008/01/12 18:46:18 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.54 2008/01/19 10:56:36 hollow Exp $ + +*apache-2.2.8 (19 Jan 2008) + + 19 Jan 2008; Benedikt Böhm <hollow@gentoo.org> + -files/apache-2.2.6_CVE-2007-5000.patch, -apache-2.2.6-r5.ebuild, + -apache-2.2.6-r6.ebuild, +apache-2.2.8.ebuild: + version bump; cleanup 12 Jan 2008; Benedikt Böhm <hollow@gentoo.org> apache-2.2.6-r7.ebuild: fix define for mod_status diff --git a/www-servers/apache/Manifest b/www-servers/apache/Manifest index 2ddd5aa27a53..370897983786 100644 --- a/www-servers/apache/Manifest +++ b/www-servers/apache/Manifest @@ -1,20 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX apache-2.2.6_CVE-2007-5000.patch 1011 RMD160 19d1376d938d9475979e923dc2dbaab1baad7bee SHA1 7c56470b25bffd5fa25679a80d9a3615e094db12 SHA256 8c53efb36eaaf11520b9bcc780b79361dbbf10caae05ed38a2ffb7ae8cd8a8a9 -MD5 6aad259a025870b036020a43b14642b7 files/apache-2.2.6_CVE-2007-5000.patch 1011 -RMD160 19d1376d938d9475979e923dc2dbaab1baad7bee files/apache-2.2.6_CVE-2007-5000.patch 1011 -SHA256 8c53efb36eaaf11520b9bcc780b79361dbbf10caae05ed38a2ffb7ae8cd8a8a9 files/apache-2.2.6_CVE-2007-5000.patch 1011 DIST gentoo-apache-2.0.58-r2-20060726.tar.bz2 58758 RMD160 46c6da577db444a6553b60d3ae30c61ae3b741fa SHA1 5399c6076fbccc36b1d8a5ed783f77918c3398eb SHA256 b8e0356e87fdd7b55fcecbee804c9a41525b3e6fe8309f87f2509abd161c8e6b DIST gentoo-apache-2.0.59-r5-20070828.tar.bz2 63913 RMD160 c0cfc72d0316b0a977296a08932bebe6a7547c7b SHA1 e7e7ae28b0427c9b61895f3356307df5d6bcc324 SHA256 fa188f4f7e26b7277a8a1858c449766bc997c1f9cf1ee2a5f9fdbfda5dabcccb DIST gentoo-apache-2.0.61-20070907.tar.bz2 58543 RMD160 3d40fd2e793bfedbca0410e6aa31ec7cabd404ef SHA1 060eea0df3dc6674cb35e5c873469d20c7955a21 SHA256 f981b2627edace251a12a58fb22dacd98e6beb764b092db518ee3dac0045420e -DIST gentoo-apache-2.2.6-r2-20071020.tar.bz2 58805 RMD160 0471593be243a4ecb6f7386b76411e9f1b2e9048 SHA1 7e87e95950d8a68f9f3d1c4ed913d6aa093bbb2e SHA256 3711e6f3c63b931b80f6db2602ad66e5303c7779f6a0571fe14156b7ec7ab3f5 -DIST gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 RMD160 b2ea87d18117566a644fe012d23affd38d1f7ef6 SHA1 7a03af24bddf7e9b300eaad891a467ba25ab53ad SHA256 e2ec95dbfd3d406d16a5694746ade43863712037c12ac70f3433b16c75bf5638 DIST gentoo-apache-2.2.6-r7-20080107.tar.bz2 61536 RMD160 b08af8e9d840b49685bf7a67243b80dc4e346efa SHA1 27278395f5ad01aef0f9c9fcf1c25565866422a0 SHA256 b2116b2b09ba3a5d4e1130bf7e202cc95312ac5b4f78f8653f15e2842bbbf92f +DIST gentoo-apache-2.2.8-20080119.tar.bz2 60363 RMD160 c54970fdbd8e5906db5a86d383e15d5f542f2ab2 SHA1 48e98685c38e6940f2ea120419ce8d3c216a054e SHA256 6086dcf40451c348305e100551ebb1516050b50803e837cfcf53fa53ffd4d292 DIST httpd-2.0.58.tar.bz2 4704318 RMD160 2ff44b2254552db908f1defd09e3142527f9bf83 SHA1 697e1674f8efbbe05b9f6c1ba00cd28a37293229 SHA256 4f746715c408f4cac48099ea72560c50ef190568dfcfa8e0762bae66c0398029 DIST httpd-2.0.59.tar.bz2 4743549 RMD160 78b802354e338798a6978ece8b3568be97542174 SHA1 908209cd6e52f700d2a841a25de36e44d469c376 SHA256 bbac543ca9f80826f71eb16945610f8f90a36b346efc658be3b466ec0c990c0d DIST httpd-2.0.61.tar.bz2 4580339 RMD160 a2c2c90976a967112a9129b9716d880d71261882 SHA1 665017829022d287ffe3cec749e2b5b61252d7b4 SHA256 c257d3a6c120a21a637b422cf9973be2fca9bee58ae70478f5235adb5fac8899 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 EBUILD apache-2.0.58-r2.ebuild 13848 RMD160 0912493581701f65406db267d9ec2b2a228d991e SHA1 d975d170b453e0f58b68b0f865f6ef5b06a36d08 SHA256 d5c0d873425a14d9ce916e7b9485b86c148001eb93f357fa6b4d9f5657253936 MD5 84a57819ece3e7101bfaf8fd025b4190 apache-2.0.58-r2.ebuild 13848 RMD160 0912493581701f65406db267d9ec2b2a228d991e apache-2.0.58-r2.ebuild 13848 @@ -27,22 +23,18 @@ EBUILD apache-2.0.61.ebuild 14094 RMD160 25a474ce27851899d050f096650b89970171527 MD5 95ae00f822d6d50d45999f9d54cc46f7 apache-2.0.61.ebuild 14094 RMD160 25a474ce27851899d050f096650b899701715279 apache-2.0.61.ebuild 14094 SHA256 78bffd5366c9b90c105b802123bb218e3dece320c8b7fe2722d82a8d8eb0913d apache-2.0.61.ebuild 14094 -EBUILD apache-2.2.6-r5.ebuild 15830 RMD160 c6cbae01ad1175417e3d753d370aab02af4c9fd5 SHA1 e5c5627f3725f15ea28ed514408f872edc018f6e SHA256 f86640e07f4c7870b3a27eb540062e4b13c0364b18659c66c5a72b2ddec44470 -MD5 44c050bc83603b233fbfca594298b4ad apache-2.2.6-r5.ebuild 15830 -RMD160 c6cbae01ad1175417e3d753d370aab02af4c9fd5 apache-2.2.6-r5.ebuild 15830 -SHA256 f86640e07f4c7870b3a27eb540062e4b13c0364b18659c66c5a72b2ddec44470 apache-2.2.6-r5.ebuild 15830 -EBUILD apache-2.2.6-r6.ebuild 5183 RMD160 6457afc0990c100f73313e5b7448bfbc07f5747c SHA1 fa410f77dc432bc4ae5587232a499696ae9c364c SHA256 1dccbfb43eadb67498a943d5f03c799c7c8f068f37cb888891f8232b40cce5a7 -MD5 667abaaccb2271bb345f320fb9cc7ab1 apache-2.2.6-r6.ebuild 5183 -RMD160 6457afc0990c100f73313e5b7448bfbc07f5747c apache-2.2.6-r6.ebuild 5183 -SHA256 1dccbfb43eadb67498a943d5f03c799c7c8f068f37cb888891f8232b40cce5a7 apache-2.2.6-r6.ebuild 5183 EBUILD apache-2.2.6-r7.ebuild 5174 RMD160 3690d1344099aa9b86031e6e9fe5e23ba2f4ac1d SHA1 f22d46a0fe920e4663e6e5bdfa86f7b0bbb72f46 SHA256 31a86ae520764ed9eda31733b7779e46b81406ce66fe1a07aa6b0b4c3e7fd917 MD5 3196517522b9fad080afbccb1e53d6cd apache-2.2.6-r7.ebuild 5174 RMD160 3690d1344099aa9b86031e6e9fe5e23ba2f4ac1d apache-2.2.6-r7.ebuild 5174 SHA256 31a86ae520764ed9eda31733b7779e46b81406ce66fe1a07aa6b0b4c3e7fd917 apache-2.2.6-r7.ebuild 5174 -MISC ChangeLog 100394 RMD160 556a22425b8af2674991adcce6ffc8d20a8a2a68 SHA1 b488435f98fef416f866ba119df5a64ad34fa08a SHA256 e8bc0c8043d8ba41e5a9629ca2e4c8a3d3f36f445c905a2eb598a810f8c5de8e -MD5 ec8c411bb1c5b813c171c6689e75aff4 ChangeLog 100394 -RMD160 556a22425b8af2674991adcce6ffc8d20a8a2a68 ChangeLog 100394 -SHA256 e8bc0c8043d8ba41e5a9629ca2e4c8a3d3f36f445c905a2eb598a810f8c5de8e ChangeLog 100394 +EBUILD apache-2.2.8.ebuild 5182 RMD160 c4a7e142dc83d1d43420435665d96b6d2d929277 SHA1 4c4c66d4426d3f4b627313264a9ec3e76b66833f SHA256 99d0bb9ee45f67c80fc126764c08b11f6eeef326bf1ec3061562448641618f2c +MD5 c8100454cb597e660feec3d560a98f07 apache-2.2.8.ebuild 5182 +RMD160 c4a7e142dc83d1d43420435665d96b6d2d929277 apache-2.2.8.ebuild 5182 +SHA256 99d0bb9ee45f67c80fc126764c08b11f6eeef326bf1ec3061562448641618f2c apache-2.2.8.ebuild 5182 +MISC ChangeLog 100615 RMD160 3b726bf8055b1bdeb5aec162d3462a81ed36b97e SHA1 dcef75d59a12c48445f00e50e23a30b4ac88acd4 SHA256 e5cdbb7b1348bfe9255e639062cb83bb6e2d6c9897890a02e7829f248ac31f9c +MD5 a8d9d1f8458cca660b5b81bf0808ffa1 ChangeLog 100615 +RMD160 3b726bf8055b1bdeb5aec162d3462a81ed36b97e ChangeLog 100615 +SHA256 e5cdbb7b1348bfe9255e639062cb83bb6e2d6c9897890a02e7829f248ac31f9c ChangeLog 100615 MISC metadata.xml 551 RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 SHA1 68bb286a67452c3dae7525195c60b8637cca9b81 SHA256 646729a42ddffcbde3426dd6aa9a77fab923bc348c5b34c9d24083d86fbb15eb MD5 0f28752ee3545b3fd8e28ee656e62f4b metadata.xml 551 RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 metadata.xml 551 @@ -56,19 +48,16 @@ SHA256 fa34c2ed61bffcd60f9ab545475f5045420105e88a6310786fd1dda5cc198880 files/di MD5 814a758b1333fb3b30a950fdc9493a27 files/digest-apache-2.0.61 533 RMD160 fddd1da023e5dc1d75f03129efb6cb38c674b798 files/digest-apache-2.0.61 533 SHA256 8ad4c288c951fd89f7f251f441fb4e357e58f1d570c798be0b4cf73ae2a1c061 files/digest-apache-2.0.61 533 -MD5 f055984d26898f84b9a767c5e052ae83 files/digest-apache-2.2.6-r5 536 -RMD160 f824d5e2e706c1d5654ae80a1c3806c94782fcdc files/digest-apache-2.2.6-r5 536 -SHA256 c8df8e510c87a64c990b66893443b97796d8cdbfa7da48218244cf95d20659c1 files/digest-apache-2.2.6-r5 536 -MD5 d6e528b4934cf191516f6053c9f63c97 files/digest-apache-2.2.6-r6 536 -RMD160 f32d00e581a61a1b1e183f9229da0ca2048c5a9f files/digest-apache-2.2.6-r6 536 -SHA256 b96912d1eb1d3325b98daf7aa5314bf5eb5826206ba24add0d9840904497c541 files/digest-apache-2.2.6-r6 536 MD5 b75641abc20af74044985f8f16784fb5 files/digest-apache-2.2.6-r7 536 RMD160 218080b6f024cc12529e6e7b280fac1256ec869e files/digest-apache-2.2.6-r7 536 SHA256 a8b137170b4785953fb3ced4a48db1c61e7fda926ae0842df00b26d57232411e files/digest-apache-2.2.6-r7 536 +MD5 42196f6990d65602a47c6e8e62e5c11a files/digest-apache-2.2.8 527 +RMD160 77ed4d7c48696a4ae5e9fb1ae694c174ba5e285f files/digest-apache-2.2.8 527 +SHA256 a0e0694e9395e8b2e43d3a2ac76b63bdb44180f5452731d73bad8559cc951cf7 files/digest-apache-2.2.8 527 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) -iEYEARECAAYFAkeJCxIACgkQmPFBzbX68WF1YACgjX3iBEXSdS/g71AtN9IpgIAL -+kgAnjYMDVeyIIgiGaR88uHYLGmqS+rR -=pV+f +iEYEARECAAYFAkeR12oACgkQmPFBzbX68WG44QCeNlgfu7NdPBxpFvs3pSN8tJzL +H3sAn21OXz6rf7HnGTQySz4t5OqXuNZp +=ufgc -----END PGP SIGNATURE----- diff --git a/www-servers/apache/apache-2.2.6-r5.ebuild b/www-servers/apache/apache-2.2.6-r5.ebuild deleted file mode 100644 index d8a51e5c4058..000000000000 --- a/www-servers/apache/apache-2.2.6-r5.ebuild +++ /dev/null @@ -1,496 +0,0 @@ -# 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.6-r5.ebuild,v 1.7 2008/01/10 08:59:20 vapier Exp $ - -inherit eutils flag-o-matic multilib autotools - -# latest gentoo apache files -GENTOO_PATCHNAME="gentoo-${PF/-r5/-r2}" -GENTOO_PATCHSTAMP="20071020" -GENTOO_DEVSPACE="hollow" -GENTOO_PATCHDIR="${WORKDIR}/${GENTOO_PATCHNAME}" - -DESCRIPTION="The Apache Web Server." -HOMEPAGE="http://httpd.apache.org/" -SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2 - http://dev.gentoo.org/~${GENTOO_DEVSPACE}/dist/apache/${GENTOO_PATCHNAME}-${GENTOO_PATCHSTAMP}.tar.bz2" - -# 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="debug doc ldap mpm-event mpm-itk mpm-peruser mpm-prefork mpm-worker no-suexec selinux ssl static-modules threads" - -DEPEND="dev-lang/perl - =dev-libs/apr-1* - =dev-libs/apr-util-1* - dev-libs/expat - dev-libs/libpcre - sys-libs/zlib - ldap? ( =net-nds/openldap-2* ) - selinux? ( sec-policy/selinux-apache ) - ssl? ( dev-libs/openssl ) - !=www-servers/apache-1* - !=app-admin/apache-tools-2.2.4-r2" - -RDEPEND="${DEPEND} - app-misc/mime-types" - -PDEPEND="~app-admin/apache-tools-${PV}" - -S="${WORKDIR}/httpd-${PV}" - -pkg_setup() { - if use ldap && ! built_with_use 'dev-libs/apr-util' ldap ; then - eerror "dev-libs/apr-util is missing LDAP support. For apache to have" - eerror "ldap support, apr-util must be built with the ldap USE-flag" - eerror "enabled." - die "ldap USE-flag enabled while not supported in apr-util" - fi - - # Select the default MPM module - MPM_LIST="event itk peruser prefork worker" - for x in ${MPM_LIST} ; do - if use mpm-${x} ; then - if [[ "x${mpm}" == "x" ]] ; then - mpm=${x} - elog - elog "Selected MPM: ${mpm}" - elog - else - eerror "You have selected more then one mpm USE-flag." - eerror "Only one MPM is supported." - die "more then one mpm was specified" - fi - fi - done - - if [[ "x${mpm}" == "x" ]] ; then - if use threads ; then - mpm=worker - elog - elog "Selected default threaded MPM: ${mpm}"; - elog - else - mpm=prefork - elog - elog "Selected default MPM: ${mpm}"; - elog - fi - fi - - # setup apache user and group - enewgroup apache 81 - enewuser apache 81 -1 /var/www apache - - if ! use no-suexec ; then - elog - elog "You can manipulate several configure options of suexec" - elog "through the following environment variables:" - elog - elog " SUEXEC_SAFEPATH: Default PATH for suexec (default: /usr/local/bin:/usr/bin:/bin)" - elog " SUEXEC_LOGFILE: Path to the suexec logfile (default: /var/log/apache2/suexec_log)" - elog " SUEXEC_CALLER: Name of the user Apache is running as (default: apache)" - elog " SUEXEC_DOCROOT: Directory in which suexec will run scripts (default: /var/www)" - elog " SUEXEC_MINUID: Minimum UID, which is allowed to run scripts via suexec (default: 1000)" - elog " SUEXEC_MINGID: Minimum GID, which is allowed to run scripts via suexec (default: 100)" - elog " SUEXEC_USERDIR: User subdirectories (like /home/user/html) (default: public_html)" - elog " SUEXEC_UMASK: Umask for the suexec process (default: 077)" - elog - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Use correct multilib libdir in gentoo patches - sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" \ - "${GENTOO_PATCHDIR}"/{conf/httpd.conf,init/*,patches/config.layout} \ - || die "libdir sed failed" - - #### Patch Organization - # 00-19 Gentoo specific (00_all_some-title.patch) - # 20-39 Additional MPMs (20_all_${MPM}_some-title.patch) - # 40-59 USE-flag based (40_all_${USE}_some-title.patch) - # 60-79 Version specific (60_all_${PV}_some-title.patch) - # 80-99 Security patches (80_all_${PV}_cve-####-####.patch) - - epatch "${GENTOO_PATCHDIR}"/patches/*.patch - epatch "${FILESDIR}"/${P}_CVE-2007-5000.patch - - # setup the filesystem layout config - cat "${GENTOO_PATCHDIR}"/patches/config.layout >> "${S}"/config.layout || \ - die "Failed preparing config.layout!" - sed -i -e "s:version:${PF}:g" "${S}"/config.layout - - # patched-in MPMs need the build environment rebuilt - sed -i -e '/sinclude/d' configure.in - AT_GNUCONF_UPDATE=yes AT_M4DIR=build eautoreconf - - # apache2.8 instead of httpd.8 (bug #194828) - mv docs/man/{httpd,apache2}.8 -} - -src_compile() { - local modtype="shared" myconf="" - cd "${S}" - - # Instead of filtering --as-needed (bug #128505), append --no-as-needed - # Thanks to Harald van Dijk - append-ldflags -Wl,--no-as-needed - - # peruser MPM debugging with -X is nearly impossible - use mpm-peruser && use debug && append-flags -DMPM_PERUSER_DEBUG - - use static-modules && modtype="static" - select_modules_config || die "determining modules failed" - - if use ldap ; then - mods="${mods} ldap authnz_ldap" - myconf="${myconf} --enable-authnz-ldap=${modtype} --enable-ldap=${modtype}" - fi - - if use threads || use mpm-worker || use mpm-event; then - mods="${mods} cgid" - myconf="${myconf} --enable-cgid=${modtype}" - else - mods="${mods} cgi" - myconf="${myconf} --enable-cgi=${modtype}" - fi - - if use ssl; then - mods="${mods} ssl" - myconf="${myconf} --with-ssl=/usr --enable-ssl=${modtype}" - fi - - if use debug; then - myconf="${myconf} --enable-maintainer-mode --enable-exception-hook" - fi - - # Only build suexec with USE=-no-suexec - if use no-suexec ; then - myconf="${myconf} --disable-suexec" - else - myconf="${myconf} --with-suexec-safepath=${SUEXEC_SAFEPATH:-/usr/local/bin:/usr/bin:/bin}" - myconf="${myconf} --with-suexec-logfile=${SUEXEC_LOGFILE:-/var/log/apache2/suexec_log}" - myconf="${myconf} --with-suexec-bin=/usr/sbin/suexec" - myconf="${myconf} --with-suexec-userdir=${SUEXEC_USERDIR:-public_html}" - myconf="${myconf} --with-suexec-caller=${SUEXEC_CALLER:-apache}" - myconf="${myconf} --with-suexec-docroot=${SUEXEC_DOCROOT:-/var/www}" - myconf="${myconf} --with-suexec-uidmin=${SUEXEC_MINUID:-1000}" - myconf="${myconf} --with-suexec-gidmin=${SUEXEC_MINGID:-100}" - myconf="${myconf} --with-suexec-umask=${SUEXEC_UMASK:-077}" - myconf="${myconf} --enable-suexec=${modtype}" - mods="${mods} suexec" - fi - - # econf overwrites the stuff from config.layout, so we have to put them into - # our myconf line too - - econf \ - --includedir=/usr/include/apache2 \ - --libexecdir=/usr/$(get_libdir)/apache2/modules \ - --datadir=/var/www/localhost \ - --sysconfdir=/etc/apache2 \ - --localstatedir=/var \ - --with-mpm=${mpm} \ - --with-perl=/usr/bin/perl \ - --with-expat=/usr \ - --with-z=/usr \ - --with-apr=/usr \ - --with-apr-util=/usr \ - --with-pcre=/usr \ - --with-port=80 \ - --with-program-name=apache2 \ - --enable-layout=Gentoo \ - ${myconf} ${MY_BUILTINS} || die "econf failed!" - - sed -i -e 's:apache2\.conf:httpd.conf:' include/ap_config_auto.h - - emake || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install || die "emake install failed" - - # This is a mapping of module names to the -D options in APACHE2_OPTS - # Used for creating optional LoadModule lines - mod_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_http:PROXY - ssl:SSL - status:INFO - suexec:SUEXEC - userdir:USERDIR - " - - # create our LoadModule lines - if ! use static-modules ; then - load_module="" - moddir="${D}/usr/$(get_libdir)/apache2/modules" - for m in $(echo ${mods}|tr ' ' '\n'|sort -u) ; do - endid="no" - - if [[ -e "${moddir}/mod_${m}.so" ]] ; then - for def in ${mod_defines} ; do - if [[ "${m}" == "${def%:*}" ]] ; then - load_module="${load_module}\n<IfDefine ${def#*:}>" - endid="yes" - fi - done - load_module="${load_module}\nLoadModule ${m}_module modules/mod_${m}.so" - if [[ "${endid}" == "yes" ]] ; then - load_module="${load_module}\n</IfDefine>" - fi - fi - done - fi - sed -i -e "s:%%LOAD_MODULE%%:${load_module}:" \ - "${GENTOO_PATCHDIR}"/conf/httpd.conf || die "sed failed" - - # Install our configuration files - insinto /etc/apache2 - doins docs/conf/magic - doins -r "${GENTOO_PATCHDIR}"/conf/* - insinto /etc/logrotate.d - newins "${GENTOO_PATCHDIR}"/scripts/apache2-logrotate apache2 - - # generate a sane default APACHE2_OPTS - APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE" - use doc && APACHE2_OPTS="${APACHE2_OPTS} -D MANUAL" - use ssl && APACHE2_OPTS="${APACHE2_OPTS} -D SSL -D SSL_DEFAULT_VHOST" - use no-suexec || APACHE2_OPTS="${APACHE2_OPTS} -D SUEXEC" - - sed -i -e "s:APACHE2_OPTS=\".*\":APACHE2_OPTS=\"${APACHE2_OPTS}\":" \ - "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed" - - newconfd "${GENTOO_PATCHDIR}"/init/apache2.confd apache2 - newinitd "${GENTOO_PATCHDIR}"/init/apache2.initd apache2 - - # Link apache2ctl to the init script - dosym /etc/init.d/apache2 /usr/sbin/apache2ctl - - # provide symlinks for all the stuff we no longer rename, bug 177697 - for i in suexec apxs; do - dosym /usr/sbin/${i} /usr/sbin/${i}2 - done - - # Install some thirdparty scripts - exeinto /usr/sbin - use ssl && doexe "${GENTOO_PATCHDIR}"/scripts/gentestcrt.sh - - # Install some documentation - dodoc ABOUT_APACHE CHANGES LAYOUT README README.platforms VERSIONING - dodoc "${GENTOO_PATCHDIR}"/docs/* - - # drop in a convenient link to the manual - if use doc ; then - sed -i -e "s:VERSION:${PVR}:" "${D}/etc/apache2/modules.d/00_apache_manual.conf" - else - rm -f "${D}/etc/apache2/modules.d/00_apache_manual.conf" - rm -Rf "${D}/usr/share/doc/${PF}/manual" - fi - - # the default webroot gets stored in /usr/share/doc - ebegin "Installing default webroot to /usr/share/doc/${PF}" - mv -f "${D}/var/www/localhost" "${D}/usr/share/doc/${PF}/webroot" - eend $? - keepdir /var/www/localhost/htdocs - - if ! use no-suexec ; then - # Set some sane permissions for suexec - fowners 0:apache /usr/sbin/suexec - fperms 4710 /usr/sbin/suexec - fi - - keepdir /etc/apache2/vhosts.d - keepdir /etc/apache2/modules.d - - # empty dirs - for i in /var/lib/dav /var/log/apache2 /var/cache/apache2 ; do - keepdir ${i} - fowners apache:apache ${i} - fperms 0755 ${i} - done - - # We'll be needing /etc/apache2/ssl if USE=ssl - use ssl && keepdir /etc/apache2/ssl -} - -pkg_postinst() { - # Automatically generate test certificates if ssl USE flag is being set - if use ssl && [[ ! -e "${ROOT}/etc/apache2/ssl/server.crt" ]] ; then - cd "${ROOT}"/etc/apache2/ssl - einfo - einfo "Generating self-signed test certificate in ${ROOT}etc/apache2/ssl ..." - yes "" 2>/dev/null | \ - "${ROOT}"/usr/sbin/gentestcrt.sh >/dev/null 2>&1 || \ - die "gentestcrt.sh failed" - einfo - fi - - # we do this here because the default webroot is a copy of the files - # that exist elsewhere and we don't want them managed/removed by portage - # when apache is upgraded. - - if [[ -e "${ROOT}/var/www/localhost" ]] ; then - elog "The default webroot has not been installed into" - elog "${ROOT}var/www/localhost because the directory already exists" - elog "and we do not want to overwrite any files you have put there." - elog - elog "If you would like to install the latest webroot, please run" - elog "emerge --config =${PF}" - else - einfo "Installing default webroot to ${ROOT}var/www/localhost" - mkdir -p "${ROOT}"/var/www/localhost - cp -R "${ROOT}"/usr/share/doc/${PF}/webroot/* "${ROOT}"/var/www/localhost - chown -R apache:0 "${ROOT}"/var/www/localhost - fi - - # 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 - [ -f "${ROOT}"/etc/apache2/apache2.conf ] && \ - rm -f "${ROOT}"/etc/apache2/apache2.conf >/dev/null 2>&1 - - for i in extra original ; do - [ -d "${ROOT}"/etc/apache2/$i ] && \ - rm -rf "${ROOT}"/etc/apache2/$i >/dev/null 2>&1 - 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 would" - 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~" -} - -pkg_config() { - einfo "Installing default webroot to ${ROOT}var/www/localhost" - mkdir "${ROOT}"var{,/www{,/localhost}} - cp -R "${ROOT}"usr/share/doc/${PF}/webroot/* "${ROOT}"var/www/localhost/ -} - -parse_modules_config() { - local name="" - local disable="" - local version="undef" - MY_BUILTINS="" - mods="" - [[ -f "${1}" ]] || return 1 - - for i in $(sed 's/#.*//' < $1) ; do - if [[ "$i" == "VERSION:" ]] ; then - version="select" - elif [[ "${version}" == "select" ]] ; then - version="$i" - # start with - option for backwards compatibility only - elif [[ "$i" == "-" ]] ; then - disable="true" - elif [[ -z "${name}" ]] && [[ "$i" != "${i/mod_/}" ]] ; then - name="${i/mod_/}" - elif [[ -n "${disable}" ]] || [[ "$i" == "disabled" ]] ; then - MY_BUILTINS="${MY_BUILTINS} --disable-${name}" - name="" ; disable="" - elif [[ "$i" == "static" ]] || use static-modules ; then - MY_BUILTINS="${MY_BUILTINS} --enable-${name}=static" - name="" ; disable="" - elif [[ "$i" == "shared" ]] ; then - MY_BUILTINS="${MY_BUILTINS} --enable-${name}=shared" - mods="${mods} ${name}" - name="" ; disable="" - else - ewarn "Parse error in ${1} - unknown option: $i" - fi - done - - # reject the file if it's unversioned or doesn't match our - # package major.minor. This is to make upgrading work smoothly. - if [[ "${version}" != "${PV%.*}" ]] ; then - mods="" - MY_BUILTINS="" - return 1 - fi - - einfo "Using ${1}" - einfo "options: ${MY_BUILTINS}" - einfo "LoadModules: ${mods}" -} - -select_modules_config() { - parse_modules_config "${ROOT}"/etc/apache2/apache2-builtin-mods || \ - parse_modules_config "${GENTOO_PATCHDIR}"/conf/apache2-builtin-mods || \ - return 1 -} diff --git a/www-servers/apache/apache-2.2.6-r6.ebuild b/www-servers/apache/apache-2.2.8.ebuild index 88b041dc6bd6..3073ea840a4f 100644 --- a/www-servers/apache/apache-2.2.6-r6.ebuild +++ b/www-servers/apache/apache-2.2.8.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2007 Gentoo Foundation +# 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.6-r6.ebuild,v 1.2 2007/12/19 21:13:50 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.8.ebuild,v 1.1 2008/01/19 10:56:36 hollow Exp $ # latest gentoo apache files -GENTOO_PATCHSTAMP="20071215" +GENTOO_PATCHSTAMP="20080119" GENTOO_DEVELOPER="hollow" # IUSE/USE_EXPAND magic @@ -60,7 +60,7 @@ MODULE_DEFINES=" proxy_ftp:PROXY proxy_http:PROXY ssl:SSL - status:INFO + status:STATUS suexec:SUEXEC userdir:USERDIR " diff --git a/www-servers/apache/files/apache-2.2.6_CVE-2007-5000.patch b/www-servers/apache/files/apache-2.2.6_CVE-2007-5000.patch deleted file mode 100644 index b329bb58d3ff..000000000000 --- a/www-servers/apache/files/apache-2.2.6_CVE-2007-5000.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: httpd-2.2.x/modules/mappers/mod_imagemap.c -=================================================================== ---- httpd-2.2.x/modules/mappers/mod_imagemap.c (revision 603710) -+++ httpd-2.2.x/modules/mappers/mod_imagemap.c (revision 604312) -@@ -479,13 +479,16 @@ - - static void menu_header(request_rec *r, char *menu) - { -- ap_set_content_type(r, "text/html"); -+ ap_set_content_type(r, "text/html; charset=ISO-8859-1"); - -- ap_rvputs(r, DOCTYPE_HTML_3_2, "<html><head>\n<title>Menu for ", r->uri, -- "</title>\n</head><body>\n", NULL); -+ ap_rvputs(r, DOCTYPE_HTML_3_2, "<html><head>\n<title>Menu for ", -+ ap_escape_html(r->pool, r->uri), -+ "</title>\n</head><body>\n", NULL); - - if (!strcasecmp(menu, "formatted")) { -- ap_rvputs(r, "<h1>Menu for ", r->uri, "</h1>\n<hr />\n\n", NULL); -+ ap_rvputs(r, "<h1>Menu for ", -+ ap_escape_html(r->pool, r->uri), -+ "</h1>\n<hr />\n\n", NULL); - } - - return; diff --git a/www-servers/apache/files/digest-apache-2.2.6-r5 b/www-servers/apache/files/digest-apache-2.2.6-r5 deleted file mode 100644 index e8ea02262028..000000000000 --- a/www-servers/apache/files/digest-apache-2.2.6-r5 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 24317b89d2b7a3a581648d26f2342de0 gentoo-apache-2.2.6-r2-20071020.tar.bz2 58805 -RMD160 0471593be243a4ecb6f7386b76411e9f1b2e9048 gentoo-apache-2.2.6-r2-20071020.tar.bz2 58805 -SHA256 3711e6f3c63b931b80f6db2602ad66e5303c7779f6a0571fe14156b7ec7ab3f5 gentoo-apache-2.2.6-r2-20071020.tar.bz2 58805 -MD5 203bea91715064f0c787f6499d33a377 httpd-2.2.6.tar.bz2 4717066 -RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f httpd-2.2.6.tar.bz2 4717066 -SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c httpd-2.2.6.tar.bz2 4717066 diff --git a/www-servers/apache/files/digest-apache-2.2.6-r6 b/www-servers/apache/files/digest-apache-2.2.6-r6 deleted file mode 100644 index 0e0c63d2e975..000000000000 --- a/www-servers/apache/files/digest-apache-2.2.6-r6 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 e5e99f1cb519d71242fa3a7f68e5f28a gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 -RMD160 b2ea87d18117566a644fe012d23affd38d1f7ef6 gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 -SHA256 e2ec95dbfd3d406d16a5694746ade43863712037c12ac70f3433b16c75bf5638 gentoo-apache-2.2.6-r6-20071215.tar.bz2 60964 -MD5 203bea91715064f0c787f6499d33a377 httpd-2.2.6.tar.bz2 4717066 -RMD160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f httpd-2.2.6.tar.bz2 4717066 -SHA256 f27cd9df50a2acd9df8f37520f62f6ce51758689d425ead5883e75ff5ed6548c httpd-2.2.6.tar.bz2 4717066 diff --git a/www-servers/apache/files/digest-apache-2.2.8 b/www-servers/apache/files/digest-apache-2.2.8 new file mode 100644 index 000000000000..264e646a8f23 --- /dev/null +++ b/www-servers/apache/files/digest-apache-2.2.8 @@ -0,0 +1,6 @@ +MD5 95814ddcda391d22b9f0457126511e1f gentoo-apache-2.2.8-20080119.tar.bz2 60363 +RMD160 c54970fdbd8e5906db5a86d383e15d5f542f2ab2 gentoo-apache-2.2.8-20080119.tar.bz2 60363 +SHA256 6086dcf40451c348305e100551ebb1516050b50803e837cfcf53fa53ffd4d292 gentoo-apache-2.2.8-20080119.tar.bz2 60363 +MD5 76d2598a4797163d07cd50e5304aa7cd httpd-2.2.8.tar.bz2 4799055 +RMD160 0736ea9617bafaa1c8cd34ce4fc1c7a659afea57 httpd-2.2.8.tar.bz2 4799055 +SHA256 2ad8d0db1e478838ba88a0ddaf538c7150027d937b017739fdcb3fabb96ebd39 httpd-2.2.8.tar.bz2 4799055 |