summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2007-10-03 15:36:24 +0000
committerWolfram Schlich <wschlich@gentoo.org>2007-10-03 15:36:24 +0000
commit68982bb84f6283d725ba96e8fadf18f7c01cdd37 (patch)
tree69e5029e34366ec88ddb4f09302a9af98317b971 /dev-db
parentAdd 4.3.2 (diff)
downloadhistorical-68982bb84f6283d725ba96e8fadf18f7c01cdd37.tar.gz
historical-68982bb84f6283d725ba96e8fadf18f7c01cdd37.tar.bz2
historical-68982bb84f6283d725ba96e8fadf18f7c01cdd37.zip
initial import
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql-proxy/ChangeLog11
-rw-r--r--dev-db/mysql-proxy/Manifest24
-rw-r--r--dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd11
-rwxr-xr-xdev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd20
-rw-r--r--dev-db/mysql-proxy/files/digest-mysql-proxy-0.6.03
-rw-r--r--dev-db/mysql-proxy/metadata.xml15
-rw-r--r--dev-db/mysql-proxy/mysql-proxy-0.6.0.ebuild53
7 files changed, 137 insertions, 0 deletions
diff --git a/dev-db/mysql-proxy/ChangeLog b/dev-db/mysql-proxy/ChangeLog
new file mode 100644
index 000000000000..51fcb39beba3
--- /dev/null
+++ b/dev-db/mysql-proxy/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/mysql-proxy
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v 1.1 2007/10/03 15:36:22 wschlich Exp $
+
+*mysql-proxy-0.6.0 (03 Oct 2007)
+
+ 03 Oct 2007; Wolfram Schlich <wschlich@gentoo.org>
+ +files/0.6.0/mysql-proxy.confd, +files/0.6.0/mysql-proxy.initd,
+ +metadata.xml, +mysql-proxy-0.6.0.ebuild:
+ initial import
+
diff --git a/dev-db/mysql-proxy/Manifest b/dev-db/mysql-proxy/Manifest
new file mode 100644
index 000000000000..c8e0bad70c68
--- /dev/null
+++ b/dev-db/mysql-proxy/Manifest
@@ -0,0 +1,24 @@
+AUX 0.6.0/mysql-proxy.confd 325 RMD160 026445eda05254b1ed4f26ee29941c6a6562d004 SHA1 b6c347a96ecc3b5524e01eecb71e4e3108ab55a7 SHA256 7e7ba5478b13f7c736413f799dfbb55a692fc6507d88740c7e902084c52359c8
+MD5 068d3ca9ace3c4db6905586df0b72376 files/0.6.0/mysql-proxy.confd 325
+RMD160 026445eda05254b1ed4f26ee29941c6a6562d004 files/0.6.0/mysql-proxy.confd 325
+SHA256 7e7ba5478b13f7c736413f799dfbb55a692fc6507d88740c7e902084c52359c8 files/0.6.0/mysql-proxy.confd 325
+AUX 0.6.0/mysql-proxy.initd 544 RMD160 4b7918bffea5b3c5cfc27348f83e6033bf0a1be6 SHA1 a089b49359cbc722a16a393183efbf69d7f19e28 SHA256 a619fcda50864c626af87b9a1cc146eedf042881353460c9b8daca789698b52e
+MD5 a7ca8a79a76bc6521ab99783e573b7c9 files/0.6.0/mysql-proxy.initd 544
+RMD160 4b7918bffea5b3c5cfc27348f83e6033bf0a1be6 files/0.6.0/mysql-proxy.initd 544
+SHA256 a619fcda50864c626af87b9a1cc146eedf042881353460c9b8daca789698b52e files/0.6.0/mysql-proxy.initd 544
+DIST mysql-proxy-0.6.0.tar.gz 480322 RMD160 ff881fab8d637f080dbfec46f05bf43398306980 SHA1 854a2c2e2689bd51361e7f74bfa344f8497a65dc SHA256 1035ad33a4712100add30ae928f4db4710d9ed25c5f7e8f517827ed86ad17ea9
+EBUILD mysql-proxy-0.6.0.ebuild 1374 RMD160 c7e39c74396b1c26c196fea8ce620b3dc4c1e0cb SHA1 e70d4f618d03da06c2092dfd4a49f551c5cb8e26 SHA256 656521b59720b6caa1db29dfa446ea28428877afc280cc73d1e3354dd5b7e5eb
+MD5 c1113fb7cbcaf5a9229569b5839a7486 mysql-proxy-0.6.0.ebuild 1374
+RMD160 c7e39c74396b1c26c196fea8ce620b3dc4c1e0cb mysql-proxy-0.6.0.ebuild 1374
+SHA256 656521b59720b6caa1db29dfa446ea28428877afc280cc73d1e3354dd5b7e5eb mysql-proxy-0.6.0.ebuild 1374
+MISC ChangeLog 426 RMD160 0dadee79bc30495f734d5bab78a87769c1e2906c SHA1 eaa50faa0bf584a2365bed49dd46394094e23412 SHA256 173f86690e6dc873da6d09fc759b1a5d826d31810d7e2fed5162169a15e366bf
+MD5 ee1355919c9a57a1cff7d748243bd9be ChangeLog 426
+RMD160 0dadee79bc30495f734d5bab78a87769c1e2906c ChangeLog 426
+SHA256 173f86690e6dc873da6d09fc759b1a5d826d31810d7e2fed5162169a15e366bf ChangeLog 426
+MISC metadata.xml 633 RMD160 efd7ca376088a162dff4a59a472199c295e67e7d SHA1 6bdbf3cbc0132ab61396b0686b5f0b9cd7e46e94 SHA256 546a964acfb02356fea5e663900d3fc6e79f5d085fcb66e0646715d0750fed92
+MD5 78a5e42bdb657c26cf4c3e0de1e3578f metadata.xml 633
+RMD160 efd7ca376088a162dff4a59a472199c295e67e7d metadata.xml 633
+SHA256 546a964acfb02356fea5e663900d3fc6e79f5d085fcb66e0646715d0750fed92 metadata.xml 633
+MD5 ec4c72f68b89853bb54af85b78570fbb files/digest-mysql-proxy-0.6.0 253
+RMD160 ae149490547a4e529cfbdb7770d61e2528b27b35 files/digest-mysql-proxy-0.6.0 253
+SHA256 52271cce025f4d458573e3620efa81aaa2cb90436d5d6c2d702faf727cfe9baa files/digest-mysql-proxy-0.6.0 253
diff --git a/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd b/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd
new file mode 100644
index 000000000000..fc19ebe5769a
--- /dev/null
+++ b/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.confd
@@ -0,0 +1,11 @@
+# /etc/conf.d/mysql-proxy: config file for /etc/init.d/mysql-proxy
+
+# location auf pidfile
+PIDFILE="/var/run/mysql-proxy.pid"
+
+# general options for mysql-proxy
+#OPTS="--proxy-lua-script=/usr/share/doc/mysql-proxy-0.6.0/tutorial-basic.lua"
+OPTS=""
+
+# if you want mysql-proxy to depend on mysql, enable this:
+#RC_NEED="mysql"
diff --git a/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd b/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd
new file mode 100755
index 000000000000..f761ef2072e4
--- /dev/null
+++ b/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/files/0.6.0/mysql-proxy.initd,v 1.1 2007/10/03 15:36:24 wschlich Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting MySQL Proxy"
+ start-stop-daemon --start --quiet --exec /usr/sbin/mysql-proxy -- --daemon --pid-file="${PIDFILE}" ${OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping MySQL Proxy"
+ start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
+ eend $?
+}
diff --git a/dev-db/mysql-proxy/files/digest-mysql-proxy-0.6.0 b/dev-db/mysql-proxy/files/digest-mysql-proxy-0.6.0
new file mode 100644
index 000000000000..6e75daa3af0b
--- /dev/null
+++ b/dev-db/mysql-proxy/files/digest-mysql-proxy-0.6.0
@@ -0,0 +1,3 @@
+MD5 b76ad6f059f78b9aaca49c8c29cb2719 mysql-proxy-0.6.0.tar.gz 480322
+RMD160 ff881fab8d637f080dbfec46f05bf43398306980 mysql-proxy-0.6.0.tar.gz 480322
+SHA256 1035ad33a4712100add30ae928f4db4710d9ed25c5f7e8f517827ed86ad17ea9 mysql-proxy-0.6.0.tar.gz 480322
diff --git a/dev-db/mysql-proxy/metadata.xml b/dev-db/mysql-proxy/metadata.xml
new file mode 100644
index 000000000000..eba9f58336ef
--- /dev/null
+++ b/dev-db/mysql-proxy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name> <description>Primary maintainer</description>
+</maintainer>
+<longdescription>
+MySQL Proxy is a simple program that sits between your client and MySQL
+server(s) that can monitor, analyze or transform their communication. Its
+flexibility allows for unlimited uses; common ones include: load balancing;
+failover; query analysis; query filtering and modification; and many more.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-db/mysql-proxy/mysql-proxy-0.6.0.ebuild b/dev-db/mysql-proxy/mysql-proxy-0.6.0.ebuild
new file mode 100644
index 000000000000..2f502e2264d4
--- /dev/null
+++ b/dev-db/mysql-proxy/mysql-proxy-0.6.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/mysql-proxy-0.6.0.ebuild,v 1.1 2007/10/03 15:36:22 wschlich Exp $
+
+inherit eutils
+
+DESCRIPTION="A Proxy for the MySQL Client/Server protocol"
+HOMEPAGE="http://forge.mysql.com/wiki/MySQL_Proxy"
+SRC_URI="mirror://mysql/Downloads/MySQL-Proxy/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="lua examples"
+DEPEND=">=dev-libs/libevent-1.0
+ >=dev-libs/glib-2.0
+ >=virtual/mysql-4.0
+ lua? ( >=dev-lang/lua-5.1 )"
+
+src_compile() {
+ econf \
+ --with-mysql \
+ $(use_with lua) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dosbin src/mysql-proxy
+ if useq lua; then
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+ doins lib/*.lua
+ dodir /usr/share/${PN}/proxy
+ insinto /usr/share/${PN}/proxy
+ doins lib/proxy/*.lua
+ if useq examples; then
+ dodir /usr/share/${PN}/examples
+ insinto /usr/share/${PN}/examples
+ doins examples/*.lua
+ fi
+ fi
+ dodoc README INSTALL NEWS
+ newinitd "${FILESDIR}/${PV}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PV}/${PN}.confd" ${PN}
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You might want to have a look at"
+ einfo "http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html"
+ einfo "on how to get started with MySQL Proxy."
+ einfo
+}