Gentoo Archives: gentoo-commits

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