1 |
commit: bfcd982aa1bb1b5bcbd1f30d000f12fb3846370d |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 08:51:48 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 09:38:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcd982a |
7 |
|
8 |
sys-libs/ldb: Bump to versions 2.0.10 and 2.1.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/ldb/Manifest | 2 + |
14 |
sys-libs/ldb/ldb-2.0.10.ebuild | 108 +++++++++++++++++++++++++++++++++++++++++ |
15 |
sys-libs/ldb/ldb-2.1.2.ebuild | 108 +++++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 218 insertions(+) |
17 |
|
18 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
19 |
index 7b5c810d5cd..500c5daa7ed 100644 |
20 |
--- a/sys-libs/ldb/Manifest |
21 |
+++ b/sys-libs/ldb/Manifest |
22 |
@@ -1,3 +1,5 @@ |
23 |
+DIST ldb-2.0.10.tar.gz 1676630 BLAKE2B 9ae9e6579fd7b15b91a4c0f52ad5ea3a9ba3135efe408b76db53db211a48d3952a790f2f856e5f9573174b2203840b7d6a6ad10976a4b6bf3e0d294731b89b31 SHA512 51954969e3121295ea99856c254f455cb746102e9d7895fbd7c66997f33763ae4522ed456e4bae7921b2edd73575a0a10738d21a90a067a57ff770cf0fe35aef |
24 |
DIST ldb-2.0.8.tar.gz 1676902 BLAKE2B b86b24a597bd81ae11382311f3b60aeb8aca78ddbe63413b9a8cdbbfa4f52b05a0d2e325d483e260b15aa396c2ad9f2828ac4b6214af86d891281d05b24125b5 SHA512 23a44968c9b4b57deb3f7b7b2466f140b4d8534a07a5e866545dd108c3d305ee4b0ea9bceec3177fcd09a4efcb4876a8283ca58b5c496fcf323b810666e1e79a |
25 |
DIST ldb-2.0.9.tar.gz 1676176 BLAKE2B 0d18a570ca61fcdf159b6398ecef74bc983c24ffd4d8f85bc9cfcbb182f787d0deb50c5f446684b851993146e03bdaf10d80c083a9534446b829714fff025b8f SHA512 f4d2480491f16aac7837fa2ff071e81e429bd9b3a365264723245791aad1831a236ffeff0f01f85becb998b224c321b166f3edd3f9a828714b7c3b24aed11a5e |
26 |
DIST ldb-2.1.1.tar.gz 1671390 BLAKE2B a715cb17a2d113560d37e3e5d29adfe7db43f89388bb5a474388e3f7a6ae277ddb0ee4d09d45eed18a87085c70d98308d195b3867cc57259767cb61a50c8cc6e SHA512 dd87da0746790895c617108c64b718ab6e6e630f1e3269154b40fc0e5623199a4b132d41623ae00d5c263ce79c4d6da34f072a140bee91a59dd6934969315fc8 |
27 |
+DIST ldb-2.1.2.tar.gz 1670997 BLAKE2B 0622d39029819b89119bce6a570c56b247871a92685d4ca33153a141d4cbbcb52a041a33c6ddbf6b01d5195feeb49fcf24f15a571cad99d031f347374860b3fe SHA512 6b9a7e6e3f6532ccedb087394b1d2d28f53a034353288bac1ea8d9ca65da5981191e31de6493445daa87684e08cc587886dd7fce19391bd20f1c7d440dbf3fbf |
28 |
|
29 |
diff --git a/sys-libs/ldb/ldb-2.0.10.ebuild b/sys-libs/ldb/ldb-2.0.10.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..484c8a1afd8 |
32 |
--- /dev/null |
33 |
+++ b/sys-libs/ldb/ldb-2.0.10.ebuild |
34 |
@@ -0,0 +1,108 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
40 |
+PYTHON_REQ_USE="threads(+)" |
41 |
+ |
42 |
+inherit python-single-r1 waf-utils multilib-minimal eutils |
43 |
+ |
44 |
+DESCRIPTION="An LDAP-like embedded database" |
45 |
+HOMEPAGE="https://ldb.samba.org" |
46 |
+SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="LGPL-3" |
49 |
+SLOT="0/${PV}" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
51 |
+IUSE="doc +ldap +lmdb python test" |
52 |
+ |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
57 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
58 |
+ >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
59 |
+ >=sys-libs/talloc-2.2.0[python?,${MULTILIB_USEDEP}] |
60 |
+ >=sys-libs/tdb-1.4.2[python?,${MULTILIB_USEDEP}] |
61 |
+ >=sys-libs/tevent-0.10.0[python(+)?,${MULTILIB_USEDEP}] |
62 |
+ ldap? ( net-nds/openldap ) |
63 |
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
64 |
+ python? ( ${PYTHON_DEPS} ) |
65 |
+" |
66 |
+ |
67 |
+DEPEND="dev-libs/libxslt |
68 |
+ doc? ( app-doc/doxygen ) |
69 |
+ virtual/pkgconfig |
70 |
+ ${PYTHON_DEPS} |
71 |
+ ${RDEPEND} |
72 |
+" |
73 |
+ |
74 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
75 |
+ test? ( python )" |
76 |
+ |
77 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
78 |
+ |
79 |
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
83 |
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
84 |
+) |
85 |
+ |
86 |
+pkg_setup() { |
87 |
+ python-single-r1_pkg_setup |
88 |
+} |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ default |
92 |
+ multilib_copy_sources |
93 |
+} |
94 |
+ |
95 |
+multilib_src_configure() { |
96 |
+ local myconf=( |
97 |
+ $(usex ldap '' --disable-ldap) |
98 |
+ $(usex lmdb '' --without-ldb-lmdb) |
99 |
+ --disable-rpath |
100 |
+ --disable-rpath-install --bundled-libraries=NONE |
101 |
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
102 |
+ --builtin-libraries=NONE |
103 |
+ ) |
104 |
+ if ! multilib_is_native_abi; then |
105 |
+ myconf+=( --disable-python ) |
106 |
+ else |
107 |
+ use python || myconf+=( --disable-python ) |
108 |
+ fi |
109 |
+ waf-utils_src_configure "${myconf[@]}" |
110 |
+} |
111 |
+ |
112 |
+multilib_src_compile() { |
113 |
+ waf-utils_src_compile |
114 |
+ multilib_is_native_abi && use doc && doxygen Doxyfile |
115 |
+} |
116 |
+ |
117 |
+multilib_src_test() { |
118 |
+ if multilib_is_native_abi; then |
119 |
+ WAF_MAKE=1 \ |
120 |
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
121 |
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
122 |
+ waf test || die |
123 |
+ fi |
124 |
+} |
125 |
+ |
126 |
+multilib_src_install() { |
127 |
+ waf-utils_src_install |
128 |
+ |
129 |
+ if multilib_is_native_abi && use doc; then |
130 |
+ doman apidocs/man/man3/*.3 |
131 |
+ docinto html |
132 |
+ dodoc -r apidocs/html/* |
133 |
+ fi |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ if has_version sys-auth/sssd; then |
138 |
+ ewarn "You have sssd installed. It is known to break after ldb upgrades," |
139 |
+ ewarn "so please try to rebuild it before reporting bugs." |
140 |
+ ewarn "See https://bugs.gentoo.org/404281" |
141 |
+ fi |
142 |
+} |
143 |
|
144 |
diff --git a/sys-libs/ldb/ldb-2.1.2.ebuild b/sys-libs/ldb/ldb-2.1.2.ebuild |
145 |
new file mode 100644 |
146 |
index 00000000000..e1deb520305 |
147 |
--- /dev/null |
148 |
+++ b/sys-libs/ldb/ldb-2.1.2.ebuild |
149 |
@@ -0,0 +1,108 @@ |
150 |
+# Copyright 1999-2020 Gentoo Authors |
151 |
+# Distributed under the terms of the GNU General Public License v2 |
152 |
+ |
153 |
+EAPI=6 |
154 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
155 |
+PYTHON_REQ_USE="threads(+)" |
156 |
+ |
157 |
+inherit python-single-r1 waf-utils multilib-minimal eutils |
158 |
+ |
159 |
+DESCRIPTION="An LDAP-like embedded database" |
160 |
+HOMEPAGE="https://ldb.samba.org" |
161 |
+SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
162 |
+ |
163 |
+LICENSE="LGPL-3" |
164 |
+SLOT="0/${PV}" |
165 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
166 |
+IUSE="doc +ldap +lmdb python test" |
167 |
+ |
168 |
+RESTRICT="!test? ( test )" |
169 |
+ |
170 |
+RDEPEND=" |
171 |
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
172 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
173 |
+ >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
174 |
+ >=sys-libs/talloc-2.3.1[python?,${MULTILIB_USEDEP}] |
175 |
+ >=sys-libs/tdb-1.4.3[python?,${MULTILIB_USEDEP}] |
176 |
+ >=sys-libs/tevent-0.10.2[python(+)?,${MULTILIB_USEDEP}] |
177 |
+ ldap? ( net-nds/openldap ) |
178 |
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
179 |
+ python? ( ${PYTHON_DEPS} ) |
180 |
+" |
181 |
+ |
182 |
+DEPEND="dev-libs/libxslt |
183 |
+ doc? ( app-doc/doxygen ) |
184 |
+ virtual/pkgconfig |
185 |
+ ${PYTHON_DEPS} |
186 |
+ ${RDEPEND} |
187 |
+" |
188 |
+ |
189 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
190 |
+ test? ( python )" |
191 |
+ |
192 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
193 |
+ |
194 |
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
195 |
+ |
196 |
+PATCHES=( |
197 |
+ "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch |
198 |
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
199 |
+) |
200 |
+ |
201 |
+pkg_setup() { |
202 |
+ python-single-r1_pkg_setup |
203 |
+} |
204 |
+ |
205 |
+src_prepare() { |
206 |
+ default |
207 |
+ multilib_copy_sources |
208 |
+} |
209 |
+ |
210 |
+multilib_src_configure() { |
211 |
+ local myconf=( |
212 |
+ $(usex ldap '' --disable-ldap) |
213 |
+ $(usex lmdb '' --without-ldb-lmdb) |
214 |
+ --disable-rpath |
215 |
+ --disable-rpath-install --bundled-libraries=NONE |
216 |
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
217 |
+ --builtin-libraries=NONE |
218 |
+ ) |
219 |
+ if ! multilib_is_native_abi; then |
220 |
+ myconf+=( --disable-python ) |
221 |
+ else |
222 |
+ use python || myconf+=( --disable-python ) |
223 |
+ fi |
224 |
+ waf-utils_src_configure "${myconf[@]}" |
225 |
+} |
226 |
+ |
227 |
+multilib_src_compile() { |
228 |
+ waf-utils_src_compile |
229 |
+ multilib_is_native_abi && use doc && doxygen Doxyfile |
230 |
+} |
231 |
+ |
232 |
+multilib_src_test() { |
233 |
+ if multilib_is_native_abi; then |
234 |
+ WAF_MAKE=1 \ |
235 |
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
236 |
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
237 |
+ waf test || die |
238 |
+ fi |
239 |
+} |
240 |
+ |
241 |
+multilib_src_install() { |
242 |
+ waf-utils_src_install |
243 |
+ |
244 |
+ if multilib_is_native_abi && use doc; then |
245 |
+ doman apidocs/man/man3/*.3 |
246 |
+ docinto html |
247 |
+ dodoc -r apidocs/html/* |
248 |
+ fi |
249 |
+} |
250 |
+ |
251 |
+pkg_postinst() { |
252 |
+ if has_version sys-auth/sssd; then |
253 |
+ ewarn "You have sssd installed. It is known to break after ldb upgrades," |
254 |
+ ewarn "so please try to rebuild it before reporting bugs." |
255 |
+ ewarn "See https://bugs.gentoo.org/404281" |
256 |
+ fi |
257 |
+} |