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/files/, sys-libs/ldb/
Date: Thu, 26 Mar 2020 19:06:47
Message-Id: 1585249594.e6ce2ecdec910b9ebe86ec5f60310dd629aabf12.polynomial-c@gentoo
1 commit: e6ce2ecdec910b9ebe86ec5f60310dd629aabf12
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 26 19:04:13 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 26 19:06:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ce2ecd
7
8 sys-libs/ldb: Removed old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/ldb/Manifest | 9 --
14 .../ldb/files/ldb-1.1.27-optional_packages.patch | 92 ------------------
15 sys-libs/ldb/files/ldb-1.1.29-disable-python.patch | 48 ----------
16 .../ldb/files/ldb-1.1.31-optional_packages.patch | 57 -----------
17 .../files/ldb-1.1.31-talloc-disable-python.patch | 34 -------
18 sys-libs/ldb/files/ldb-1.2.3-disable_python.patch | 64 -------------
19 .../ldb/files/ldb-1.4.0-optional_packages.patch | 45 ---------
20 sys-libs/ldb/ldb-1.1.29-r1.ebuild | 102 --------------------
21 sys-libs/ldb/ldb-1.1.31.ebuild | 104 --------------------
22 sys-libs/ldb/ldb-1.2.4.ebuild | 103 --------------------
23 sys-libs/ldb/ldb-1.3.6.ebuild | 103 --------------------
24 sys-libs/ldb/ldb-1.3.8.ebuild | 103 --------------------
25 sys-libs/ldb/ldb-1.4.8.ebuild | 105 ---------------------
26 sys-libs/ldb/ldb-1.5.4.ebuild | 105 ---------------------
27 sys-libs/ldb/ldb-1.5.6.ebuild | 105 ---------------------
28 sys-libs/ldb/ldb-1.6.3.ebuild | 105 ---------------------
29 16 files changed, 1284 deletions(-)
30
31 diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
32 index 8b63d57f7d5..7b5c810d5cd 100644
33 --- a/sys-libs/ldb/Manifest
34 +++ b/sys-libs/ldb/Manifest
35 @@ -1,12 +1,3 @@
36 -DIST ldb-1.1.29.tar.gz 1277551 BLAKE2B 449333d40073fd63d6d013ba0ae43fc3a0b8201948eabd440d164d182492002c1d92047d652105c2fb6a3e8383d4b75f45e38cc52efc5d9a0e2811113676203a SHA512 d37bbe84358e05d17483e2e963b8477da5ea351b855b454142c94af35f7987bede0f19faeaff17779efe04e3bb37c510437fcc59be99a17c826620fc25fd659c
37 -DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b275bb3b288049acb43ee3c02ae4f0be820ccf9e3bb32938d12598a91b7a6292b08c638ccfd59bd1be182f09c0 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824
38 -DIST ldb-1.2.4.tar.gz 1346413 BLAKE2B 441cdf679ab4852e1c8d90ca8d9544d7983436c864cb3ea76b63f45177061c2763f9700b4be4be9ba53a4bcc9cec49b509dd39efb8f5f2171bc432641d1329c2 SHA512 093815cfa9e950299c4f09c58362136d72c439692f7d8670ecbf9cac49ecef6fd365f8fab5d39f41a4dd39e07f6c8d1a2616e843653d2fa0d7bdff346a118aa9
39 -DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d
40 -DIST ldb-1.3.8.tar.gz 1375782 BLAKE2B dbca935e762af86b268308253615019b24af6727411e77947ceeadd3e0114c2ad2a14d4a4f1121bf58ccb080d44a8513d2094314b043604d885977a26e622c57 SHA512 06d1b4c2badbf0c27733a64f979c48af8b599747cef7cd7f5417cd55a76447e8f8987bd061694c5af63261fdb35433e3844122c14103d5cc8b4eaab1f4752541
41 -DIST ldb-1.4.8.tar.gz 1433045 BLAKE2B bd2441d97216976a149d43ab037c64053adae0e1ac931ceb6313491eea09813324dd97ab754d09fdc2789327932ee8a8268d94457dd48f557a125890a6c4e721 SHA512 cfb10c9ca45aed6d181020fc7b55a5fb5915d288035ef7245ccc63ac040aa64fb7591629c34db5ff49f15c4eb4e2037954beeadd1f5a695eb19e3807cad864e7
42 -DIST ldb-1.5.4.tar.gz 1629123 BLAKE2B 3c71af079f2e5cb81e493d16d453c53bd0ee4c63720b0261ea6116244b2652ca581499c0b8c64949dccc95460aba7b4ef3afe7850563a830f3fb4b8753bdea2f SHA512 fc323e4283671c14d6dd4feb7e9ca943a63a166688077dbf3591f9d957cf821f9e739869842e15ca1ec4fd3764123d5afc6f4954b1af437bd1ec54df58366a22
43 -DIST ldb-1.5.6.tar.gz 1637795 BLAKE2B ac70f6dcaa1cd34bfdae8bf7844f1084282ea947a3c85b3a6c504a5fd3028eca2e4c26a7ffd2d36b3fadd50affded8bcf90546c56d138b30091cdaae86a9f730 SHA512 038b85caff82a2566197bc6bae9fdef91675e42f0a3b269d9d5608363777a12b4ae3faa81854b9b33b9ee374fa5ba92686e945d60f6ad1f53a453fead59f6712
44 -DIST ldb-1.6.3.tar.gz 1628668 BLAKE2B e9b6535eddf49496151e544f6879641c58a614f6de95463f7d0bf1953744953a5d55dde935d39b690d4c87e66914d8de0f0f5d4816a61fdecc81f8797584013e SHA512 a41b1fd2afa9a02dec37519f28e0e720b649c2a0aa6caebeb6697dbefdc6a055ef26500c5ccb0439b495d8c03218920b389fb9601d1cf5ca4d5046f192a5fefd
45 DIST ldb-2.0.8.tar.gz 1676902 BLAKE2B b86b24a597bd81ae11382311f3b60aeb8aca78ddbe63413b9a8cdbbfa4f52b05a0d2e325d483e260b15aa396c2ad9f2828ac4b6214af86d891281d05b24125b5 SHA512 23a44968c9b4b57deb3f7b7b2466f140b4d8534a07a5e866545dd108c3d305ee4b0ea9bceec3177fcd09a4efcb4876a8283ca58b5c496fcf323b810666e1e79a
46 DIST ldb-2.0.9.tar.gz 1676176 BLAKE2B 0d18a570ca61fcdf159b6398ecef74bc983c24ffd4d8f85bc9cfcbb182f787d0deb50c5f446684b851993146e03bdaf10d80c083a9534446b829714fff025b8f SHA512 f4d2480491f16aac7837fa2ff071e81e429bd9b3a365264723245791aad1831a236ffeff0f01f85becb998b224c321b166f3edd3f9a828714b7c3b24aed11a5e
47 DIST ldb-2.1.1.tar.gz 1671390 BLAKE2B a715cb17a2d113560d37e3e5d29adfe7db43f89388bb5a474388e3f7a6ae277ddb0ee4d09d45eed18a87085c70d98308d195b3867cc57259767cb61a50c8cc6e SHA512 dd87da0746790895c617108c64b718ab6e6e630f1e3269154b40fc0e5623199a4b132d41623ae00d5c263ce79c4d6da34f072a140bee91a59dd6934969315fc8
48
49 diff --git a/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch b/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch
50 deleted file mode 100644
51 index 92e14c651c8..00000000000
52 --- a/sys-libs/ldb/files/ldb-1.1.27-optional_packages.patch
53 +++ /dev/null
54 @@ -1,92 +0,0 @@
55 ---- ldb-1.1.27/lib/talloc/wscript
56 -+++ ldb-1.1.27/lib/talloc/wscript
57 -@@ -48,7 +48,7 @@
58 - if conf.CHECK_BUNDLED_SYSTEM_PKG('talloc', minversion=VERSION,
59 - implied_deps='replace'):
60 - conf.define('USING_SYSTEM_TALLOC', 1)
61 -- if conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
62 -+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
63 - implied_deps='talloc replace'):
64 - conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1)
65 -
66 ---- ldb-1.1.27/wscript
67 -+++ ldb-1.1.27/wscript
68 -@@ -5,6 +5,7 @@
69 -
70 - blddir = 'bin'
71 -
72 -+import Logs
73 - import sys, os
74 -
75 - # find the buildtools directory
76 -@@ -13,7 +14,7 @@
77 - srcdir = srcdir + '/..'
78 - sys.path.insert(0, srcdir + '/buildtools/wafsamba')
79 -
80 --import wafsamba, samba_dist, Utils
81 -+import wafsamba, samba_dist, Utils, Options
82 -
83 - samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc
84 - lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent
85 -@@ -28,8 +29,21 @@
86 - opt.RECURSE('lib/tevent')
87 - opt.RECURSE('lib/replace')
88 - opt.tool_options('python') # options for disabling pyc or pyo compilation
89 -+ if opt.IN_LAUNCH_DIR():
90 -+ opt.add_option('--disable-python',
91 -+ help=("disable the pyldb modules"),
92 -+ action="store_true", dest='disable_python', default=False)
93 -+ if opt.IN_LAUNCH_DIR():
94 -+ opt.add_option('--disable-ldap',
95 -+ help=("disable ldap support"),
96 -+ action="store_true", dest='disable_ldap', default=False)
97 -
98 - def configure(conf):
99 -+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
100 -+
101 -+ conf.env.disable_python = getattr(Options.options, 'disable_python', False)
102 -+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False)
103 -+
104 - conf.RECURSE('lib/tdb')
105 - conf.RECURSE('lib/tevent')
106 -
107 -@@ -44,16 +58,18 @@
108 - conf.RECURSE('lib/replace')
109 - conf.find_program('python', var='PYTHON')
110 - conf.find_program('xsltproc', var='XSLTPROC')
111 -- conf.check_tool('python')
112 -- conf.check_python_version((2,4,2))
113 -- conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)
114 -+
115 -+ if not conf.env.disable_python:
116 -+ conf.SAMBA_CHECK_PYTHON(mandatory=False, version=(2,4,2))
117 -+ conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
118 -+ if not conf.env.HAVE_PYTHON_H:
119 -+ Logs.warn('Disabling pyldb-util as python devel libs not found')
120 -+ conf.env.disable_python = True
121 -
122 - # where does the default LIBDIR end up? in conf.env somewhere?
123 - #
124 - conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb')
125 -
126 -- conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
127 --
128 - if not conf.env.standalone_ldb:
129 - if conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION,
130 - onlyif='talloc tdb tevent',
131 -@@ -67,9 +83,12 @@
132 - if conf.env.standalone_ldb:
133 - conf.CHECK_XSLTPROC_MANPAGES()
134 -
135 -- # we need this for the ldap backend
136 -- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
137 -- conf.env.ENABLE_LDAP_BACKEND = True
138 -+ if not conf.env.disable_ldap:
139 -+ # we need this for the ldap backend
140 -+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
141 -+ conf.env.ENABLE_LDAP_BACKEND = True
142 -+ else:
143 -+ conf.env.ENABLE_LDAP_BACKEND = False
144 -
145 - # we don't want any libraries or modules to rely on runtime
146 - # resolution of symbols
147
148 diff --git a/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch b/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch
149 deleted file mode 100644
150 index bc4120e8acf..00000000000
151 --- a/sys-libs/ldb/files/ldb-1.1.29-disable-python.patch
152 +++ /dev/null
153 @@ -1,48 +0,0 @@
154 ---- a/lib/tdb/wscript 2016-11-30 09:56:00.000000000 -0500
155 -+++ b/lib/tdb/wscript 2017-02-08 16:37:49.160987205 -0500
156 -@@ -77,16 +77,16 @@
157 - conf.env.standalone_tdb = conf.IN_LAUNCH_DIR()
158 - conf.env.building_tdb = True
159 -
160 -+ conf.env.disable_python = getattr(Options.options, 'disable_python', False)
161 -+
162 - if not conf.env.standalone_tdb:
163 - if conf.CHECK_BUNDLED_SYSTEM_PKG('tdb', minversion=VERSION,
164 - implied_deps='replace'):
165 - conf.define('USING_SYSTEM_TDB', 1)
166 - conf.env.building_tdb = False
167 -- if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION):
168 -+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION):
169 - conf.define('USING_SYSTEM_PYTDB', 1)
170 -
171 -- conf.env.disable_python = getattr(Options.options, 'disable_python', False)
172 --
173 - if (conf.CONFIG_SET('HAVE_ROBUST_MUTEXES') and
174 - conf.env.building_tdb and
175 - not conf.env.disable_tdb_mutex_locking):
176 ---- a/lib/tevent/wscript 2016-10-07 00:45:35.000000000 -0400
177 -+++ b/lib/tevent/wscript 2017-02-08 16:39:22.478733175 -0500
178 -@@ -34,11 +34,13 @@
179 -
180 - conf.env.standalone_tevent = conf.IN_LAUNCH_DIR()
181 -
182 -+ conf.env.disable_python = getattr(Options.options, 'disable_python', False)
183 -+
184 - if not conf.env.standalone_tevent:
185 - if conf.CHECK_BUNDLED_SYSTEM_PKG('tevent', minversion=VERSION,
186 - onlyif='talloc', implied_deps='replace talloc'):
187 - conf.define('USING_SYSTEM_TEVENT', 1)
188 -- if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
189 -+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytevent', 'tevent', minversion=VERSION):
190 - conf.define('USING_SYSTEM_PYTEVENT', 1)
191 -
192 - if conf.CHECK_FUNCS('epoll_create', headers='sys/epoll.h'):
193 -@@ -61,8 +63,6 @@
194 - if not conf.CONFIG_SET('USING_SYSTEM_TEVENT'):
195 - conf.DEFINE('TEVENT_NUM_SIGNALS', tevent_num_signals)
196 -
197 -- conf.env.disable_python = getattr(Options.options, 'disable_python', False)
198 --
199 - if not conf.env.disable_python:
200 - # also disable if we don't have the python libs installed
201 - conf.find_program('python', var='PYTHON')
202
203 diff --git a/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch b/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch
204 deleted file mode 100644
205 index 1e9b5177357..00000000000
206 --- a/sys-libs/ldb/files/ldb-1.1.31-optional_packages.patch
207 +++ /dev/null
208 @@ -1,57 +0,0 @@
209 ---- ldb-1.1.27/wscript
210 -+++ ldb-1.1.27/wscript
211 -@@ -5,6 +5,7 @@
212 -
213 - blddir = 'bin'
214 -
215 -+import Logs
216 - import sys, os
217 -
218 - # find the buildtools directory
219 -@@ -13,7 +14,7 @@
220 - srcdir = srcdir + '/..'
221 - sys.path.insert(0, srcdir + '/buildtools/wafsamba')
222 -
223 --import wafsamba, samba_dist, Utils
224 -+import wafsamba, samba_dist, Utils, Options
225 -
226 - samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc
227 - lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent
228 -@@ -28,8 +29,21 @@
229 - opt.RECURSE('lib/tevent')
230 - opt.RECURSE('lib/replace')
231 - opt.tool_options('python') # options for disabling pyc or pyo compilation
232 -+ if opt.IN_LAUNCH_DIR():
233 -+ opt.add_option('--disable-python',
234 -+ help=("disable the pyldb modules"),
235 -+ action="store_true", dest='disable_python', default=False)
236 -+ if opt.IN_LAUNCH_DIR():
237 -+ opt.add_option('--disable-ldap',
238 -+ help=("disable ldap support"),
239 -+ action="store_true", dest='disable_ldap', default=False)
240 -
241 - def configure(conf):
242 -+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
243 -+
244 -+ conf.env.disable_python = getattr(Options.options, 'disable_python', False)
245 -+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False)
246 -+
247 - conf.RECURSE('lib/tdb')
248 - conf.RECURSE('lib/tevent')
249 -
250 -@@ -67,9 +81,12 @@
251 - if conf.env.standalone_ldb:
252 - conf.CHECK_XSLTPROC_MANPAGES()
253 -
254 -- # we need this for the ldap backend
255 -- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
256 -- conf.env.ENABLE_LDAP_BACKEND = True
257 -+ if not conf.env.disable_ldap:
258 -+ # we need this for the ldap backend
259 -+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
260 -+ conf.env.ENABLE_LDAP_BACKEND = True
261 -+ else:
262 -+ conf.env.ENABLE_LDAP_BACKEND = False
263 -
264 - # we don't want any libraries or modules to rely on runtime
265 - # resolution of symbols
266
267 diff --git a/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch b/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch
268 deleted file mode 100644
269 index 6ef45eb37fb..00000000000
270 --- a/sys-libs/ldb/files/ldb-1.1.31-talloc-disable-python.patch
271 +++ /dev/null
272 @@ -1,34 +0,0 @@
273 ---- a/lib/talloc/wscript 2017-04-28 04:57:26.000000000 -0400
274 -+++ b/lib/talloc/wscript 2017-07-05 14:30:42.700580464 -0400
275 -@@ -74,19 +74,22 @@
276 - implied_deps='replace'):
277 - conf.define('USING_SYSTEM_TALLOC', 1)
278 -
279 -- using_system_pytalloc_util = True
280 -- if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
281 -- implied_deps='talloc replace'):
282 -+ if conf.env.disable_python:
283 - using_system_pytalloc_util = False
284 --
285 -- # We need to get a pytalloc-util for all the python versions
286 -- # we are building for
287 -- if conf.env['EXTRA_PYTHON']:
288 -- name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG']
289 -- if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
290 -+ else:
291 -+ using_system_pytalloc_util = True
292 -+ if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
293 - implied_deps='talloc replace'):
294 - using_system_pytalloc_util = False
295 -
296 -+ # We need to get a pytalloc-util for all the python versions
297 -+ # we are building for
298 -+ if conf.env['EXTRA_PYTHON']:
299 -+ name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG']
300 -+ if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
301 -+ implied_deps='talloc replace'):
302 -+ using_system_pytalloc_util = False
303 -+
304 - if using_system_pytalloc_util:
305 - conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1)
306 -
307
308 diff --git a/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch b/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch
309 deleted file mode 100644
310 index 133e2acf312..00000000000
311 --- a/sys-libs/ldb/files/ldb-1.2.3-disable_python.patch
312 +++ /dev/null
313 @@ -1,64 +0,0 @@
314 -Revert talloc/wscript to the one from ldb-1.2.2
315 -
316 ---- ldb-1.2.3/lib/talloc/wscript
317 -+++ ldb-1.2.3/lib/talloc/wscript
318 -@@ -1,7 +1,7 @@
319 - #!/usr/bin/env python
320 -
321 - APPNAME = 'talloc'
322 --VERSION = '2.1.9'
323 -+VERSION = '2.1.10'
324 -
325 -
326 - blddir = 'bin'
327 -@@ -74,19 +74,22 @@
328 - implied_deps='replace'):
329 - conf.define('USING_SYSTEM_TALLOC', 1)
330 -
331 -- using_system_pytalloc_util = True
332 -- if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
333 -- implied_deps='talloc replace'):
334 -+ if conf.env.disable_python:
335 - using_system_pytalloc_util = False
336 --
337 -- # We need to get a pytalloc-util for all the python versions
338 -- # we are building for
339 -- if conf.env['EXTRA_PYTHON']:
340 -- name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG']
341 -- if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
342 -+ else:
343 -+ using_system_pytalloc_util = True
344 -+ if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION,
345 - implied_deps='talloc replace'):
346 - using_system_pytalloc_util = False
347 -
348 -+ # We need to get a pytalloc-util for all the python versions
349 -+ # we are building for
350 -+ if conf.env['EXTRA_PYTHON']:
351 -+ name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG']
352 -+ if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION,
353 -+ implied_deps='talloc replace'):
354 -+ using_system_pytalloc_util = False
355 -+
356 - if using_system_pytalloc_util:
357 - conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1)
358 -
359 -@@ -171,12 +174,18 @@
360 - def test(ctx):
361 - '''run talloc testsuite'''
362 - import Utils, samba_utils
363 -+
364 -+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared')
365 -+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared/private')
366 -+
367 - cmd = os.path.join(Utils.g_module.blddir, 'talloc_testsuite')
368 - ret = samba_utils.RUN_COMMAND(cmd)
369 - print("testsuite returned %d" % ret)
370 - magic_helper_cmd = os.path.join(Utils.g_module.blddir, 'talloc_test_magic_differs_helper')
371 - magic_cmd = os.path.join(srcdir, 'lib', 'talloc',
372 - 'test_magic_differs.sh')
373 -+ if not os.path.exists(magic_cmd):
374 -+ magic_cmd = os.path.join(srcdir, 'test_magic_differs.sh')
375 -
376 - magic_ret = samba_utils.RUN_COMMAND(magic_cmd + " " + magic_helper_cmd)
377 - print("magic differs test returned %d" % magic_ret)
378
379 diff --git a/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch b/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch
380 deleted file mode 100644
381 index 37813890dcd..00000000000
382 --- a/sys-libs/ldb/files/ldb-1.4.0-optional_packages.patch
383 +++ /dev/null
384 @@ -1,45 +0,0 @@
385 ---- ldb-1.4.0/wscript
386 -+++ ldb-1.4.0/wscript
387 -@@ -31,6 +31,14 @@
388 - opt.RECURSE('lib/tevent')
389 - opt.RECURSE('lib/replace')
390 - opt.tool_options('python') # options for disabling pyc or pyo compilation
391 -+ if opt.IN_LAUNCH_DIR():
392 -+ opt.add_option('--disable-python',
393 -+ help=("disable the pyldb modules"),
394 -+ action="store_true", dest='disable_python', default=False)
395 -+ if opt.IN_LAUNCH_DIR():
396 -+ opt.add_option('--disable-ldap',
397 -+ help=("disable ldap support"),
398 -+ action="store_true", dest='disable_ldap', default=False)
399 -
400 - opt.add_option('--without-ldb-lmdb',
401 - help='disable new LMDB backend for LDB',
402 -@@ -38,6 +46,11 @@
403 -
404 -
405 - def configure(conf):
406 -+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
407 -+
408 -+ conf.env.disable_python = getattr(Options.options, 'disable_python', False)
409 -+ conf.env.disable_ldap = getattr(Options.options, 'disable_ldap', False)
410 -+
411 - conf.RECURSE('lib/tdb')
412 - conf.RECURSE('lib/tevent')
413 -
414 -@@ -142,9 +155,12 @@
415 - if conf.env.standalone_ldb:
416 - conf.CHECK_XSLTPROC_MANPAGES()
417 -
418 -- # we need this for the ldap backend
419 -- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
420 -- conf.env.ENABLE_LDAP_BACKEND = True
421 -+ if not conf.env.disable_ldap:
422 -+ # we need this for the ldap backend
423 -+ if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
424 -+ conf.env.ENABLE_LDAP_BACKEND = True
425 -+ else:
426 -+ conf.env.ENABLE_LDAP_BACKEND = False
427 -
428 - # we don't want any libraries or modules to rely on runtime
429 - # resolution of symbols
430
431 diff --git a/sys-libs/ldb/ldb-1.1.29-r1.ebuild b/sys-libs/ldb/ldb-1.1.29-r1.ebuild
432 deleted file mode 100644
433 index e2bb5dbe1f4..00000000000
434 --- a/sys-libs/ldb/ldb-1.1.29-r1.ebuild
435 +++ /dev/null
436 @@ -1,102 +0,0 @@
437 -# Copyright 1999-2020 Gentoo Authors
438 -# Distributed under the terms of the GNU General Public License v2
439 -
440 -EAPI=6
441 -PYTHON_COMPAT=( python2_7 )
442 -PYTHON_REQ_USE="threads"
443 -
444 -inherit python-single-r1 waf-utils multilib-minimal eutils
445 -
446 -DESCRIPTION="An LDAP-like embedded database"
447 -HOMEPAGE="https://ldb.samba.org/"
448 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
449 -
450 -LICENSE="LGPL-3"
451 -SLOT="0/${PV}"
452 -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 sparc x86"
453 -IUSE="doc +ldap python"
454 -
455 -RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
456 - dev-libs/popt[${MULTILIB_USEDEP}]
457 - >=sys-libs/talloc-2.1.8[python?,${MULTILIB_USEDEP}]
458 - >=sys-libs/tevent-0.9.31[python(+)?,${MULTILIB_USEDEP}]
459 - >=sys-libs/tdb-1.3.12[python?,${MULTILIB_USEDEP}]
460 - !!<net-fs/samba-3.6.0[ldb]
461 - !!>=net-fs/samba-4.0.0[ldb]
462 - python? ( ${PYTHON_DEPS} )
463 - ldap? ( net-nds/openldap )
464 - "
465 -
466 -DEPEND="dev-libs/libxslt
467 - doc? ( app-doc/doxygen )
468 - virtual/pkgconfig
469 - ${PYTHON_DEPS}
470 - ${RDEPEND}"
471 -
472 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
473 -
474 -WAF_BINARY="${S}/buildtools/bin/waf"
475 -
476 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
477 -
478 -PATCHES=(
479 - "${FILESDIR}"/${PN}-1.1.27-optional_packages.patch
480 - "${FILESDIR}"/${P}-disable-python.patch
481 -)
482 -
483 -pkg_setup() {
484 - python-single-r1_pkg_setup
485 -}
486 -
487 -src_prepare() {
488 - default
489 - multilib_copy_sources
490 -}
491 -
492 -multilib_src_configure() {
493 - local myconf=(
494 - $(usex ldap '' --disable-ldap) \
495 - --disable-rpath \
496 - --disable-rpath-install --bundled-libraries=NONE \
497 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \
498 - --builtin-libraries=NONE
499 - )
500 - if ! multilib_is_native_abi; then
501 - myconf+=( --disable-python )
502 - else
503 - myconf+=( $(usex python '' '--disable-python') )
504 - fi
505 - waf-utils_src_configure "${myconf[@]}"
506 -}
507 -
508 -multilib_src_compile() {
509 - waf-utils_src_compile
510 - multilib_is_native_abi && use doc && doxygen Doxyfile
511 -}
512 -
513 -multilib_src_test() {
514 - if multilib_is_native_abi; then
515 - WAF_MAKE=1 \
516 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
517 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
518 - waf test || die
519 - fi
520 -}
521 -
522 -multilib_src_install() {
523 - waf-utils_src_install
524 -
525 - if multilib_is_native_abi && use doc; then
526 - doman apidocs/man/man3/*.3
527 - docinto html
528 - dodoc -r apidocs/html/*
529 - fi
530 -}
531 -
532 -pkg_postinst() {
533 - if has_version sys-auth/sssd; then
534 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
535 - ewarn "so please try to rebuild it before reporting bugs."
536 - ewarn "See https://bugs.gentoo.org/404281"
537 - fi
538 -}
539
540 diff --git a/sys-libs/ldb/ldb-1.1.31.ebuild b/sys-libs/ldb/ldb-1.1.31.ebuild
541 deleted file mode 100644
542 index 0e688b6baa8..00000000000
543 --- a/sys-libs/ldb/ldb-1.1.31.ebuild
544 +++ /dev/null
545 @@ -1,104 +0,0 @@
546 -# Copyright 1999-2020 Gentoo Authors
547 -# Distributed under the terms of the GNU General Public License v2
548 -
549 -EAPI=6
550 -PYTHON_COMPAT=( python2_7 )
551 -PYTHON_REQ_USE="threads"
552 -
553 -inherit python-single-r1 waf-utils multilib-minimal eutils
554 -
555 -DESCRIPTION="An LDAP-like embedded database"
556 -HOMEPAGE="https://ldb.samba.org/"
557 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
558 -
559 -LICENSE="LGPL-3"
560 -SLOT="0/${PV}"
561 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
562 -IUSE="doc +ldap python"
563 -
564 -RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
565 - dev-libs/popt[${MULTILIB_USEDEP}]
566 - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
567 - >=sys-libs/talloc-2.1.9[python?,${MULTILIB_USEDEP}]
568 - >=sys-libs/tevent-0.9.31[python(+)?,${MULTILIB_USEDEP}]
569 - >=sys-libs/tdb-1.3.13[python?,${MULTILIB_USEDEP}]
570 - !!<net-fs/samba-3.6.0[ldb]
571 - !!>=net-fs/samba-4.0.0[ldb]
572 - python? ( ${PYTHON_DEPS} )
573 - ldap? ( net-nds/openldap )
574 - "
575 -
576 -DEPEND="dev-libs/libxslt
577 - doc? ( app-doc/doxygen )
578 - virtual/pkgconfig
579 - ${PYTHON_DEPS}
580 - ${RDEPEND}"
581 -
582 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
583 -
584 -WAF_BINARY="${S}/buildtools/bin/waf"
585 -
586 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
587 -
588 -PATCHES=(
589 - "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
590 - "${FILESDIR}"/${PN}-1.1.31-talloc-disable-python.patch
591 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
592 -)
593 -
594 -pkg_setup() {
595 - python-single-r1_pkg_setup
596 -}
597 -
598 -src_prepare() {
599 - default
600 - multilib_copy_sources
601 -}
602 -
603 -multilib_src_configure() {
604 - local myconf=(
605 - $(usex ldap '' --disable-ldap) \
606 - --disable-rpath \
607 - --disable-rpath-install --bundled-libraries=NONE \
608 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \
609 - --builtin-libraries=NONE
610 - )
611 - if ! multilib_is_native_abi; then
612 - myconf+=( --disable-python )
613 - else
614 - use python || myconf+=( --disable-python )
615 - fi
616 - waf-utils_src_configure "${myconf[@]}"
617 -}
618 -
619 -multilib_src_compile() {
620 - waf-utils_src_compile
621 - multilib_is_native_abi && use doc && doxygen Doxyfile
622 -}
623 -
624 -multilib_src_test() {
625 - if multilib_is_native_abi; then
626 - WAF_MAKE=1 \
627 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
628 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
629 - waf test || die
630 - fi
631 -}
632 -
633 -multilib_src_install() {
634 - waf-utils_src_install
635 -
636 - if multilib_is_native_abi && use doc; then
637 - doman apidocs/man/man3/*.3
638 - docinto html
639 - dodoc -r apidocs/html/*
640 - fi
641 -}
642 -
643 -pkg_postinst() {
644 - if has_version sys-auth/sssd; then
645 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
646 - ewarn "so please try to rebuild it before reporting bugs."
647 - ewarn "See https://bugs.gentoo.org/404281"
648 - fi
649 -}
650
651 diff --git a/sys-libs/ldb/ldb-1.2.4.ebuild b/sys-libs/ldb/ldb-1.2.4.ebuild
652 deleted file mode 100644
653 index 905b17d44ad..00000000000
654 --- a/sys-libs/ldb/ldb-1.2.4.ebuild
655 +++ /dev/null
656 @@ -1,103 +0,0 @@
657 -# Copyright 1999-2020 Gentoo Authors
658 -# Distributed under the terms of the GNU General Public License v2
659 -
660 -EAPI=6
661 -PYTHON_COMPAT=( python2_7 )
662 -PYTHON_REQ_USE="threads"
663 -
664 -inherit python-single-r1 waf-utils multilib-minimal eutils
665 -
666 -DESCRIPTION="An LDAP-like embedded database"
667 -HOMEPAGE="https://ldb.samba.org/"
668 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
669 -
670 -LICENSE="LGPL-3"
671 -SLOT="0/${PV}"
672 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
673 -IUSE="doc +ldap python"
674 -
675 -RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
676 - dev-libs/popt[${MULTILIB_USEDEP}]
677 - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
678 - >=sys-libs/talloc-2.1.10[python?,${MULTILIB_USEDEP}]
679 - >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
680 - >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
681 - python? ( ${PYTHON_DEPS} )
682 - ldap? ( net-nds/openldap )
683 -"
684 -
685 -DEPEND="dev-libs/libxslt
686 - doc? ( app-doc/doxygen )
687 - virtual/pkgconfig
688 - ${PYTHON_DEPS}
689 - ${RDEPEND}
690 -"
691 -
692 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
693 -
694 -WAF_BINARY="${S}/buildtools/bin/waf"
695 -
696 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
697 -
698 -PATCHES=(
699 - "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
700 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
701 - "${FILESDIR}"/${PN}-1.2.3-disable_python.patch
702 -)
703 -
704 -pkg_setup() {
705 - python-single-r1_pkg_setup
706 -}
707 -
708 -src_prepare() {
709 - default
710 - multilib_copy_sources
711 -}
712 -
713 -multilib_src_configure() {
714 - local myconf=(
715 - $(usex ldap '' --disable-ldap)
716 - --disable-rpath
717 - --disable-rpath-install --bundled-libraries=NONE
718 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
719 - --builtin-libraries=NONE
720 - )
721 - if ! multilib_is_native_abi; then
722 - myconf+=( --disable-python )
723 - else
724 - use python || myconf+=( --disable-python )
725 - fi
726 - waf-utils_src_configure "${myconf[@]}"
727 -}
728 -
729 -multilib_src_compile() {
730 - waf-utils_src_compile
731 - multilib_is_native_abi && use doc && doxygen Doxyfile
732 -}
733 -
734 -multilib_src_test() {
735 - if multilib_is_native_abi; then
736 - WAF_MAKE=1 \
737 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
738 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
739 - waf test || die
740 - fi
741 -}
742 -
743 -multilib_src_install() {
744 - waf-utils_src_install
745 -
746 - if multilib_is_native_abi && use doc; then
747 - doman apidocs/man/man3/*.3
748 - docinto html
749 - dodoc -r apidocs/html/*
750 - fi
751 -}
752 -
753 -pkg_postinst() {
754 - if has_version sys-auth/sssd; then
755 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
756 - ewarn "so please try to rebuild it before reporting bugs."
757 - ewarn "See https://bugs.gentoo.org/404281"
758 - fi
759 -}
760
761 diff --git a/sys-libs/ldb/ldb-1.3.6.ebuild b/sys-libs/ldb/ldb-1.3.6.ebuild
762 deleted file mode 100644
763 index 3520bccc0a9..00000000000
764 --- a/sys-libs/ldb/ldb-1.3.6.ebuild
765 +++ /dev/null
766 @@ -1,103 +0,0 @@
767 -# Copyright 1999-2020 Gentoo Authors
768 -# Distributed under the terms of the GNU General Public License v2
769 -
770 -EAPI=6
771 -PYTHON_COMPAT=( python2_7 )
772 -PYTHON_REQ_USE="threads"
773 -
774 -inherit python-single-r1 waf-utils multilib-minimal eutils
775 -
776 -DESCRIPTION="An LDAP-like embedded database"
777 -HOMEPAGE="https://ldb.samba.org"
778 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
779 -
780 -LICENSE="LGPL-3"
781 -SLOT="0/${PV}"
782 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
783 -IUSE="doc +ldap python"
784 -
785 -RDEPEND="
786 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
787 - dev-libs/popt[${MULTILIB_USEDEP}]
788 - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
789 - >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}]
790 - >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
791 - >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
792 - ldap? ( net-nds/openldap )
793 - python? ( ${PYTHON_DEPS} )
794 -"
795 -
796 -DEPEND="dev-libs/libxslt
797 - doc? ( app-doc/doxygen )
798 - virtual/pkgconfig
799 - ${PYTHON_DEPS}
800 - ${RDEPEND}
801 -"
802 -
803 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
804 -
805 -WAF_BINARY="${S}/buildtools/bin/waf"
806 -
807 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
808 -
809 -PATCHES=(
810 - "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
811 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
812 -)
813 -
814 -pkg_setup() {
815 - python-single-r1_pkg_setup
816 -}
817 -
818 -src_prepare() {
819 - default
820 - multilib_copy_sources
821 -}
822 -
823 -multilib_src_configure() {
824 - local myconf=(
825 - $(usex ldap '' --disable-ldap)
826 - --disable-rpath
827 - --disable-rpath-install --bundled-libraries=NONE
828 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
829 - --builtin-libraries=NONE
830 - )
831 - if ! multilib_is_native_abi; then
832 - myconf+=( --disable-python )
833 - else
834 - use python || myconf+=( --disable-python )
835 - fi
836 - waf-utils_src_configure "${myconf[@]}"
837 -}
838 -
839 -multilib_src_compile() {
840 - waf-utils_src_compile
841 - multilib_is_native_abi && use doc && doxygen Doxyfile
842 -}
843 -
844 -multilib_src_test() {
845 - if multilib_is_native_abi; then
846 - WAF_MAKE=1 \
847 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
848 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
849 - waf test || die
850 - fi
851 -}
852 -
853 -multilib_src_install() {
854 - waf-utils_src_install
855 -
856 - if multilib_is_native_abi && use doc; then
857 - doman apidocs/man/man3/*.3
858 - docinto html
859 - dodoc -r apidocs/html/*
860 - fi
861 -}
862 -
863 -pkg_postinst() {
864 - if has_version sys-auth/sssd; then
865 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
866 - ewarn "so please try to rebuild it before reporting bugs."
867 - ewarn "See https://bugs.gentoo.org/404281"
868 - fi
869 -}
870
871 diff --git a/sys-libs/ldb/ldb-1.3.8.ebuild b/sys-libs/ldb/ldb-1.3.8.ebuild
872 deleted file mode 100644
873 index 1e57d9ba250..00000000000
874 --- a/sys-libs/ldb/ldb-1.3.8.ebuild
875 +++ /dev/null
876 @@ -1,103 +0,0 @@
877 -# Copyright 1999-2020 Gentoo Authors
878 -# Distributed under the terms of the GNU General Public License v2
879 -
880 -EAPI=6
881 -PYTHON_COMPAT=( python2_7 )
882 -PYTHON_REQ_USE="threads"
883 -
884 -inherit python-single-r1 waf-utils multilib-minimal eutils
885 -
886 -DESCRIPTION="An LDAP-like embedded database"
887 -HOMEPAGE="https://ldb.samba.org"
888 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
889 -
890 -LICENSE="LGPL-3"
891 -SLOT="0/${PV}"
892 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
893 -IUSE="doc +ldap python"
894 -
895 -RDEPEND="
896 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
897 - dev-libs/popt[${MULTILIB_USEDEP}]
898 - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
899 - >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}]
900 - >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
901 - >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
902 - ldap? ( net-nds/openldap )
903 - python? ( ${PYTHON_DEPS} )
904 -"
905 -
906 -DEPEND="dev-libs/libxslt
907 - doc? ( app-doc/doxygen )
908 - virtual/pkgconfig
909 - ${PYTHON_DEPS}
910 - ${RDEPEND}
911 -"
912 -
913 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
914 -
915 -WAF_BINARY="${S}/buildtools/bin/waf"
916 -
917 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
918 -
919 -PATCHES=(
920 - "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
921 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
922 -)
923 -
924 -pkg_setup() {
925 - python-single-r1_pkg_setup
926 -}
927 -
928 -src_prepare() {
929 - default
930 - multilib_copy_sources
931 -}
932 -
933 -multilib_src_configure() {
934 - local myconf=(
935 - $(usex ldap '' --disable-ldap)
936 - --disable-rpath
937 - --disable-rpath-install --bundled-libraries=NONE
938 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
939 - --builtin-libraries=NONE
940 - )
941 - if ! multilib_is_native_abi; then
942 - myconf+=( --disable-python )
943 - else
944 - use python || myconf+=( --disable-python )
945 - fi
946 - waf-utils_src_configure "${myconf[@]}"
947 -}
948 -
949 -multilib_src_compile() {
950 - waf-utils_src_compile
951 - multilib_is_native_abi && use doc && doxygen Doxyfile
952 -}
953 -
954 -multilib_src_test() {
955 - if multilib_is_native_abi; then
956 - WAF_MAKE=1 \
957 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
958 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
959 - waf test || die
960 - fi
961 -}
962 -
963 -multilib_src_install() {
964 - waf-utils_src_install
965 -
966 - if multilib_is_native_abi && use doc; then
967 - doman apidocs/man/man3/*.3
968 - docinto html
969 - dodoc -r apidocs/html/*
970 - fi
971 -}
972 -
973 -pkg_postinst() {
974 - if has_version sys-auth/sssd; then
975 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
976 - ewarn "so please try to rebuild it before reporting bugs."
977 - ewarn "See https://bugs.gentoo.org/404281"
978 - fi
979 -}
980
981 diff --git a/sys-libs/ldb/ldb-1.4.8.ebuild b/sys-libs/ldb/ldb-1.4.8.ebuild
982 deleted file mode 100644
983 index 50c21d13f34..00000000000
984 --- a/sys-libs/ldb/ldb-1.4.8.ebuild
985 +++ /dev/null
986 @@ -1,105 +0,0 @@
987 -# Copyright 1999-2020 Gentoo Authors
988 -# Distributed under the terms of the GNU General Public License v2
989 -
990 -EAPI=6
991 -PYTHON_COMPAT=( python2_7 )
992 -PYTHON_REQ_USE="threads"
993 -
994 -inherit python-single-r1 waf-utils multilib-minimal eutils
995 -
996 -DESCRIPTION="An LDAP-like embedded database"
997 -HOMEPAGE="https://ldb.samba.org"
998 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
999 -
1000 -LICENSE="LGPL-3"
1001 -SLOT="0/${PV}"
1002 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1003 -IUSE="doc +ldap +lmdb python"
1004 -
1005 -RDEPEND="
1006 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
1007 - dev-libs/popt[${MULTILIB_USEDEP}]
1008 - >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
1009 - >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}]
1010 - >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}]
1011 - >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}]
1012 - ldap? ( net-nds/openldap )
1013 - lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
1014 - python? ( ${PYTHON_DEPS} )
1015 -"
1016 -
1017 -DEPEND="dev-libs/libxslt
1018 - doc? ( app-doc/doxygen )
1019 - virtual/pkgconfig
1020 - ${PYTHON_DEPS}
1021 - ${RDEPEND}
1022 -"
1023 -
1024 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1025 -
1026 -WAF_BINARY="${S}/buildtools/bin/waf"
1027 -
1028 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
1029 -
1030 -PATCHES=(
1031 - "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch
1032 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
1033 -)
1034 -
1035 -pkg_setup() {
1036 - python-single-r1_pkg_setup
1037 -}
1038 -
1039 -src_prepare() {
1040 - default
1041 - multilib_copy_sources
1042 -}
1043 -
1044 -multilib_src_configure() {
1045 - local myconf=(
1046 - $(usex ldap '' --disable-ldap)
1047 - $(usex lmdb '' --without-ldb-lmdb)
1048 - --disable-rpath
1049 - --disable-rpath-install --bundled-libraries=NONE
1050 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
1051 - --builtin-libraries=NONE
1052 - )
1053 - if ! multilib_is_native_abi; then
1054 - myconf+=( --disable-python )
1055 - else
1056 - use python || myconf+=( --disable-python )
1057 - fi
1058 - waf-utils_src_configure "${myconf[@]}"
1059 -}
1060 -
1061 -multilib_src_compile() {
1062 - waf-utils_src_compile
1063 - multilib_is_native_abi && use doc && doxygen Doxyfile
1064 -}
1065 -
1066 -multilib_src_test() {
1067 - if multilib_is_native_abi; then
1068 - WAF_MAKE=1 \
1069 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
1070 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
1071 - waf test || die
1072 - fi
1073 -}
1074 -
1075 -multilib_src_install() {
1076 - waf-utils_src_install
1077 -
1078 - if multilib_is_native_abi && use doc; then
1079 - doman apidocs/man/man3/*.3
1080 - docinto html
1081 - dodoc -r apidocs/html/*
1082 - fi
1083 -}
1084 -
1085 -pkg_postinst() {
1086 - if has_version sys-auth/sssd; then
1087 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
1088 - ewarn "so please try to rebuild it before reporting bugs."
1089 - ewarn "See https://bugs.gentoo.org/404281"
1090 - fi
1091 -}
1092
1093 diff --git a/sys-libs/ldb/ldb-1.5.4.ebuild b/sys-libs/ldb/ldb-1.5.4.ebuild
1094 deleted file mode 100644
1095 index 8183ac7b626..00000000000
1096 --- a/sys-libs/ldb/ldb-1.5.4.ebuild
1097 +++ /dev/null
1098 @@ -1,105 +0,0 @@
1099 -# Copyright 1999-2020 Gentoo Authors
1100 -# Distributed under the terms of the GNU General Public License v2
1101 -
1102 -EAPI=6
1103 -PYTHON_COMPAT=( python3_{6,7} )
1104 -PYTHON_REQ_USE="threads(+)"
1105 -
1106 -inherit python-single-r1 waf-utils multilib-minimal eutils
1107 -
1108 -DESCRIPTION="An LDAP-like embedded database"
1109 -HOMEPAGE="https://ldb.samba.org"
1110 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
1111 -
1112 -LICENSE="LGPL-3"
1113 -SLOT="0/${PV}"
1114 -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1115 -IUSE="doc +ldap +lmdb python"
1116 -
1117 -RDEPEND="
1118 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
1119 - dev-libs/popt[${MULTILIB_USEDEP}]
1120 - >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
1121 - >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}]
1122 - >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}]
1123 - >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}]
1124 - ldap? ( net-nds/openldap )
1125 - lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
1126 - python? ( ${PYTHON_DEPS} )
1127 -"
1128 -
1129 -DEPEND="dev-libs/libxslt
1130 - doc? ( app-doc/doxygen )
1131 - virtual/pkgconfig
1132 - ${PYTHON_DEPS}
1133 - ${RDEPEND}
1134 -"
1135 -
1136 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1137 -
1138 -WAF_BINARY="${S}/buildtools/bin/waf"
1139 -
1140 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
1141 -
1142 -PATCHES=(
1143 - "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
1144 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
1145 -)
1146 -
1147 -pkg_setup() {
1148 - python-single-r1_pkg_setup
1149 -}
1150 -
1151 -src_prepare() {
1152 - default
1153 - multilib_copy_sources
1154 -}
1155 -
1156 -multilib_src_configure() {
1157 - local myconf=(
1158 - $(usex ldap '' --disable-ldap)
1159 - $(usex lmdb '' --without-ldb-lmdb)
1160 - --disable-rpath
1161 - --disable-rpath-install --bundled-libraries=NONE
1162 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
1163 - --builtin-libraries=NONE
1164 - )
1165 - if ! multilib_is_native_abi; then
1166 - myconf+=( --disable-python )
1167 - else
1168 - use python || myconf+=( --disable-python )
1169 - fi
1170 - waf-utils_src_configure "${myconf[@]}"
1171 -}
1172 -
1173 -multilib_src_compile() {
1174 - waf-utils_src_compile
1175 - multilib_is_native_abi && use doc && doxygen Doxyfile
1176 -}
1177 -
1178 -multilib_src_test() {
1179 - if multilib_is_native_abi; then
1180 - WAF_MAKE=1 \
1181 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
1182 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
1183 - waf test || die
1184 - fi
1185 -}
1186 -
1187 -multilib_src_install() {
1188 - waf-utils_src_install
1189 -
1190 - if multilib_is_native_abi && use doc; then
1191 - doman apidocs/man/man3/*.3
1192 - docinto html
1193 - dodoc -r apidocs/html/*
1194 - fi
1195 -}
1196 -
1197 -pkg_postinst() {
1198 - if has_version sys-auth/sssd; then
1199 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
1200 - ewarn "so please try to rebuild it before reporting bugs."
1201 - ewarn "See https://bugs.gentoo.org/404281"
1202 - fi
1203 -}
1204
1205 diff --git a/sys-libs/ldb/ldb-1.5.6.ebuild b/sys-libs/ldb/ldb-1.5.6.ebuild
1206 deleted file mode 100644
1207 index f3e083016cd..00000000000
1208 --- a/sys-libs/ldb/ldb-1.5.6.ebuild
1209 +++ /dev/null
1210 @@ -1,105 +0,0 @@
1211 -# Copyright 1999-2020 Gentoo Authors
1212 -# Distributed under the terms of the GNU General Public License v2
1213 -
1214 -EAPI=6
1215 -PYTHON_COMPAT=( python3_{6,7} )
1216 -PYTHON_REQ_USE="threads(+)"
1217 -
1218 -inherit python-single-r1 waf-utils multilib-minimal eutils
1219 -
1220 -DESCRIPTION="An LDAP-like embedded database"
1221 -HOMEPAGE="https://ldb.samba.org"
1222 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
1223 -
1224 -LICENSE="LGPL-3"
1225 -SLOT="0/${PV}"
1226 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1227 -IUSE="doc +ldap +lmdb python"
1228 -
1229 -RDEPEND="
1230 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
1231 - dev-libs/popt[${MULTILIB_USEDEP}]
1232 - >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
1233 - >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}]
1234 - >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}]
1235 - >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}]
1236 - ldap? ( net-nds/openldap )
1237 - lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
1238 - python? ( ${PYTHON_DEPS} )
1239 -"
1240 -
1241 -DEPEND="dev-libs/libxslt
1242 - doc? ( app-doc/doxygen )
1243 - virtual/pkgconfig
1244 - ${PYTHON_DEPS}
1245 - ${RDEPEND}
1246 -"
1247 -
1248 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1249 -
1250 -WAF_BINARY="${S}/buildtools/bin/waf"
1251 -
1252 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
1253 -
1254 -PATCHES=(
1255 - "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
1256 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
1257 -)
1258 -
1259 -pkg_setup() {
1260 - python-single-r1_pkg_setup
1261 -}
1262 -
1263 -src_prepare() {
1264 - default
1265 - multilib_copy_sources
1266 -}
1267 -
1268 -multilib_src_configure() {
1269 - local myconf=(
1270 - $(usex ldap '' --disable-ldap)
1271 - $(usex lmdb '' --without-ldb-lmdb)
1272 - --disable-rpath
1273 - --disable-rpath-install --bundled-libraries=NONE
1274 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
1275 - --builtin-libraries=NONE
1276 - )
1277 - if ! multilib_is_native_abi; then
1278 - myconf+=( --disable-python )
1279 - else
1280 - use python || myconf+=( --disable-python )
1281 - fi
1282 - waf-utils_src_configure "${myconf[@]}"
1283 -}
1284 -
1285 -multilib_src_compile() {
1286 - waf-utils_src_compile
1287 - multilib_is_native_abi && use doc && doxygen Doxyfile
1288 -}
1289 -
1290 -multilib_src_test() {
1291 - if multilib_is_native_abi; then
1292 - WAF_MAKE=1 \
1293 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
1294 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
1295 - waf test || die
1296 - fi
1297 -}
1298 -
1299 -multilib_src_install() {
1300 - waf-utils_src_install
1301 -
1302 - if multilib_is_native_abi && use doc; then
1303 - doman apidocs/man/man3/*.3
1304 - docinto html
1305 - dodoc -r apidocs/html/*
1306 - fi
1307 -}
1308 -
1309 -pkg_postinst() {
1310 - if has_version sys-auth/sssd; then
1311 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
1312 - ewarn "so please try to rebuild it before reporting bugs."
1313 - ewarn "See https://bugs.gentoo.org/404281"
1314 - fi
1315 -}
1316
1317 diff --git a/sys-libs/ldb/ldb-1.6.3.ebuild b/sys-libs/ldb/ldb-1.6.3.ebuild
1318 deleted file mode 100644
1319 index f3e083016cd..00000000000
1320 --- a/sys-libs/ldb/ldb-1.6.3.ebuild
1321 +++ /dev/null
1322 @@ -1,105 +0,0 @@
1323 -# Copyright 1999-2020 Gentoo Authors
1324 -# Distributed under the terms of the GNU General Public License v2
1325 -
1326 -EAPI=6
1327 -PYTHON_COMPAT=( python3_{6,7} )
1328 -PYTHON_REQ_USE="threads(+)"
1329 -
1330 -inherit python-single-r1 waf-utils multilib-minimal eutils
1331 -
1332 -DESCRIPTION="An LDAP-like embedded database"
1333 -HOMEPAGE="https://ldb.samba.org"
1334 -SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
1335 -
1336 -LICENSE="LGPL-3"
1337 -SLOT="0/${PV}"
1338 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
1339 -IUSE="doc +ldap +lmdb python"
1340 -
1341 -RDEPEND="
1342 - !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
1343 - dev-libs/popt[${MULTILIB_USEDEP}]
1344 - >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
1345 - >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}]
1346 - >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}]
1347 - >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}]
1348 - ldap? ( net-nds/openldap )
1349 - lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
1350 - python? ( ${PYTHON_DEPS} )
1351 -"
1352 -
1353 -DEPEND="dev-libs/libxslt
1354 - doc? ( app-doc/doxygen )
1355 - virtual/pkgconfig
1356 - ${PYTHON_DEPS}
1357 - ${RDEPEND}
1358 -"
1359 -
1360 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1361 -
1362 -WAF_BINARY="${S}/buildtools/bin/waf"
1363 -
1364 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
1365 -
1366 -PATCHES=(
1367 - "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
1368 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
1369 -)
1370 -
1371 -pkg_setup() {
1372 - python-single-r1_pkg_setup
1373 -}
1374 -
1375 -src_prepare() {
1376 - default
1377 - multilib_copy_sources
1378 -}
1379 -
1380 -multilib_src_configure() {
1381 - local myconf=(
1382 - $(usex ldap '' --disable-ldap)
1383 - $(usex lmdb '' --without-ldb-lmdb)
1384 - --disable-rpath
1385 - --disable-rpath-install --bundled-libraries=NONE
1386 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
1387 - --builtin-libraries=NONE
1388 - )
1389 - if ! multilib_is_native_abi; then
1390 - myconf+=( --disable-python )
1391 - else
1392 - use python || myconf+=( --disable-python )
1393 - fi
1394 - waf-utils_src_configure "${myconf[@]}"
1395 -}
1396 -
1397 -multilib_src_compile() {
1398 - waf-utils_src_compile
1399 - multilib_is_native_abi && use doc && doxygen Doxyfile
1400 -}
1401 -
1402 -multilib_src_test() {
1403 - if multilib_is_native_abi; then
1404 - WAF_MAKE=1 \
1405 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
1406 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
1407 - waf test || die
1408 - fi
1409 -}
1410 -
1411 -multilib_src_install() {
1412 - waf-utils_src_install
1413 -
1414 - if multilib_is_native_abi && use doc; then
1415 - doman apidocs/man/man3/*.3
1416 - docinto html
1417 - dodoc -r apidocs/html/*
1418 - fi
1419 -}
1420 -
1421 -pkg_postinst() {
1422 - if has_version sys-auth/sssd; then
1423 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
1424 - ewarn "so please try to rebuild it before reporting bugs."
1425 - ewarn "See https://bugs.gentoo.org/404281"
1426 - fi
1427 -}