1 |
commit: b82c53aba0db60067131fdde756ba62b3b4d7099 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 28 09:27:59 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 28 09:29:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82c53ab |
7 |
|
8 |
sys-libs/ldb: Bump to version 1.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-libs/ldb/Manifest | 1 + |
13 |
sys-libs/ldb/ldb-1.3.2.ebuild | 103 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 104 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
17 |
index 85f4759753e..8b35c833b4b 100644 |
18 |
--- a/sys-libs/ldb/Manifest |
19 |
+++ b/sys-libs/ldb/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b27 |
21 |
DIST ldb-1.2.2.tar.gz 1348041 BLAKE2B 14521bbe1826af003a98d11d6fcaff115e27f81b98aba0369ddd1224e1d1c996a4d4662e816ac4384ddc8b63cd63ce0a0aef95e0f3fe6187e557e2488dbe39e3 SHA512 7d9bd88c6a654967f092758146a8115ab6c66db69a8be269a1f536f0aa3b27fb0d2ea3848cd952ef0f1885c9c4d8b76940f9902b835fe3f79f86b22a4350129b |
22 |
DIST ldb-1.3.0.tar.gz 1359144 BLAKE2B 2c959fcf941a43a35b241c49ddcd9fbb853cb64b316741345df168a0118da89d2eb15015c2b85cf4b56814effbe65db55876153e4fb04807c67f78b1a4083710 SHA512 c5afe3c5229cbc35a5715e6ed1faa070dfa3d6b3c0902cc53770373bbc1761ff4ff93aa9b88d5573b9af9925332bb5cebf4a7a129852231f13be33d5cee3a9f8 |
23 |
DIST ldb-1.3.1.tar.gz 1361723 BLAKE2B 9c33c14fb0aa3677a2f78c3701b5326aee24058a126d65a3549ba7795df3d86b10200913a7224d74798196bfaa86a9e033a2d39ef5cc5244f96fd1f5bc32d452 SHA512 74b7fe82b4b717bcbd75eca6eb11c0ce375ad306788ec0699615dfcd3c0f5978c9ca9b268e59eae8b4557b9bc7b91728b9fdb754fa566b11879b546fdb0ea277 |
24 |
+DIST ldb-1.3.2.tar.gz 1364976 BLAKE2B 9bffe690a3bb7f2d5d6cb6340e212140409cd86c2148a78200b1bfe39e08ea410a8966655bff9baf280ee8f94fafc8502968312084a9629acab4c9c1f653d37f SHA512 31b29a2a991038910830cb47b02b7f08e1958638d073d5f1602a2657c4005c7e5f5f2c2f7972eeddef462d8c70aaad7f02ddf901cb50f1b1bbafa0c22498973d |
25 |
|
26 |
diff --git a/sys-libs/ldb/ldb-1.3.2.ebuild b/sys-libs/ldb/ldb-1.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6b96bb25815 |
29 |
--- /dev/null |
30 |
+++ b/sys-libs/ldb/ldb-1.3.2.ebuild |
31 |
@@ -0,0 +1,103 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+PYTHON_REQ_USE="threads" |
38 |
+ |
39 |
+inherit python-single-r1 waf-utils multilib-minimal eutils |
40 |
+ |
41 |
+DESCRIPTION="An LDAP-like embedded database" |
42 |
+HOMEPAGE="http://ldb.samba.org" |
43 |
+SRC_URI="http://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-3" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
48 |
+IUSE="doc +ldap +python" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
52 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
53 |
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
54 |
+ >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}] |
55 |
+ >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}] |
56 |
+ >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
57 |
+ ldap? ( net-nds/openldap ) |
58 |
+ python? ( ${PYTHON_DEPS} ) |
59 |
+" |
60 |
+ |
61 |
+DEPEND="dev-libs/libxslt |
62 |
+ doc? ( app-doc/doxygen ) |
63 |
+ virtual/pkgconfig |
64 |
+ ${PYTHON_DEPS} |
65 |
+ ${RDEPEND} |
66 |
+" |
67 |
+ |
68 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
69 |
+ |
70 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
71 |
+ |
72 |
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
76 |
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
77 |
+) |
78 |
+ |
79 |
+pkg_setup() { |
80 |
+ python-single-r1_pkg_setup |
81 |
+} |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ default |
85 |
+ multilib_copy_sources |
86 |
+} |
87 |
+ |
88 |
+multilib_src_configure() { |
89 |
+ local myconf=( |
90 |
+ $(usex ldap '' --disable-ldap) |
91 |
+ --disable-rpath |
92 |
+ --disable-rpath-install --bundled-libraries=NONE |
93 |
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
94 |
+ --builtin-libraries=NONE |
95 |
+ ) |
96 |
+ if ! multilib_is_native_abi; then |
97 |
+ myconf+=( --disable-python ) |
98 |
+ else |
99 |
+ use python || myconf+=( --disable-python ) |
100 |
+ fi |
101 |
+ waf-utils_src_configure "${myconf[@]}" |
102 |
+} |
103 |
+ |
104 |
+multilib_src_compile(){ |
105 |
+ waf-utils_src_compile |
106 |
+ multilib_is_native_abi && use doc && doxygen Doxyfile |
107 |
+} |
108 |
+ |
109 |
+multilib_src_test() { |
110 |
+ if multilib_is_native_abi; then |
111 |
+ WAF_MAKE=1 \ |
112 |
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
113 |
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
114 |
+ waf test || die |
115 |
+ fi |
116 |
+} |
117 |
+ |
118 |
+multilib_src_install() { |
119 |
+ waf-utils_src_install |
120 |
+ |
121 |
+ if multilib_is_native_abi && use doc; then |
122 |
+ doman apidocs/man/man3/*.3 |
123 |
+ docinto html |
124 |
+ dodoc -r apidocs/html/* |
125 |
+ fi |
126 |
+} |
127 |
+ |
128 |
+pkg_postinst() { |
129 |
+ if has_version sys-auth/sssd; then |
130 |
+ ewarn "You have sssd installed. It is known to break after ldb upgrades," |
131 |
+ ewarn "so please try to rebuild it before reporting bugs." |
132 |
+ ewarn "See https://bugs.gentoo.org/404281" |
133 |
+ fi |
134 |
+} |