1 |
commit: 6616a1b997497fbe33e308333fc922b57f26241f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 28 10:14:45 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 28 10:14:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6616a1b9 |
7 |
|
8 |
sys-libs/ldb: Bump to version 1.4.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/ldb/Manifest | 1 + |
14 |
sys-libs/ldb/ldb-1.4.4.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 106 insertions(+) |
16 |
|
17 |
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest |
18 |
index ee746ab6d8a..9521a2af80f 100644 |
19 |
--- a/sys-libs/ldb/Manifest |
20 |
+++ b/sys-libs/ldb/Manifest |
21 |
@@ -5,5 +5,6 @@ DIST ldb-1.2.3.tar.gz 1344513 BLAKE2B 941174d6e2c51319c8690a8d8a87bea443d4fa4d73 |
22 |
DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d |
23 |
DIST ldb-1.4.2.tar.gz 1427857 BLAKE2B 5a90b31b4760f0504197d3cefdb16f7d4099df660fe75c5d80907e39abde8abc6b87cdb117ee9213abf8287932c18782ab153d87bb609cb1f346231e6e00997c SHA512 f2b44cebd0f8c77926aa364d9ac4ea37da4a780b94e7f9fba7a55fef825e90e469a3230e56cd2b23ce4f6b528dda9041863e4af77bb0826a117e8317a0b79070 |
24 |
DIST ldb-1.4.3.tar.gz 1428730 BLAKE2B 1e0fec1aeb05ecd34b7dc88d85425b646ab28804245543256c575a44c1a321e873d74f623b1a003aec878a808d6bc967ff57e8115650f6089278d55d586c7e6a SHA512 081dbc23e810213fb60fdb07c7f3bf1ec8849d10483c5cdabb8add2568d4f80d03bd74d7be3fcf9bb853eaf25aa6bbb2d69cda3f55dda0270978b051da315cb2 |
25 |
+DIST ldb-1.4.4.tar.gz 1428851 BLAKE2B 8b2dc6dc95f5c8d1a04aab58efb622b4550e6d8fc6f12aafe36b7080a5d59ab2d7fc6429ac59de43a23cef690fa9f026ccf536f70bfd25a126a1a649f3c68d02 SHA512 eb5c364771732916f89c9ee8cf20909954a7215cd71333b79c17718dd1e25081cce6597e882b6f0d6158c207fb58d97311f0417bf3baffe72084977a4bd05896 |
26 |
DIST ldb-1.5.1.tar.gz 1432221 BLAKE2B 1837a74b33b5f527bdea0925de2908fc58bb6ca713bea89cefec9dc9809bf40d107352926ed34dabb333f37533e599b142a36989ffad862b0a89e786ab54c434 SHA512 b7815da51944d4e61617fafac0417e57baa59c9dd3dfa926d5ef9072a95351562930150c691a23b81526697bfba3ffe10a75ead406bf5ffdbfc511d1861f984b |
27 |
DIST ldb-1.5.2.tar.gz 1625665 BLAKE2B 612abb1e31f9fa5321824e40f627d8a498f871386cf51d83c03cae429c2895fc1747d551166ec64ae07751a3b9ddd1826b5cfe1ef7ee4b5460682e8ebb466a34 SHA512 5dda5935437a82356cb84593f5be0d22289a87da7460b24dbc0673e01614f0cc40859328c3a5da858f3f2dd173f2b214743ec709555bbfef09342045b37f3a6c |
28 |
|
29 |
diff --git a/sys-libs/ldb/ldb-1.4.4.ebuild b/sys-libs/ldb/ldb-1.4.4.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..eb8e4d2e6ef |
32 |
--- /dev/null |
33 |
+++ b/sys-libs/ldb/ldb-1.4.4.ebuild |
34 |
@@ -0,0 +1,105 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+PYTHON_COMPAT=( python2_7 ) |
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 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
51 |
+IUSE="doc +ldap +lmdb +python" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) |
55 |
+ dev-libs/popt[${MULTILIB_USEDEP}] |
56 |
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
57 |
+ >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}] |
58 |
+ >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}] |
59 |
+ >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}] |
60 |
+ ldap? ( net-nds/openldap ) |
61 |
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) |
62 |
+ python? ( ${PYTHON_DEPS} ) |
63 |
+" |
64 |
+ |
65 |
+DEPEND="dev-libs/libxslt |
66 |
+ doc? ( app-doc/doxygen ) |
67 |
+ virtual/pkgconfig |
68 |
+ ${PYTHON_DEPS} |
69 |
+ ${RDEPEND} |
70 |
+" |
71 |
+ |
72 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
73 |
+ |
74 |
+WAF_BINARY="${S}/buildtools/bin/waf" |
75 |
+ |
76 |
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h ) |
77 |
+ |
78 |
+PATCHES=( |
79 |
+ "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch |
80 |
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch |
81 |
+) |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ python-single-r1_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ default |
89 |
+ multilib_copy_sources |
90 |
+} |
91 |
+ |
92 |
+multilib_src_configure() { |
93 |
+ local myconf=( |
94 |
+ $(usex ldap '' --disable-ldap) |
95 |
+ $(usex lmdb '' --without-ldb-lmdb) |
96 |
+ --disable-rpath |
97 |
+ --disable-rpath-install --bundled-libraries=NONE |
98 |
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba |
99 |
+ --builtin-libraries=NONE |
100 |
+ ) |
101 |
+ if ! multilib_is_native_abi; then |
102 |
+ myconf+=( --disable-python ) |
103 |
+ else |
104 |
+ use python || myconf+=( --disable-python ) |
105 |
+ fi |
106 |
+ waf-utils_src_configure "${myconf[@]}" |
107 |
+} |
108 |
+ |
109 |
+multilib_src_compile(){ |
110 |
+ waf-utils_src_compile |
111 |
+ multilib_is_native_abi && use doc && doxygen Doxyfile |
112 |
+} |
113 |
+ |
114 |
+multilib_src_test() { |
115 |
+ if multilib_is_native_abi; then |
116 |
+ WAF_MAKE=1 \ |
117 |
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \ |
118 |
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \ |
119 |
+ waf test || die |
120 |
+ fi |
121 |
+} |
122 |
+ |
123 |
+multilib_src_install() { |
124 |
+ waf-utils_src_install |
125 |
+ |
126 |
+ if multilib_is_native_abi && use doc; then |
127 |
+ doman apidocs/man/man3/*.3 |
128 |
+ docinto html |
129 |
+ dodoc -r apidocs/html/* |
130 |
+ fi |
131 |
+} |
132 |
+ |
133 |
+pkg_postinst() { |
134 |
+ if has_version sys-auth/sssd; then |
135 |
+ ewarn "You have sssd installed. It is known to break after ldb upgrades," |
136 |
+ ewarn "so please try to rebuild it before reporting bugs." |
137 |
+ ewarn "See https://bugs.gentoo.org/404281" |
138 |
+ fi |
139 |
+} |