1 |
flameeyes 10/09/06 20:19:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: drizzle-2010.08.1742.ebuild |
5 |
Removed: drizzle-2010.05.1525-r1.ebuild |
6 |
Log: |
7 |
Version bump; the new version requires a patch, and merges libdrizzle back into a single package. |
8 |
|
9 |
(Portage version: 2.2_rc75/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.14 dev-db/drizzle/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/drizzle/ChangeLog?rev=1.14&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/drizzle/ChangeLog?rev=1.14&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/drizzle/ChangeLog?r1=1.13&r2=1.14 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v |
21 |
retrieving revision 1.13 |
22 |
retrieving revision 1.14 |
23 |
diff -u -r1.13 -r1.14 |
24 |
--- ChangeLog 14 Jun 2010 23:45:57 -0000 1.13 |
25 |
+++ ChangeLog 6 Sep 2010 20:19:24 -0000 1.14 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for dev-db/drizzle |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.13 2010/06/14 23:45:57 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.14 2010/09/06 20:19:24 flameeyes Exp $ |
31 |
+ |
32 |
+*drizzle-2010.08.1742 (06 Sep 2010) |
33 |
+ |
34 |
+ 06 Sep 2010; Diego E. Pettenò <flameeyes@g.o> |
35 |
+ -drizzle-2010.05.1525-r1.ebuild, +drizzle-2010.08.1742.ebuild, |
36 |
+ +files/drizzle-2010.08.1742-pcre.patch, files/drizzle.init.d: |
37 |
+ Version bump; the new version requires a patch, and merges libdrizzle back |
38 |
+ into a single package. |
39 |
|
40 |
*drizzle-2010.05.1525-r1 (14 Jun 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-db/drizzle/drizzle-2010.08.1742.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/drizzle/drizzle-2010.08.1742.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/drizzle/drizzle-2010.08.1742.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: drizzle-2010.08.1742.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-2010.08.1742.ebuild,v 1.1 2010/09/06 20:19:24 flameeyes Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
|
58 |
inherit flag-o-matic libtool autotools eutils pam |
59 |
|
60 |
DESCRIPTION="Database optimized for Cloud and Net applications" |
61 |
HOMEPAGE="http://drizzle.org" |
62 |
SRC_URI="http://launchpad.net/drizzle/dexter/2010-08-30/+download/${P}.tar.gz" |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="debug tcmalloc doc memcache curl pam gearman +md5 ldap" |
67 |
|
68 |
# upstream bug #499911 |
69 |
#RESTRICT="memcache? ( test ) !curl? ( test )" |
70 |
|
71 |
# for libdrizzle version, check m4/pandora*, PANDORA_LIBDRIZZLE_RECENT |
72 |
RDEPEND="tcmalloc? ( dev-util/google-perftools ) |
73 |
sys-libs/readline |
74 |
sys-apps/util-linux |
75 |
dev-libs/libpcre |
76 |
dev-util/intltool |
77 |
>=dev-libs/libevent-1.4 |
78 |
>=dev-libs/protobuf-2.1.0 |
79 |
gearman? ( >=sys-cluster/gearmand-0.12 ) |
80 |
pam? ( sys-libs/pam ) |
81 |
curl? ( net-misc/curl ) |
82 |
memcache? ( >=dev-libs/libmemcached-0.39 ) |
83 |
md5? ( >=dev-libs/libgcrypt-1.4.2 ) |
84 |
>=dev-libs/boost-1.32 |
85 |
ldap? ( net-nds/openldap ) |
86 |
!dev-db/libdrizzle" |
87 |
|
88 |
DEPEND="${RDEPEND} |
89 |
dev-util/gperf |
90 |
doc? ( app-doc/doxygen ) |
91 |
>=dev-util/boost-build-1.32" |
92 |
|
93 |
pkg_setup() { |
94 |
enewuser drizzle -1 -1 /dev/null nogroup |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch" |
99 |
epatch "${FILESDIR}/${P}-pcre.patch" |
100 |
|
101 |
AT_M4DIR="m4" eautoreconf |
102 |
elibtoolize |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
local myconf= |
107 |
|
108 |
if use debug; then |
109 |
append-flags -DDEBUG |
110 |
fi |
111 |
|
112 |
# while I applaud upstreams goal of 0 compiler warnings |
113 |
# the 1412 release didn't achieve it. |
114 |
append-flags -Wno-error |
115 |
|
116 |
# NOTE disable-all and without-all no longer recognized options |
117 |
# NOTE using --enable on some plugins can cause test failures. |
118 |
# --with should be used instead. A discussion about this here: |
119 |
# https://bugs.launchpad.net/drizzle/+bug/598659 |
120 |
# TODO (upstream) |
121 |
# $(use_with memcache memcached-stats-plugin) \ |
122 |
# $(use_with memcache memcached-functions-plugin) \ |
123 |
|
124 |
econf \ |
125 |
--disable-static \ |
126 |
--disable-dependency-tracking \ |
127 |
--disable-mtmalloc \ |
128 |
$(use_enable tcmalloc) \ |
129 |
$(use_enable memcache libmemcached) \ |
130 |
$(use_enable gearman libgearman) \ |
131 |
$(use_enable ldap libldap) \ |
132 |
$(use_with curl auth-http-plugin) \ |
133 |
$(use_with pam auth-pam-plugin) \ |
134 |
$(use_with md5 md5-plugin) \ |
135 |
$(use_with gearman gearman-udf-plugin) \ |
136 |
$(use_with gearman logging-gearman-plugin) \ |
137 |
$(use_with ldap auth-ldap-plugin) \ |
138 |
--without-hello-world-plugin \ |
139 |
--disable-pbxt-plugin --without-pbxt-plugin \ |
140 |
--disable-rabbitmq-plugin --without-rabbitmq-plugin \ |
141 |
--disable-embedded-innodb-plugin --without-embedded-innodb-plugin \ |
142 |
--with-auth-test-plugin \ |
143 |
--with-auth-file-plugin \ |
144 |
--with-simple-user-policy-plugin \ |
145 |
--enable-logging-stats-plugin \ |
146 |
--with-logging-stats-plugin \ |
147 |
${myconf} |
148 |
|
149 |
} |
150 |
|
151 |
src_compile() { |
152 |
emake || die "build failed" |
153 |
|
154 |
if use doc; then |
155 |
emake doxygen || die "doxygen failed" |
156 |
fi |
157 |
} |
158 |
|
159 |
# 5-10 min eta |
160 |
src_test() { |
161 |
# If you want to turn off a test, rename to suffix of .DISABLED |
162 |
# Explicitly allow parallel make check |
163 |
emake check || die "tests failed" |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
emake DESTDIR="${D}" install || die "install failed" |
168 |
dodoc AUTHORS NEWS README || die |
169 |
|
170 |
find "${D}" -name '*.la' -delete || die |
171 |
|
172 |
if use doc; then |
173 |
docinto apidoc |
174 |
pushd docs/html |
175 |
dohtml -r . |
176 |
popd |
177 |
fi |
178 |
|
179 |
newinitd "${FILESDIR}"/drizzle.init.d drizzled || die |
180 |
newconfd "${FILESDIR}"/drizzle.conf.d drizzled || die |
181 |
|
182 |
if ! use gearman; then |
183 |
sed -i -e '/need gearmand/d' "${D}"/etc/init.d/drizzled \ |
184 |
|| die "unable to sed init script (gearman)" |
185 |
fi |
186 |
|
187 |
if ! use memcache; then |
188 |
sed -i -e '/need memcached/d' "${D}"/etc/init.d/drizzled \ |
189 |
|| die "unable to sed init script (memcache)" |
190 |
fi |
191 |
|
192 |
keepdir /var/run/drizzle || die |
193 |
keepdir /var/log/drizzle || die |
194 |
keepdir /var/lib/drizzle/drizzled || die |
195 |
keepdir /etc/drizzle || die |
196 |
|
197 |
fperms 0755 /var/run/drizzle || die |
198 |
fperms 0755 /var/log/drizzle || die |
199 |
fperms -R 0700 /var/lib/drizzle || die |
200 |
|
201 |
fowners drizzle:nogroup /var/run/drizzle || die |
202 |
fowners drizzle:nogroup /var/log/drizzle || die |
203 |
fowners -R drizzle:nogroup /var/lib/drizzle || die |
204 |
|
205 |
pamd_mimic system-auth drizzle auth account session |
206 |
} |