summaryrefslogtreecommitdiff
path: root/sys-libs/liburing
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-01 03:04:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-01 03:04:34 +0000
commitaac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (patch)
treec95b33a77f5b447d4d4e83204c5a846a5c481a08 /sys-libs/liburing
parentb846e1a1ef5685462a20abbc77cf57ead9064b85 (diff)
gentoo auto-resync : 01:11:2024 - 03:04:33
Diffstat (limited to 'sys-libs/liburing')
-rw-r--r--sys-libs/liburing/Manifest2
-rw-r--r--sys-libs/liburing/liburing-2.8.ebuild84
2 files changed, 86 insertions, 0 deletions
diff --git a/sys-libs/liburing/Manifest b/sys-libs/liburing/Manifest
index a6fda259f22d..cfe7c98772e2 100644
--- a/sys-libs/liburing/Manifest
+++ b/sys-libs/liburing/Manifest
@@ -7,10 +7,12 @@ 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
EBUILD liburing-2.2.ebuild 1568 BLAKE2B dd0e6f74a59c243c732d2cb75ddd987f6f88e57ffadac6b61eef0aedfedff30832b90996ac4896014aba9184b2cc78b00660cafc05a8b907bf0ca35c67b43531 SHA512 6cdb9636ceb5e16cb763940f3b22f01c2c71215100801cb96fde1cc5b266ed5437feeac889ca94a81f284f5aa58bbb44ad7ee567365481e30b2f5534430ef7c7
EBUILD liburing-2.3-r4.ebuild 2136 BLAKE2B 4188ce6840337a43ec7451e5a22213d17a7f04a256da8b72ad4b2ab4b41e4f92f16b9e009f11083d7d7361d20bae7d327435a27faf419acef20830d4357abca1 SHA512 7115819c724c6bf923911a3fbc933be954023fe371f09cf49f6f6d0c9b90bb33419c6e7f7f102942ceda6dedb0522e83edef2e33140a410ec0b52ba671735632
EBUILD liburing-2.5-r2.ebuild 1985 BLAKE2B e6627d1d5fa1f4c1b228ea7f22beb7bbfd6276b417918bc7aaf6679a9a8f5094139d810eaaac880119b6fe1392f1ed5c2a2ba91f1f6e6434da73d5e6a2ce3977 SHA512 f29b30cd9a4a729206296c54e42e05857b64796d4cfc9d9beed126aad077cdcf74addd426c1fc46527a188bb763af697893638d57579a6d0a531cbb7ce10d9be
EBUILD liburing-2.6.ebuild 1890 BLAKE2B ee3f65cdff2254009c27bcde568b04b1b5b3d26f1d5c24adc9e11a1afdc1ebb2021b65009ea6097ccc0cedbb6d3328d9057a3f8e52d24e50303edf22de696ad4 SHA512 7a1d563681637e584ef0d5afd1ae825fff2292d07989f4677fb9b7cdaff4414aaa94ea126c339bbe300bef6eab0d6382da348c12f832db10b1ef23c60ba42c3d
EBUILD liburing-2.7-r1.ebuild 1904 BLAKE2B 81ac0e9486e54423b092bf35262deb8bf4024d453468dbeb11e54e0d212148441a296adb4d3cae284ab363a76c9f326898cf2293e68a4016e479bc0fd2f6c051 SHA512 5b48195cd22ed5d87239d966166076fcdf833c9e5382d29b998fafd79b0e979d2d0c6f6626f255222911539fdc53c57c0e10a75826372b7699ba2e505e00fcd4
+EBUILD liburing-2.8.ebuild 1909 BLAKE2B e67f6d607cfec26e0bf8754a0b659d02ae57e7f70e445f8065a1759ee8c0fae96d4e1a767c6b0049cbcb401e9e7b13d4bda0346085261c0d870b61c04306a4ad SHA512 a2b72bb1df3e49195dc2bacbfb931e18becf6e845ab8bd5ee7e0efc2a43249d69e8c9737c21e898f5b1e4a9807a8fdde750bb0183a57c7ad247ca05d687e867f
EBUILD liburing-9999.ebuild 1890 BLAKE2B fade94775f7d40df8df45f5d06a40930b80c359d1b8c4741c4b9b57db142c9a33337389e1a95aeace4fb4425fac64a06e2a196d468ddb88695575fc07f3e975f SHA512 246a516d468f7a825ebf01351f7314da1a3efda4a0c40f868a2810e3d0406e82c137934ea857760e164d25c9f4d661eedbee27fa0b546357e63a08cd1488af2a
MISC metadata.xml 326 BLAKE2B 7c133a6dbb4ab4b537c0741ec9f3cd525c0803040950ee93e4c1cbc848c7618074471cc1a18ca07d6963c06252c83b66df0811ebae4c0cf9d7782f66ca5aa14a SHA512 1aacf941a9fa57429468fdfc8f546f559c5d483988ba5c6b0f4ed0fe5913f85d218b2a9eec83bae1d11a71eed36a37e76ccedc192697fbe9763fd0b09b2dcfd7
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
+}