Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/
Date: Thu, 05 May 2022 19:50:10
Message-Id: 1651780192.c548fea1c296cd1360408e93ed7109bde13605db.polynomial-c@gentoo
1 commit: c548fea1c296cd1360408e93ed7109bde13605db
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 5 19:49:52 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu May 5 19:49:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c548fea1
7
8 sys-libs/ldb: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-libs/ldb/Manifest | 2 -
13 sys-libs/ldb/ldb-2.3.1-r1.ebuild | 120 ---------------------------------------
14 sys-libs/ldb/ldb-2.4.0-r2.ebuild | 120 ---------------------------------------
15 3 files changed, 242 deletions(-)
16
17 diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
18 index 056180f60617..72acf664f1cc 100644
19 --- a/sys-libs/ldb/Manifest
20 +++ b/sys-libs/ldb/Manifest
21 @@ -1,7 +1,5 @@
22 -DIST ldb-2.3.1.tar.gz 1718379 BLAKE2B e2aa196e6e09846be2a631d81bf0b94c0cd80984ac124757888889717efdf78caf5501c4278ace33dcc2a6fb92a4a2f224b20ea9f3bf3fa5c7333f9994dcbdc1 SHA512 d87f3839481c3ac3f5ce5e2b5bb766451fe39681bff9c53747d45e2cdcef9f1eb91c0a7d6a9c202c4d01097600d66ca431a175f4fc28a126ad987b9783cb87bc
23 DIST ldb-2.3.2.tar.gz 1718583 BLAKE2B 48b9fb77e414af0f9fffe0cda9cf49971d79ed8b66213b01b73f53a61969e03f9e6426a04a33ff70da906c814470d8fa356902a68aa1169d969cc597e8c234d7 SHA512 be324e8f20db50529634548451dbc5f95f26a701e124bfb40ae2b0a5069de78b7c5c1a66222097209ea24ef6077373d996e67c00257a5a05198f1b81bf0ed53e
24 DIST ldb-2.3.3.tar.gz 1719542 BLAKE2B 2a5cfe3ddac2054d167c2857e0cd92e0f88d2c196f9285c029b2a525d781025a956a296bd6d793b65f848188cf7adf70f99542999061a85be473b3fc3b2856f1 SHA512 ffb50208fe971afd544a431b79905ec8fce67d78d20c3fcfb8345a56f3b278fb664bc48079d7239a8ca5b70aae8b32076b6007cb63e080cd536e9fe458efeccd
25 -DIST ldb-2.4.0.tar.gz 1689484 BLAKE2B 904d74900011ce3f63ad1c24fe88b1a090e835c68829ddfda5e8af2c0ab3674d7a8cd9a62b95c1f38f26578d0704556d3562e46e21a54cbb44a15b9d83676521 SHA512 6c500b723c081488bc0717b6a5b0e8966c5d8a751232f8856281a6fe4d358ae6b5878c8400a82fa666379066105fbb9259b2967313e73efabef0e1386095e2ee
26 DIST ldb-2.4.1.tar.gz 1719769 BLAKE2B 868d3dcc51bd8272d99f2335ed1af2e37506b6a175254f1aca37f758488ba0997e37419a7d8c81def77698128307df97de26d4807ac78c34088f7a623f8d9e68 SHA512 14ab5397d28c369142b2ccf55a2ab4e678a3fe6e018541cfce46241f8226400bc169360bbef254fae4410a6e15024ae986f02298d3d324e3d3a8b88801bf76d7
27 DIST ldb-2.4.2.tar.gz 1720169 BLAKE2B d144218bf62dde57560df8b8a641e9f58bee001fdfa7b1527d9eb9a1a55e428662db81912173cbcdb9f993c0b316faab7d758a4878beeff1daadd487e9aa44a9 SHA512 77705ad284eed9105c9aba0459d2e48cd66ca19b657a55f7513e10281dd2e96540d24d1c8df53adc84109a918900687dc75b635cda05c4e788424ed71b5ff989
28 DIST ldb-2.5.0.tar.gz 1722847 BLAKE2B 880a5a516b0b423854f8a3f9c54da89e4640f8462ccc54a7b147c70c3a9eb073dc9e914d1906ab914a9ddd9b9aa0e7d177ef3ecb4c0b506f5417db931b017849 SHA512 f16a235f1409e06266c51735ac645cf2708d31dd731ee7b95d6778498b115f4252b0a528952e620767d1616a4e1e7c5f2cdc69f3fa32d79288cf14da2f52a010
29
30 diff --git a/sys-libs/ldb/ldb-2.3.1-r1.ebuild b/sys-libs/ldb/ldb-2.3.1-r1.ebuild
31 deleted file mode 100644
32 index 49ea629050ba..000000000000
33 --- a/sys-libs/ldb/ldb-2.3.1-r1.ebuild
34 +++ /dev/null
35 @@ -1,120 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -PYTHON_COMPAT=( python3_{8..9} )
42 -PYTHON_REQ_USE="threads(+)"
43 -inherit python-single-r1 waf-utils multilib-minimal
44 -
45 -DESCRIPTION="LDAP-like embedded database"
46 -HOMEPAGE="https://ldb.samba.org"
47 -SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz"
48 -
49 -LICENSE="LGPL-3"
50 -SLOT="0/${PV}"
51 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
52 -IUSE="doc ldap +lmdb python test"
53 -
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
55 - test? ( python )"
56 -
57 -RESTRICT="!test? ( test )"
58 -
59 -RDEPEND="
60 - dev-libs/libbsd[${MULTILIB_USEDEP}]
61 - dev-libs/popt[${MULTILIB_USEDEP}]
62 - >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
63 - >=sys-libs/talloc-2.3.2[${MULTILIB_USEDEP}]
64 - >=sys-libs/tdb-1.4.3[${MULTILIB_USEDEP}]
65 - >=sys-libs/tevent-0.10.2[${MULTILIB_USEDEP}]
66 - ldap? ( net-nds/openldap:= )
67 - lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] )
68 - python? (
69 - ${PYTHON_DEPS}
70 - sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}]
71 - sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}]
72 - sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}]
73 - )
74 -"
75 -DEPEND="${RDEPEND}
76 - virtual/libcrypt
77 -"
78 -BDEPEND="${PYTHON_DEPS}
79 - dev-libs/libxslt
80 - virtual/pkgconfig
81 - doc? ( app-doc/doxygen )
82 -"
83 -
84 -WAF_BINARY="${S}/buildtools/bin/waf"
85 -
86 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
87 -
88 -PATCHES=(
89 - "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
90 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
91 -)
92 -
93 -pkg_setup() {
94 - # Package fails to build with distcc
95 - export DISTCC_DISABLE=1
96 -
97 - # waf requires a python interpreter
98 - python-single-r1_pkg_setup
99 -}
100 -
101 -src_prepare() {
102 - default
103 - multilib_copy_sources
104 -}
105 -
106 -multilib_src_configure() {
107 - local myconf=(
108 - $(usex ldap '' --disable-ldap)
109 - $(usex lmdb '' --without-ldb-lmdb)
110 - --disable-rpath
111 - --disable-rpath-install --bundled-libraries=NONE
112 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
113 - --builtin-libraries=NONE
114 - )
115 - if ! multilib_is_native_abi; then
116 - myconf+=( --disable-python )
117 - else
118 - use python || myconf+=( --disable-python )
119 - fi
120 - waf-utils_src_configure "${myconf[@]}"
121 -}
122 -
123 -multilib_src_compile() {
124 - waf-utils_src_compile
125 - multilib_is_native_abi && use doc && doxygen Doxyfile
126 -}
127 -
128 -multilib_src_test() {
129 - if multilib_is_native_abi; then
130 - WAF_MAKE=1 \
131 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
132 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
133 - waf test || die
134 - fi
135 -}
136 -
137 -multilib_src_install() {
138 - waf-utils_src_install
139 -
140 - if multilib_is_native_abi && use doc; then
141 - doman apidocs/man/man3/*.3
142 - docinto html
143 - dodoc -r apidocs/html/.
144 - fi
145 -
146 - use python && python_optimize #726454
147 -}
148 -
149 -pkg_postinst() {
150 - if has_version sys-auth/sssd; then
151 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
152 - ewarn "so please try to rebuild it before reporting bugs."
153 - ewarn "See https://bugs.gentoo.org/404281"
154 - fi
155 -}
156
157 diff --git a/sys-libs/ldb/ldb-2.4.0-r2.ebuild b/sys-libs/ldb/ldb-2.4.0-r2.ebuild
158 deleted file mode 100644
159 index ebd2a0d0b0ea..000000000000
160 --- a/sys-libs/ldb/ldb-2.4.0-r2.ebuild
161 +++ /dev/null
162 @@ -1,120 +0,0 @@
163 -# Copyright 1999-2022 Gentoo Authors
164 -# Distributed under the terms of the GNU General Public License v2
165 -
166 -EAPI=7
167 -
168 -PYTHON_COMPAT=( python3_{7..9} )
169 -PYTHON_REQ_USE="threads(+)"
170 -inherit python-single-r1 waf-utils multilib-minimal
171 -
172 -DESCRIPTION="LDAP-like embedded database"
173 -HOMEPAGE="https://ldb.samba.org"
174 -SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz"
175 -
176 -LICENSE="LGPL-3"
177 -SLOT="0/${PV}"
178 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
179 -IUSE="doc ldap +lmdb python test"
180 -
181 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
182 - test? ( python )"
183 -
184 -RESTRICT="!test? ( test )"
185 -
186 -RDEPEND="
187 - dev-libs/libbsd[${MULTILIB_USEDEP}]
188 - dev-libs/popt[${MULTILIB_USEDEP}]
189 - >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
190 - >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}]
191 - >=sys-libs/tdb-1.4.4[${MULTILIB_USEDEP}]
192 - >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}]
193 - ldap? ( net-nds/openldap:= )
194 - lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] )
195 - python? (
196 - ${PYTHON_DEPS}
197 - sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}]
198 - sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}]
199 - sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}]
200 - )
201 -"
202 -DEPEND="${RDEPEND}
203 - virtual/libcrypt
204 -"
205 -BDEPEND="${PYTHON_DEPS}
206 - dev-libs/libxslt
207 - virtual/pkgconfig
208 - doc? ( app-doc/doxygen )
209 -"
210 -
211 -WAF_BINARY="${S}/buildtools/bin/waf"
212 -
213 -MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
214 -
215 -PATCHES=(
216 - "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
217 - "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
218 -)
219 -
220 -pkg_setup() {
221 - # Package fails to build with distcc
222 - export DISTCC_DISABLE=1
223 -
224 - # waf requires a python interpreter
225 - python-single-r1_pkg_setup
226 -}
227 -
228 -src_prepare() {
229 - default
230 - multilib_copy_sources
231 -}
232 -
233 -multilib_src_configure() {
234 - local myconf=(
235 - $(usex ldap '' --disable-ldap)
236 - $(usex lmdb '' --without-ldb-lmdb)
237 - --disable-rpath
238 - --disable-rpath-install --bundled-libraries=NONE
239 - --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
240 - --builtin-libraries=NONE
241 - )
242 - if ! multilib_is_native_abi; then
243 - myconf+=( --disable-python )
244 - else
245 - use python || myconf+=( --disable-python )
246 - fi
247 - waf-utils_src_configure "${myconf[@]}"
248 -}
249 -
250 -multilib_src_compile() {
251 - waf-utils_src_compile
252 - multilib_is_native_abi && use doc && doxygen Doxyfile
253 -}
254 -
255 -multilib_src_test() {
256 - if multilib_is_native_abi; then
257 - WAF_MAKE=1 \
258 - PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
259 - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
260 - waf test || die
261 - fi
262 -}
263 -
264 -multilib_src_install() {
265 - waf-utils_src_install
266 -
267 - if multilib_is_native_abi && use doc; then
268 - doman apidocs/man/man3/*.3
269 - docinto html
270 - dodoc -r apidocs/html/.
271 - fi
272 -
273 - use python && python_optimize #726454
274 -}
275 -
276 -pkg_postinst() {
277 - if has_version sys-auth/sssd; then
278 - ewarn "You have sssd installed. It is known to break after ldb upgrades,"
279 - ewarn "so please try to rebuild it before reporting bugs."
280 - ewarn "See https://bugs.gentoo.org/404281"
281 - fi
282 -}