summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-11-26 23:54:06 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-11-26 23:54:06 +0000
commit95a5d3d0ac98fb5d8d324ad8bec23bfaad1e6712 (patch)
tree5113a4baacf382b9794bf0ff6f46ad205c80be74 /dev-db
parentnew version, removed old ones (diff)
downloadgentoo-2-95a5d3d0ac98fb5d8d324ad8bec23bfaad1e6712.tar.gz
gentoo-2-95a5d3d0ac98fb5d8d324ad8bec23bfaad1e6712.tar.bz2
gentoo-2-95a5d3d0ac98fb5d8d324ad8bec23bfaad1e6712.zip
Added dep and einfo. Fixes #11150
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysqltool/ChangeLog5
-rw-r--r--dev-db/mysqltool/mysqltool-0.95-r1.ebuild15
2 files changed, 18 insertions, 2 deletions
diff --git a/dev-db/mysqltool/ChangeLog b/dev-db/mysqltool/ChangeLog
index 54f908397c13..e97a2f4da7b5 100644
--- a/dev-db/mysqltool/ChangeLog
+++ b/dev-db/mysqltool/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for dev-db/mysqltool
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/ChangeLog,v 1.6 2002/11/14 18:47:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/ChangeLog,v 1.7 2002/11/26 23:54:06 rphillips Exp $
*mysqltool-0.95-r1 (3 May 2002)
+ 26 Nov 2002; Ryan Phillips <rphillips@gentoo.org> :
+ Added Apache:DBI dep and einfo. Fixes #11150
+
14 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
Replaced hardcoding of /home/httpd/htdocs with a grep of /etc/apache/conf/apache.conf
diff --git a/dev-db/mysqltool/mysqltool-0.95-r1.ebuild b/dev-db/mysqltool/mysqltool-0.95-r1.ebuild
index bb2cd98c4eb7..802825d5244e 100644
--- a/dev-db/mysqltool/mysqltool-0.95-r1.ebuild
+++ b/dev-db/mysqltool/mysqltool-0.95-r1.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/dev-db/mysqltool/mysqltool-0.95-r1.ebuild,v 1.8 2002/11/17 09:02:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/mysqltool-0.95-r1.ebuild,v 1.9 2002/11/26 23:54:06 rphillips Exp $
inherit perl-module
@@ -19,6 +19,7 @@ RDEPEND="${DEPEND}
>=net-www/apache-1.3.24-r1
>=dev-db/mysql-3.23.38
dev-perl/CGI
+ dev-perl/Apache-DBI
dev-perl/DBI
dev-perl/DBD-mysql
dev-perl/Crypt-Blowfish"
@@ -57,3 +58,15 @@ src_install() {
${D}${APACHE_ROOT}/mysqltool/index.cgi
rm ${D}${APACHE_ROOT}/mysqltool/index.cgi.orig
}
+
+pkg_postinst() {
+ einfo "Please add the following to commonapache.conf:"
+ einfo "PerlRequire {apache_root}/conf/mysqltool.conf"
+ einfo "<Directory {apache_document_root}/htdocs/mysqltool>"
+ einfo "Options ExecCGI"
+ einfo "<Files *.cgi>"
+ einfo "SetHandler perl-script"
+ einfo "PerlHandler MysqlTool"
+ einfo "</Files>"
+ einfo "</Directory>"
+}