diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /dev-db/lmdb | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'dev-db/lmdb')
-rw-r--r-- | dev-db/lmdb/Manifest | 6 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.23.ebuild | 2 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.24.ebuild | 2 | ||||
-rw-r--r-- | dev-db/lmdb/lmdb-0.9.27.ebuild | 75 |
4 files changed, 81 insertions, 4 deletions
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest index 5705d044bdfa..2b21306d7c4e 100644 --- a/dev-db/lmdb/Manifest +++ b/dev-db/lmdb/Manifest @@ -1,6 +1,8 @@ AUX lmdb.pc 295 BLAKE2B 29c1cc5a70eb3d7f5c9dc4b1646644045514929428f164894ece93a4fabf33ca464e1f116c8a803b499aabf28b6dec372b50c46a2fa4fc1eb65105208759f4ba SHA512 d0749849a0ca0593fbff0b4f8db7143177c588e342978bdb8331238761379f5d5bf686190e39506ff6b0abf6f9d668c96480da685c56d7ed44e7756f92f4e057 DIST LMDB_0.9.23.tar.gz 143813 BLAKE2B 252acad974a7ed528fe0e52b8332845bc0b6076599bbc79ef2c3f41459acb6ccbe5f6030c6a258fe30633c4c0568fa05fa6d46dc05bab3f93ee3aab16e6faa89 SHA512 47466a96ce288d18d489acf1abf811aa973649848a4cac31f71e1f25ea781a055ebd6616d2d630214b2df2f146f12609c82d65be0196f49d6b46a6c96464e120 DIST LMDB_0.9.24.tar.gz 143916 BLAKE2B f075ec5f4dfb77685188229e20f12c4febe8295c7d35ed15c3db492b68af68cc7f76741078e9bb524d2c38587839f542e964af1e5d6d984bb28bd602caabbb8d SHA512 c3a96c27f13c072ef5861bcea045d82f0a220dbd938579411ea6c38ac0696b3620c71f1e2cc56d31db5105f3533da95aba1ac34653d8bdcfa4f2f1fb831cccb1 -EBUILD lmdb-0.9.23.ebuild 2263 BLAKE2B f1f7d49007f6166011ffe6b488dba57526454f3dcd634259c1d6f8b5009b602e2c2a2e15ea52eaf9564a4a83932a211815d1c1193c28cfd52699c1f0396fa6a6 SHA512 71b92b02078e3028c3bea4ccd43a7b31bb0b5d6f76086f5f43d793cb83c8626fc337fbd490515463b5da340ec55b1124a76efd03060f592fd38d48744671eb9e -EBUILD lmdb-0.9.24.ebuild 2283 BLAKE2B e4df761fd015bb85aaafac47803e65c3cbe1e1180e4e10cb7199b5b6c44809d955edfd889703d86bb0887d41d930410040f53c6308a8c9ad651dd3ebebaf94bd SHA512 396acf6fcf85928f6da6bd245454175fff00ced605b93153da0f978130453e6d5560f0e5088d18f08e7ad14df427c3abf95918f05e26fee90ceafd71530d5723 +DIST openldap-LMDB_0.9.27.tar.gz 144104 BLAKE2B 76b7b66ca455f61f71b7c010de0b5437d02a245a5129184cf45bf5684a745888c88012fb73a219076b6c47adfda0804e6c7f603e4631c98034c01efda99ad3a9 SHA512 a27c0d26c801b172f3c207666940f86ecaae9d223843b72823d064f0ea0629a855150d049cb143981783710d3ca791c7f0f65df9d91732b2709e6107af403854 +EBUILD lmdb-0.9.23.ebuild 2254 BLAKE2B 76f47d274a10f518c31cde71873203080c9a43a427c1c8edff03bd6999c509b576b65bce226a9e6c94390f24a46e55045f9063156423cbe1c1aa8324b1593e18 SHA512 ea62c1c58f900600a6d6ddb3ea68e3d0cccc0d2fa9c2df42efff9f1633b4ef63215ba5e9d8fa969c529178e8f56aadf42d2e6d66f143fe6d5fc44aa1031b7dc7 +EBUILD lmdb-0.9.24.ebuild 2274 BLAKE2B c6c6cb7effb46c3fd9bbb2ea5d44f464e20eba86c13a1c164c6f27e5625e8efe037e2bbe2d5ec6e508565c3629bb08b2ad1429f8077ed01f8f4d24e19914bdd3 SHA512 96e9c37c14c0ecfba42bfb5ab86b6a8dce9c1ccda2471d70ee0bb89eda7c1b3cd8793eaea4089f47ab1ad1a4374bee25930188b036fe25b15fd1494ea05a5d04 +EBUILD lmdb-0.9.27.ebuild 2352 BLAKE2B bf33243812d98650e3b715ffa0de108ef9076e8cf18dfeb782d5b93ce0f6deaf27b3fb288e8cb8edbe0c7adbfdfe5a818168c7f5f7c78fb8b1b87c8c26fc0dc9 SHA512 c9a09299065e443b8b3f5cfa8b0acc470fb0f5a9f78d3fa23d7e1b6c13195fa1e8c93ebe47ea7b1bc1edda4dc7c78077cccadaa9a53ea046508845da9ac428aa MISC metadata.xml 432 BLAKE2B 21af6c7ba636803d33bf8877d93282327ab14f0688657115cfc2d23bf40b0f1c556cdf7238460430347570590d8ff2441f8186b5f15fa48651f12e8fdef846e4 SHA512 5feed30bc7a5a51b41f330de6446ab4f92826d2e1c216f0eb994d3e6e55b596e0a57369d51f11fc0151acc67da5d6b0d169d2394de1bd4790f2eba0eac1a21cf diff --git a/dev-db/lmdb/lmdb-0.9.23.ebuild b/dev-db/lmdb/lmdb-0.9.23.ebuild index a8ca0dd66dc1..66b5efdc8055 100644 --- a/dev-db/lmdb/lmdb-0.9.23.ebuild +++ b/dev-db/lmdb/lmdb-0.9.23.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz" LICENSE="OPENLDAP" SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="static-libs" DEPEND="" diff --git a/dev-db/lmdb/lmdb-0.9.24.ebuild b/dev-db/lmdb/lmdb-0.9.24.ebuild index 3c22a2223a42..57d2c4990e8d 100644 --- a/dev-db/lmdb/lmdb-0.9.24.ebuild +++ b/dev-db/lmdb/lmdb-0.9.24.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/LMDB/lmdb/archive/${MY_P}.tar.gz" LICENSE="OPENLDAP" SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="static-libs" DEPEND="" diff --git a/dev-db/lmdb/lmdb-0.9.27.ebuild b/dev-db/lmdb/lmdb-0.9.27.ebuild new file mode 100644 index 000000000000..a16119674e94 --- /dev/null +++ b/dev-db/lmdb/lmdb-0.9.27.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic multilib-minimal toolchain-funcs + +MY_P="${PN^^}_${PV}" + +DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" +HOMEPAGE="https://symas.com/lmdb/technical/" +SRC_URI="https://git.openldap.org/openldap/openldap/-/archive/${MY_P}/openldap-${MY_P}.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/openldap-${MY_P}/libraries/liblmdb" + +src_prepare() { + default + if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then + # posix_memalign isn't available before 10.6, but on OSX + # malloc is always aligned for any addressable type + sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die + fi + multilib_copy_sources +} + +multilib_src_configure() { + local soname="-Wl,-soname,liblmdb$(get_libname 0)" + if [[ ${CHOST} == *-darwin* ]] ; then + soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)" + replace-flags -O[123456789] -O1 + fi + sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ + -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ + -e "s!^AR.*!AR = $(tc-getAR)!" \ + -e "s!^SOEXT.*!SOEXT = $(get_libname)!" \ + -e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \ + -e "/^libdir/s!lib\$!$(get_libdir)!" \ + -e "s!shared!shared ${soname}!" \ + "Makefile" || die + + if [[ ${CHOST} == *-solaris* ]] ; then + # fdatasync lives in -lrt on Solaris 10 + [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt + fi +} + +multilib_src_compile() { + emake LDLIBS+=" -pthread" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + mv "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname) \ + "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname 0) || die + dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname) + + insinto /usr/$(get_libdir)/pkgconfig + doins "${FILESDIR}/lmdb.pc" + sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \ + -e "s!@prefix@!${EPREFIX}/usr!g" \ + -e "s!@libdir@!$(get_libdir)!" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc || die + + if ! use static-libs; then + rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die + fi +} |