summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-01-11 19:29:49 +0000
committerSven Wegener <swegener@gentoo.org>2005-01-11 19:29:49 +0000
commitbbb33d6e4e9f49990f236eacc1f3c618c6f8c212 (patch)
tree4ae27066ed01018502972c0b7875e6bcea7a44f6 /dev-db/mysql-administrator
parentadded ~amd64 to KEYWORDS. (Manifest recommit) (diff)
downloadgentoo-2-bbb33d6e4e9f49990f236eacc1f3c618c6f8c212.tar.gz
gentoo-2-bbb33d6e4e9f49990f236eacc1f3c618c6f8c212.tar.bz2
gentoo-2-bbb33d6e4e9f49990f236eacc1f3c618c6f8c212.zip
Revision bump. Correctly check for errors when executing crontab. Should fix bug #62505.
Diffstat (limited to 'dev-db/mysql-administrator')
-rw-r--r--dev-db/mysql-administrator/ChangeLog9
-rw-r--r--dev-db/mysql-administrator/files/1.0.19-crontab.patch12
-rw-r--r--dev-db/mysql-administrator/files/digest-mysql-administrator-1.0.19-r11
-rw-r--r--dev-db/mysql-administrator/mysql-administrator-1.0.19-r1.ebuild53
4 files changed, 74 insertions, 1 deletions
diff --git a/dev-db/mysql-administrator/ChangeLog b/dev-db/mysql-administrator/ChangeLog
index 984db2493156..857246b2b3db 100644
--- a/dev-db/mysql-administrator/ChangeLog
+++ b/dev-db/mysql-administrator/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/mysql-administrator
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/ChangeLog,v 1.15 2005/01/11 09:52:23 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/ChangeLog,v 1.16 2005/01/11 19:29:48 swegener Exp $
+
+*mysql-administrator-1.0.19-r1 (11 Jan 2005)
+
+ 11 Jan 2005; Sven Wegener <swegener@gentoo.org>
+ +files/1.0.19-crontab.patch, +mysql-administrator-1.0.19-r1.ebuild:
+ Revision bump. Correctly check for errors when executing crontab. Should fix
+ bug #62505.
*mysql-administrator-1.0.19 (11 Jan 2005)
diff --git a/dev-db/mysql-administrator/files/1.0.19-crontab.patch b/dev-db/mysql-administrator/files/1.0.19-crontab.patch
new file mode 100644
index 000000000000..452b734f66e8
--- /dev/null
+++ b/dev-db/mysql-administrator/files/1.0.19-crontab.patch
@@ -0,0 +1,12 @@
+diff -Nur mysql-administrator-1.0.19.orig/mysql-gui-common/source/linux/MCrontab.cc mysql-administrator-1.0.19/mysql-gui-common/source/linux/MCrontab.cc
+--- mysql-administrator-1.0.19.orig/mysql-gui-common/source/linux/MCrontab.cc 2005-01-11 20:02:31.429772354 +0100
++++ mysql-administrator-1.0.19/mysql-gui-common/source/linux/MCrontab.cc 2005-01-11 20:03:31.148873681 +0100
+@@ -222,7 +222,7 @@
+ if (!g_spawn_command_line_sync(cmdline, &stdout_text, &stderr_text, &exit_status,
+ &error) || exit_status != 0)
+ {
+- if (!strstr(stderr_text, "no crontab"))
++ if (!stderr_text || !strstr(stderr_text, "no crontab"))
+ {
+ got_error= true;
+
diff --git a/dev-db/mysql-administrator/files/digest-mysql-administrator-1.0.19-r1 b/dev-db/mysql-administrator/files/digest-mysql-administrator-1.0.19-r1
new file mode 100644
index 000000000000..b421a8c18fac
--- /dev/null
+++ b/dev-db/mysql-administrator/files/digest-mysql-administrator-1.0.19-r1
@@ -0,0 +1 @@
+MD5 b495755208b55333cb9c060c09246fe2 mysql-administrator-1.0.19.tar.gz 5288781
diff --git a/dev-db/mysql-administrator/mysql-administrator-1.0.19-r1.ebuild b/dev-db/mysql-administrator/mysql-administrator-1.0.19-r1.ebuild
new file mode 100644
index 000000000000..0f6d5c8dabb0
--- /dev/null
+++ b/dev-db/mysql-administrator/mysql-administrator-1.0.19-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-administrator/mysql-administrator-1.0.19-r1.ebuild,v 1.1 2005/01/11 19:29:48 swegener Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="MySQL Administrator"
+HOMEPAGE="http://www.mysql.com/products/administrator/"
+SRC_URI="mirror://mysql/Downloads/MySQLAdministrationSuite/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+RDEPEND="dev-db/mysql
+ >=dev-libs/libpcre-4.4
+ >=dev-libs/libxml2-2.6.2
+ >=gnome-base/libglade-2
+ >=dev-libs/glib-2
+ =dev-cpp/gtkmm-2.2*"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ >=app-text/scrollkeeper-0.3.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-crontab.patch
+}
+
+src_compile() {
+ cd ${S}/mysql-gui-common
+ econf --with-commondirname=common-administrator || die "econf failed"
+ emake -j1 || die "emake failed"
+
+ cd ${S}/mysql-administrator
+ econf --with-commondirname=common-administrator || die "econf failed"
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ USE_DESTDIR=1
+
+ cd ${S}/mysql-gui-common
+ gnome2_src_install || die "gnome2_src_install failed"
+
+ cd ${S}/mysql-administrator
+ gnome2_src_install || die "gnome2_src_install failed"
+
+ dohtml -r ${S}/mysql-administrator/doc/ || die "dohtml failed"
+}