public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/
Date: Wed,  3 Jul 2024 00:54:32 +0000 (UTC)	[thread overview]
Message-ID: <1719967852.99e6e7aa85c588274e3938636b07bce556dc2483.sam@gentoo> (raw)

commit:     99e6e7aa85c588274e3938636b07bce556dc2483
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  3 00:40:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul  3 00:50:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e6e7aa

sys-libs/gdbm: add 1.24

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/gdbm/Manifest         |  2 ++
 sys-libs/gdbm/gdbm-1.24.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest
index 63bb68e78015..565e603df070 100644
--- a/sys-libs/gdbm/Manifest
+++ b/sys-libs/gdbm/Manifest
@@ -1,2 +1,4 @@
 DIST gdbm-1.23.tar.gz 1115854 BLAKE2B a47746577cf2f3c9b62faea496c4d6a50a8f1b0a5af448cb2215e90057c99b5b630ba3f5357c85dfb7fd98ba4e90969e30a779120c29106ed1e8736721f9bec1 SHA512 918080cb0225b221c11eb7339634a95e00c526072395f7a3d46ccf42ef020dea7c4c5bec34aff2c4f16033e1fff6583252b7e978f68b8d7f8736b0e025838e10
 DIST gdbm-1.23.tar.gz.sig 181 BLAKE2B 34785e6fe8e02100084d61e989749ee388794b8af82fc59a417140807bf169c45c15935f8cf91d0ba116dfdee295e05b2b014f1539f1f128a57acfe59010d34d SHA512 6653751c04584f10aa3325bd1cb5b9f7970a786dd2a99602ea620c11a86a9ba5c342aa52627bd06c03da822e9e1600dc034d9a8f42856a287fd67f6b9f161c71
+DIST gdbm-1.24.tar.gz 1195931 BLAKE2B 79f49adbb455c2e1b91f3450037b71165fa8de82650d6402e0e22ee1f4d278fdb0bd78100659bf416e2409b432e1f8d32ecbae523980413f7148b80ee06c9f4b SHA512 401ff8c707079f21da1ac1d6f4714a87f224b6f41943078487dc891be49f51fd1ac7a32fd599aae0fad185f2c6ba7432616d328fd6aaab068eb54db9562ff7fa
+DIST gdbm-1.24.tar.gz.sig 95 BLAKE2B 3a66c2a256d9601db57df20feb5d72d1e94d23b7a92e3099f121549c8aa2c57b05a3021d88f97291819378462a68664af958de4c9de65887d2cca6642d172bc3 SHA512 a54595e0fd23724f5e30c2ff1b9656dbb6da3b448f4ab6a2579a523c11bae53e47d3843327a1e4499b312ab947ac73b5a9aa6e78fe5e932c55a1be0cdab4e63d

