diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-07 19:44:01 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-02-07 19:44:01 +0000 |
commit | 9ebb8079cd7753d71d9d086aec5e7069c4f2d10a (patch) | |
tree | f70e801cd12d211a91e090b5b640481ae266a04b /dev-db | |
parent | fix a typo pointed out by Holger Hoffstätte <holger AT wizards DOT de> in bu... (diff) | |
download | historical-9ebb8079cd7753d71d9d086aec5e7069c4f2d10a.tar.gz historical-9ebb8079cd7753d71d9d086aec5e7069c4f2d10a.tar.bz2 historical-9ebb8079cd7753d71d9d086aec5e7069c4f2d10a.zip |
version bump
Package-Manager: portage-2.1.4
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysql-proxy/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/mysql-proxy/Manifest | 6 | ||||
-rw-r--r-- | dev-db/mysql-proxy/files/0.6.1/mysql-proxy.confd | 11 | ||||
-rwxr-xr-x | dev-db/mysql-proxy/files/0.6.1/mysql-proxy.initd | 20 | ||||
-rw-r--r-- | dev-db/mysql-proxy/mysql-proxy-0.6.1.ebuild | 50 |
5 files changed, 94 insertions, 2 deletions
diff --git a/dev-db/mysql-proxy/ChangeLog b/dev-db/mysql-proxy/ChangeLog index 719a40cf263c..8d20822f9634 100644 --- a/dev-db/mysql-proxy/ChangeLog +++ b/dev-db/mysql-proxy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-db/mysql-proxy # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v 1.2 2008/01/28 01:08:04 rich0 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v 1.3 2008/02/07 19:44:00 wschlich Exp $ + +*mysql-proxy-0.6.1 (07 Feb 2008) + + 07 Feb 2008; Wolfram Schlich <wschlich@gentoo.org> + +files/0.6.1/mysql-proxy.confd, +files/0.6.1/mysql-proxy.initd, + +mysql-proxy-0.6.1.ebuild: + version bump 28 Jan 2008; Richard Freeman <rich0@gentoo.org> mysql-proxy-0.6.0.ebuild: marked ~amd64 - bug #195169 diff --git a/dev-db/mysql-proxy/Manifest b/dev-db/mysql-proxy/Manifest index bb20450cfb60..8c2f2c581045 100644 --- a/dev-db/mysql-proxy/Manifest +++ b/dev-db/mysql-proxy/Manifest @@ -1,6 +1,10 @@ AUX 0.6.0/mysql-proxy.confd 325 RMD160 026445eda05254b1ed4f26ee29941c6a6562d004 SHA1 b6c347a96ecc3b5524e01eecb71e4e3108ab55a7 SHA256 7e7ba5478b13f7c736413f799dfbb55a692fc6507d88740c7e902084c52359c8 AUX 0.6.0/mysql-proxy.initd 544 RMD160 4b7918bffea5b3c5cfc27348f83e6033bf0a1be6 SHA1 a089b49359cbc722a16a393183efbf69d7f19e28 SHA256 a619fcda50864c626af87b9a1cc146eedf042881353460c9b8daca789698b52e +AUX 0.6.1/mysql-proxy.confd 325 RMD160 026445eda05254b1ed4f26ee29941c6a6562d004 SHA1 b6c347a96ecc3b5524e01eecb71e4e3108ab55a7 SHA256 7e7ba5478b13f7c736413f799dfbb55a692fc6507d88740c7e902084c52359c8 +AUX 0.6.1/mysql-proxy.initd 544 RMD160 c8644cc7e989aec9534c6e8638ac1e908393d2ed SHA1 91887c7cef886e1f8be59c3638130f550c07b39c SHA256 e552fabd2495956072f5f79bbaf439f52bed9db22dcadfe72ba137f094fd654b DIST mysql-proxy-0.6.0.tar.gz 480322 RMD160 ff881fab8d637f080dbfec46f05bf43398306980 SHA1 854a2c2e2689bd51361e7f74bfa344f8497a65dc SHA256 1035ad33a4712100add30ae928f4db4710d9ed25c5f7e8f517827ed86ad17ea9 +DIST mysql-proxy-0.6.1.tar.gz 510223 RMD160 05572c42ea2f736ef31477753d13fae6b49ba805 SHA1 3e4184ea2b737e6c60c42e5817f93728e9d31c3d SHA256 7b9cb689bb718441d56dfd3d71c46c0bff577330440b8f8e7305766c373f02cc EBUILD mysql-proxy-0.6.0.ebuild 1287 RMD160 00db67ca8f037581756b36837ec7165b0368b5ff SHA1 928c47ba28fe5f4f71e5e5b6a7edcd3fd7e992f0 SHA256 6a06352c5f185919c5f9816f8c81e76a0300489985f92160f0477f709a9f512f -MISC ChangeLog 530 RMD160 45314511636ece1340cf6bca541c8762945371b1 SHA1 8469718a1f60e28fcd217673648617d0c343de7c SHA256 b56e64ec13a170b4a31865b91c1ce32995d6019b048de03b0642ad7ebb1c8060 +EBUILD mysql-proxy-0.6.1.ebuild 1290 RMD160 91f5da11fee1e5f804ed8b8f920edda134d4b3fc SHA1 b51450f0e6399083ca84b495c376a921fe0e7d94 SHA256 bd4eb7737578abc9b9b8a395ff314428660fab6236d1a62c80bd7a32e1bf642a +MISC ChangeLog 731 RMD160 a1d0b48060619dd2582df2a610756d751bcb7067 SHA1 4182310f4fc0711f42468f640dbf1de30adf1830 SHA256 a0e38523c5d84f1178e8bec3f70e414726a916cd45e6deb3818a4b9b11f588b3 MISC metadata.xml 633 RMD160 efd7ca376088a162dff4a59a472199c295e67e7d SHA1 6bdbf3cbc0132ab61396b0686b5f0b9cd7e46e94 SHA256 546a964acfb02356fea5e663900d3fc6e79f5d085fcb66e0646715d0750fed92 diff --git a/dev-db/mysql-proxy/files/0.6.1/mysql-proxy.confd b/dev-db/mysql-proxy/files/0.6.1/mysql-proxy.confd new file mode 100644 index 000000000000..fc19ebe5769a --- /dev/null +++ b/dev-db/mysql-proxy/files/0.6.1/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.1/mysql-proxy.initd b/dev-db/mysql-proxy/files/0.6.1/mysql-proxy.initd new file mode 100755 index 000000000000..c6ef7a32d835 --- /dev/null +++ b/dev-db/mysql-proxy/files/0.6.1/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.1/mysql-proxy.initd,v 1.1 2008/02/07 19:44:01 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/mysql-proxy-0.6.1.ebuild b/dev-db/mysql-proxy/mysql-proxy-0.6.1.ebuild new file mode 100644 index 000000000000..bdf767a0f72d --- /dev/null +++ b/dev-db/mysql-proxy/mysql-proxy-0.6.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 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.1.ebuild,v 1.1 2008/02/07 19:44:00 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="~amd64 ~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 + insinto /usr/share/${PN} + doins lib/*.lua + insinto /usr/share/${PN}/proxy + doins lib/proxy/*.lua + if useq examples; then + 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 +} |