From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/liburing/
Date: Thu, 31 Oct 2024 18:39:27 +0000 (UTC) [thread overview]
Message-ID: <1730399952.071f100706cc56f4b2510d41d08211b817fc41ce.flow@gentoo> (raw)
commit: 071f100706cc56f4b2510d41d08211b817fc41ce
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 18:37:16 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 18:39:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071f1007
sys-libs/liburing: add 2.8
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-libs/liburing/Manifest | 1 +
sys-libs/liburing/liburing-2.8.ebuild | 84 +++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/sys-libs/liburing/Manifest b/sys-libs/liburing/Manifest
index bfdb966cb6c6..842354f0ad10 100644
--- a/sys-libs/liburing/Manifest
+++ b/sys-libs/liburing/Manifest
@@ -3,3 +3,4 @@ DIST liburing-2.3.tar.bz2 197929 BLAKE2B 94ae2a79522fbac13c071ad752f5cbfae3e3b3d
DIST liburing-2.5.tar.bz2 217397 BLAKE2B cb5d0a61bc8ce5a92a1b581c5411938146a84c365598454ac8bac7ba0d7429e20a5a608cb725619cbf8b77570b2d638fc347fd9ee9cb1456361957a2a4d6e6d6 SHA512 cba62acde52c07185ade0ac0fee6bf3845f5677d061b52d179c6341a62f8581d4f8920fc09d27a3723bc3832bc84dd5475d173427ee5d8a063d079b07af96416
DIST liburing-2.6.tar.bz2 244371 BLAKE2B f0e05a5a82592ed45c7c7f12b437d17655989102961c3d349d18d993f21cf0f1a6eb2aa7ad863a579428a1546c307924bf368e10af96045fd40a02fd5bd5843e SHA512 bf07cc0e67498ba64d888d1a113f7c8bea3feaed6f05ce69c99a1dec9506e553a1695ab4e1ecfa86f0ba1af699769557291d5c6b125b9bf59a1452f69eac0613
DIST liburing-2.7.tar.bz2 252289 BLAKE2B dc04745d2eda04d7009a532fc77566804c34b77dcef512f17ef424e22bc1e1a31ba87c2a841bb5574b11c494641a3128005d6dfccf2b87d6c3888fe5cd887996 SHA512 ec6cf69cae2e7e448e9e338bcd616bf27522f6f0e4768bf80d246d6df8610df3accaddae1c135c31bca7814bc3b8214854c40b3f7137163c0950605c716793f1
+DIST liburing-2.8.tar.bz2 284202 BLAKE2B de1deaa8927b5f80a38195ef857fdb0d3dc5f7f57358fe319af42ec3d980bf4c20284d7726645e9c32bcb3e5d7d981540a52a35abb26394cbef03f88ab7c4248 SHA512 5822108aa771a34a4c3f008a0155e4f1fa9393499f24a1bce00aed7fab6e3b9e022b44f96479af0036295129db75d5062618fb4c48cef836e3155c604491e94d
diff --git a/sys-libs/liburing/liburing-2.8.ebuild b/sys-libs/liburing/liburing-2.8.ebuild
new file mode 100644
index 000000000000..a469ca0ee19f
--- /dev/null
+++ b/sys-libs/liburing/liburing-2.8.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal toolchain-funcs
+
+DESCRIPTION="Efficient I/O with io_uring"
+HOMEPAGE="https://github.com/axboe/liburing"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/axboe/liburing.git"
+else
+ SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ QA_PKGCONFIG_VERSION=${PV}
+fi
+LICENSE="MIT"
+SLOT="0/2" # liburing.so major version
+
+IUSE="examples static-libs test"
+# fsync test hangs forever
+RESTRICT="!test? ( test )"
+
+# At least installed headers need <linux/*>, bug #802516
+DEPEND=">=sys-kernel/linux-headers-5.1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ if ! use examples; then
+ sed -e '/examples/d' Makefile -i || die
+ fi
+ if ! use test; then
+ sed -e '/test/d' Makefile -i || die
+ fi
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myconf=(
+ --prefix="${EPREFIX}/usr"
+ --libdir="${EPREFIX}/usr/$(get_libdir)"
+ --libdevdir="${EPREFIX}/usr/$(get_libdir)"
+ --mandir="${EPREFIX}/usr/share/man"
+ --cc="$(tc-getCC)"
+ --cxx="$(tc-getCXX)"
+ --use-libc
+ )
+ # No autotools configure! "econf" will fail.
+ TMPDIR="${T}" ./configure "${myconf[@]}" || die
+}
+
+multilib_src_compile() {
+ emake V=1 AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if ! use static-libs ; then
+ find "${ED}" -type f -name "*.a" -delete || die
+ fi
+}
+
+multilib_src_test() {
+ local disabled_tests=(
+ accept.c
+ fpos.c
+ io_uring_register.c
+ link-timeout.c
+ read-before-exit.c
+ recv-msgall-stream.c
+ )
+ local disabled_test
+ for disabled_test in "${disabled_tests[@]}"; do
+ sed -i "/\s*${disabled_test}/d" test/Makefile \
+ || die "Failed to remove ${disabled_test}"
+ done
+
+ emake -C test V=1 runtests
+}
next reply other threads:[~2024-10-31 18:39 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-31 18:39 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-01 9:55 [gentoo-commits] repo/gentoo:master commit in: sys-libs/liburing/ Florian Schmaus
2024-10-25 11:52 Arthur Zamarin
2024-10-25 11:52 Arthur Zamarin
2024-10-15 1:45 Sam James
2024-09-28 10:27 Arthur Zamarin
2024-09-26 8:26 Arthur Zamarin
2024-09-07 6:13 Arthur Zamarin
2024-08-22 10:11 Florian Schmaus
2024-08-22 9:51 Florian Schmaus
2024-05-06 12:45 Florian Schmaus
2024-05-06 12:40 Florian Schmaus
2023-12-12 8:25 Florian Schmaus
2023-06-10 11:00 Florian Schmaus
2023-06-10 11:00 Florian Schmaus
2023-03-03 17:24 Arthur Zamarin
2023-03-03 17:24 Arthur Zamarin
2023-03-03 17:24 Arthur Zamarin
2023-03-03 17:18 Arthur Zamarin
2023-02-19 12:46 Florian Schmaus
2023-02-13 7:35 Florian Schmaus
2023-01-25 19:20 Arthur Zamarin
2022-11-04 9:17 Florian Schmaus
2022-11-04 9:13 Florian Schmaus
2022-09-19 6:41 Agostino Sarubbo
2022-09-19 6:40 Agostino Sarubbo
2022-09-18 20:30 Arthur Zamarin
2022-09-18 16:19 Arthur Zamarin
2022-09-18 16:11 Arthur Zamarin
2022-09-18 16:11 Arthur Zamarin
2022-09-18 16:11 Arthur Zamarin
2022-07-02 12:21 Agostino Sarubbo
2022-07-02 12:20 Agostino Sarubbo
2022-07-02 12:08 Arthur Zamarin
2022-07-02 7:18 Jakov Smolić
2022-07-02 7:04 Jakov Smolić
2022-07-02 7:02 Jakov Smolić
2022-07-02 7:02 Jakov Smolić
2022-07-01 6:51 Florian Schmaus
2022-07-01 6:51 Florian Schmaus
2022-06-29 7:22 Florian Schmaus
2022-06-29 7:16 Florian Schmaus
2022-05-19 7:28 WANG Xuerui
2022-05-19 7:28 WANG Xuerui
2022-03-28 19:31 Lars Wendler
2022-03-14 15:56 Sam James
2022-02-22 15:33 Lars Wendler
2022-02-22 15:33 Lars Wendler
2021-12-01 20:05 Lars Wendler
2021-11-26 19:28 Arthur Zamarin
2021-11-26 8:51 Agostino Sarubbo
2021-11-26 8:51 Agostino Sarubbo
2021-11-26 8:50 Sam James
2021-11-26 6:34 Sam James
2021-11-26 6:34 Sam James
2021-11-26 6:34 Sam James
2021-09-10 12:01 Lars Wendler
2021-09-10 12:01 Lars Wendler
2021-03-11 17:22 Lars Wendler
2021-03-11 17:21 Lars Wendler
2021-03-11 17:21 Lars Wendler
2020-12-17 0:48 Sam James
2020-11-10 17:44 Sam James
2020-11-07 3:49 Georgy Yakovlev
2020-11-06 10:26 Lars Wendler
2020-11-06 10:26 Lars Wendler
2020-10-31 19:38 Piotr Karbowski
2020-10-26 2:51 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-24 11:55 Sam James
2020-07-16 8:43 Lars Wendler
2020-07-16 7:22 Lars Wendler
2020-07-16 3:45 Sam James
2020-07-15 8:10 Lars Wendler
2020-07-06 9:03 Lars Wendler
2020-06-25 9:16 Lars Wendler
2020-06-21 17:13 Agostino Sarubbo
2020-06-21 16:54 Agostino Sarubbo
2020-06-06 9:37 Lars Wendler
2020-05-31 3:44 Matt Turner
2020-05-31 3:44 Matt Turner
2020-05-06 8:01 Lars Wendler
2020-05-06 6:48 Sergei Trofimovich
2020-05-06 6:41 Sergei Trofimovich
2020-05-05 13:46 Lars Wendler
2020-05-02 16:36 Mart Raudsepp
2020-04-16 22:54 Sergei Trofimovich
2020-04-13 8:05 Sergei Trofimovich
2020-04-12 23:19 Sergei Trofimovich
2020-03-02 17:10 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=1730399952.071f100706cc56f4b2510d41d08211b817fc41ce.flow@gentoo \
--to=flow@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