1 |
commit: 76f067222151947e870375c35964a8c54b87fc15 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 03:01:52 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 03:01:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f06722 |
7 |
|
8 |
sys-libs/ldb: drop 2.3.2-r1, 2.4.1-r1, 2.4.3, 2.5.0-r1, 2.5.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-libs/ldb/Manifest | 5 -- |
13 |
sys-libs/ldb/ldb-2.3.2-r1.ebuild | 120 -------------------------------------- |
14 |
sys-libs/ldb/ldb-2.4.1-r1.ebuild | 120 -------------------------------------- |
15 |
sys-libs/ldb/ldb-2.4.3.ebuild | 121 --------------------------------------- |
16 |
sys-libs/ldb/ldb-2.5.0-r1.ebuild | 121 --------------------------------------- |
17 |
sys-libs/ldb/ldb-2.5.1.ebuild | 121 --------------------------------------- |
18 |
6 files changed, 608 deletions(-) |
19 |
|
20 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
21 |
index dbe71fc602b7..e5de992c6235 100644 |
22 |
--- a/sys-libs/ldb/Manifest |
23 |
+++ b/sys-libs/ldb/Manifest |
24 |
@@ -1,10 +1,5 @@ |
25 |
-DIST ldb-2.3.2.tar.gz 1718583 BLAKE2B 48b9fb77e414af0f9fffe0cda9cf49971d79ed8b66213b01b73f53a61969e03f9e6426a04a33ff70da906c814470d8fa356902a68aa1169d969cc597e8c234d7 SHA512 be324e8f20db50529634548451dbc5f95f26a701e124bfb40ae2b0a5069de78b7c5c1a66222097209ea24ef6077373d996e67c00257a5a05198f1b81bf0ed53e |
26 |
DIST ldb-2.3.3.tar.gz 1719542 BLAKE2B 2a5cfe3ddac2054d167c2857e0cd92e0f88d2c196f9285c029b2a525d781025a956a296bd6d793b65f848188cf7adf70f99542999061a85be473b3fc3b2856f1 SHA512 ffb50208fe971afd544a431b79905ec8fce67d78d20c3fcfb8345a56f3b278fb664bc48079d7239a8ca5b70aae8b32076b6007cb63e080cd536e9fe458efeccd |
27 |
DIST ldb-2.3.4.tar.gz 1721000 BLAKE2B be54c0bffdc910029b5e324578ed2f1e0350dfd19202749cb0c05dff20f3786d0cb612f18ef6f9534c7e34e94c0a283adb3dd935ca3c3252aba0290faca590ef SHA512 e0128a0e36411424fbb092ce24f503f530d0bc75dc98f31e0f457df34c3c2c01c23456d55722eca9965ff89f4dec5cde36c1dabbfaf3ddee536ff4d1dedb1c1d |
28 |
-DIST ldb-2.4.1.tar.gz 1719769 BLAKE2B 868d3dcc51bd8272d99f2335ed1af2e37506b6a175254f1aca37f758488ba0997e37419a7d8c81def77698128307df97de26d4807ac78c34088f7a623f8d9e68 SHA512 14ab5397d28c369142b2ccf55a2ab4e678a3fe6e018541cfce46241f8226400bc169360bbef254fae4410a6e15024ae986f02298d3d324e3d3a8b88801bf76d7 |
29 |
DIST ldb-2.4.2.tar.gz 1720169 BLAKE2B d144218bf62dde57560df8b8a641e9f58bee001fdfa7b1527d9eb9a1a55e428662db81912173cbcdb9f993c0b316faab7d758a4878beeff1daadd487e9aa44a9 SHA512 77705ad284eed9105c9aba0459d2e48cd66ca19b657a55f7513e10281dd2e96540d24d1c8df53adc84109a918900687dc75b635cda05c4e788424ed71b5ff989 |
30 |
-DIST ldb-2.4.3.tar.gz 1729139 BLAKE2B 90dbb41ec6db19c562f275cdbf8fe273763633ca6a86d5a2f2428fc2063f5f88fcae23543f588f4df16ae5315e597145eecce3d87b616f8a27c0df91ab8bf81c SHA512 681433c5bbd1cc1fcddc35403c538f1511a83a7555b9113ac9247c6a22718ad6d7b21a86def50e6b5df91c9c8e04f2c45ffd264cd0ad1a715dc4b85681569622 |
31 |
DIST ldb-2.4.4.tar.gz 1726595 BLAKE2B c01440e7032dbd3f7b735cb8d2078d7e1dbb56370bd1defe5f170eff006d3979daa654698e6e046c0583288dacd2cda9a5cde249fd6382db52c4aadb83f55e34 SHA512 2e4c762525eee9db40083b21e2a23f9cdfad5d2969cc628b3ea5414f9ec1be2c12d0aa65137cd8d8a5395c0414166ba14fc3dd57d53c533596762d80b9c561f4 |
32 |
-DIST ldb-2.5.0.tar.gz 1722847 BLAKE2B 880a5a516b0b423854f8a3f9c54da89e4640f8462ccc54a7b147c70c3a9eb073dc9e914d1906ab914a9ddd9b9aa0e7d177ef3ecb4c0b506f5417db931b017849 SHA512 f16a235f1409e06266c51735ac645cf2708d31dd731ee7b95d6778498b115f4252b0a528952e620767d1616a4e1e7c5f2cdc69f3fa32d79288cf14da2f52a010 |
33 |
-DIST ldb-2.5.1.tar.gz 1736209 BLAKE2B f06df9878ca664a456859464895e91c21da55c340e6dc94dc1bae22002e1c93ce9c7c87e3435b362e01e7d3d407d4968a529445d465a3d37ecf95f969866b40b SHA512 679ad695d4467a38e6cb87ba2b7d61049a42c59792b39f0a40256456ac673849adf58dc0759a89be982b80bb4a0834d34b51779424f7b997a53ea95f02f410ad |
34 |
DIST ldb-2.5.2.tar.gz 1730347 BLAKE2B a0d3a9ae02f79c27b396314b804195ecd37b8bcd843fb94f9813a69fb15773db94ed2210f4102e395333562c2dccebabde1c2dcc0c2fceac97dfa31b2ad97e3d SHA512 02ae1246f99d9b6d6b33c5030488aa46c6abb535b4da4b13799a62b49d32c490b7c088ef41c0bc5a1b2f7263c680faceb8033827834cb6f66916adcdb5be421c |
35 |
|
36 |
diff --git a/sys-libs/ldb/ldb-2.3.2-r1.ebuild b/sys-libs/ldb/ldb-2.3.2-r1.ebuild |
37 |
deleted file mode 100644 |
38 |
index 49ea629050ba..000000000000 |
39 |
--- a/sys-libs/ldb/ldb-2.3.2-r1.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,120 +0,0 @@ |
42 |
-# Copyright 1999-2022 Gentoo Authors |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=7 |
46 |
- |
47 |
-PYTHON_COMPAT=( python3_{8..9} ) |
48 |
-PYTHON_REQ_USE="threads(+)" |
49 |
-inherit python-single-r1 waf-utils multilib-minimal |
50 |
- |
51 |
-DESCRIPTION="LDAP-like embedded database" |
52 |
-HOMEPAGE="https://ldb.samba.org" |
53 |
-SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" |
54 |
- |
55 |
-LICENSE="LGPL-3" |
56 |
-SLOT="0/${PV}" |
57 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
58 |
-IUSE="doc ldap +lmdb python test" |
59 |
- |
60 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
61 |
- test? ( python )" |
62 |
- |
63 |
-RESTRICT="!test? ( test )" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
67 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
68 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
69 |
- >=sys-libs/talloc-2.3.2[${MULTILIB_USEDEP}] |
70 |
- >=sys-libs/tdb-1.4.3[${MULTILIB_USEDEP}] |
71 |
- >=sys-libs/tevent-0.10.2[${MULTILIB_USEDEP}] |
72 |
- ldap? ( net-nds/openldap:= ) |
73 |
- lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) |
74 |
- python? ( |
75 |
- ${PYTHON_DEPS} |
76 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
77 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
78 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
79 |
- ) |
80 |
-" |
81 |
-DEPEND="${RDEPEND} |
82 |
- virtual/libcrypt |
83 |
-" |
84 |
-BDEPEND="${PYTHON_DEPS} |
85 |
- dev-libs/libxslt |
86 |
- virtual/pkgconfig |
87 |
- doc? ( app-doc/doxygen ) |
88 |
-" |
89 |
- |
90 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
91 |
- |
92 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
93 |
- |
94 |
-PATCHES=( |
95 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
96 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
97 |
-) |
98 |
- |
99 |
-pkg_setup() { |
100 |
- # Package fails to build with distcc |
101 |
- export DISTCC_DISABLE=1 |
102 |
- |
103 |
- # waf requires a python interpreter |
104 |
- python-single-r1_pkg_setup |
105 |
-} |
106 |
- |
107 |
-src_prepare() { |
108 |
- default |
109 |
- multilib_copy_sources |
110 |
-} |
111 |
- |
112 |
-multilib_src_configure() { |
113 |
- local myconf=( |
114 |
- $(usex ldap '' --disable-ldap) |
115 |
- $(usex lmdb '' --without-ldb-lmdb) |
116 |
- --disable-rpath |
117 |
- --disable-rpath-install --bundled-libraries=NONE |
118 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
119 |
- --builtin-libraries=NONE |
120 |
- ) |
121 |
- if ! multilib_is_native_abi; then |
122 |
- myconf+=( --disable-python ) |
123 |
- else |
124 |
- use python || myconf+=( --disable-python ) |
125 |
- fi |
126 |
- waf-utils_src_configure "${myconf[@]}" |
127 |
-} |
128 |
- |
129 |
-multilib_src_compile() { |
130 |
- waf-utils_src_compile |
131 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
132 |
-} |
133 |
- |
134 |
-multilib_src_test() { |
135 |
- if multilib_is_native_abi; then |
136 |
- WAF_MAKE=1 \ |
137 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
138 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
139 |
- waf test || die |
140 |
- fi |
141 |
-} |
142 |
- |
143 |
-multilib_src_install() { |
144 |
- waf-utils_src_install |
145 |
- |
146 |
- if multilib_is_native_abi && use doc; then |
147 |
- doman apidocs/man/man3/*.3 |
148 |
- docinto html |
149 |
- dodoc -r apidocs/html/. |
150 |
- fi |
151 |
- |
152 |
- use python && python_optimize #726454 |
153 |
-} |
154 |
- |
155 |
-pkg_postinst() { |
156 |
- if has_version sys-auth/sssd; then |
157 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
158 |
- ewarn "so please try to rebuild it before reporting bugs." |
159 |
- ewarn "See https://bugs.gentoo.org/404281" |
160 |
- fi |
161 |
-} |
162 |
|
163 |
diff --git a/sys-libs/ldb/ldb-2.4.1-r1.ebuild b/sys-libs/ldb/ldb-2.4.1-r1.ebuild |
164 |
deleted file mode 100644 |
165 |
index eae274809755..000000000000 |
166 |
--- a/sys-libs/ldb/ldb-2.4.1-r1.ebuild |
167 |
+++ /dev/null |
168 |
@@ -1,120 +0,0 @@ |
169 |
-# Copyright 1999-2022 Gentoo Authors |
170 |
-# Distributed under the terms of the GNU General Public License v2 |
171 |
- |
172 |
-EAPI=7 |
173 |
- |
174 |
-PYTHON_COMPAT=( python3_{8..10} ) |
175 |
-PYTHON_REQ_USE="threads(+)" |
176 |
-inherit python-single-r1 waf-utils multilib-minimal |
177 |
- |
178 |
-DESCRIPTION="LDAP-like embedded database" |
179 |
-HOMEPAGE="https://ldb.samba.org" |
180 |
-SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" |
181 |
- |
182 |
-LICENSE="LGPL-3" |
183 |
-SLOT="0/${PV}" |
184 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
185 |
-IUSE="doc ldap +lmdb python test" |
186 |
- |
187 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
188 |
- test? ( python )" |
189 |
- |
190 |
-RESTRICT="!test? ( test )" |
191 |
- |
192 |
-RDEPEND=" |
193 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
194 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
195 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
196 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
197 |
- >=sys-libs/tdb-1.4.4[${MULTILIB_USEDEP}] |
198 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
199 |
- ldap? ( net-nds/openldap:= ) |
200 |
- lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) |
201 |
- python? ( |
202 |
- ${PYTHON_DEPS} |
203 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
204 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
205 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
206 |
- ) |
207 |
-" |
208 |
-DEPEND="${RDEPEND} |
209 |
- virtual/libcrypt |
210 |
-" |
211 |
-BDEPEND="${PYTHON_DEPS} |
212 |
- dev-libs/libxslt |
213 |
- virtual/pkgconfig |
214 |
- doc? ( app-doc/doxygen ) |
215 |
-" |
216 |
- |
217 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
218 |
- |
219 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
220 |
- |
221 |
-PATCHES=( |
222 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
223 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
224 |
-) |
225 |
- |
226 |
-pkg_setup() { |
227 |
- # Package fails to build with distcc |
228 |
- export DISTCC_DISABLE=1 |
229 |
- |
230 |
- # waf requires a python interpreter |
231 |
- python-single-r1_pkg_setup |
232 |
-} |
233 |
- |
234 |
-src_prepare() { |
235 |
- default |
236 |
- multilib_copy_sources |
237 |
-} |
238 |
- |
239 |
-multilib_src_configure() { |
240 |
- local myconf=( |
241 |
- $(usex ldap '' --disable-ldap) |
242 |
- $(usex lmdb '' --without-ldb-lmdb) |
243 |
- --disable-rpath |
244 |
- --disable-rpath-install --bundled-libraries=NONE |
245 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
246 |
- --builtin-libraries=NONE |
247 |
- ) |
248 |
- if ! multilib_is_native_abi; then |
249 |
- myconf+=( --disable-python ) |
250 |
- else |
251 |
- use python || myconf+=( --disable-python ) |
252 |
- fi |
253 |
- waf-utils_src_configure "${myconf[@]}" |
254 |
-} |
255 |
- |
256 |
-multilib_src_compile() { |
257 |
- waf-utils_src_compile |
258 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
259 |
-} |
260 |
- |
261 |
-multilib_src_test() { |
262 |
- if multilib_is_native_abi; then |
263 |
- WAF_MAKE=1 \ |
264 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
265 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
266 |
- waf test || die |
267 |
- fi |
268 |
-} |
269 |
- |
270 |
-multilib_src_install() { |
271 |
- waf-utils_src_install |
272 |
- |
273 |
- if multilib_is_native_abi && use doc; then |
274 |
- doman apidocs/man/man3/*.3 |
275 |
- docinto html |
276 |
- dodoc -r apidocs/html/. |
277 |
- fi |
278 |
- |
279 |
- use python && python_optimize #726454 |
280 |
-} |
281 |
- |
282 |
-pkg_postinst() { |
283 |
- if has_version sys-auth/sssd; then |
284 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
285 |
- ewarn "so please try to rebuild it before reporting bugs." |
286 |
- ewarn "See https://bugs.gentoo.org/404281" |
287 |
- fi |
288 |
-} |
289 |
|
290 |
diff --git a/sys-libs/ldb/ldb-2.4.3.ebuild b/sys-libs/ldb/ldb-2.4.3.ebuild |
291 |
deleted file mode 100644 |
292 |
index 54d9456e59cd..000000000000 |
293 |
--- a/sys-libs/ldb/ldb-2.4.3.ebuild |
294 |
+++ /dev/null |
295 |
@@ -1,121 +0,0 @@ |
296 |
-# Copyright 1999-2022 Gentoo Authors |
297 |
-# Distributed under the terms of the GNU General Public License v2 |
298 |
- |
299 |
-EAPI=7 |
300 |
- |
301 |
-PYTHON_COMPAT=( python3_{8..10} ) |
302 |
-PYTHON_REQ_USE="threads(+)" |
303 |
-inherit python-single-r1 waf-utils multilib-minimal |
304 |
- |
305 |
-DESCRIPTION="LDAP-like embedded database" |
306 |
-HOMEPAGE="https://ldb.samba.org" |
307 |
-SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" |
308 |
- |
309 |
-LICENSE="LGPL-3" |
310 |
-SLOT="0/${PV}" |
311 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
312 |
-IUSE="doc ldap +lmdb python test" |
313 |
- |
314 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
315 |
- test? ( python )" |
316 |
- |
317 |
-RESTRICT="!test? ( test )" |
318 |
- |
319 |
-RDEPEND=" |
320 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
321 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
322 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
323 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
324 |
- >=sys-libs/tdb-1.4.4[${MULTILIB_USEDEP}] |
325 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
326 |
- ldap? ( net-nds/openldap:= ) |
327 |
- lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) |
328 |
- python? ( |
329 |
- ${PYTHON_DEPS} |
330 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
331 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
332 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
333 |
- ) |
334 |
-" |
335 |
-DEPEND="${RDEPEND} |
336 |
- virtual/libcrypt |
337 |
-" |
338 |
-BDEPEND="${PYTHON_DEPS} |
339 |
- dev-libs/libxslt |
340 |
- virtual/pkgconfig |
341 |
- doc? ( app-doc/doxygen ) |
342 |
-" |
343 |
- |
344 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
345 |
- |
346 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
347 |
- |
348 |
-PATCHES=( |
349 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
350 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
351 |
- "${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch |
352 |
-) |
353 |
- |
354 |
-pkg_setup() { |
355 |
- # Package fails to build with distcc |
356 |
- export DISTCC_DISABLE=1 |
357 |
- |
358 |
- # waf requires a python interpreter |
359 |
- python-single-r1_pkg_setup |
360 |
-} |
361 |
- |
362 |
-src_prepare() { |
363 |
- default |
364 |
- multilib_copy_sources |
365 |
-} |
366 |
- |
367 |
-multilib_src_configure() { |
368 |
- local myconf=( |
369 |
- $(usex ldap '' --disable-ldap) |
370 |
- $(usex lmdb '' --without-ldb-lmdb) |
371 |
- --disable-rpath |
372 |
- --disable-rpath-install --bundled-libraries=NONE |
373 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
374 |
- --builtin-libraries=NONE |
375 |
- ) |
376 |
- if ! multilib_is_native_abi; then |
377 |
- myconf+=( --disable-python ) |
378 |
- else |
379 |
- use python || myconf+=( --disable-python ) |
380 |
- fi |
381 |
- waf-utils_src_configure "${myconf[@]}" |
382 |
-} |
383 |
- |
384 |
-multilib_src_compile() { |
385 |
- waf-utils_src_compile |
386 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
387 |
-} |
388 |
- |
389 |
-multilib_src_test() { |
390 |
- if multilib_is_native_abi; then |
391 |
- WAF_MAKE=1 \ |
392 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
393 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
394 |
- waf test || die |
395 |
- fi |
396 |
-} |
397 |
- |
398 |
-multilib_src_install() { |
399 |
- waf-utils_src_install |
400 |
- |
401 |
- if multilib_is_native_abi && use doc; then |
402 |
- doman apidocs/man/man3/*.3 |
403 |
- docinto html |
404 |
- dodoc -r apidocs/html/. |
405 |
- fi |
406 |
- |
407 |
- use python && python_optimize #726454 |
408 |
-} |
409 |
- |
410 |
-pkg_postinst() { |
411 |
- if has_version sys-auth/sssd; then |
412 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
413 |
- ewarn "so please try to rebuild it before reporting bugs." |
414 |
- ewarn "See https://bugs.gentoo.org/404281" |
415 |
- fi |
416 |
-} |
417 |
|
418 |
diff --git a/sys-libs/ldb/ldb-2.5.0-r1.ebuild b/sys-libs/ldb/ldb-2.5.0-r1.ebuild |
419 |
deleted file mode 100644 |
420 |
index 4b4ed4c7fa5b..000000000000 |
421 |
--- a/sys-libs/ldb/ldb-2.5.0-r1.ebuild |
422 |
+++ /dev/null |
423 |
@@ -1,121 +0,0 @@ |
424 |
-# Copyright 1999-2022 Gentoo Authors |
425 |
-# Distributed under the terms of the GNU General Public License v2 |
426 |
- |
427 |
-EAPI=7 |
428 |
- |
429 |
-PYTHON_COMPAT=( python3_{8..10} ) |
430 |
-PYTHON_REQ_USE="threads(+)" |
431 |
-inherit python-single-r1 waf-utils multilib-minimal |
432 |
- |
433 |
-DESCRIPTION="LDAP-like embedded database" |
434 |
-HOMEPAGE="https://ldb.samba.org" |
435 |
-SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" |
436 |
- |
437 |
-LICENSE="LGPL-3" |
438 |
-SLOT="0/${PV}" |
439 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
440 |
-IUSE="doc ldap +lmdb python test" |
441 |
- |
442 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
443 |
- test? ( python )" |
444 |
- |
445 |
-RESTRICT="!test? ( test )" |
446 |
- |
447 |
-RDEPEND=" |
448 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
449 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
450 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
451 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
452 |
- >=sys-libs/tdb-1.4.5[${MULTILIB_USEDEP}] |
453 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
454 |
- ldap? ( net-nds/openldap:= ) |
455 |
- lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) |
456 |
- python? ( |
457 |
- ${PYTHON_DEPS} |
458 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
459 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
460 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
461 |
- ) |
462 |
-" |
463 |
-DEPEND="${RDEPEND} |
464 |
- virtual/libcrypt |
465 |
-" |
466 |
-BDEPEND="${PYTHON_DEPS} |
467 |
- dev-libs/libxslt |
468 |
- virtual/pkgconfig |
469 |
- doc? ( app-doc/doxygen ) |
470 |
-" |
471 |
- |
472 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
473 |
- |
474 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
475 |
- |
476 |
-PATCHES=( |
477 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
478 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
479 |
- "${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch |
480 |
-) |
481 |
- |
482 |
-pkg_setup() { |
483 |
- # Package fails to build with distcc |
484 |
- export DISTCC_DISABLE=1 |
485 |
- |
486 |
- # waf requires a python interpreter |
487 |
- python-single-r1_pkg_setup |
488 |
-} |
489 |
- |
490 |
-src_prepare() { |
491 |
- default |
492 |
- multilib_copy_sources |
493 |
-} |
494 |
- |
495 |
-multilib_src_configure() { |
496 |
- local myconf=( |
497 |
- $(usex ldap '' --disable-ldap) |
498 |
- $(usex lmdb '' --without-ldb-lmdb) |
499 |
- --disable-rpath |
500 |
- --disable-rpath-install --bundled-libraries=NONE |
501 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
502 |
- --builtin-libraries=NONE |
503 |
- ) |
504 |
- if ! multilib_is_native_abi; then |
505 |
- myconf+=( --disable-python ) |
506 |
- else |
507 |
- use python || myconf+=( --disable-python ) |
508 |
- fi |
509 |
- waf-utils_src_configure "${myconf[@]}" |
510 |
-} |
511 |
- |
512 |
-multilib_src_compile() { |
513 |
- waf-utils_src_compile |
514 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
515 |
-} |
516 |
- |
517 |
-multilib_src_test() { |
518 |
- if multilib_is_native_abi; then |
519 |
- WAF_MAKE=1 \ |
520 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
521 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
522 |
- waf test || die |
523 |
- fi |
524 |
-} |
525 |
- |
526 |
-multilib_src_install() { |
527 |
- waf-utils_src_install |
528 |
- |
529 |
- if multilib_is_native_abi && use doc; then |
530 |
- doman apidocs/man/man3/*.3 |
531 |
- docinto html |
532 |
- dodoc -r apidocs/html/. |
533 |
- fi |
534 |
- |
535 |
- use python && python_optimize #726454 |
536 |
-} |
537 |
- |
538 |
-pkg_postinst() { |
539 |
- if has_version sys-auth/sssd; then |
540 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
541 |
- ewarn "so please try to rebuild it before reporting bugs." |
542 |
- ewarn "See https://bugs.gentoo.org/404281" |
543 |
- fi |
544 |
-} |
545 |
|
546 |
diff --git a/sys-libs/ldb/ldb-2.5.1.ebuild b/sys-libs/ldb/ldb-2.5.1.ebuild |
547 |
deleted file mode 100644 |
548 |
index bfd7de97a612..000000000000 |
549 |
--- a/sys-libs/ldb/ldb-2.5.1.ebuild |
550 |
+++ /dev/null |
551 |
@@ -1,121 +0,0 @@ |
552 |
-# Copyright 1999-2022 Gentoo Authors |
553 |
-# Distributed under the terms of the GNU General Public License v2 |
554 |
- |
555 |
-EAPI=7 |
556 |
- |
557 |
-PYTHON_COMPAT=( python3_{8..10} ) |
558 |
-PYTHON_REQ_USE="threads(+)" |
559 |
-inherit python-single-r1 waf-utils multilib-minimal |
560 |
- |
561 |
-DESCRIPTION="LDAP-like embedded database" |
562 |
-HOMEPAGE="https://ldb.samba.org" |
563 |
-SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz" |
564 |
- |
565 |
-LICENSE="LGPL-3" |
566 |
-SLOT="0/${PV}" |
567 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
568 |
-IUSE="doc ldap +lmdb python test" |
569 |
- |
570 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
571 |
- test? ( python )" |
572 |
- |
573 |
-RESTRICT="!test? ( test )" |
574 |
- |
575 |
-RDEPEND=" |
576 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
577 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
578 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
579 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
580 |
- >=sys-libs/tdb-1.4.6[${MULTILIB_USEDEP}] |
581 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
582 |
- ldap? ( net-nds/openldap:= ) |
583 |
- lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) |
584 |
- python? ( |
585 |
- ${PYTHON_DEPS} |
586 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
587 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
588 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
589 |
- ) |
590 |
-" |
591 |
-DEPEND="${RDEPEND} |
592 |
- virtual/libcrypt |
593 |
-" |
594 |
-BDEPEND="${PYTHON_DEPS} |
595 |
- dev-libs/libxslt |
596 |
- virtual/pkgconfig |
597 |
- doc? ( app-doc/doxygen ) |
598 |
-" |
599 |
- |
600 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
601 |
- |
602 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
603 |
- |
604 |
-PATCHES=( |
605 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
606 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
607 |
- "${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch |
608 |
-) |
609 |
- |
610 |
-pkg_setup() { |
611 |
- # Package fails to build with distcc |
612 |
- export DISTCC_DISABLE=1 |
613 |
- |
614 |
- # waf requires a python interpreter |
615 |
- python-single-r1_pkg_setup |
616 |
-} |
617 |
- |
618 |
-src_prepare() { |
619 |
- default |
620 |
- multilib_copy_sources |
621 |
-} |
622 |
- |
623 |
-multilib_src_configure() { |
624 |
- local myconf=( |
625 |
- $(usex ldap '' --disable-ldap) |
626 |
- $(usex lmdb '' --without-ldb-lmdb) |
627 |
- --disable-rpath |
628 |
- --disable-rpath-install --bundled-libraries=NONE |
629 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
630 |
- --builtin-libraries=NONE |
631 |
- ) |
632 |
- if ! multilib_is_native_abi; then |
633 |
- myconf+=( --disable-python ) |
634 |
- else |
635 |
- use python || myconf+=( --disable-python ) |
636 |
- fi |
637 |
- waf-utils_src_configure "${myconf[@]}" |
638 |
-} |
639 |
- |
640 |
-multilib_src_compile() { |
641 |
- waf-utils_src_compile |
642 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
643 |
-} |
644 |
- |
645 |
-multilib_src_test() { |
646 |
- if multilib_is_native_abi; then |
647 |
- WAF_MAKE=1 \ |
648 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
649 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
650 |
- waf test || die |
651 |
- fi |
652 |
-} |
653 |
- |
654 |
-multilib_src_install() { |
655 |
- waf-utils_src_install |
656 |
- |
657 |
- if multilib_is_native_abi && use doc; then |
658 |
- doman apidocs/man/man3/*.3 |
659 |
- docinto html |
660 |
- dodoc -r apidocs/html/. |
661 |
- fi |
662 |
- |
663 |
- use python && python_optimize #726454 |
664 |
-} |
665 |
- |
666 |
-pkg_postinst() { |
667 |
- if has_version sys-auth/sssd; then |
668 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
669 |
- ewarn "so please try to rebuild it before reporting bugs." |
670 |
- ewarn "See https://bugs.gentoo.org/404281" |
671 |
- fi |
672 |
-} |