--- /dev/null
+# ChangeLog for dev-db/mysqltool
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/ChangeLog,v 1.19 2004/06/29 16:54:32 agriffis Exp $
+
+ 29 Jun 2004; Aron Griffis <agriffis@gentoo.org> mysqltool-0.95-r1.ebuild,
+ mysqltool-0.95-r2.ebuild, mysqltool-0.95-r3.ebuild:
+ sync IUSE (missing), glibc -> libc
+
+ 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> mysqltool-0.95-r2.ebuild,
+ mysqltool-0.95-r3.ebuild:
+ Fix use invocation
+
+*mysqltool-0.95-r3 (23 Apr 2004)
+
+ 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> mysqltool-0.95-r3.ebuild,
+ files/90_mysqltool.conf.m4:
+ Config file fix; see bug #44748
+
+ 02 Mar 2004; Jason Wever <weeve@gentoo.org> mysqltool-0.95-r2.ebuild:
+ Marked stable on sparc.
+
+ 06 Nov 2003; Robin H. Johnson <robbat2@gentoo.org> mysqltool-0.95-r1.ebuild,
+ mysqltool-0.95-r2.ebuild:
+ : instead of . for chown
+
+*mysqltool-0.95-r2 (04 May 2003)
+
+ 12 May 2003; Robin Johnson <robbat2@gentoo.org> mysqltool-0.95-r2.ebuild:
+ Moved some dev-perl RDEPENDs to DEPEND instead, for bug 20845.
+
+ 11 May 2003; Robin Johnson <robbat2@gentoo.org> files/90_mysqltool.conf.m4:
+ Slight fix again now, also marked as stable.
+
+ 04 May 2003; Robin Johnson <robbat2@gentoo.org> mysqltool-0.95-r2.ebuild,
+ files/90_mysqltool.conf.m4:
+ Rewrote the install/postinst sections to support apache2+mod_perl better, as
+ well as fixing bug #20119 at the same time. Also made it easier for the user
+ ;-). Fixed some more bugs in my ebuilds now.
+
+*mysqltool-0.95-r1 (03 May 2002)
+
+ 07 Dec 2002; Jack Morgan <jmorgan@gentoo.org> mysqltool-0.95-r1.ebuild :
+ Changed sparc64 to sparc keyword
+
+ 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
+
+ 09 Nov 2002; <rphillips@gentoo.org> :
+ Added Paul Belt's fixes for the installation paths
+
+ 15 Oct 2002; <mucmmings@gentoo.org> :
+ Add sparc64 to keywords
+
+ 09 Sep 2002; <mcummings@gentoo.org> :
+ Added perl-module eclass support properly.
+
+ 03 May 2002; Donny Davies <woodchip@gentoo.org> :
+ Added LICENSE, SLOT.
+
+*mysqltool-0.95 (17 Apr 2002)
+
+ 17 Apr 2002; Donny Davies <woodchip@gentoo.org> :
+ Created an ebuild for mysqltool, a perl-based frontend for administering
+ MySQL servers. Similiar to phpMyAdmin.
--- /dev/null
+MD5 6af80294eea806e560857615f26253fe mysqltool-0.95-r2.ebuild 3224
+MD5 2d4caa48baf3edf810fff692d271c34f mysqltool-0.95-r1.ebuild 2285
+MD5 d74bd3f11e092a46038f58cf1fa56a18 mysqltool-0.95-r3.ebuild 3225
+MD5 759ad8936db54394502fac37e1998513 ChangeLog 2445
+MD5 8f29dbd83bfe415fe9b3dff311ce9c20 files/90_mysqltool.conf.m4 363
+MD5 f19ea0fa37a19ab341ca96aacd0418c9 files/digest-mysqltool-0.95-r1 65
+MD5 f19ea0fa37a19ab341ca96aacd0418c9 files/digest-mysqltool-0.95-r2 65
+MD5 f19ea0fa37a19ab341ca96aacd0418c9 files/digest-mysqltool-0.95-r3 65
--- /dev/null
+<IfDefine MYSQLTOOL>
+ <IfDefine PERL>
+ PerlRequire __APACHE_MODULES_CONF_DIR__/mysqltool.pl
+ </IfDefine>
+ <Directory __APACHE_DOCUMENT_ROOT__/mysqltool>
+ Options ExecCGI
+ <Files *.cgi>
+### SetHandler perl-script
+ SetHandler cgi-script
+ <IfDefine PERL>
+ PerlHandler MysqlTool
+ </IfDefine>
+ </Files>
+ </Directory>
+</IfDefine>
--- /dev/null
+MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898
--- /dev/null
+MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898
--- /dev/null
+MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# 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.17 2004/06/29 16:54:32 agriffis Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/MysqlTool-${PV}
+DESCRIPTION="Web interface for managing one or more mysql server installations"
+SRC_URI="http://www.dajoba.com/projects/mysqltool/MysqlTool-${PV}.tar.gz"
+HOMEPAGE="http://www.dajoba.com/projects/mysqltool/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc"
+IUSE=""
+
+DEPEND="virtual/libc
+ dev-lang/perl"
+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"
+
+src_install() {
+ eval `perl '-V:installarchlib'`
+ dodir /$installarchlib
+
+ cp ${S}/Makefile ${S}/Makefile.orig
+ cat ${S}/Makefile | sed -e "s!INSTALLMAN1DIR = /usr/share/man/man1!INSTALLMAN1DIR = ${D}/usr/share/man/man1!" -e "s!INSTALLMAN3DIR = /usr/share/man/man3!INSTALLMAN3DIR = ${D}/usr/share/man/man3!" > ${S}/Makefile.gentoo
+ mv ${S}/Makefile.gentoo ${S}/Makefile
+
+ make install || die
+
+ dodoc COPYING Changes MANIFEST README Upgrade
+
+ # the cgi and images..
+ dodir /home/httpd/htdocs/mysqltool
+ cp -a htdocs/* ${D}/home/httpd/htdocs/mysqltool
+ rm ${D}/home/httpd/htdocs/mysqltool/mysqltool.conf
+
+ # the config file..
+ insinto /etc/apache/conf/addon-modules
+ doins htdocs/mysqltool.conf
+ fowners apache:apache /etc/apache/conf/addon-modules/mysqltool.conf
+ fperms 0600 /etc/apache/conf/addon-modules/mysqltool.conf
+
+ # now fix its location in the main cgi..
+ cp ${D}/home/httpd/htdocs/mysqltool/index.cgi \
+ ${D}/home/httpd/htdocs/mysqltool/index.cgi.orig
+ sed -e "s:^\(require\).*:\1 '/etc/apache/conf/addon-modules/mysqltool.conf';:" \
+ ${D}/home/httpd/htdocs/mysqltool/index.cgi.orig > \
+ ${D}/home/httpd/htdocs/mysqltool/index.cgi
+ rm ${D}/home/httpd/htdocs/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>"
+}
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/mysqltool-0.95-r2.ebuild,v 1.12 2004/06/29 16:54:32 agriffis Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/MysqlTool-${PV}
+DESCRIPTION="Web interface for managing one or more mysql server installations"
+SRC_URI="http://www.dajoba.com/projects/mysqltool/MysqlTool-${PV}.tar.gz"
+HOMEPAGE="http://www.dajoba.com/projects/mysqltool/"
+IUSE="apache2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc ~ppc ~alpha"
+
+DEPEND="virtual/libc
+ dev-lang/perl
+ >=dev-db/mysql-3.23.38
+ dev-perl/Apache-DBI
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/Crypt-Blowfish"
+RDEPEND="${DEPEND}
+ || ( >=net-www/apache-1.3.24-r1
+ apache2? ( >=net-www/apache-2.0.45 )
+ )"
+
+src_install() {
+ eval `perl '-V:installarchlib'`
+ dodir /$installarchlib
+
+ cp ${S}/Makefile ${S}/Makefile.orig
+ cat ${S}/Makefile | sed -e "s!INSTALLMAN1DIR = /usr/share/man/man1!INSTALLMAN1DIR = ${D}/usr/share/man/man1!" -e "s!INSTALLMAN3DIR = /usr/share/man/man3!INSTALLMAN3DIR = ${D}/usr/share/man/man3!" > ${S}/Makefile.gentoo
+ mv ${S}/Makefile.gentoo ${S}/Makefile
+
+ make install || die
+
+ dodoc COPYING Changes MANIFEST README Upgrade
+
+ local __apache_server_root__
+ if use apache2; then
+ __apache_server_root__="/etc/apache2"
+ else
+ __apache_server_root__="/etc/apache"
+ fi;
+ __apache_conf_dir__=${__apache_server_root__}/conf
+ local __apache_document_root__
+ __apache_document_root__=`grep "^DocumentRoot" ${__apache_conf_dir__}/*.conf -h | cut -d' ' -f2`
+ local __apache_modules_conf_dir__
+ if use apache2; then
+ __apache_modules_conf_dir__="${__apache_conf_dir__}/modules.d"
+ else
+ __apache_modules_conf_dir__="${__apache_conf_dir__}/addon-modules"
+ fi;
+
+ # the cgi and images..
+ dodir ${__apache_document_root__}/mysqltool
+ cp -a htdocs/* ${D}/${__apache_document_root__}/mysqltool
+ rm ${D}/${__apache_document_root__}/mysqltool/mysqltool.conf
+
+ # the config file..
+ local apacheconfbase
+ apacheconfbase=${FILESDIR}/90_mysqltool.conf.m4
+ insinto ${__apache_modules_conf_dir__}
+ cp ${S}/htdocs/mysqltool.conf ${S}/htdocs/mysqltool.pl
+ doins htdocs/mysqltool.pl
+ fowners apache:apache ${__apache_modules_conf_dir__}/mysqltool.pl
+ fperms 0600 ${__apache_modules_conf_dir__}/mysqltool.pl
+ m4 -D__APACHE_SERVER_ROOT__=${__apache_server_root__} -D__APACHE_DOCUMENT_ROOT__=${__apache_document_root__} -D__APACHE_MODULES_CONF_DIR__=${__apache_modules_conf_dir__} ${apacheconfbase} >${D}/${__apache_modules_conf_dir__}/`basename ${apacheconfbase} .m4`
+
+ # now fix its location in the main cgi..
+ cp ${D}/${__apache_document_root__}/mysqltool/index.cgi \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig
+ sed -e "s:^\(require\).*:\1 '${__apache_modules_conf_dir__}/mysqltool.pl';:" \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig > \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi
+ rm ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig
+}
+
+pkg_postinst() {
+ einfo "To have Apache support MySQLTool, please do the following:"
+ local f
+ if use apache2 ; then
+ f='2'
+ else
+ f=''
+ fi
+ einfo "Edit /etc/conf.d/apache${f} and add \"-D MYSQLTOOL\" to APACHE${f}_OPTS"
+}
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/mysqltool-0.95-r3.ebuild,v 1.4 2004/06/29 16:54:32 agriffis Exp $
+
+inherit perl-module
+
+S=${WORKDIR}/MysqlTool-${PV}
+DESCRIPTION="Web interface for managing one or more mysql server installations"
+SRC_URI="http://www.dajoba.com/projects/mysqltool/MysqlTool-${PV}.tar.gz"
+HOMEPAGE="http://www.dajoba.com/projects/mysqltool/"
+IUSE="apache2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+
+DEPEND="virtual/libc
+ dev-lang/perl
+ >=dev-db/mysql-3.23.38
+ dev-perl/CGI
+ dev-perl/Apache-DBI
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/Crypt-Blowfish"
+RDEPEND="${DEPEND}
+ || ( >=net-www/apache-1.3.24-r1
+ apache2? ( >=net-www/apache-2.0.45 )
+ )"
+
+src_install() {
+ eval `perl '-V:installarchlib'`
+ dodir /$installarchlib
+
+ cp ${S}/Makefile ${S}/Makefile.orig
+ cat ${S}/Makefile | sed -e "s!INSTALLMAN1DIR = /usr/share/man/man1!INSTALLMAN1DIR = ${D}/usr/share/man/man1!" -e "s!INSTALLMAN3DIR = /usr/share/man/man3!INSTALLMAN3DIR = ${D}/usr/share/man/man3!" > ${S}/Makefile.gentoo
+ mv ${S}/Makefile.gentoo ${S}/Makefile
+
+ make install || die
+
+ dodoc COPYING Changes MANIFEST README Upgrade
+
+ local __apache_server_root__
+ if use apache2; then
+ __apache_server_root__="/etc/apache2"
+ else
+ __apache_server_root__="/etc/apache"
+ fi;
+ __apache_conf_dir__=${__apache_server_root__}/conf
+ local __apache_document_root__
+ __apache_document_root__=`grep "^DocumentRoot" ${__apache_conf_dir__}/*.conf -h | cut -d' ' -f2`
+ local __apache_modules_conf_dir__
+ if use apache2; then
+ __apache_modules_conf_dir__="${__apache_conf_dir__}/modules.d"
+ else
+ __apache_modules_conf_dir__="${__apache_conf_dir__}/addon-modules"
+ fi;
+
+ # the cgi and images..
+ dodir ${__apache_document_root__}/mysqltool
+ cp -a htdocs/* ${D}/${__apache_document_root__}/mysqltool
+ rm ${D}/${__apache_document_root__}/mysqltool/mysqltool.conf
+
+ # the config file..
+ local apacheconfbase
+ apacheconfbase=${FILESDIR}/90_mysqltool.conf.m4
+ insinto ${__apache_modules_conf_dir__}
+ cp ${S}/htdocs/mysqltool.conf ${S}/htdocs/mysqltool.pl
+ doins htdocs/mysqltool.pl
+ fowners apache:apache ${__apache_modules_conf_dir__}/mysqltool.pl
+ fperms 0600 ${__apache_modules_conf_dir__}/mysqltool.pl
+ m4 -D__APACHE_SERVER_ROOT__=${__apache_server_root__} -D__APACHE_DOCUMENT_ROOT__=${__apache_document_root__} -D__APACHE_MODULES_CONF_DIR__=${__apache_modules_conf_dir__} ${apacheconfbase} >${D}/${__apache_modules_conf_dir__}/`basename ${apacheconfbase} .m4`
+
+ # now fix its location in the main cgi..
+ cp ${D}/${__apache_document_root__}/mysqltool/index.cgi \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig
+ sed -e "s:^\(require\).*:\1 '${__apache_modules_conf_dir__}/mysqltool.pl';:" \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig > \
+ ${D}/${__apache_document_root__}/mysqltool/index.cgi
+ rm ${D}/${__apache_document_root__}/mysqltool/index.cgi.orig
+}
+
+pkg_postinst() {
+ einfo "To have Apache support MySQLTool, please do the following:"
+ local f
+ if use apache2 ; then
+ f='2'
+ else
+ f=''
+ fi
+ einfo "Edit /etc/conf.d/apache${f} and add \"-D MYSQLTOOL\" to APACHE${f}_OPTS"
+}