summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-01-18 20:13:11 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-01-18 20:13:11 +0000
commit639ede659a1978c8df7c3aa05ab539faa7c4999b (patch)
treedec1685933740d14cf7db3e626e6841ad456a9b9 /net-www
parentstable x86 wrt bug 155828 (diff)
downloadhistorical-639ede659a1978c8df7c3aa05ab539faa7c4999b.tar.gz
historical-639ede659a1978c8df7c3aa05ab539faa7c4999b.tar.bz2
historical-639ede659a1978c8df7c3aa05ab539faa7c4999b.zip
Various fixes.
Package-Manager: portage-2.1.2_rc4-r8
Diffstat (limited to 'net-www')
-rw-r--r--net-www/apache/ChangeLog5
-rw-r--r--net-www/apache/Manifest16
-rw-r--r--net-www/apache/apache-2.2.3-r2.ebuild59
3 files changed, 42 insertions, 38 deletions
diff --git a/net-www/apache/ChangeLog b/net-www/apache/ChangeLog
index f455261e4e95..7aded3a57336 100644
--- a/net-www/apache/ChangeLog
+++ b/net-www/apache/ChangeLog
@@ -1,6 +1,9 @@
# 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.507 2007/01/15 23:54:13 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/apache/ChangeLog,v 1.508 2007/01/18 20:13:11 chtekk Exp $
+
+ 18 Jan 2007; Luca Longinotti <chtekk@gentoo.org> apache-2.2.3-r2.ebuild:
+ Fix quoting, fix ldap dep, use econf correctly, thanks to phreak.
*apache-2.2.3-r2 (15 Jan 2007)
diff --git a/net-www/apache/Manifest b/net-www/apache/Manifest
index 5bd4b295594d..d77c4cb0fd26 100644
--- a/net-www/apache/Manifest
+++ b/net-www/apache/Manifest
@@ -27,14 +27,14 @@ EBUILD apache-2.0.59-r2.ebuild 14083 RMD160 6024806347fbcf6a8811cbdaa0ca318d0790
MD5 98a3f55dc44ee407a70d80953a4f3973 apache-2.0.59-r2.ebuild 14083
RMD160 6024806347fbcf6a8811cbdaa0ca318d079060ac apache-2.0.59-r2.ebuild 14083
SHA256 d9c1a0f933542e181098e02c2aa9c251a21feef0ce78a9db109511752ff78112 apache-2.0.59-r2.ebuild 14083
-EBUILD apache-2.2.3-r2.ebuild 14395 RMD160 7a70ce6cf5344139f65f7c161514f64204439d1b SHA1 e3724a606502a03ff82ec15283e68b678e0a4d1f SHA256 ba7619e5b775328b3791aceac2044eac8be83919c54ca61b1489240f23c3b879
-MD5 60833b9a007917c3c24977c73845ff92 apache-2.2.3-r2.ebuild 14395
-RMD160 7a70ce6cf5344139f65f7c161514f64204439d1b apache-2.2.3-r2.ebuild 14395
-SHA256 ba7619e5b775328b3791aceac2044eac8be83919c54ca61b1489240f23c3b879 apache-2.2.3-r2.ebuild 14395
-MISC ChangeLog 87370 RMD160 3532d7255fed2bceb7ac64a600f1fe8db526e6ce SHA1 228dd328235b5a0fef3e94aaf4a2a866d3b96fcf SHA256 0d24d3374302185df7e178ed61e0a0ce1d840192db90bbb114b3ae5830098c2c
-MD5 6f310decb28857631ed77f02bc317996 ChangeLog 87370
-RMD160 3532d7255fed2bceb7ac64a600f1fe8db526e6ce ChangeLog 87370
-SHA256 0d24d3374302185df7e178ed61e0a0ce1d840192db90bbb114b3ae5830098c2c ChangeLog 87370
+EBUILD apache-2.2.3-r2.ebuild 14388 RMD160 4ff0c01b87143b0320d37112483a475df6aa9429 SHA1 b1dc2dad2f244a713a5498e588ebd40f07f6ec6b SHA256 f9382f2fe76590247ec8eb7e0f12c7ff78a4cf6cfe7fb220cb491b1167bc4dcc
+MD5 2e32f8bc327c8aad59214049372e0d62 apache-2.2.3-r2.ebuild 14388
+RMD160 4ff0c01b87143b0320d37112483a475df6aa9429 apache-2.2.3-r2.ebuild 14388
+SHA256 f9382f2fe76590247ec8eb7e0f12c7ff78a4cf6cfe7fb220cb491b1167bc4dcc apache-2.2.3-r2.ebuild 14388
+MISC ChangeLog 87514 RMD160 15ddf7fa3d139447060340ca95cb79adc44dc03e SHA1 3efa6d0a6cd2067bedd035b0b0b0b6065e4ae389 SHA256 1f205b1c317c0b35cfdce28cb25bfd6247ce416e777e5220c38d2138b586720a
+MD5 e72c5e0341b6b0608cc3816b309e294f ChangeLog 87514
+RMD160 15ddf7fa3d139447060340ca95cb79adc44dc03e ChangeLog 87514
+SHA256 1f205b1c317c0b35cfdce28cb25bfd6247ce416e777e5220c38d2138b586720a ChangeLog 87514
MISC metadata.xml 551 RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 SHA1 68bb286a67452c3dae7525195c60b8637cca9b81 SHA256 646729a42ddffcbde3426dd6aa9a77fab923bc348c5b34c9d24083d86fbb15eb
MD5 0f28752ee3545b3fd8e28ee656e62f4b metadata.xml 551
RMD160 1b31261c043e57cabc9bd8582f9b34c09d92d108 metadata.xml 551
diff --git a/net-www/apache/apache-2.2.3-r2.ebuild b/net-www/apache/apache-2.2.3-r2.ebuild
index df559e3d141b..ce26a60a35f0 100644
--- a/net-www/apache/apache-2.2.3-r2.ebuild
+++ b/net-www/apache/apache-2.2.3-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.3-r2.ebuild,v 1.1 2007/01/15 23:54:13 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/apache/apache-2.2.3-r2.ebuild,v 1.2 2007/01/18 20:13:11 chtekk Exp $
inherit eutils flag-o-matic gnuconfig multilib autotools
@@ -29,9 +29,9 @@ DEPEND="app-misc/mime-types
dev-libs/expat
dev-libs/libpcre
sys-libs/zlib
+ ldap? ( =net-nds/openldap-2* )
selinux? ( sec-policy/selinux-apache )
- ssl? ( dev-libs/openssl )
- !mips? ( ldap? ( =net-nds/openldap-2* ) )"
+ ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/httpd-${PV}"
@@ -80,7 +80,7 @@ src_unpack() {
# 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} \
+ "${GENTOO_PATCHDIR}"/{conf/httpd.conf,init/*,patches/config.layout,scripts/Makefile.suexec,scripts/suexec2-config} \
|| die "libdir sed failed"
#### Patch Organization
@@ -91,24 +91,24 @@ src_unpack() {
# 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}_*
+ epatch "${GENTOO_PATCHDIR}"/patches/[0-1]*
+ if $(ls "${GENTOO_PATCHDIR}"/patches/[2-3]?_*_${mpm}_* &>/dev/null) ; then
+ epatch "${GENTOO_PATCHDIR}"/p6atches/[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}_*
+ 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}_*
+ if $(ls "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_* &>/dev/null) ; then
+ epatch "${GENTOO_PATCHDIR}"/patches/[6-9]?_*_${PV}_*
fi
# avoid utf-8 charset problems
export LC_CTYPE=C
# setup the filesystem layout config
- cat ${GENTOO_PATCHDIR}/patches/config.layout >> config.layout
+ cat "${GENTOO_PATCHDIR}"/patches/config.layout >> config.layout
sed -i -e "s:version:${PF}:g" config.layout
# patched-in MPMs need the build environment rebuilt
@@ -154,25 +154,26 @@ src_compile() {
fi
# common confopts
- myconf="${myconf} \
- --cache-file="${S}/config.cache" \
+ myconf="--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 \
--enable-layout=Gentoo \
--with-program-name=apache2 \
- --host=${CHOST} ${MY_BUILTINS} \
- --with-apr=/usr \
- --with-apr-util=/usr \
- --with-pcre=/usr"
+ ${myconf} \
+ ${MY_BUILTINS}"
# debugging support
if use debug ; then
myconf="${myconf} --enable-maintainer-mode"
fi
- ./configure --with-mpm=${mpm} ${myconf} ${EXTRA_ECONF} || die "bad ./configure: please submit a bug report to bugs.gentoo.org, including your config.layout and config.log"
+ econf ${myconf} || die "econf failed: please submit a bug report to bugs.gentoo.org, including your config.layout and config.log"
sed -i -e 's:apache2\.conf:httpd.conf:' include/ap_config_auto.h
@@ -230,13 +231,13 @@ src_install () {
done
fi
sed -i -e "s:%%LOAD_MODULE%%:${load_module}:" \
- ${GENTOO_PATCHDIR}/conf/httpd.conf || die "sed failed"
+ "${GENTOO_PATCHDIR}"/conf/httpd.conf || die "sed failed"
# install our configuration
- doins -r ${GENTOO_PATCHDIR}/conf/*
+ doins -r "${GENTOO_PATCHDIR}"/conf/*
insinto /etc/logrotate.d
- newins ${GENTOO_PATCHDIR}/scripts/apache2-logrotate apache2
+ newins "${GENTOO_PATCHDIR}"/scripts/apache2-logrotate apache2
# generate a sane default APACHE2_OPTS
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE"
@@ -245,12 +246,12 @@ src_install () {
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"
+ "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed"
mv -f "${D}"/etc/apache2/apache2-builtin-mods "${D}"/etc/apache2/apache2-builtin-mods-2.2
- newconfd ${GENTOO_PATCHDIR}/init/apache2.confd apache2
- newinitd ${GENTOO_PATCHDIR}/init/apache2.initd apache2
+ 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
@@ -259,9 +260,9 @@ src_install () {
einfo "Installing helper scripts"
exeinto /usr/sbin
for i in apache2logserverstatus apache2splitlogfile suexec2-config ; do
- doexe ${GENTOO_PATCHDIR}/scripts/${i}
+ doexe "${GENTOO_PATCHDIR}"/scripts/${i}
done
- use ssl && doexe ${GENTOO_PATCHDIR}/scripts/gentestcrt.sh
+ use ssl && doexe "${GENTOO_PATCHDIR}"/scripts/gentestcrt.sh
for i in logresolve.pl split-logfile log_server_status ; do
doexe support/${i}
@@ -269,7 +270,7 @@ src_install () {
# needed for suexec2-config
insinto /usr/$(get_libdir)/apache2/build
- doins ${GENTOO_PATCHDIR}/scripts/Makefile.suexec
+ doins "${GENTOO_PATCHDIR}"/scripts/Makefile.suexec
doins support/suexec.c
#### SLOTTING
@@ -463,6 +464,6 @@ parse_modules_config() {
select_modules_config() {
parse_modules_config "${ROOT}"/etc/apache2/apache2-builtin-mods-2.2 || \
- parse_modules_config ${GENTOO_PATCHDIR}/conf/apache2-builtin-mods || \
+ parse_modules_config "${GENTOO_PATCHDIR}"/conf/apache2-builtin-mods || \
return 1
}