summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-05-23 21:26:16 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-05-23 21:26:16 +0000
commit73a545a80f22475e3725f8e8957e77040d0f2ca1 (patch)
treebd3cf144cce8c140295af7fcfdded72761e46964 /net-www
parentPut -v switch before the files to remove. Closes bug #173564 reported by Ales... (diff)
downloadhistorical-73a545a80f22475e3725f8e8957e77040d0f2ca1.tar.gz
historical-73a545a80f22475e3725f8e8957e77040d0f2ca1.tar.bz2
historical-73a545a80f22475e3725f8e8957e77040d0f2ca1.zip
Cleanup outdated ebuilds. Readd libcap dep for mpm-itk on 2.2.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-www')
-rw-r--r--net-www/apache/ChangeLog6
-rw-r--r--net-www/apache/Manifest32
-rw-r--r--net-www/apache/apache-2.2.4-r1.ebuild433
-rw-r--r--net-www/apache/apache-2.2.4-r2.ebuild3
-rw-r--r--net-www/apache/apache-2.2.4.ebuild425
-rw-r--r--net-www/apache/files/digest-apache-2.2.46
-rw-r--r--net-www/apache/files/digest-apache-2.2.4-r16
7 files changed, 15 insertions, 896 deletions
diff --git a/net-www/apache/ChangeLog b/net-www/apache/ChangeLog
index 244596e707c5..de01999744f0 100644
--- a/net-www/apache/ChangeLog
+++ b/net-www/apache/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-www/apache
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/apache/ChangeLog,v 1.525 2007/05/22 20:52:35 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/apache/ChangeLog,v 1.526 2007/05/23 21:26:16 chtekk Exp $
+
+ 23 May 2007; Luca Longinotti <chtekk@gentoo.org> -apache-2.2.4.ebuild,
+ -apache-2.2.4-r1.ebuild, apache-2.2.4-r2.ebuild:
+ Cleanup outdated ebuilds. Readd libcap dep for mpm-itk on 2.2.
*apache-2.2.4-r2 (22 May 2007)
diff --git a/net-www/apache/Manifest b/net-www/apache/Manifest
index ca0b96dce9e3..9fb372a9999f 100644
--- a/net-www/apache/Manifest
+++ b/net-www/apache/Manifest
@@ -4,8 +4,6 @@ DIST gentoo-apache-1.3.34-r14-20060726.tar.bz2 28001 RMD160 955a0ba00287db8859ce
DIST gentoo-apache-1.3.37-20060729.tar.bz2 27992 RMD160 fdb8c3690c8daad501339545b2e348d533d1be09 SHA1 05d3d2b4309365de54adfc5d1aba9ff4758fc3fc SHA256 00d759d184bec0c2aafbfaba2b748247ceae54bc04570d47979dc237b028ef2b
DIST gentoo-apache-2.0.58-r2-20060726.tar.bz2 58758 RMD160 46c6da577db444a6553b60d3ae30c61ae3b741fa SHA1 5399c6076fbccc36b1d8a5ed783f77918c3398eb SHA256 b8e0356e87fdd7b55fcecbee804c9a41525b3e6fe8309f87f2509abd161c8e6b
DIST gentoo-apache-2.0.59-r2-20061102.tar.bz2 58768 RMD160 d20d39e66e3cb52befeb697133172c8d494e2c78 SHA1 1f8543ecdba7cef911456757a0d12e9c15abe355 SHA256 c8de97abe4077e2f6d827726a5fb0b03f6e8bd9514d8f9b9ca2a35a1c9698518
-DIST gentoo-apache-2.2.4-20070121.tar.bz2 53108 RMD160 180aaef9d7a174bf917d7cecac467c3a541901ce SHA1 e83669c06241586703431a18aa4dab4b55ebb0f5 SHA256 0cd381f4aee3795529bc27fe1926e9b20423931a26e508368b98ba38c29a6421
-DIST gentoo-apache-2.2.4-r1-20070522.tar.bz2 61598 RMD160 87939e578b45d49e80c848f4429b8312cc634988 SHA1 9ce01f3394de16ca555058752e746e5ce2211949 SHA256 300c024020bc24fde03c8f32657dd08122abb90f8da0267e268b24be9f67e5bf
DIST gentoo-apache-2.2.4-r2-20070522.tar.bz2 62135 RMD160 d66461ad1930b2449a06f2d26e92b3918e362a86 SHA1 115c3eddb02efdcd52466bf29c9f1ad598b9ac58 SHA256 6e2c2b25810ac1ac5f77841975208462a162fea70409b51df98797f1e2622dc9
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
@@ -29,22 +27,14 @@ EBUILD apache-2.0.59-r2.ebuild 14079 RMD160 c9be7324ff9eaeb62c6a7667f7339c3e7d3e
MD5 6dcdc4563ddbbc21f13ed8aa24f5242d apache-2.0.59-r2.ebuild 14079
RMD160 c9be7324ff9eaeb62c6a7667f7339c3e7d3ecc32 apache-2.0.59-r2.ebuild 14079
SHA256 7f4d8e4095e0e785ebb2e9b73b3702494157dfbb6125d0ee98041eacc79b6378 apache-2.0.59-r2.ebuild 14079
-EBUILD apache-2.2.4-r1.ebuild 13790 RMD160 5c9f16d3bee7170528e73d0c7234e7bc74b7e72d SHA1 95aea6294d4531ca4738022a87f8adb559e3c764 SHA256 908887c25087fdbd860d2921086aa8a4d00f8ad868dba22df206e1883f0d9c14
-MD5 2aafd4aedd5f670a721ea23eec2d8992 apache-2.2.4-r1.ebuild 13790
-RMD160 5c9f16d3bee7170528e73d0c7234e7bc74b7e72d apache-2.2.4-r1.ebuild 13790
-SHA256 908887c25087fdbd860d2921086aa8a4d00f8ad868dba22df206e1883f0d9c14 apache-2.2.4-r1.ebuild 13790
-EBUILD apache-2.2.4-r2.ebuild 13741 RMD160 e7793bc682c1827b1d7edf9df947950bc8a776da SHA1 5be97bec14341eaa8a048faece0798945435b174 SHA256 81d1bf473e5a8418ae718cbe84e51bcc002546231e834b4a58257190519d017c
-MD5 027a311767def059ce9a4d3047076558 apache-2.2.4-r2.ebuild 13741
-RMD160 e7793bc682c1827b1d7edf9df947950bc8a776da apache-2.2.4-r2.ebuild 13741
-SHA256 81d1bf473e5a8418ae718cbe84e51bcc002546231e834b4a58257190519d017c apache-2.2.4-r2.ebuild 13741
-EBUILD apache-2.2.4.ebuild 13458 RMD160 db4e70cd09ef15811f1c123c29d0c3c1d597918c SHA1 d3fd31d60b5e284fbc7eb2f80071205c876126ce SHA256 f53dfad01d60a22190883fd857da7ea6a1b13e4056f774a76f550d9c3b9b3072
-MD5 d90b381fd065a099ec213990fad55cbc apache-2.2.4.ebuild 13458
-RMD160 db4e70cd09ef15811f1c123c29d0c3c1d597918c apache-2.2.4.ebuild 13458
-SHA256 f53dfad01d60a22190883fd857da7ea6a1b13e4056f774a76f550d9c3b9b3072 apache-2.2.4.ebuild 13458
-MISC ChangeLog 90061 RMD160 d3c25d150701e0c56dccb14e9fc731912d084c3b SHA1 d559a99e2f270b5bd2236562161798c572741891 SHA256 050e2ff03899c0d84d362e0df15279a9b68c8d8ce12a9d7e90b883b59663ba4e
-MD5 3f02a38f700861a302db240c3ff0dd84 ChangeLog 90061
-RMD160 d3c25d150701e0c56dccb14e9fc731912d084c3b ChangeLog 90061
-SHA256 050e2ff03899c0d84d362e0df15279a9b68c8d8ce12a9d7e90b883b59663ba4e ChangeLog 90061
+EBUILD apache-2.2.4-r2.ebuild 13771 RMD160 ce7adf15d840ff45956c5f549918cfbe87a4c3bb SHA1 dd91b79578729e6689779073bddd22cecb6f8cc3 SHA256 b3bf9629ab4575fb5bdf1c487448c42539fa3bca728a96d7799091adfc9b493b
+MD5 0623ca2419a3d3d8b6527d72abcda61c apache-2.2.4-r2.ebuild 13771
+RMD160 ce7adf15d840ff45956c5f549918cfbe87a4c3bb apache-2.2.4-r2.ebuild 13771
+SHA256 b3bf9629ab4575fb5bdf1c487448c42539fa3bca728a96d7799091adfc9b493b apache-2.2.4-r2.ebuild 13771
+MISC ChangeLog 90251 RMD160 a768b33ebbae84f9a74d103230fd251cab7b883e SHA1 490479f8e9d68e88499715ea713e6150a8e69251 SHA256 dd7555522805436e23fd460af10e7c27620a220fa752d97b886ff646e97e1033
+MD5 919da42ef3fb2cfce9747954b37e0732 ChangeLog 90251
+RMD160 a768b33ebbae84f9a74d103230fd251cab7b883e ChangeLog 90251
+SHA256 dd7555522805436e23fd460af10e7c27620a220fa752d97b886ff646e97e1033 ChangeLog 90251
MISC metadata.xml 551 RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 SHA1 68bb286a67452c3dae7525195c60b8637cca9b81 SHA256 646729a42ddffcbde3426dd6aa9a77fab923bc348c5b34c9d24083d86fbb15eb
MD5 0f28752ee3545b3fd8e28ee656e62f4b metadata.xml 551
RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 metadata.xml 551
@@ -61,12 +51,6 @@ SHA256 a168cb54770884f50f48411842613b904f1cbf24ca9596ea43b28eeed7688936 files/di
MD5 fb6513d7e3c17a25d505a7c7a06d43d7 files/digest-apache-2.0.59-r2 542
RMD160 124580b340dddc55cb1c92565a0de043a9b27ab1 files/digest-apache-2.0.59-r2 542
SHA256 d3d9b85e6d0dc1610726f52d7f45f34e144351cf96d449bdabcd362482405cb5 files/digest-apache-2.0.59-r2 542
-MD5 13fe4f2b1ea9abdd5a6d21b4fd951557 files/digest-apache-2.2.4 527
-RMD160 2da3967ecb466b7b592acd289d45a246486017b3 files/digest-apache-2.2.4 527
-SHA256 26585f0ead7cab908a161a06863837680a1c66fbf2fbd3a5eff27049ab17c4f2 files/digest-apache-2.2.4 527
-MD5 44254da94f0b05989be2b607e48ed3fc files/digest-apache-2.2.4-r1 536
-RMD160 f2be1049d951becb7826d125f47e5e0fa611f2be files/digest-apache-2.2.4-r1 536
-SHA256 65626277840a95db01655ad62ea471196d0e01a67cb210273c06c6c1b6bfaa10 files/digest-apache-2.2.4-r1 536
MD5 afedb71c3f9bee57c8007a45d0172cbb files/digest-apache-2.2.4-r2 536
RMD160 cd8c7c435eb70a1db1f9b913a7919c0f50988f50 files/digest-apache-2.2.4-r2 536
SHA256 f44888869d9cfcd4a57e93893c65e60f88af4d0a723deed74b66616ecc7d8c61 files/digest-apache-2.2.4-r2 536
diff --git a/net-www/apache/apache-2.2.4-r1.ebuild b/net-www/apache/apache-2.2.4-r1.ebuild
deleted file mode 100644
index ab82be47e28f..000000000000
--- a/net-www/apache/apache-2.2.4-r1.ebuild
+++ /dev/null
@@ -1,433 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.2.4-r1.ebuild,v 1.7 2007/05/22 10:52:43 hollow Exp $
-
-inherit eutils flag-o-matic gnuconfig multilib autotools
-
-# latest gentoo apache files
-GENTOO_PATCHNAME="gentoo-${PF}"
-GENTOO_PATCHSTAMP="20070522"
-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 )
- !=net-www/apache-1*"
-
-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 our MPM
- 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}
- einfo "Selected MPM: ${mpm}"
- 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
- einfo "Selected default threaded MPM: ${mpm}";
- else
- mpm=prefork
- einfo "Selected default MPM: ${mpm}";
- fi
- fi
-
- # setup apache user and group
- enewgroup apache 81
- enewuser apache 81 -1 /var/www apache
-}
-
-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,scripts/Makefile.suexec,scripts/suexec2-config} \
- || 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_SUFFIX="patch"
- epatch "${GENTOO_PATCHDIR}"/patches/[0-1]*
- if $(ls "${GENTOO_PATCHDIR}"/patches/[2-3]?_*_${mpm}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[2-3]?_*_${mpm}_*
- fi
- for uf in ${IUSE} ; do
- if use ${uf} && $(ls "${GENTOO_PATCHDIR}"/patches/[4-5]?_*_${uf}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[4-5]?_*_${uf}_*
- fi
- done
- if $(ls "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_*
- fi
-
- # setup the filesystem layout config
- cat "${GENTOO_PATCHDIR}"/patches/config.layout >> "${S}"/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
-}
-
-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
-
- 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 ssl; then
- mods="${mods} ssl"
- myconf="${myconf} --with-ssl=/usr --enable-ssl=${modtype}"
- fi
-
- # Fix for bug #24215 - robbat2@gentoo.org, 30 Oct 2003
- # We pre-load the cache with the correct answer! This avoids
- # it violating the sandbox. This may have to be changed for
- # non-Linux systems or if sem_open changes on Linux. This
- # hack is built around documentation in /usr/include/semaphore.h
- # and the glibc (pthread) source.
- echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> config.cache
-
- if use no-suexec ; then
- myconf="${myconf} --disable-suexec"
- else
- mods="${mods} suexec"
- myconf="${myconf} $(${GENTOO_PATCHDIR}/scripts/suexec2-config --config)"
- myconf="${myconf} \
- --with-suexec-bin=/usr/sbin/suexec2 \
- --enable-suexec=${modtype}"
- 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 \
- --cache-file="${S}/config.cache" \
- --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 \
- $( use_enable debug maintainer-mode ) \
- ${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"
-
- # Remove some of the default files installed by `make install'
- # and those binaries/manpages, that belong to app-admin/apache-tools now
- rm -Rf "${D}"/etc \
- "${D}"/usr/sbin/{envvars*,apachectl} \
- "${D}"/usr/sbin/{htdigest,htpasswd,ab,htdbm} \
- "${D}"/usr/share/man/man1/{htdigest,htpasswd,htdbm}.1* \
- "${D}"/usr/share/man/man8/ab.8*
-
- # This is a mapping of module names to the -D options in APACHE2_OPTS
- # Used for creating optional LoadModule lines
- mod_defines="info:INFO status:INFO
- ldap:LDAP authnz_ldap:AUTH_LDAP
- proxy:PROXY proxy_connect:PROXY proxy_http:PROXY
- proxy_ajp:PROXY proxy_balancer:PROXY
- ssl:SSL
- 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 ${mods} ; 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 logresolve apxs rotatelogs dbmmanage checkgid split-logfile suexec; do
- dosym /usr/sbin/${i} /usr/sbin/${i}2
- done
-
- # Install some thirdparty scripts
- exeinto /usr/sbin
- for i in apache2logserverstatus apache2splitlogfile suexec2-config ; do
- doexe "${GENTOO_PATCHDIR}"/scripts/${i}
- done
- use ssl && doexe "${GENTOO_PATCHDIR}"/scripts/gentestcrt.sh
-
- for i in logresolve.pl split-logfile log_server_status ; do
- doexe support/${i}
- done
-
- # needed for suexec2-config
- insinto /usr/$(get_libdir)/apache2/build
- doins "${GENTOO_PATCHDIR}"/scripts/Makefile.suexec
- doins support/suexec.c
-
- # we don't use apachectl anymore, it's symlinked to the init script now
- rm -f usr/share/man/man8/apachectl.8
-
- # Install some documentation
- dodoc ABOUT_APACHE CHANGES LAYOUT README README.platforms VERSIONING
-
- # 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 $?
-
- # Set up some sane permissions
- if ! use no-suexec ; then
- 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
-
- fperms 0755 /usr/sbin/apache2logserverstatus
- fperms 0755 /usr/sbin/apache2splitlogfile
-}
-
-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
-
- # Check for dual/upgrade install
- # The hasq is a hack so we don't throw QA warnings for not putting
- # apache2 in IUSE - the only use of the flag is this warning
-
- if has_version '<net-www/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
- 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
- elog "Some modules do not yet work with Apache 2.2."
- elog "To keep from accidentally downgrading to Apache 2.0, you should"
- elog "add the following to ${ROOT}/etc/portage/package.mask:"
- elog
- elog " <net-www/apache-2.2.0"
- elog
- fi
-}
-
-pkg_config() {
- 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
-}
-
-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/net-www/apache/apache-2.2.4-r2.ebuild b/net-www/apache/apache-2.2.4-r2.ebuild
index 29de90aadacc..a4a1247dca02 100644
--- a/net-www/apache/apache-2.2.4-r2.ebuild
+++ b/net-www/apache/apache-2.2.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.2.4-r2.ebuild,v 1.1 2007/05/22 20:52:35 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.2.4-r2.ebuild,v 1.2 2007/05/23 21:26:16 chtekk Exp $
inherit eutils flag-o-matic gnuconfig multilib autotools
@@ -28,6 +28,7 @@ DEPEND="dev-lang/perl
dev-libs/expat
dev-libs/libpcre
sys-libs/zlib
+ mpm-itk? ( sys-libs/libcap )
ldap? ( =net-nds/openldap-2* )
selinux? ( sec-policy/selinux-apache )
ssl? ( dev-libs/openssl )
diff --git a/net-www/apache/apache-2.2.4.ebuild b/net-www/apache/apache-2.2.4.ebuild
deleted file mode 100644
index 960fd71a9d6d..000000000000
--- a/net-www/apache/apache-2.2.4.ebuild
+++ /dev/null
@@ -1,425 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.2.4.ebuild,v 1.4 2007/05/07 18:47:34 kloeri Exp $
-
-inherit eutils flag-o-matic gnuconfig multilib autotools
-
-# latest gentoo apache files
-GENTOO_PATCHNAME="gentoo-apache-${PV}"
-GENTOO_PATCHSTAMP="20070121"
-GENTOO_DEVSPACE="phreak"
-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-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 )
- !=net-www/apache-1*"
-
-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 our MPM
- MPM_LIST="event peruser prefork worker"
- for x in ${MPM_LIST} ; do
- if use mpm-${x} ; then
- if [[ "x${mpm}" == "x" ]] ; then
- mpm=${x}
- einfo "Selected MPM: ${mpm}"
- 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
- einfo "Selected default threaded MPM: ${mpm}";
- else
- mpm=prefork
- einfo "Selected default MPM: ${mpm}";
- fi
- fi
-
- # setup apache user and group
- enewgroup apache 81
- enewuser apache 81 -1 /var/www apache
-}
-
-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,scripts/Makefile.suexec,scripts/suexec2-config} \
- || 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_SUFFIX="patch"
- epatch "${GENTOO_PATCHDIR}"/patches/[0-1]*
- if $(ls "${GENTOO_PATCHDIR}"/patches/[2-3]?_*_${mpm}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[2-3]?_*_${mpm}_*
- fi
- for uf in ${IUSE} ; do
- if use ${uf} && $(ls "${GENTOO_PATCHDIR}"/patches/[4-5]?_*_${uf}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[4-5]?_*_${uf}_*
- fi
- done
- if $(ls "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_* &>/dev/null) ; then
- epatch "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_*
- fi
-
- # setup the filesystem layout config
- cat "${GENTOO_PATCHDIR}"/patches/config.layout >> "${S}"/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
-}
-
-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
-
- 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 ssl; then
- mods="${mods} ssl"
- myconf="${myconf} --with-ssl=/usr --enable-ssl=${modtype}"
- fi
-
- # Fix for bug #24215 - robbat2@gentoo.org, 30 Oct 2003
- # We pre-load the cache with the correct answer! This avoids
- # it violating the sandbox. This may have to be changed for
- # non-Linux systems or if sem_open changes on Linux. This
- # hack is built around documentation in /usr/include/semaphore.h
- # and the glibc (pthread) source.
- echo 'ac_cv_func_sem_open=${ac_cv_func_sem_open=no}' >> config.cache
-
- if use no-suexec ; then
- myconf="${myconf} --disable-suexec"
- else
- mods="${mods} suexec"
- myconf="${myconf} $(${GENTOO_PATCHDIR}/scripts/suexec2-config --config)"
- myconf="${myconf} \
- --with-suexec-bin=/usr/sbin/suexec2 \
- --enable-suexec=${modtype}"
- 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 \
- --cache-file="${S}/config.cache" \
- --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 \
- $( use_enable debug maintainer-mode ) \
- ${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"
-
- # Remove some of the default files installed by `make install'
- # and those binaries/manpages, that belong to app-admin/apache-tools now
- rm -Rf "${D}"/etc \
- "${D}"/usr/sbin/{envvars*,apachectl} \
- "${D}"/usr/sbin/{htdigest,htpasswd,ab,htdbm} \
- "${D}"/usr/share/man/man1/{htdigest,htpasswd,htdbm}.1* \
- "${D}"/usr/share/man/man8/ab.8*
-
- # This is a mapping of module names to the -D options in APACHE2_OPTS
- # Used for creating optional LoadModule lines
- mod_defines="info:INFO status:INFO
- ldap:LDAP authnz_ldap:AUTH_LDAP
- proxy:PROXY proxy_connect:PROXY proxy_http:PROXY
- proxy_ajp:PROXY proxy_balancer:PROXY
- ssl:SSL
- 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 ${mods} ; 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
-
- # Install some thirdparty scripts
- exeinto /usr/sbin
- for i in apache2logserverstatus apache2splitlogfile suexec2-config ; do
- doexe "${GENTOO_PATCHDIR}"/scripts/${i}
- done
- use ssl && doexe "${GENTOO_PATCHDIR}"/scripts/gentestcrt.sh
-
- for i in logresolve.pl split-logfile log_server_status ; do
- doexe support/${i}
- done
-
- # needed for suexec2-config
- insinto /usr/$(get_libdir)/apache2/build
- doins "${GENTOO_PATCHDIR}"/scripts/Makefile.suexec
- doins support/suexec.c
-
- # we don't use apachectl anymore, it's symlinked to the init script now
- rm -f usr/share/man/man8/apachectl.8
-
- # Install some documentation
- dodoc ABOUT_APACHE CHANGES LAYOUT README README.platforms VERSIONING
-
- # 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 $?
-
- # Set up some sane permissions
- if ! use no-suexec ; then
- 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
-
- fperms 0755 /usr/sbin/apache2logserverstatus
- fperms 0755 /usr/sbin/apache2splitlogfile
-}
-
-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
-
- # Check for dual/upgrade install
- # The hasq is a hack so we don't throw QA warnings for not putting
- # apache2 in IUSE - the only use of the flag is this warning
-
- if has_version '<net-www/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
- 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
- elog "Some modules do not yet work with Apache 2.2."
- elog "To keep from accidentally downgrading to Apache 2.0, you should"
- elog "add the following to ${ROOT}/etc/portage/package.mask:"
- elog
- elog " <net-www/apache-2.2.0"
- elog
- fi
-}
-
-pkg_config() {
- 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
-}
-
-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/net-www/apache/files/digest-apache-2.2.4 b/net-www/apache/files/digest-apache-2.2.4
deleted file mode 100644
index f5127e69739f..000000000000
--- a/net-www/apache/files/digest-apache-2.2.4
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 067c25a353dd885b26253cda77771d98 gentoo-apache-2.2.4-20070121.tar.bz2 53108
-RMD160 180aaef9d7a174bf917d7cecac467c3a541901ce gentoo-apache-2.2.4-20070121.tar.bz2 53108
-SHA256 0cd381f4aee3795529bc27fe1926e9b20423931a26e508368b98ba38c29a6421 gentoo-apache-2.2.4-20070121.tar.bz2 53108
-MD5 536c86c7041515a25dd8bad3611da9a3 httpd-2.2.4.tar.bz2 4930375
-RMD160 bb6e8a7447fa8e8f629010f30b548068de518523 httpd-2.2.4.tar.bz2 4930375
-SHA256 08ab82eae6418e265d361730e7eadc7d6966dffdb66ee07bd4d9af3f2b28dfc8 httpd-2.2.4.tar.bz2 4930375
diff --git a/net-www/apache/files/digest-apache-2.2.4-r1 b/net-www/apache/files/digest-apache-2.2.4-r1
deleted file mode 100644
index 813d53f839ac..000000000000
--- a/net-www/apache/files/digest-apache-2.2.4-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 164f4858067d6871e90de9b9dc3466e2 gentoo-apache-2.2.4-r1-20070522.tar.bz2 61598
-RMD160 87939e578b45d49e80c848f4429b8312cc634988 gentoo-apache-2.2.4-r1-20070522.tar.bz2 61598
-SHA256 300c024020bc24fde03c8f32657dd08122abb90f8da0267e268b24be9f67e5bf gentoo-apache-2.2.4-r1-20070522.tar.bz2 61598
-MD5 536c86c7041515a25dd8bad3611da9a3 httpd-2.2.4.tar.bz2 4930375
-RMD160 bb6e8a7447fa8e8f629010f30b548068de518523 httpd-2.2.4.tar.bz2 4930375
-SHA256 08ab82eae6418e265d361730e7eadc7d6966dffdb66ee07bd4d9af3f2b28dfc8 httpd-2.2.4.tar.bz2 4930375