1 |
commit: 211f2925e4087e8670fba7e28476c5c772a8177c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 17 14:25:21 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 17 14:25:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=211f2925 |
7 |
|
8 |
sys-libs/ldb: Bump to version 1.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
sys-libs/ldb/Manifest | 1 + |
13 |
sys-libs/ldb/ldb-1.3.0.ebuild | 102 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
17 |
index d659434f521..d258dcedc0a 100644 |
18 |
--- a/sys-libs/ldb/Manifest |
19 |
+++ b/sys-libs/ldb/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST ldb-1.1.26.tar.gz 1262660 SHA256 8843c7a72b980d9413ba6c494c039bccd10c524b37 |
21 |
DIST ldb-1.1.29.tar.gz 1277551 SHA256 59d84f9a5b799f519ba7b2685bb46f5a26f1bbf05b7a144b2f5e017d01d80f97 SHA512 d37bbe84358e05d17483e2e963b8477da5ea351b855b454142c94af35f7987bede0f19faeaff17779efe04e3bb37c510437fcc59be99a17c826620fc25fd659c WHIRLPOOL 57370e31249d7df8a23a7162eed9ed45d625f11edb1d57df8bd42c687bb80531e74ddf7399bd5411a1546460378903f27506a4cd56685e8fc533dfc2014086fd |
22 |
DIST ldb-1.1.31.tar.gz 1337586 SHA256 04d53e2ab5b35688f5ed7a4471f5b273da121016e1af0630b36a36506afaeb46 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824 WHIRLPOOL 8c368317ed7efe218e66b8dac9722552a6d9346daed87788d78a07263491977402a442f950b437022bc6473b3d4452e3f47c23209abef78c1a47372e2455af99 |
23 |
DIST ldb-1.2.2.tar.gz 1348041 SHA256 0cedeadb75de401c9735127f654dbc1a391c4327a2b83be54078be286fed1113 SHA512 7d9bd88c6a654967f092758146a8115ab6c66db69a8be269a1f536f0aa3b27fb0d2ea3848cd952ef0f1885c9c4d8b76940f9902b835fe3f79f86b22a4350129b WHIRLPOOL 35565cc8c6a5013fd5acb2538adc9c1e767444811858b32907e0546c709beed304abea51bd871fff695df0af5aa7cccb75dccc3f8cbc663ba49f4b8f69da83b7 |
24 |
+DIST ldb-1.3.0.tar.gz 1359144 SHA256 44b53e5a3bc45c8dc837a7e0e00a78e87911da5959ad1b026a62f5b9b4d5590d SHA512 c5afe3c5229cbc35a5715e6ed1faa070dfa3d6b3c0902cc53770373bbc1761ff4ff93aa9b88d5573b9af9925332bb5cebf4a7a129852231f13be33d5cee3a9f8 WHIRLPOOL c3447f200d5a8269511931961a64d3a42989e6c0e437cc60754fda192c59bd2f544d1bb95b513a4fdfe551c038520be778e231c8038d3ba9a512968a36c55fc4 |
25 |
|
26 |
diff --git a/sys-libs/ldb/ldb-1.3.0.ebuild b/sys-libs/ldb/ldb-1.3.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..af7b0ac5cd3 |
29 |
--- /dev/null |
30 |
+++ b/sys-libs/ldb/ldb-1.3.0.ebuild |
31 |
@@ -0,0 +1,102 @@ |
32 |
+# Copyright 1999-2017 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="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
51 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
52 |
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
53 |
+ >=sys-libs/talloc-2.1.10[python?,${MULTILIB_USEDEP}] |
54 |
+ >=sys-libs/tevent-0.9.33[python(+)?,${MULTILIB_USEDEP}] |
55 |
+ >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] |
56 |
+ python? ( ${PYTHON_DEPS} ) |
57 |
+ ldap? ( net-nds/openldap ) |
58 |
+" |
59 |
+ |
60 |
+DEPEND="dev-libs/libxslt |
61 |
+ doc? ( app-doc/doxygen ) |
62 |
+ virtual/pkgconfig |
63 |
+ ${PYTHON_DEPS} |
64 |
+ ${RDEPEND} |
65 |
+" |
66 |
+ |
67 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
68 |
+ |
69 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
70 |
+ |
71 |
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
72 |
+ |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch |
75 |
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
76 |
+) |
77 |
+ |
78 |
+pkg_setup() { |
79 |
+ python-single-r1_pkg_setup |
80 |
+} |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ multilib_copy_sources |
85 |
+} |
86 |
+ |
87 |
+multilib_src_configure() { |
88 |
+ local myconf=( |
89 |
+ $(usex ldap '' --disable-ldap) |
90 |
+ --disable-rpath |
91 |
+ --disable-rpath-install --bundled-libraries=NONE |
92 |
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
93 |
+ --builtin-libraries=NONE |
94 |
+ ) |
95 |
+ if ! multilib_is_native_abi; then |
96 |
+ myconf+=( --disable-python ) |
97 |
+ else |
98 |
+ use python || myconf+=( --disable-python ) |
99 |
+ fi |
100 |
+ waf-utils_src_configure "${myconf[@]}" |
101 |
+} |
102 |
+ |
103 |
+multilib_src_compile(){ |
104 |
+ waf-utils_src_compile |
105 |
+ multilib_is_native_abi && use doc && doxygen Doxyfile |
106 |
+} |
107 |
+ |
108 |
+multilib_src_test() { |
109 |
+ if multilib_is_native_abi; then |
110 |
+ WAF_MAKE=1 \ |
111 |
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
112 |
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
113 |
+ waf test || die |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
+multilib_src_install() { |
118 |
+ waf-utils_src_install |
119 |
+ |
120 |
+ if multilib_is_native_abi && use doc; then |
121 |
+ doman apidocs/man/man3/*.3 |
122 |
+ docinto html |
123 |
+ dodoc -r apidocs/html/* |
124 |
+ fi |
125 |
+} |
126 |
+ |
127 |
+pkg_postinst() { |
128 |
+ if has_version sys-auth/sssd; then |
129 |
+ ewarn "You have sssd installed. It is known to break after ldb upgrades," |
130 |
+ ewarn "so please try to rebuild it before reporting bugs." |
131 |
+ ewarn "See https://bugs.gentoo.org/404281" |
132 |
+ fi |
133 |
+} |