From 545516482fe017fc6ea423398e27dbb77557f595 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 4 May 2007 08:43:41 +0000 Subject: [PATCH] Weitere Ebuilds git-svn-id: http://svn.brehm-online.com/svn/portage@3 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b --- dev-db/mysqltool/ChangeLog | 67 ++++++++++++++ dev-db/mysqltool/Manifest | 8 ++ dev-db/mysqltool/files/90_mysqltool.conf.m4 | 15 +++ .../mysqltool/files/digest-mysqltool-0.95-r1 | 1 + .../mysqltool/files/digest-mysqltool-0.95-r2 | 1 + .../mysqltool/files/digest-mysqltool-0.95-r3 | 1 + dev-db/mysqltool/mysqltool-0.95-r1.ebuild | 70 ++++++++++++++ dev-db/mysqltool/mysqltool-0.95-r2.ebuild | 90 ++++++++++++++++++ dev-db/mysqltool/mysqltool-0.95-r3.ebuild | 91 +++++++++++++++++++ 9 files changed, 344 insertions(+) create mode 100644 dev-db/mysqltool/ChangeLog create mode 100644 dev-db/mysqltool/Manifest create mode 100644 dev-db/mysqltool/files/90_mysqltool.conf.m4 create mode 100644 dev-db/mysqltool/files/digest-mysqltool-0.95-r1 create mode 100644 dev-db/mysqltool/files/digest-mysqltool-0.95-r2 create mode 100644 dev-db/mysqltool/files/digest-mysqltool-0.95-r3 create mode 100644 dev-db/mysqltool/mysqltool-0.95-r1.ebuild create mode 100644 dev-db/mysqltool/mysqltool-0.95-r2.ebuild create mode 100644 dev-db/mysqltool/mysqltool-0.95-r3.ebuild diff --git a/dev-db/mysqltool/ChangeLog b/dev-db/mysqltool/ChangeLog new file mode 100644 index 0000000..9e112be --- /dev/null +++ b/dev-db/mysqltool/ChangeLog @@ -0,0 +1,67 @@ +# 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 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 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 mysqltool-0.95-r3.ebuild, + files/90_mysqltool.conf.m4: + Config file fix; see bug #44748 + + 02 Mar 2004; Jason Wever mysqltool-0.95-r2.ebuild: + Marked stable on sparc. + + 06 Nov 2003; Robin H. Johnson 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 mysqltool-0.95-r2.ebuild: + Moved some dev-perl RDEPENDs to DEPEND instead, for bug 20845. + + 11 May 2003; Robin Johnson files/90_mysqltool.conf.m4: + Slight fix again now, also marked as stable. + + 04 May 2003; Robin Johnson 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 mysqltool-0.95-r1.ebuild : + Changed sparc64 to sparc keyword + + 26 Nov 2002; Ryan Phillips : + Added Apache:DBI dep and einfo. Fixes #11150 + + 14 Nov 2002; Mike Frysinger : + Replaced hardcoding of /home/httpd/htdocs with a grep of /etc/apache/conf/apache.conf + + 09 Nov 2002; : + Added Paul Belt's fixes for the installation paths + + 15 Oct 2002; : + Add sparc64 to keywords + + 09 Sep 2002; : + Added perl-module eclass support properly. + + 03 May 2002; Donny Davies : + Added LICENSE, SLOT. + +*mysqltool-0.95 (17 Apr 2002) + + 17 Apr 2002; Donny Davies : + Created an ebuild for mysqltool, a perl-based frontend for administering + MySQL servers. Similiar to phpMyAdmin. diff --git a/dev-db/mysqltool/Manifest b/dev-db/mysqltool/Manifest new file mode 100644 index 0000000..cea23b0 --- /dev/null +++ b/dev-db/mysqltool/Manifest @@ -0,0 +1,8 @@ +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 diff --git a/dev-db/mysqltool/files/90_mysqltool.conf.m4 b/dev-db/mysqltool/files/90_mysqltool.conf.m4 new file mode 100644 index 0000000..ef7c44c --- /dev/null +++ b/dev-db/mysqltool/files/90_mysqltool.conf.m4 @@ -0,0 +1,15 @@ + + + PerlRequire __APACHE_MODULES_CONF_DIR__/mysqltool.pl + + + Options ExecCGI + +### SetHandler perl-script + SetHandler cgi-script + + PerlHandler MysqlTool + + + + diff --git a/dev-db/mysqltool/files/digest-mysqltool-0.95-r1 b/dev-db/mysqltool/files/digest-mysqltool-0.95-r1 new file mode 100644 index 0000000..e506852 --- /dev/null +++ b/dev-db/mysqltool/files/digest-mysqltool-0.95-r1 @@ -0,0 +1 @@ +MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898 diff --git a/dev-db/mysqltool/files/digest-mysqltool-0.95-r2 b/dev-db/mysqltool/files/digest-mysqltool-0.95-r2 new file mode 100644 index 0000000..e506852 --- /dev/null +++ b/dev-db/mysqltool/files/digest-mysqltool-0.95-r2 @@ -0,0 +1 @@ +MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898 diff --git a/dev-db/mysqltool/files/digest-mysqltool-0.95-r3 b/dev-db/mysqltool/files/digest-mysqltool-0.95-r3 new file mode 100644 index 0000000..e506852 --- /dev/null +++ b/dev-db/mysqltool/files/digest-mysqltool-0.95-r3 @@ -0,0 +1 @@ +MD5 9650d62eec7dab21d39c83d30f79a08b MysqlTool-0.95.tar.gz 44898 diff --git a/dev-db/mysqltool/mysqltool-0.95-r1.ebuild b/dev-db/mysqltool/mysqltool-0.95-r1.ebuild new file mode 100644 index 0000000..42f2eee --- /dev/null +++ b/dev-db/mysqltool/mysqltool-0.95-r1.ebuild @@ -0,0 +1,70 @@ +# 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 "" + einfo "Options ExecCGI" + einfo "" + einfo "SetHandler perl-script" + einfo "PerlHandler MysqlTool" + einfo "" + einfo "" +} diff --git a/dev-db/mysqltool/mysqltool-0.95-r2.ebuild b/dev-db/mysqltool/mysqltool-0.95-r2.ebuild new file mode 100644 index 0000000..8324291 --- /dev/null +++ b/dev-db/mysqltool/mysqltool-0.95-r2.ebuild @@ -0,0 +1,90 @@ +# 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" +} diff --git a/dev-db/mysqltool/mysqltool-0.95-r3.ebuild b/dev-db/mysqltool/mysqltool-0.95-r3.ebuild new file mode 100644 index 0000000..c643169 --- /dev/null +++ b/dev-db/mysqltool/mysqltool-0.95-r3.ebuild @@ -0,0 +1,91 @@ +# 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" +} -- 2.39.5