diff --git a/sys-libs/gdbm/gdbm-1.24.ebuild b/sys-libs/gdbm/gdbm-1.24.ebuild
new file mode 100644
index 000000000000..5c738509d6d9
--- /dev/null
+++ b/sys-libs/gdbm/gdbm-1.24.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gdbm.asc
+inherit libtool multilib-minimal verify-sig
+
+DESCRIPTION="Standard GNU database libraries"
+HOMEPAGE="https://www.gnu.org/software/gdbm/"
+SRC_URI="
+	mirror://gnu/gdbm/${P}.tar.gz
+	verify-sig? ( mirror://gnu/gdbm/${P}.tar.gz.sig )
+"
+
+LICENSE="GPL-3"
+SLOT="0/6" # libgdbm.so version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+berkdb nls +readline static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	test? ( dev-util/dejagnu )
+	verify-sig? ( sec-keys/openpgp-keys-gdbm )
+"
+
+src_prepare() {
+	default
+
+	# gdbm ships with very old libtool files, regen to avoid
+	# errors when cross-compiling.
+	elibtoolize
+}
+
+multilib_src_configure() {
+	# gdbm doesn't appear to use either of these libraries
+	export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
+
+	local myeconfargs=(
+		--includedir="${EPREFIX}"/usr/include/gdbm
+		$(use_enable berkdb libgdbm-compat)
+		$(use_enable nls)
+		$(use_enable static-libs static)
+		$(use_with readline)
+	)
+
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	if ! use static-libs ; then
+		find "${ED}" -name '*.la' -delete || die
+	fi
+
+	mv "${ED}"/usr/include/gdbm/gdbm.h "${ED}"/usr/include/ || die
+}


             reply	other threads:[~2024-07-03  0:54 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03  0:54 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  7:59 [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/ Sam James
2024-08-29  3:51 Sam James
2024-08-29  3:23 Sam James
2024-08-29  3:15 Sam James
2024-08-29  3:15 Sam James
2024-08-29  3:15 Sam James
2024-08-29  2:35 Sam James
2022-10-28  7:01 Sam James
2022-10-18  2:18 Sam James
2022-06-21  9:41 David Seifert
2022-05-22 12:03 Jakov Smolić
2022-05-22  6:22 Agostino Sarubbo
2022-05-22  6:19 Agostino Sarubbo
2022-05-22  6:17 Agostino Sarubbo
2022-05-22  3:25 Sam James
2022-05-22  3:21 Sam James
2022-05-22  3:20 Sam James
2022-05-22  3:18 Sam James
2022-04-27  1:36 Sam James
2022-04-27  1:36 Sam James
2022-04-07  4:07 Sam James
2022-02-07  1:22 Sam James
2021-12-15  5:02 Arthur Zamarin
2021-12-14 22:16 Sam James
2021-12-13  7:03 Agostino Sarubbo
2021-12-13  7:02 Agostino Sarubbo
2021-12-13  6:57 Agostino Sarubbo
2021-12-13  6:17 Sam James
2021-12-13  6:17 Sam James
2021-10-19 10:04 Lars Wendler
2021-10-19 10:04 Lars Wendler
2021-09-03 22:15 Sam James
2021-09-03 22:13 Andreas K. Hüttel
2021-09-03 21:38 Andreas K. Hüttel
2021-09-03 18:03 Sam James
2021-09-02 16:26 Lars Wendler
2021-08-16 16:47 Sam James
2021-08-11  6:43 Agostino Sarubbo
2021-08-11  0:24 Sam James
2021-08-11  0:12 Sam James
2021-08-10 15:36 Agostino Sarubbo
2021-06-17 21:47 Lars Wendler
2021-05-27 16:51 Sergei Trofimovich
2021-05-26  8:11 Sam James
2021-05-26  8:04 Sam James
2021-05-25 11:06 Sam James
2021-05-24  0:12 Sam James
2021-05-24  0:12 Sam James
2021-05-23 23:05 Agostino Sarubbo
2021-05-23 22:28 Agostino Sarubbo
2021-01-06 15:35 Fabian Groffen
2020-12-27 18:20 Fabian Groffen
2020-12-24 23:17 Lars Wendler
2020-11-18 22:01 Sergei Trofimovich
2020-11-17 19:17 Agostino Sarubbo
2020-11-17 19:10 Agostino Sarubbo
2020-11-17 19:05 Agostino Sarubbo
2020-11-17 18:55 Agostino Sarubbo
2020-11-17 18:50 Agostino Sarubbo
2020-11-15  5:24 Sam James
2020-11-14 22:50 Sam James
2020-11-14 21:15 Sam James
2020-09-07 20:44 Mike Gilbert
2020-08-05 14:06 Agostino Sarubbo
2020-08-05 14:04 Agostino Sarubbo
2020-08-05 14:02 Agostino Sarubbo
2020-08-05 14:01 Agostino Sarubbo
2020-07-27 18:36 Sergei Trofimovich
2020-07-25 11:17 Sam James
2020-07-25  8:42 Sergei Trofimovich
2020-07-22  9:01 Agostino Sarubbo
2019-05-04 13:25 Mikle Kolyada
2018-10-27 15:29 Lars Wendler
2018-08-23 23:05 Lars Wendler
2018-08-23 23:05 Lars Wendler
2018-07-31  8:44 Lars Wendler
2018-07-31  8:44 Lars Wendler
2018-06-28 12:48 Lars Wendler
2018-06-16 21:10 Lars Wendler
2018-04-20 11:13 Lars Wendler
2018-03-04  8:16 Tobias Klausmann
2018-01-16  3:56 Mike Frysinger
2018-01-10  6:19 Markus Meier
2018-01-07 11:19 Sergei Trofimovich
2018-01-06 14:25 Sergei Trofimovich
2018-01-05  9:47 Lars Wendler
2018-01-04  1:29 Lars Wendler
2018-01-04  1:29 Lars Wendler
2018-01-03 19:51 Sergei Trofimovich
2018-01-02 21:23 Lars Wendler
2018-01-02 13:07 Lars Wendler
2018-01-02 13:07 Lars Wendler
2017-06-22 22:42 Lars Wendler
2017-06-21  0:41 Lars Wendler
2017-06-17 21:54 Lars Wendler
2017-03-11 19:47 Lars Wendler
2017-01-29 20:14 Fabian Groffen
2016-05-17 10:12 Lars Wendler

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=1719967852.99e6e7aa85c588274e3938636b07bce556dc2483.sam@gentoo \
    --to=sam@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