1 |
flameeyes 10/04/01 15:01:51 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: drizzle-2010.03.1412.ebuild |
5 |
Log: |
6 |
Version bump, new version solves the PAM problem (the pam.d file is set up properly) and simplifies the curl/gnutls/openssl dependency web as the MD5 plugin is now using libgcrypt. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-db/drizzle/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/drizzle/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 23 Dec 2009 20:39:33 -0000 1.1 |
23 |
+++ metadata.xml 1 Apr 2010 15:01:51 -0000 1.2 |
24 |
@@ -35,7 +35,7 @@ |
25 |
logging (using <pkg>sys-cluster/gearman</pkg>). |
26 |
</flag> |
27 |
|
28 |
- <flag name="gnutls"> |
29 |
+ <flag name="gnutls" restrict="<dev-db/drizzle-2010.03.1412"> |
30 |
Enable the MD5 plugin for user-defined functions (using |
31 |
<pkg>net-libs/gnutls</pkg>). |
32 |
|
33 |
@@ -45,7 +45,7 @@ |
34 |
conflicts. |
35 |
</flag> |
36 |
|
37 |
- <flag name="openssl"> |
38 |
+ <flag name="openssl" restrict="<dev-db/drizzle-2010.03.1412"> |
39 |
Enable the MD5 plugin for user-defined functions (using |
40 |
<pkg>dev-libs/openssl</pkg>). |
41 |
|
42 |
@@ -61,12 +61,23 @@ |
43 |
properly. |
44 |
</flag> |
45 |
|
46 |
- <flag name="pam"> |
47 |
+ <flag name="pam" restrict="<dev-db/drizzle-2010.03.1412"> |
48 |
Enable the PAM authentication plugin (using |
49 |
<pkg>sys-libs/pam</pkg>). |
50 |
|
51 |
Warning: currently the pam configuration file is missing so it |
52 |
will not work out of the box. |
53 |
</flag> |
54 |
+ |
55 |
+ <flag name="pam" restrict=">=dev-db/drizzle-2010.03.1412"> |
56 |
+ Enable the PAM authentication plugin (using |
57 |
+ <pkg>sys-libs/pam</pkg>). The configuration file created will be |
58 |
+ /etc/pam.d/drizzle. |
59 |
+ </flag> |
60 |
+ |
61 |
+ <flag name="md5" restrict=">=dev-db/drizzle-2010.03.1412"> |
62 |
+ Enable the MD5 plugin, using <pkg>dev-libs/libgcrypt</pkg>; this |
63 |
+ replaces the older openssl and gnutls USE flags. |
64 |
+ </flag> |
65 |
</use> |
66 |
</pkgmetadata> |
67 |
|
68 |
|
69 |
|
70 |
1.8 dev-db/drizzle/ChangeLog |
71 |
|
72 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/ChangeLog?rev=1.8&view=markup |
73 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/ChangeLog?rev=1.8&content-type=text/plain |
74 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/ChangeLog?r1=1.7&r2=1.8 |
75 |
|
76 |
Index: ChangeLog |
77 |
=================================================================== |
78 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v |
79 |
retrieving revision 1.7 |
80 |
retrieving revision 1.8 |
81 |
diff -u -r1.7 -r1.8 |
82 |
--- ChangeLog 19 Mar 2010 13:49:46 -0000 1.7 |
83 |
+++ ChangeLog 1 Apr 2010 15:01:51 -0000 1.8 |
84 |
@@ -1,6 +1,14 @@ |
85 |
# ChangeLog for dev-db/drizzle |
86 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
87 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.7 2010/03/19 13:49:46 flameeyes Exp $ |
88 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/ChangeLog,v 1.8 2010/04/01 15:01:51 flameeyes Exp $ |
89 |
+ |
90 |
+*drizzle-2010.03.1412 (01 Apr 2010) |
91 |
+ |
92 |
+ 01 Apr 2010; Diego E. Pettenò <flameeyes@g.o> |
93 |
+ +drizzle-2010.03.1412.ebuild, metadata.xml: |
94 |
+ Version bump, new version solves the PAM problem (the pam.d file is set up |
95 |
+ properly) and simplifies the curl/gnutls/openssl dependency web as the MD5 |
96 |
+ plugin is now using libgcrypt. |
97 |
|
98 |
*drizzle-2010.03.1347 (19 Mar 2010) |
99 |
|
100 |
|
101 |
|
102 |
|
103 |
1.1 dev-db/drizzle/drizzle-2010.03.1412.ebuild |
104 |
|
105 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/drizzle-2010.03.1412.ebuild?rev=1.1&view=markup |
106 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/drizzle/drizzle-2010.03.1412.ebuild?rev=1.1&content-type=text/plain |
107 |
|
108 |
Index: drizzle-2010.03.1412.ebuild |
109 |
=================================================================== |
110 |
# Copyright 1999-2010 Gentoo Foundation |
111 |
# Distributed under the terms of the GNU General Public License v2 |
112 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-2010.03.1412.ebuild,v 1.1 2010/04/01 15:01:51 flameeyes Exp $ |
113 |
|
114 |
EAPI=2 |
115 |
|
116 |
inherit flag-o-matic libtool autotools eutils pam |
117 |
|
118 |
DESCRIPTION="Database optimized for Cloud and Net applications" |
119 |
HOMEPAGE="http://drizzle.org" |
120 |
SRC_URI="http://launchpad.net/drizzle/cherry/2010-03-29/+download/${P}.tar.gz" |
121 |
LICENSE="GPL-2" |
122 |
SLOT="0" |
123 |
KEYWORDS="~amd64" |
124 |
|
125 |
IUSE="debug tcmalloc doc memcache curl pam gearman +md5" |
126 |
|
127 |
# upstream bug #499911 |
128 |
RESTRICT="memcache? ( test ) !curl? ( test )" |
129 |
|
130 |
RDEPEND="tcmalloc? ( dev-util/google-perftools ) |
131 |
dev-db/libdrizzle |
132 |
sys-libs/readline |
133 |
sys-apps/util-linux |
134 |
dev-libs/libpcre |
135 |
dev-libs/libevent |
136 |
dev-libs/protobuf |
137 |
gearman? ( sys-cluster/gearmand ) |
138 |
pam? ( sys-libs/pam ) |
139 |
curl? ( net-misc/curl ) |
140 |
memcache? ( dev-libs/libmemcached ) |
141 |
md5? ( dev-libs/libgcrypt )" |
142 |
DEPEND="${RDEPEND} |
143 |
dev-util/gperf |
144 |
doc? ( app-doc/doxygen )" |
145 |
|
146 |
pkg_setup() { |
147 |
elog "This is a work-in-progress ebuild, some features will require" |
148 |
elog "manual configuration and others aren't fleshed out just yet." |
149 |
elog "Use it at your risk." |
150 |
|
151 |
enewuser drizzle -1 -1 /dev/null nogroup |
152 |
} |
153 |
|
154 |
src_prepare() { |
155 |
epatch "${FILESDIR}/${PN}-2009.12.1240-nolint.patch" |
156 |
AT_M4DIR="m4" eautoreconf |
157 |
elibtoolize |
158 |
} |
159 |
|
160 |
src_configure() { |
161 |
local myconf= |
162 |
|
163 |
if use debug; then |
164 |
append-flags -DDEBUG |
165 |
fi |
166 |
|
167 |
econf \ |
168 |
--disable-static \ |
169 |
--disable-dependency-tracking \ |
170 |
--disable-mtmalloc \ |
171 |
$(use_enable tcmalloc) \ |
172 |
$(use_enable memcache libmemcached) \ |
173 |
$(use_enable gearman libgearman) \ |
174 |
$(use_with curl auth-http-plugin) \ |
175 |
$(use_with pam auth-pam-plugin) \ |
176 |
$(use_with md5 md5-plugin) \ |
177 |
--without-hello-world-plugin \ |
178 |
${myconf} |
179 |
} |
180 |
|
181 |
src_compile() { |
182 |
emake || die "build failed" |
183 |
|
184 |
if use doc; then |
185 |
emake doxygen || die "doxygen failed" |
186 |
fi |
187 |
} |
188 |
|
189 |
src_test() { |
190 |
# Explicitly allow parallel make check |
191 |
emake check || die "tests failed" |
192 |
} |
193 |
|
194 |
src_install() { |
195 |
emake DESTDIR="${D}" install || die "install failed" |
196 |
dodoc AUTHORS NEWS README || die |
197 |
|
198 |
find "${D}" -name '*.la' -delete || die |
199 |
|
200 |
if use doc; then |
201 |
docinto apidoc |
202 |
pushd docs/html |
203 |
dohtml -r . |
204 |
popd |
205 |
fi |
206 |
|
207 |
newinitd "${FILESDIR}"/drizzle.init.d drizzled || die |
208 |
newconfd "${FILESDIR}"/drizzle.conf.d drizzled || die |
209 |
|
210 |
if ! use gearman; then |
211 |
sed -i -e '/need gearmand/d' "${D}"/etc/init.d/drizzled \ |
212 |
|| die "unable to sed init script (gearman)" |
213 |
fi |
214 |
|
215 |
if ! use memcache; then |
216 |
sed -i -e '/need memcached/d' "${D}"/etc/init.d/drizzled \ |
217 |
|| die "unable to sed init script (memcache)" |
218 |
fi |
219 |
|
220 |
keepdir /var/run/drizzle || die |
221 |
keepdir /var/log/drizzle || die |
222 |
keepdir /var/lib/drizzle/drizzled || die |
223 |
keepdir /etc/drizzle || die |
224 |
|
225 |
fperms 0755 /var/run/drizzle || die |
226 |
fperms 0755 /var/log/drizzle || die |
227 |
fperms -R 0700 /var/lib/drizzle || die |
228 |
|
229 |
fowners drizzle:nogroup /var/run/drizzle || die |
230 |
fowners drizzle:nogroup /var/log/drizzle || die |
231 |
fowners -R drizzle:nogroup /var/lib/drizzle || die |
232 |
|
233 |
pamd_mimic system-auth drizzle auth account session |
234 |
} |