1 |
robbat2 10/05/29 20:45:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-proxy-0.8.0-r1.ebuild |
5 |
Log: |
6 |
Include a config file for easier usage of mysql-proxy. Upstream moved the binary as well, so update init.d to reflect new /usr/bin/ location. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 dev-db/mysql-proxy/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-proxy/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-proxy/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-proxy/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -p -w -b -B -u -u -r1.6 -r1.7 |
22 |
--- ChangeLog 14 May 2010 10:34:29 -0000 1.6 |
23 |
+++ ChangeLog 29 May 2010 20:45:04 -0000 1.7 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-db/mysql-proxy |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v 1.6 2010/05/14 10:34:29 wschlich Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/ChangeLog,v 1.7 2010/05/29 20:45:04 robbat2 Exp $ |
29 |
+ |
30 |
+*mysql-proxy-0.8.0-r1 (29 May 2010) |
31 |
+ |
32 |
+ 29 May 2010; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/mysql-proxy.confd-0.8.0-r1, +mysql-proxy-0.8.0-r1.ebuild, |
34 |
+ +files/mysql-proxy.cnf, files/mysql-proxy.initd: |
35 |
+ Include a config file for easier usage of mysql-proxy. Upstream moved the |
36 |
+ binary as well, so update init.d to reflect new /usr/bin/ location. |
37 |
|
38 |
*mysql-proxy-0.8.0 (14 May 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-db/mysql-proxy/mysql-proxy-0.8.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-proxy/mysql-proxy-0.8.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-proxy/mysql-proxy-0.8.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mysql-proxy-0.8.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-proxy/mysql-proxy-0.8.0-r1.ebuild,v 1.1 2010/05/29 20:45:04 robbat2 Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils |
57 |
|
58 |
DESCRIPTION="A Proxy for the MySQL Client/Server protocol" |
59 |
HOMEPAGE="http://forge.mysql.com/wiki/MySQL_Proxy" |
60 |
SRC_URI="mirror://mysql/Downloads/MySQL-Proxy/${P}.tar.gz" |
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="examples" |
65 |
RDEPEND=">=dev-libs/libevent-1.4 |
66 |
>=dev-libs/glib-2.16 |
67 |
>=dev-lang/lua-5.1" |
68 |
DEPEND="${RDEPEND} |
69 |
>=virtual/mysql-5.0 |
70 |
dev-util/pkgconfig" |
71 |
RESTRICT="test" |
72 |
|
73 |
src_configure() { |
74 |
econf \ |
75 |
--includedir=/usr/include/${PN} \ |
76 |
--with-mysql \ |
77 |
--with-lua \ |
78 |
|| die "econf failed" |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
emake DESTDIR="${D}" install || die "emake install failed" |
83 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |
84 |
newconfd "${FILESDIR}"/${PN}.confd-0.8.0-r1 ${PN} || die |
85 |
dodoc ChangeLog NEWS README |
86 |
if useq examples; then |
87 |
docinto examples |
88 |
dodoc examples/*.lua || die |
89 |
dodoc lib/*.lua || die |
90 |
fi |
91 |
# mysql-proxy will refuse to start unless the config file is at most 0660. |
92 |
insinto /etc/mysql |
93 |
insopts -m0660 |
94 |
doins "${FILESDIR}"/${PN}.cnf || die |
95 |
} |
96 |
|
97 |
pkg_postinst() { |
98 |
einfo |
99 |
einfo "You might want to have a look at" |
100 |
einfo "http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html" |
101 |
einfo "on how to get started with MySQL Proxy." |
102 |
einfo |
103 |
} |