summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-12-16 14:57:40 +0100
committerLars Wendler <polynomial-c@gentoo.org>2015-12-16 15:21:42 +0100
commita5b99e302c3a5f91f0bfd84008e1cc425683fe54 (patch)
tree95476099b9d60d1c6a62acbd632b6c20d4772ebf /sys-libs
parentsci-physics/lammps: Version bump (diff)
downloadgentoo-a5b99e302c3a5f91f0bfd84008e1cc425683fe54.tar.gz
gentoo-a5b99e302c3a5f91f0bfd84008e1cc425683fe54.tar.bz2
gentoo-a5b99e302c3a5f91f0bfd84008e1cc425683fe54.zip
sys-libs/ldb: Security bump to version 1.1.24 (bug #568432).
Package-Manager: portage-2.2.26 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ldb/Manifest1
-rw-r--r--sys-libs/ldb/ldb-1.1.24.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
index 13d1ecf095b6..195fb0093fc1 100644
--- a/sys-libs/ldb/Manifest
+++ b/sys-libs/ldb/Manifest
@@ -3,3 +3,4 @@ DIST ldb-1.1.15.tar.gz 1121684 SHA256 6bd8317e82747461394ab8ad1ee5873589d9a46d12
DIST ldb-1.1.17.tar.gz 1177926 SHA256 b9a312aad19e9463716d257d8f2529fd7fc1a5ef24f6dcdc0c4a1930d7bdb6e6 SHA512 bbdb79bc584bb26e053d21c47457b0c10c62080034e44d41ae9c0a6225f6d30f6976b30617f57fc4cb0776af770a4e9c569726d2385a8ec4545b1f732d366f17 WHIRLPOOL 56cbe6763010eba49c94146b1cb7748d643d2233eb5d26a1bf0a8aa02fcf2afa11b9d22a13608b753385a9817ee37804281651e47668bdc61eefd5ffa200a8c0
DIST ldb-1.1.21.tar.gz 1244825 SHA256 267bbb7f278068eaf0de27adffda2e691a070a93c5c15ee27c828e87b4c7dbf1 SHA512 2ce35bfb2c8db22c87e7adea454ae05cb1234260d9beaaea564e76c5d83d8022610f18db70ad27e0d39d951b62cd17695e2f9f576213f9ac54f7e418416a5837 WHIRLPOOL 623bbe38252d5318bdd4a152189ed2258692867392771a2c5f8eccc5160bc4d83fdae8303ab11d249753132807071b460f87108a83141b63fe9e0dce3aca07a2
DIST ldb-1.1.23.tar.gz 1258249 SHA256 8f8b2f7f04b24c847d088a091e6a2261ac6c7810fc711f553d3b61a3dee39559 SHA512 a23d3727b119725124ad9b03d6ee1a4c571d5d87aa71c38b4db74ccaa8f93a4fe64921ea9bc6e6562699a3b2b81bd31342aa31e386c0108036b4710c8f1ff592 WHIRLPOOL 387ec89da8c962e20a50695139a404f337bf04eb714dc516ab2e23b19b08e3b935854466f661c21300020d095a468d24af5052dba949e261a3f9e027936670e8
+DIST ldb-1.1.24.tar.gz 1258405 SHA256 45e9f52473f0d013f0ea090cce35d6836a6e67e8d4dcdd7077dabdf8b1314b21 SHA512 7b574d1a832fb19a4e8506a1bd702fddf3610b94e170999c9d7b5f3047a4667fb701fa0d367fd19febc2b3e70d1325a1944081ce1067d88271e70f8370aeb278 WHIRLPOOL c8a4e140533bbe1388988b413bdb0a3b6806aa28b551ab195ec509acc66581a75bd6f4729dc7c009f5fae80c45a2a36f817c9a1bd6476bf8125ab8b2216b9f79
diff --git a/sys-libs/ldb/ldb-1.1.24.ebuild b/sys-libs/ldb/ldb-1.1.24.ebuild
new file mode 100644
index 000000000000..650024c84f93
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.1.24.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit python-single-r1 waf-utils multilib
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="http://ldb.samba.org"
+SRC_URI="http://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="doc"
+
+RDEPEND="dev-libs/popt
+ >=sys-libs/talloc-2.1.5[python]
+ >=sys-libs/tevent-0.9.26[python(+)]
+ >=sys-libs/tdb-1.3.8[python]
+ net-nds/openldap
+ !!<net-fs/samba-3.6.0[ldb]
+ !!>=net-fs/samba-4.0.0[ldb]
+ ${PYTHON_DEPS}
+ "
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_configure() {
+ waf-utils_src_configure \
+ --disable-rpath \
+ --disable-rpath-install --bundled-libraries=NONE \
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \
+ --builtin-libraries=NONE
+}
+
+src_compile(){
+ waf-utils_src_compile
+ use doc && doxygen Doxyfile
+}
+
+src_test() {
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${S}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${S}"/bin/shared/private/:"${S}"/bin/shared waf test || die
+}
+
+src_install() {
+ waf-utils_src_install
+
+ if use doc; then
+ dohtml -r apidocs/html/*
+ doman apidocs/man/man3/*.3
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}