1 |
commit: 3ce51c9f5c16bc324efcf3907c15a44afbf692df |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 23 18:40:24 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 23 19:11:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce51c9f |
7 |
|
8 |
sys-libs/ldb: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/ldb/Manifest | 4 - |
14 |
.../ldb/files/ldb-1.1.24-optional-python.patch | 72 -------------- |
15 |
sys-libs/ldb/ldb-1.1.26.ebuild | 97 ------------------- |
16 |
sys-libs/ldb/ldb-1.2.3.ebuild | 103 -------------------- |
17 |
sys-libs/ldb/ldb-1.4.6.ebuild | 105 --------------------- |
18 |
sys-libs/ldb/ldb-1.6.2.ebuild | 105 --------------------- |
19 |
6 files changed, 486 deletions(-) |
20 |
|
21 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
22 |
index eed9148127a..0e26018704b 100644 |
23 |
--- a/sys-libs/ldb/Manifest |
24 |
+++ b/sys-libs/ldb/Manifest |
25 |
@@ -1,14 +1,10 @@ |
26 |
-DIST ldb-1.1.26.tar.gz 1262660 BLAKE2B 66dcc38eb97fe4357d06b301ed1de5cf868adc5f33ea8341a7cbdd5be45c85c31cda58782a66daf9fcada9d873971fc29556f0c331794ede9fc2a7f592480f52 SHA512 484689c5b87f223820e3613c056de5528a87736baef7b884df506fc47a3412b35ba2ef8e85f62e2d3da803fdab6b37bb328d4347a20bfc8fef8ed557646b6bbe |
27 |
DIST ldb-1.1.29.tar.gz 1277551 BLAKE2B 449333d40073fd63d6d013ba0ae43fc3a0b8201948eabd440d164d182492002c1d92047d652105c2fb6a3e8383d4b75f45e38cc52efc5d9a0e2811113676203a SHA512 d37bbe84358e05d17483e2e963b8477da5ea351b855b454142c94af35f7987bede0f19faeaff17779efe04e3bb37c510437fcc59be99a17c826620fc25fd659c |
28 |
DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b275bb3b288049acb43ee3c02ae4f0be820ccf9e3bb32938d12598a91b7a6292b08c638ccfd59bd1be182f09c0 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824 |
29 |
-DIST ldb-1.2.3.tar.gz 1344513 BLAKE2B 941174d6e2c51319c8690a8d8a87bea443d4fa4d738bd13243b502fdc9d590ba075fcf4a9920c38bb6fc15564f0b116089cd62d99e7cfe33649dc751910265ad SHA512 500ab069cf6cec39907300e3905d334163b5094087831708acc22c4199b006ef52af3b66aade7558a48fab7cd69be3af7883bda3816a83c576d01b36ab270247 |
30 |
DIST ldb-1.2.4.tar.gz 1346413 BLAKE2B 441cdf679ab4852e1c8d90ca8d9544d7983436c864cb3ea76b63f45177061c2763f9700b4be4be9ba53a4bcc9cec49b509dd39efb8f5f2171bc432641d1329c2 SHA512 093815cfa9e950299c4f09c58362136d72c439692f7d8670ecbf9cac49ecef6fd365f8fab5d39f41a4dd39e07f6c8d1a2616e843653d2fa0d7bdff346a118aa9 |
31 |
DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d |
32 |
DIST ldb-1.3.8.tar.gz 1375782 BLAKE2B dbca935e762af86b268308253615019b24af6727411e77947ceeadd3e0114c2ad2a14d4a4f1121bf58ccb080d44a8513d2094314b043604d885977a26e622c57 SHA512 06d1b4c2badbf0c27733a64f979c48af8b599747cef7cd7f5417cd55a76447e8f8987bd061694c5af63261fdb35433e3844122c14103d5cc8b4eaab1f4752541 |
33 |
-DIST ldb-1.4.6.tar.gz 1431798 BLAKE2B 748d6054af4b898fa475692a425d96541fa2c055ffdd4b8ca6635fea04d7b143b4e7301886f307300662140bc449a3ee3932801c7c5df10f6ba3ee5a10c7a46b SHA512 fb2be7842ecfda8788e8982831e34487f016814d1e8a757e93f8716019aaba4b9b7dd469e4ba11eb3990846fb55cdb2db2ec494eb7b0ff04f261d8309b1c98f4 |
34 |
DIST ldb-1.4.7.tar.gz 1430560 BLAKE2B b6b9a12b6f17ffee8e9a47673786d1247310655ca87bb0280fb8ce04a69c52435721fe5e8ab1ce18406e28dfeef57fe30b3b3fc42a4951505f8772bf5e7553ce SHA512 e53bdd831d37b87b5adaf17f46b883f177f97541ad957d134dbfc196bc37749074df7c8cafb8e2993c6aae9bc150ae8d88daad56c26de9f62c5259c479da7016 |
35 |
DIST ldb-1.5.4.tar.gz 1629123 BLAKE2B 3c71af079f2e5cb81e493d16d453c53bd0ee4c63720b0261ea6116244b2652ca581499c0b8c64949dccc95460aba7b4ef3afe7850563a830f3fb4b8753bdea2f SHA512 fc323e4283671c14d6dd4feb7e9ca943a63a166688077dbf3591f9d957cf821f9e739869842e15ca1ec4fd3764123d5afc6f4954b1af437bd1ec54df58366a22 |
36 |
DIST ldb-1.5.5.tar.gz 1629070 BLAKE2B 374042c77c9ec7bd88ad1d97757f171ae831a630751fc06bf22190355c1448fa8c2327d308cdbe5b46ca21236738548d2c1041c3dfb428e1dfee8053edf90050 SHA512 562e08b3d6564d08fed80dc43ca299c38fbd958dbe27ed1400e5eb5c3df0f4c7b7eaf502b13eec5544b168f26c5e6537615f65e28dcaeb6473d2ff3c3c7a4e4b |
37 |
-DIST ldb-1.6.2.tar.gz 1629794 BLAKE2B 5219479c773aa87c4bd6917e60b963df9cf3c481468ed020b4e9c4a175110ce80fd1c7a4ca4e28d99c972e0891287485261310eab1bbd7b8b138ea59f168ac8c SHA512 089dee2465efe0811ff745b52b15d2d7638b940112a06680706d5401231864859605ff0392245d4c815e9b85f5a4ba782fc61d8dba215cc8198e7d9a6ddd255e |
38 |
DIST ldb-1.6.3.tar.gz 1628668 BLAKE2B e9b6535eddf49496151e544f6879641c58a614f6de95463f7d0bf1953744953a5d55dde935d39b690d4c87e66914d8de0f0f5d4816a61fdecc81f8797584013e SHA512 a41b1fd2afa9a02dec37519f28e0e720b649c2a0aa6caebeb6697dbefdc6a055ef26500c5ccb0439b495d8c03218920b389fb9601d1cf5ca4d5046f192a5fefd |
39 |
DIST ldb-2.0.5.tar.gz 1669846 BLAKE2B d68046b385955c376118cb60e16939115332d88e8e67d157029397915c3e8f3d754abc9d93c64250ce990f7b82fb3947bdf5fba0f6f8bc457bc6dfd08e8bc534 SHA512 de9325f8bdd9ac782b3f8633444780f4aaa030e2c74c643220e845d9a779f8c8e174f0b9d9d8668de028cb832eb9d81965cb8e4471d90f9344dc48877a3abbe8 |
40 |
|
41 |
diff --git a/sys-libs/ldb/files/ldb-1.1.24-optional-python.patch b/sys-libs/ldb/files/ldb-1.1.24-optional-python.patch |
42 |
deleted file mode 100644 |
43 |
index d8dda63d44b..00000000000 |
44 |
--- a/sys-libs/ldb/files/ldb-1.1.24-optional-python.patch |
45 |
+++ /dev/null |
46 |
@@ -1,72 +0,0 @@ |
47 |
---- a/wscript 2015-12-10 06:01:40.000000000 -0500 |
48 |
-+++ b/wscript 2016-01-06 15:05:57.013617848 -0500 |
49 |
-@@ -5,6 +5,7 @@ |
50 |
- |
51 |
- blddir = 'bin' |
52 |
- |
53 |
-+import Logs |
54 |
- import sys, os |
55 |
- |
56 |
- # find the buildtools directory |
57 |
-@@ -13,7 +14,7 @@ |
58 |
- srcdir = srcdir + '/..' |
59 |
- sys.path.insert(0, srcdir + '/buildtools/wafsamba') |
60 |
- |
61 |
--import wafsamba, samba_dist, Utils |
62 |
-+import wafsamba, samba_dist, Utils, Options |
63 |
- |
64 |
- samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc |
65 |
- lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent |
66 |
-@@ -28,8 +29,17 @@ |
67 |
- opt.RECURSE('lib/tevent') |
68 |
- opt.RECURSE('lib/replace') |
69 |
- opt.tool_options('python') # options for disabling pyc or pyo compilation |
70 |
-+ if opt.IN_LAUNCH_DIR(): |
71 |
-+ opt.add_option('--disable-python', |
72 |
-+ help=("disable the pyldb modules"), |
73 |
-+ action="store_true", dest='disable_python', default=False) |
74 |
-+ |
75 |
- |
76 |
- def configure(conf): |
77 |
-+ conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
78 |
-+ |
79 |
-+ conf.env.disable_python = getattr(Options.options, 'disable_python', False) |
80 |
-+ |
81 |
- conf.RECURSE('lib/tdb') |
82 |
- conf.RECURSE('lib/tevent') |
83 |
- |
84 |
-@@ -44,16 +54,18 @@ |
85 |
- conf.RECURSE('lib/replace') |
86 |
- conf.find_program('python', var='PYTHON') |
87 |
- conf.find_program('xsltproc', var='XSLTPROC') |
88 |
-- conf.check_tool('python') |
89 |
-- conf.check_python_version((2,4,2)) |
90 |
-- conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True) |
91 |
-+ |
92 |
-+ if not conf.env.disable_python: |
93 |
-+ conf.SAMBA_CHECK_PYTHON(mandatory=False, version=(2,4,2)) |
94 |
-+ conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False) |
95 |
-+ if not conf.env.HAVE_PYTHON_H: |
96 |
-+ Logs.warn('Disabling pyldb-util as python devel libs not found') |
97 |
-+ conf.env.disable_python = True |
98 |
- |
99 |
- # where does the default LIBDIR end up? in conf.env somewhere? |
100 |
- # |
101 |
- conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + '/ldb') |
102 |
- |
103 |
-- conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() |
104 |
-- |
105 |
- if not conf.env.standalone_ldb: |
106 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION, |
107 |
- onlyif='talloc tdb tevent', |
108 |
---- a/lib/talloc/wscript 2015-11-06 08:28:25.000000000 -0500 |
109 |
-+++ b/lib/talloc/wscript 2016-01-06 15:07:43.673478788 -0500 |
110 |
-@@ -48,7 +48,7 @@ |
111 |
- if conf.CHECK_BUNDLED_SYSTEM_PKG('talloc', minversion=VERSION, |
112 |
- implied_deps='replace'): |
113 |
- conf.define('USING_SYSTEM_TALLOC', 1) |
114 |
-- if conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
115 |
-+ if not conf.env.disable_python and conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
116 |
- implied_deps='talloc replace'): |
117 |
- conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) |
118 |
- |
119 |
|
120 |
diff --git a/sys-libs/ldb/ldb-1.1.26.ebuild b/sys-libs/ldb/ldb-1.1.26.ebuild |
121 |
deleted file mode 100644 |
122 |
index 57f127cf033..00000000000 |
123 |
--- a/sys-libs/ldb/ldb-1.1.26.ebuild |
124 |
+++ /dev/null |
125 |
@@ -1,97 +0,0 @@ |
126 |
-# Copyright 1999-2017 Gentoo Foundation |
127 |
-# Distributed under the terms of the GNU General Public License v2 |
128 |
- |
129 |
-EAPI=6 |
130 |
-PYTHON_COMPAT=( python2_7 ) |
131 |
-PYTHON_REQ_USE="threads" |
132 |
- |
133 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
134 |
- |
135 |
-DESCRIPTION="An LDAP-like embedded database" |
136 |
-HOMEPAGE="https://ldb.samba.org/" |
137 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
138 |
- |
139 |
-LICENSE="LGPL-3" |
140 |
-SLOT="0/${PV}" |
141 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
142 |
-IUSE="doc" |
143 |
- |
144 |
-RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
145 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
146 |
- >=sys-libs/talloc-2.1.5[python,${MULTILIB_USEDEP}] |
147 |
- >=sys-libs/tevent-0.9.27[python(+),${MULTILIB_USEDEP}] |
148 |
- >=sys-libs/tdb-1.3.8[python,${MULTILIB_USEDEP}] |
149 |
- net-nds/openldap |
150 |
- !!<net-fs/samba-3.6.0[ldb] |
151 |
- !!>=net-fs/samba-4.0.0[ldb] |
152 |
- ${PYTHON_DEPS} |
153 |
- " |
154 |
- |
155 |
-DEPEND="dev-libs/libxslt |
156 |
- doc? ( app-doc/doxygen ) |
157 |
- virtual/pkgconfig |
158 |
- ${RDEPEND}" |
159 |
- |
160 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
161 |
- |
162 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
163 |
- |
164 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
165 |
- |
166 |
-PATCHES=( |
167 |
- "${FILESDIR}"/${PN}-1.1.24-optional-python.patch |
168 |
-) |
169 |
- |
170 |
-pkg_setup() { |
171 |
- python-single-r1_pkg_setup |
172 |
-} |
173 |
- |
174 |
-src_prepare() { |
175 |
- default |
176 |
- multilib_copy_sources |
177 |
-} |
178 |
- |
179 |
-multilib_src_configure() { |
180 |
- local myconf=( |
181 |
- --disable-rpath \ |
182 |
- --disable-rpath-install --bundled-libraries=NONE \ |
183 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \ |
184 |
- --builtin-libraries=NONE |
185 |
- ) |
186 |
- if ! multilib_is_native_abi; then |
187 |
- myconf+=( --disable-python ) |
188 |
- fi |
189 |
- waf-utils_src_configure "${myconf[@]}" |
190 |
-} |
191 |
- |
192 |
-multilib_src_compile(){ |
193 |
- waf-utils_src_compile |
194 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
195 |
-} |
196 |
- |
197 |
-multilib_src_test() { |
198 |
- if multilib_is_native_abi; then |
199 |
- WAF_MAKE=1 \ |
200 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
201 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
202 |
- waf test || die |
203 |
- fi |
204 |
-} |
205 |
- |
206 |
-multilib_src_install() { |
207 |
- waf-utils_src_install |
208 |
- |
209 |
- if multilib_is_native_abi && use doc; then |
210 |
- doman apidocs/man/man3/*.3 |
211 |
- docinto html |
212 |
- dodoc -r apidocs/html/* |
213 |
- fi |
214 |
-} |
215 |
- |
216 |
-pkg_postinst() { |
217 |
- if has_version sys-auth/sssd; then |
218 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
219 |
- ewarn "so please try to rebuild it before reporting bugs." |
220 |
- ewarn "See https://bugs.gentoo.org/404281" |
221 |
- fi |
222 |
-} |
223 |
|
224 |
diff --git a/sys-libs/ldb/ldb-1.2.3.ebuild b/sys-libs/ldb/ldb-1.2.3.ebuild |
225 |
deleted file mode 100644 |
226 |
index 9d3ffe48109..00000000000 |
227 |
--- a/sys-libs/ldb/ldb-1.2.3.ebuild |
228 |
+++ /dev/null |
229 |
@@ -1,103 +0,0 @@ |
230 |
-# Copyright 1999-2019 Gentoo Authors |
231 |
-# Distributed under the terms of the GNU General Public License v2 |
232 |
- |
233 |
-EAPI=6 |
234 |
-PYTHON_COMPAT=( python2_7 ) |
235 |
-PYTHON_REQ_USE="threads" |
236 |
- |
237 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
238 |
- |
239 |
-DESCRIPTION="An LDAP-like embedded database" |
240 |
-HOMEPAGE="https://ldb.samba.org/" |
241 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
242 |
- |
243 |
-LICENSE="LGPL-3" |
244 |
-SLOT="0/${PV}" |
245 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
246 |
-IUSE="doc +ldap python" |
247 |
- |
248 |
-RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
249 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
250 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
251 |
- >=sys-libs/talloc-2.1.10[python?,${MULTILIB_USEDEP}] |
252 |
- >=sys-libs/tevent-0.9.33[python(+)?,${MULTILIB_USEDEP}] |
253 |
- >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
254 |
- python? ( ${PYTHON_DEPS} ) |
255 |
- ldap? ( net-nds/openldap ) |
256 |
-" |
257 |
- |
258 |
-DEPEND="dev-libs/libxslt |
259 |
- doc? ( app-doc/doxygen ) |
260 |
- virtual/pkgconfig |
261 |
- ${PYTHON_DEPS} |
262 |
- ${RDEPEND} |
263 |
-" |
264 |
- |
265 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
266 |
- |
267 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
268 |
- |
269 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
270 |
- |
271 |
-PATCHES=( |
272 |
- "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
273 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
274 |
- "${FILESDIR}"/${PN}-1.2.3-disable_python.patch |
275 |
-) |
276 |
- |
277 |
-pkg_setup() { |
278 |
- python-single-r1_pkg_setup |
279 |
-} |
280 |
- |
281 |
-src_prepare() { |
282 |
- default |
283 |
- multilib_copy_sources |
284 |
-} |
285 |
- |
286 |
-multilib_src_configure() { |
287 |
- local myconf=( |
288 |
- $(usex ldap '' --disable-ldap) |
289 |
- --disable-rpath |
290 |
- --disable-rpath-install --bundled-libraries=NONE |
291 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
292 |
- --builtin-libraries=NONE |
293 |
- ) |
294 |
- if ! multilib_is_native_abi; then |
295 |
- myconf+=( --disable-python ) |
296 |
- else |
297 |
- use python || myconf+=( --disable-python ) |
298 |
- fi |
299 |
- waf-utils_src_configure "${myconf[@]}" |
300 |
-} |
301 |
- |
302 |
-multilib_src_compile(){ |
303 |
- waf-utils_src_compile |
304 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
305 |
-} |
306 |
- |
307 |
-multilib_src_test() { |
308 |
- if multilib_is_native_abi; then |
309 |
- WAF_MAKE=1 \ |
310 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
311 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
312 |
- waf test || die |
313 |
- fi |
314 |
-} |
315 |
- |
316 |
-multilib_src_install() { |
317 |
- waf-utils_src_install |
318 |
- |
319 |
- if multilib_is_native_abi && use doc; then |
320 |
- doman apidocs/man/man3/*.3 |
321 |
- docinto html |
322 |
- dodoc -r apidocs/html/* |
323 |
- fi |
324 |
-} |
325 |
- |
326 |
-pkg_postinst() { |
327 |
- if has_version sys-auth/sssd; then |
328 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
329 |
- ewarn "so please try to rebuild it before reporting bugs." |
330 |
- ewarn "See https://bugs.gentoo.org/404281" |
331 |
- fi |
332 |
-} |
333 |
|
334 |
diff --git a/sys-libs/ldb/ldb-1.4.6.ebuild b/sys-libs/ldb/ldb-1.4.6.ebuild |
335 |
deleted file mode 100644 |
336 |
index deef89dbbf0..00000000000 |
337 |
--- a/sys-libs/ldb/ldb-1.4.6.ebuild |
338 |
+++ /dev/null |
339 |
@@ -1,105 +0,0 @@ |
340 |
-# Copyright 1999-2019 Gentoo Authors |
341 |
-# Distributed under the terms of the GNU General Public License v2 |
342 |
- |
343 |
-EAPI=6 |
344 |
-PYTHON_COMPAT=( python2_7 ) |
345 |
-PYTHON_REQ_USE="threads" |
346 |
- |
347 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
348 |
- |
349 |
-DESCRIPTION="An LDAP-like embedded database" |
350 |
-HOMEPAGE="https://ldb.samba.org" |
351 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
352 |
- |
353 |
-LICENSE="LGPL-3" |
354 |
-SLOT="0/${PV}" |
355 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
356 |
-IUSE="doc +ldap +lmdb python" |
357 |
- |
358 |
-RDEPEND=" |
359 |
- !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
360 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
361 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
362 |
- >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}] |
363 |
- >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}] |
364 |
- >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}] |
365 |
- ldap? ( net-nds/openldap ) |
366 |
- lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
367 |
- python? ( ${PYTHON_DEPS} ) |
368 |
-" |
369 |
- |
370 |
-DEPEND="dev-libs/libxslt |
371 |
- doc? ( app-doc/doxygen ) |
372 |
- virtual/pkgconfig |
373 |
- ${PYTHON_DEPS} |
374 |
- ${RDEPEND} |
375 |
-" |
376 |
- |
377 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
378 |
- |
379 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
380 |
- |
381 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
382 |
- |
383 |
-PATCHES=( |
384 |
- "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch |
385 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
386 |
-) |
387 |
- |
388 |
-pkg_setup() { |
389 |
- python-single-r1_pkg_setup |
390 |
-} |
391 |
- |
392 |
-src_prepare() { |
393 |
- default |
394 |
- multilib_copy_sources |
395 |
-} |
396 |
- |
397 |
-multilib_src_configure() { |
398 |
- local myconf=( |
399 |
- $(usex ldap '' --disable-ldap) |
400 |
- $(usex lmdb '' --without-ldb-lmdb) |
401 |
- --disable-rpath |
402 |
- --disable-rpath-install --bundled-libraries=NONE |
403 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
404 |
- --builtin-libraries=NONE |
405 |
- ) |
406 |
- if ! multilib_is_native_abi; then |
407 |
- myconf+=( --disable-python ) |
408 |
- else |
409 |
- use python || myconf+=( --disable-python ) |
410 |
- fi |
411 |
- waf-utils_src_configure "${myconf[@]}" |
412 |
-} |
413 |
- |
414 |
-multilib_src_compile(){ |
415 |
- waf-utils_src_compile |
416 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
417 |
-} |
418 |
- |
419 |
-multilib_src_test() { |
420 |
- if multilib_is_native_abi; then |
421 |
- WAF_MAKE=1 \ |
422 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
423 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
424 |
- waf test || die |
425 |
- fi |
426 |
-} |
427 |
- |
428 |
-multilib_src_install() { |
429 |
- waf-utils_src_install |
430 |
- |
431 |
- if multilib_is_native_abi && use doc; then |
432 |
- doman apidocs/man/man3/*.3 |
433 |
- docinto html |
434 |
- dodoc -r apidocs/html/* |
435 |
- fi |
436 |
-} |
437 |
- |
438 |
-pkg_postinst() { |
439 |
- if has_version sys-auth/sssd; then |
440 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
441 |
- ewarn "so please try to rebuild it before reporting bugs." |
442 |
- ewarn "See https://bugs.gentoo.org/404281" |
443 |
- fi |
444 |
-} |
445 |
|
446 |
diff --git a/sys-libs/ldb/ldb-1.6.2.ebuild b/sys-libs/ldb/ldb-1.6.2.ebuild |
447 |
deleted file mode 100644 |
448 |
index 102b52891a1..00000000000 |
449 |
--- a/sys-libs/ldb/ldb-1.6.2.ebuild |
450 |
+++ /dev/null |
451 |
@@ -1,105 +0,0 @@ |
452 |
-# Copyright 1999-2019 Gentoo Authors |
453 |
-# Distributed under the terms of the GNU General Public License v2 |
454 |
- |
455 |
-EAPI=6 |
456 |
-PYTHON_COMPAT=( python3_{5,6,7} ) |
457 |
-PYTHON_REQ_USE="threads(+)" |
458 |
- |
459 |
-inherit python-single-r1 waf-utils multilib-minimal eutils |
460 |
- |
461 |
-DESCRIPTION="An LDAP-like embedded database" |
462 |
-HOMEPAGE="https://ldb.samba.org" |
463 |
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
464 |
- |
465 |
-LICENSE="LGPL-3" |
466 |
-SLOT="0/${PV}" |
467 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
468 |
-IUSE="doc +ldap +lmdb python" |
469 |
- |
470 |
-RDEPEND=" |
471 |
- !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
472 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
473 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
474 |
- >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}] |
475 |
- >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}] |
476 |
- >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}] |
477 |
- ldap? ( net-nds/openldap ) |
478 |
- lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
479 |
- python? ( ${PYTHON_DEPS} ) |
480 |
-" |
481 |
- |
482 |
-DEPEND="dev-libs/libxslt |
483 |
- doc? ( app-doc/doxygen ) |
484 |
- virtual/pkgconfig |
485 |
- ${PYTHON_DEPS} |
486 |
- ${RDEPEND} |
487 |
-" |
488 |
- |
489 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
490 |
- |
491 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
492 |
- |
493 |
-MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
494 |
- |
495 |
-PATCHES=( |
496 |
- "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
497 |
- "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
498 |
-) |
499 |
- |
500 |
-pkg_setup() { |
501 |
- python-single-r1_pkg_setup |
502 |
-} |
503 |
- |
504 |
-src_prepare() { |
505 |
- default |
506 |
- multilib_copy_sources |
507 |
-} |
508 |
- |
509 |
-multilib_src_configure() { |
510 |
- local myconf=( |
511 |
- $(usex ldap '' --disable-ldap) |
512 |
- $(usex lmdb '' --without-ldb-lmdb) |
513 |
- --disable-rpath |
514 |
- --disable-rpath-install --bundled-libraries=NONE |
515 |
- --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
516 |
- --builtin-libraries=NONE |
517 |
- ) |
518 |
- if ! multilib_is_native_abi; then |
519 |
- myconf+=( --disable-python ) |
520 |
- else |
521 |
- use python || myconf+=( --disable-python ) |
522 |
- fi |
523 |
- waf-utils_src_configure "${myconf[@]}" |
524 |
-} |
525 |
- |
526 |
-multilib_src_compile(){ |
527 |
- waf-utils_src_compile |
528 |
- multilib_is_native_abi && use doc && doxygen Doxyfile |
529 |
-} |
530 |
- |
531 |
-multilib_src_test() { |
532 |
- if multilib_is_native_abi; then |
533 |
- WAF_MAKE=1 \ |
534 |
- PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
535 |
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
536 |
- waf test || die |
537 |
- fi |
538 |
-} |
539 |
- |
540 |
-multilib_src_install() { |
541 |
- waf-utils_src_install |
542 |
- |
543 |
- if multilib_is_native_abi && use doc; then |
544 |
- doman apidocs/man/man3/*.3 |
545 |
- docinto html |
546 |
- dodoc -r apidocs/html/* |
547 |
- fi |
548 |
-} |
549 |
- |
550 |
-pkg_postinst() { |
551 |
- if has_version sys-auth/sssd; then |
552 |
- ewarn "You have sssd installed. It is known to break after ldb upgrades," |
553 |
- ewarn "so please try to rebuild it before reporting bugs." |
554 |
- ewarn "See https://bugs.gentoo.org/404281" |
555 |
- fi |
556 |
-} |