Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/
Date: Fri, 22 Feb 2019 19:52:23
Message-Id: 1550865130.7ff60815231861110e8af4bad8c03d335f8b58ef.polynomial-c@gentoo
1 commit: 7ff60815231861110e8af4bad8c03d335f8b58ef
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 22 19:34:42 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 22 19:52:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff60815
7
8 sys-libs/ldb: Bump to versions 1.3.7, 1.4.5 and 1.5.3
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/ldb/Manifest | 3 ++
14 sys-libs/ldb/ldb-1.3.7.ebuild | 103 +++++++++++++++++++++++++++++++++++++++++
15 sys-libs/ldb/ldb-1.4.5.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
16 sys-libs/ldb/ldb-1.5.3.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
17 4 files changed, 316 insertions(+)
18
19 diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
20 index 95c4de65110..736b605c8af 100644
21 --- a/sys-libs/ldb/Manifest
22 +++ b/sys-libs/ldb/Manifest
23 @@ -3,6 +3,9 @@ DIST ldb-1.1.29.tar.gz 1277551 BLAKE2B 449333d40073fd63d6d013ba0ae43fc3a0b820194
24 DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b275bb3b288049acb43ee3c02ae4f0be820ccf9e3bb32938d12598a91b7a6292b08c638ccfd59bd1be182f09c0 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824
25 DIST ldb-1.2.3.tar.gz 1344513 BLAKE2B 941174d6e2c51319c8690a8d8a87bea443d4fa4d738bd13243b502fdc9d590ba075fcf4a9920c38bb6fc15564f0b116089cd62d99e7cfe33649dc751910265ad SHA512 500ab069cf6cec39907300e3905d334163b5094087831708acc22c4199b006ef52af3b66aade7558a48fab7cd69be3af7883bda3816a83c576d01b36ab270247
26 DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d
27 +DIST ldb-1.3.7.tar.gz 1374109 BLAKE2B 561d120bbfc49ef7115a3c046d65f15960ff9905b5a56ed7676d31ce6027ba9f18dfe5027952154db4a040e14be69689f248ffef0ca2ae801553be4c890248fe SHA512 b6d2b2f5a0868ac4ed1cfe786f26d5815cf60233561a23a06d9d5c231d51bfc68ad1a0826e5080bc97bafbaef1770fa38b7d3071f57b766e960b22485e8b5e2b
28 DIST ldb-1.4.3.tar.gz 1428730 BLAKE2B 1e0fec1aeb05ecd34b7dc88d85425b646ab28804245543256c575a44c1a321e873d74f623b1a003aec878a808d6bc967ff57e8115650f6089278d55d586c7e6a SHA512 081dbc23e810213fb60fdb07c7f3bf1ec8849d10483c5cdabb8add2568d4f80d03bd74d7be3fcf9bb853eaf25aa6bbb2d69cda3f55dda0270978b051da315cb2
29 DIST ldb-1.4.4.tar.gz 1428851 BLAKE2B 8b2dc6dc95f5c8d1a04aab58efb622b4550e6d8fc6f12aafe36b7080a5d59ab2d7fc6429ac59de43a23cef690fa9f026ccf536f70bfd25a126a1a649f3c68d02 SHA512 eb5c364771732916f89c9ee8cf20909954a7215cd71333b79c17718dd1e25081cce6597e882b6f0d6158c207fb58d97311f0417bf3baffe72084977a4bd05896
30 +DIST ldb-1.4.5.tar.gz 1429162 BLAKE2B 47c55ca8a89f343708b5ea275a1f2417e91e05b2d1cf92d812f2a1430dcf174b14e69474f30dcf60b34a5c4b905924a67f002607535257fbb531bfed807648fa SHA512 ed1e73eb4e10f041463b38be031e7b7b1057a6a1ef6a637019d58a6549a0958d551a0b52f3858114b83cf14470ef5ddd96de3dcbb733a3bd1fed768fc29fadd2
31 DIST ldb-1.5.2.tar.gz 1625665 BLAKE2B 612abb1e31f9fa5321824e40f627d8a498f871386cf51d83c03cae429c2895fc1747d551166ec64ae07751a3b9ddd1826b5cfe1ef7ee4b5460682e8ebb466a34 SHA512 5dda5935437a82356cb84593f5be0d22289a87da7460b24dbc0673e01614f0cc40859328c3a5da858f3f2dd173f2b214743ec709555bbfef09342045b37f3a6c
32 +DIST ldb-1.5.3.tar.gz 1625821 BLAKE2B 4ad2dfa10c0fe79ae06d2e50288ddba54cb3bb76e849e44af9c4ededa76eb20280c913277293281628d2a699f4cbecfc77630bc95965eeabc6800bfd9a9cb8ac SHA512 b25188606aae28a0ee5c95dddfb541cc6e500ef794d66601aa8cb061f51441433baab577311d0b39801d8b08808f66ad05066404293e78cb192523b681f1d145
33
34 diff --git a/sys-libs/ldb/ldb-1.3.7.ebuild b/sys-libs/ldb/ldb-1.3.7.ebuild
35 new file mode 100644
36 index 00000000000..e76e509dbce
37 --- /dev/null
38 +++ b/sys-libs/ldb/ldb-1.3.7.ebuild
39 @@ -0,0 +1,103 @@
40 +# Copyright 1999-2019 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=6
44 +PYTHON_COMPAT=( python2_7 )
45 +PYTHON_REQ_USE="threads"
46 +
47 +inherit python-single-r1 waf-utils multilib-minimal eutils
48 +
49 +DESCRIPTION="An LDAP-like embedded database"
50 +HOMEPAGE="https://ldb.samba.org"
51 +SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
52 +
53 +LICENSE="LGPL-3"
54 +SLOT="0/${PV}"
55 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
56 +IUSE="doc +ldap +python"
57 +
58 +RDEPEND="
59 + !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
60 + dev-libs/popt[${MULTILIB_USEDEP}]
61 + >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
62 + >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}]
63 + >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
64 + >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
65 + ldap? ( net-nds/openldap )
66 + python? ( ${PYTHON_DEPS} )
67 +"
68 +
69 +DEPEND="dev-libs/libxslt
70 + doc? ( app-doc/doxygen )
71 + virtual/pkgconfig
72 + ${PYTHON_DEPS}
73 + ${RDEPEND}
74 +"
75 +
76 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
77 +
78 +WAF_BINARY="${S}/buildtools/bin/waf"
79 +
80 +MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
81 +
82 +PATCHES=(
83 + "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
84 + "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
85 +)
86 +
87 +pkg_setup() {
88 + python-single-r1_pkg_setup
89 +}
90 +
91 +src_prepare() {
92 + default
93 + multilib_copy_sources
94 +}
95 +
96 +multilib_src_configure() {
97 + local myconf=(
98 + $(usex ldap '' --disable-ldap)
99 + --disable-rpath
100 + --disable-rpath-install --bundled-libraries=NONE
101 + --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
102 + --builtin-libraries=NONE
103 + )
104 + if ! multilib_is_native_abi; then
105 + myconf+=( --disable-python )
106 + else
107 + use python || myconf+=( --disable-python )
108 + fi
109 + waf-utils_src_configure "${myconf[@]}"
110 +}
111 +
112 +multilib_src_compile(){
113 + waf-utils_src_compile
114 + multilib_is_native_abi && use doc && doxygen Doxyfile
115 +}
116 +
117 +multilib_src_test() {
118 + if multilib_is_native_abi; then
119 + WAF_MAKE=1 \
120 + PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
121 + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
122 + waf test || die
123 + fi
124 +}
125 +
126 +multilib_src_install() {
127 + waf-utils_src_install
128 +
129 + if multilib_is_native_abi && use doc; then
130 + doman apidocs/man/man3/*.3
131 + docinto html
132 + dodoc -r apidocs/html/*
133 + fi
134 +}
135 +
136 +pkg_postinst() {
137 + if has_version sys-auth/sssd; then
138 + ewarn "You have sssd installed. It is known to break after ldb upgrades,"
139 + ewarn "so please try to rebuild it before reporting bugs."
140 + ewarn "See https://bugs.gentoo.org/404281"
141 + fi
142 +}
143
144 diff --git a/sys-libs/ldb/ldb-1.4.5.ebuild b/sys-libs/ldb/ldb-1.4.5.ebuild
145 new file mode 100644
146 index 00000000000..eb8e4d2e6ef
147 --- /dev/null
148 +++ b/sys-libs/ldb/ldb-1.4.5.ebuild
149 @@ -0,0 +1,105 @@
150 +# Copyright 1999-2019 Gentoo Authors
151 +# Distributed under the terms of the GNU General Public License v2
152 +
153 +EAPI=6
154 +PYTHON_COMPAT=( python2_7 )
155 +PYTHON_REQ_USE="threads"
156 +
157 +inherit python-single-r1 waf-utils multilib-minimal eutils
158 +
159 +DESCRIPTION="An LDAP-like embedded database"
160 +HOMEPAGE="https://ldb.samba.org"
161 +SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
162 +
163 +LICENSE="LGPL-3"
164 +SLOT="0/${PV}"
165 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
166 +IUSE="doc +ldap +lmdb +python"
167 +
168 +RDEPEND="
169 + !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
170 + dev-libs/popt[${MULTILIB_USEDEP}]
171 + >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
172 + >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}]
173 + >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}]
174 + >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}]
175 + ldap? ( net-nds/openldap )
176 + lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
177 + python? ( ${PYTHON_DEPS} )
178 +"
179 +
180 +DEPEND="dev-libs/libxslt
181 + doc? ( app-doc/doxygen )
182 + virtual/pkgconfig
183 + ${PYTHON_DEPS}
184 + ${RDEPEND}
185 +"
186 +
187 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
188 +
189 +WAF_BINARY="${S}/buildtools/bin/waf"
190 +
191 +MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
192 +
193 +PATCHES=(
194 + "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch
195 + "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
196 +)
197 +
198 +pkg_setup() {
199 + python-single-r1_pkg_setup
200 +}
201 +
202 +src_prepare() {
203 + default
204 + multilib_copy_sources
205 +}
206 +
207 +multilib_src_configure() {
208 + local myconf=(
209 + $(usex ldap '' --disable-ldap)
210 + $(usex lmdb '' --without-ldb-lmdb)
211 + --disable-rpath
212 + --disable-rpath-install --bundled-libraries=NONE
213 + --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
214 + --builtin-libraries=NONE
215 + )
216 + if ! multilib_is_native_abi; then
217 + myconf+=( --disable-python )
218 + else
219 + use python || myconf+=( --disable-python )
220 + fi
221 + waf-utils_src_configure "${myconf[@]}"
222 +}
223 +
224 +multilib_src_compile(){
225 + waf-utils_src_compile
226 + multilib_is_native_abi && use doc && doxygen Doxyfile
227 +}
228 +
229 +multilib_src_test() {
230 + if multilib_is_native_abi; then
231 + WAF_MAKE=1 \
232 + PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
233 + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
234 + waf test || die
235 + fi
236 +}
237 +
238 +multilib_src_install() {
239 + waf-utils_src_install
240 +
241 + if multilib_is_native_abi && use doc; then
242 + doman apidocs/man/man3/*.3
243 + docinto html
244 + dodoc -r apidocs/html/*
245 + fi
246 +}
247 +
248 +pkg_postinst() {
249 + if has_version sys-auth/sssd; then
250 + ewarn "You have sssd installed. It is known to break after ldb upgrades,"
251 + ewarn "so please try to rebuild it before reporting bugs."
252 + ewarn "See https://bugs.gentoo.org/404281"
253 + fi
254 +}
255
256 diff --git a/sys-libs/ldb/ldb-1.5.3.ebuild b/sys-libs/ldb/ldb-1.5.3.ebuild
257 new file mode 100644
258 index 00000000000..d4a2629a941
259 --- /dev/null
260 +++ b/sys-libs/ldb/ldb-1.5.3.ebuild
261 @@ -0,0 +1,105 @@
262 +# Copyright 1999-2019 Gentoo Authors
263 +# Distributed under the terms of the GNU General Public License v2
264 +
265 +EAPI=6
266 +PYTHON_COMPAT=( python3_{4,5,6,7} )
267 +PYTHON_REQ_USE="threads(+)"
268 +
269 +inherit python-single-r1 waf-utils multilib-minimal eutils
270 +
271 +DESCRIPTION="An LDAP-like embedded database"
272 +HOMEPAGE="https://ldb.samba.org"
273 +SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
274 +
275 +LICENSE="LGPL-3"
276 +SLOT="0/${PV}"
277 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
278 +IUSE="doc +ldap +lmdb +python"
279 +
280 +RDEPEND="
281 + !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
282 + dev-libs/popt[${MULTILIB_USEDEP}]
283 + >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
284 + >=sys-libs/talloc-2.1.15[python?,${MULTILIB_USEDEP}]
285 + >=sys-libs/tdb-1.3.17[python?,${MULTILIB_USEDEP}]
286 + >=sys-libs/tevent-0.9.38[python(+)?,${MULTILIB_USEDEP}]
287 + ldap? ( net-nds/openldap )
288 + lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
289 + python? ( ${PYTHON_DEPS} )
290 +"
291 +
292 +DEPEND="dev-libs/libxslt
293 + doc? ( app-doc/doxygen )
294 + virtual/pkgconfig
295 + ${PYTHON_DEPS}
296 + ${RDEPEND}
297 +"
298 +
299 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
300 +
301 +WAF_BINARY="${S}/buildtools/bin/waf"
302 +
303 +MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
304 +
305 +PATCHES=(
306 + "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
307 + "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
308 +)
309 +
310 +pkg_setup() {
311 + python-single-r1_pkg_setup
312 +}
313 +
314 +src_prepare() {
315 + default
316 + multilib_copy_sources
317 +}
318 +
319 +multilib_src_configure() {
320 + local myconf=(
321 + $(usex ldap '' --disable-ldap)
322 + $(usex lmdb '' --without-ldb-lmdb)
323 + --disable-rpath
324 + --disable-rpath-install --bundled-libraries=NONE
325 + --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
326 + --builtin-libraries=NONE
327 + )
328 + if ! multilib_is_native_abi; then
329 + myconf+=( --disable-python )
330 + else
331 + use python || myconf+=( --disable-python )
332 + fi
333 + waf-utils_src_configure "${myconf[@]}"
334 +}
335 +
336 +multilib_src_compile(){
337 + waf-utils_src_compile
338 + multilib_is_native_abi && use doc && doxygen Doxyfile
339 +}
340 +
341 +multilib_src_test() {
342 + if multilib_is_native_abi; then
343 + WAF_MAKE=1 \
344 + PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
345 + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
346 + waf test || die
347 + fi
348 +}
349 +
350 +multilib_src_install() {
351 + waf-utils_src_install
352 +
353 + if multilib_is_native_abi && use doc; then
354 + doman apidocs/man/man3/*.3
355 + docinto html
356 + dodoc -r apidocs/html/*
357 + fi
358 +}
359 +
360 +pkg_postinst() {
361 + if has_version sys-auth/sssd; then
362 + ewarn "You have sssd installed. It is known to break after ldb upgrades,"
363 + ewarn "so please try to rebuild it before reporting bugs."
364 + ewarn "See https://bugs.gentoo.org/404281"
365 + fi
366 +}