From: | "Thomas Raschbacher (lordvan)" <lordvan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-db/libzdb: ChangeLog libzdb-2.11.3.ebuild libzdb-2.10.5.ebuild |
Date: | Mon, 01 Jul 2013 18:57:37 |
Message-Id: | 20130701185733.D35262171C@flycatcher.gentoo.org |
1 | lordvan 13/07/01 18:57:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libzdb-2.11.3.ebuild |
5 | Removed: libzdb-2.10.5.ebuild |
6 | Log: |
7 | version bump + old version removed |
8 | |
9 | (Portage version: 2.1.12.10/cvs/Linux x86_64, signed Manifest commit with key ) |
10 | |
11 | Revision Changes Path |
12 | 1.15 dev-db/libzdb/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libzdb/ChangeLog?rev=1.15&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libzdb/ChangeLog?rev=1.15&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libzdb/ChangeLog?r1=1.14&r2=1.15 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/dev-db/libzdb/ChangeLog,v |
21 | retrieving revision 1.14 |
22 | retrieving revision 1.15 |
23 | diff -u -r1.14 -r1.15 |
24 | --- ChangeLog 20 May 2013 08:23:36 -0000 1.14 |
25 | +++ ChangeLog 1 Jul 2013 18:57:33 -0000 1.15 |
26 | @@ -1,6 +1,13 @@ |
27 | # ChangeLog for dev-db/libzdb |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/ChangeLog,v 1.14 2013/05/20 08:23:36 ago Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/ChangeLog,v 1.15 2013/07/01 18:57:33 lordvan Exp $ |
31 | + |
32 | +*libzdb-2.11.3 (01 Jul 2013) |
33 | + |
34 | + 01 Jul 2013; <lordvan@g.o> +libzdb-2.11.3.ebuild, |
35 | + -libzdb-2.10.5.ebuild: |
36 | + version bump - fixes bug #472804 thanks Johan Bergström for reporting |
37 | + removed old version |
38 | |
39 | 20 May 2013; Agostino Sarubbo <ago@g.o> libzdb-2.11.1.ebuild: |
40 | Stable for x86, wrt bug #470080 |
41 | |
42 | |
43 | |
44 | 1.1 dev-db/libzdb/libzdb-2.11.3.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libzdb/libzdb-2.11.3.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/libzdb/libzdb-2.11.3.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: libzdb-2.11.3.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2013 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/dev-db/libzdb/libzdb-2.11.3.ebuild,v 1.1 2013/07/01 18:57:33 lordvan Exp $ |
54 | |
55 | EAPI="4" |
56 | |
57 | inherit eutils toolchain-funcs |
58 | |
59 | DESCRIPTION="A thread safe high level multi-database connection pool library" |
60 | HOMEPAGE="http://www.tildeslash.com/libzdb/" |
61 | SRC_URI="http://www.tildeslash.com/${PN}/dist/${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-3" |
64 | SLOT="0" |
65 | KEYWORDS="~x86 ~amd64" |
66 | IUSE="debug doc mysql postgres +sqlite ssl static-libs" |
67 | REQUIRED_USE=" || ( postgres mysql sqlite )" |
68 | |
69 | RESTRICT=test |
70 | |
71 | RDEPEND="mysql? ( virtual/mysql ) |
72 | postgres? ( dev-db/postgresql-base ) |
73 | sqlite? ( >=dev-db/sqlite-3.7:3[unlock-notify(+)] ) |
74 | ssl? ( dev-libs/openssl )" |
75 | DEPEND="${RDEPEND} |
76 | virtual/pkgconfig |
77 | doc? ( app-doc/doxygen )" |
78 | |
79 | src_prepare() { |
80 | sed -i -e "s|&& ./pool||g" test/Makefile.in || die |
81 | } |
82 | |
83 | src_configure() { |
84 | ## TODO: check what --enable-optimized actually does |
85 | ## TODO: find someone with oracle db to add oci8 support |
86 | myconf="" |
87 | if [[ $(gcc-version) < 4.1 ]];then |
88 | myconf="${myconf} --disable-protected" |
89 | else |
90 | myconf="${myconf} --enable-protected" |
91 | fi |
92 | |
93 | if use sqlite; then |
94 | myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock" |
95 | else |
96 | myconf="${myconf} --without-sqlite" |
97 | fi |
98 | |
99 | if use mysql; then |
100 | myconf="${myconf} --with-mysql=${EPREFIX}/usr/bin/mysql_config" |
101 | else |
102 | myconf="${myconf} --without-mysql" |
103 | fi |
104 | |
105 | if use postgres; then |
106 | myconf="${myconf} --with-postgresql=${EPREFIX}/usr/bin/pg_config" |
107 | else |
108 | myconf="${myconf} --without-postgresql" |
109 | fi |
110 | |
111 | econf \ |
112 | $(use_enable debug profiling) \ |
113 | $(use_enable static-libs static) \ |
114 | $(use_enable ssl openssl) \ |
115 | --without-oci \ |
116 | ${myconf} |
117 | } |
118 | |
119 | src_compile() { |
120 | default_src_compile |
121 | if use doc; then |
122 | emake doc |
123 | fi |
124 | } |
125 | |
126 | src_install() { |
127 | emake DESTDIR="${D}" install |
128 | |
129 | # the --disable-static flag only skips .a |
130 | use static-libs || rm -f "${D}"/usr/lib*/libzdb.la |
131 | |
132 | dodoc AUTHORS CHANGES README |
133 | if use doc;then |
134 | dohtml -r "${S}/doc/api-docs"/* |
135 | fi |
136 | } |
137 | |
138 | src_test() { |
139 | emake verify |
140 | } |