summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-12-17 21:20:03 +0000
committerMike Frysinger <vapier@gentoo.org>2002-12-17 21:20:03 +0000
commit57fe1f7f1decbbb9c788236840cdbb03e4c70ac7 (patch)
treef5d4da76a074bb852e6f6f0a8406e2e927b4f5ff /app-admin/webalizer
parentInitial import per Bug #8359 (diff)
downloadgentoo-2-57fe1f7f1decbbb9c788236840cdbb03e4c70ac7.tar.gz
gentoo-2-57fe1f7f1decbbb9c788236840cdbb03e4c70ac7.tar.bz2
gentoo-2-57fe1f7f1decbbb9c788236840cdbb03e4c70ac7.zip
fixed my fix
Diffstat (limited to 'app-admin/webalizer')
-rw-r--r--app-admin/webalizer/webalizer-2.01.10-r2.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/app-admin/webalizer/webalizer-2.01.10-r2.ebuild b/app-admin/webalizer/webalizer-2.01.10-r2.ebuild
index 0d228b5da07b..cea9916dc18d 100644
--- a/app-admin/webalizer/webalizer-2.01.10-r2.ebuild
+++ b/app-admin/webalizer/webalizer-2.01.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r2.ebuild,v 1.10 2002/12/09 04:17:36 manson Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r2.ebuild,v 1.11 2002/12/17 21:20:03 vapier Exp $
MY_P=${P/.10/-10}
S=${WORKDIR}/${MY_P}
@@ -17,9 +17,6 @@ DEPEND="=sys-libs/db-1*
>=media-libs/libpng-1.2
>=media-libs/libgd-1.8.3"
-APACHE_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`"
-[ -z "${APACHE_ROOT}" ] && APACHE_ROOT="/home/httpd/htdocs"
-
src_unpack() {
unpack ${A} ; cd ${S}
# fix --enable-dns; our db1 headers are in /usr/include/db1
@@ -44,9 +41,8 @@ src_install() {
newins ${FILESDIR}/webalizer-${PV}.conf webalizer.conf
insinto /etc/apache/conf/addon-modules
doins ${FILESDIR}/apache.webalizer
- dosed "s:/home/httpd/htdocs:${APACHE_ROOT}:" /etc/apache/conf/addon-modules/apache.webalizer
dodoc README* CHANGES COPYING Copyright sample.conf
- dodir ${APACHE_ROOT}/webalizer
+ dodir /home/httpd/htdocs/webalizer
}
pkg_postinst() {