public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eray Aslan" <eras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/
Date: Mon, 22 Mar 2021 07:19:07 +0000 (UTC)	[thread overview]
Message-ID: <1616397527.6e5b934ca5da85d50deaf0811d0c600d4e6e640b.eras@gentoo> (raw)

commit:     6e5b934ca5da85d50deaf0811d0c600d4e6e640b
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 07:18:47 2021 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 07:18:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5b934c

dev-db/lmdb: bump to 0.9.29

Closes: https://bugs.gentoo.org/777258
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 dev-db/lmdb/Manifest           |  1 +
 dev-db/lmdb/lmdb-0.9.29.ebuild | 75 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest
index 2708a563787..526775f840f 100644
--- a/dev-db/lmdb/Manifest
+++ b/dev-db/lmdb/Manifest
@@ -3,3 +3,4 @@ DIST LMDB_0.9.24.tar.gz 143916 BLAKE2B f075ec5f4dfb77685188229e20f12c4febe8295c7
 DIST openldap-LMDB_0.9.26.tar.gz 144029 BLAKE2B 07fe81cdaed7a402aaf485a2aa41d12c2c8cc8813d39d5304d8a1f5c8920f4695021eb586b4366a5f55010284227c7ac16487a8799c60f251ea97cd745b1261a SHA512 d7826f6d1a3144feb71eef65f843e8bcddf6cec384014bab3fc1d32a7f1b9316bcbb5b3a915b166cbdae2ffbd15f14b4eb783acd7eddbd2e321607f750efe94d
 DIST openldap-LMDB_0.9.27.tar.gz 144104 BLAKE2B 76b7b66ca455f61f71b7c010de0b5437d02a245a5129184cf45bf5684a745888c88012fb73a219076b6c47adfda0804e6c7f603e4631c98034c01efda99ad3a9 SHA512 a27c0d26c801b172f3c207666940f86ecaae9d223843b72823d064f0ea0629a855150d049cb143981783710d3ca791c7f0f65df9d91732b2709e6107af403854
 DIST openldap-LMDB_0.9.28.tar.gz 144520 BLAKE2B 3466da1ffde7350056fb3b16fc0068d78139c578fdf79cd6456ca0d98e2d7b3d899849ae42a7224335a4680e52b5f0feb2c4233eaf00ee3d9ee648ae10c3114a SHA512 0cdf9a2ce35617a3135cde96491fbbb73be9362de2b94d23eda44b65ce48362ff9dbdfe921c3255ed486aceb385fcb62b81f560b1037476f4741291b29ba0dce
+DIST openldap-LMDB_0.9.29.tar.gz 144545 BLAKE2B b7e55e4fa03e878a95b8f7c583684727a81d51a3acf2ec064d8fe26475bf9ffe4dddf16c2bccbda901b94b7c8d57f41fa63f7c09bcab46401bd000958a5b87b3 SHA512 b41ba5b139375d23617a79f4d322399df55745c5a4a63159ddbe0f1ded4707f0eb7f71acf3d1a4928f8fcab30a7b5db17e3e165441a61ec1dbd29f8d9efa65d1

diff --git a/dev-db/lmdb/lmdb-0.9.29.ebuild b/dev-db/lmdb/lmdb-0.9.29.ebuild
new file mode 100644
index 00000000000..74b511a5c9d
--- /dev/null
+++ b/dev-db/lmdb/lmdb-0.9.29.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 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 ~sparc-solaris ~sparc64-solaris ~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
+}


             reply	other threads:[~2021-03-22  7:19 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  7:19 Eray Aslan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-28  1:41 [gentoo-commits] repo/gentoo:master commit in: dev-db/lmdb/ Sam James
2024-11-28  1:41 Sam James
2024-11-28  1:41 Sam James
2024-11-28  1:41 Sam James
2024-11-25 22:38 Sam James
2024-11-23 16:27 Sam James
2024-11-23 16:20 Michał Górny
2024-07-21  1:12 Sam James
2024-05-08  7:03 Eray Aslan
2024-02-15  8:27 Eray Aslan
2024-02-14 16:29 Ionen Wolkens
2024-01-29  8:04 Eray Aslan
2024-01-29  8:04 Eray Aslan
2024-01-28 20:00 Arthur Zamarin
2024-01-28 20:00 Arthur Zamarin
2024-01-28 20:00 Arthur Zamarin
2024-01-28 18:57 Sam James
2024-01-28 18:57 Sam James
2024-01-28 18:08 Eray Aslan
2023-07-17 21:47 Sam James
2023-05-28  6:20 Eray Aslan
2023-05-06 16:08 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-01  4:15 Sam James
2023-05-01  1:53 Sam James
2023-02-10  1:05 Sam James
2022-05-13 12:19 WANG Xuerui
2022-01-10 15:14 James Le Cuirot
2022-01-05  9:57 Eray Aslan
2021-10-07  6:37 Sam James
2021-09-07  0:00 Sam James
2021-09-04 21:39 Sam James
2021-08-29 17:57 Sam James
2021-08-29 17:57 Sam James
2021-08-29 17:52 Sam James
2021-08-29 10:02 Agostino Sarubbo
2021-08-29 10:00 Agostino Sarubbo
2021-08-28 18:16 Sam James
2021-03-20 13:41 Sergei Trofimovich
2021-03-15 21:55 Sam James
2021-03-15 13:43 Sam James
2021-03-15  7:10 Sam James
2021-03-15  6:32 Sam James
2021-03-15  6:32 Sam James
2021-02-18 20:14 Sam James
2021-02-18 19:57 Sergei Trofimovich
2021-02-16 15:31 Fabian Groffen
2021-02-16 14:32 Fabian Groffen
2021-02-12 22:16 Sam James
2021-02-12 22:16 Sam James
2021-02-10 16:51 Eray Aslan
2021-02-06 23:49 Sam James
2021-02-06  0:03 Sam James
2021-02-05 15:26 Sam James
2021-02-05 15:25 Sam James
2021-01-06 18:43 Fabian Groffen
2020-12-31 13:18 Fabian Groffen
2020-12-28 14:46 Eray Aslan
2020-12-27 14:05 Fabian Groffen
2019-12-02 11:05 Mikle Kolyada
2019-07-24 14:14 Lars Wendler
2019-05-21  6:16 Eray Aslan
2019-05-05 18:41 Mikle Kolyada
2019-04-24 12:36 Tobias Klausmann
2019-04-10 23:06 Aaron Bauman
2019-03-16 22:55 Sergei Trofimovich
2019-03-16 14:41 Mikle Kolyada
2019-03-15 10:14 Mikle Kolyada
2019-03-11 22:42 Sergei Trofimovich
2019-03-10 22:17 Sergei Trofimovich
2019-03-07 21:50 Thomas Deutschmann
2019-03-07 17:36 Mikle Kolyada
2019-03-05 21:18 Sergei Trofimovich
2019-02-03 19:40 Andreas Sturmlechner
2019-01-08 13:45 Fabian Groffen
2018-10-26  0:52 Thomas Deutschmann
2018-10-25 17:15 Mikle Kolyada
2018-07-15 11:45 Mart Raudsepp
2018-06-12 13:25 Maxim Koltsov
2018-06-03 10:01 Mikle Kolyada
2018-03-29  8:05 Eray Aslan
2018-03-28  1:18 Matt Turner
2017-12-16 20:58 Fabian Groffen
2017-01-25 17:56 Fabian Groffen
2017-01-25 13:53 Fabian Groffen
2016-09-30  5:06 Eray Aslan
2016-09-29  4:11 Jeroen Roovers
2016-07-09 19:49 Zac Medico
2016-05-27 10:50 Tobias Klausmann
2016-03-30 18:33 Markus Meier
2016-03-20 11:53 Agostino Sarubbo
2016-03-14 22:13 Agostino Sarubbo
2016-02-12  8:26 Eray Aslan
2016-02-12  8:26 Eray Aslan
2016-02-12  8:26 Eray Aslan
2016-02-12  8:26 Eray Aslan
2016-02-12  8:26 Eray Aslan
2016-01-11 20:46 Robin H. Johnson
2015-12-25 21:01 Patrice Clement
2015-12-25 21:01 Patrice Clement
2015-09-18  5:24 Eray Aslan
2015-08-11 12:46 Eray Aslan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616397527.6e5b934ca5da85d50deaf0811d0c600d4e6e640b.eras@gentoo \
    --to=eras@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox