pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add package devel/liburing
Module Name: pkgsrc-wip
Committed By: Alexander Schreiber <als%thangorodrim.de@localhost>
Pushed By: als
Date: Mon Apr 10 14:45:46 2023 +0000
Changeset: 211a1f5bad87d22d8f80862b562d7fbec511d50e
Added Files:
liburing/DESCR
liburing/Makefile
liburing/PLIST
liburing/buildlink3.mk
liburing/distinfo
Log Message:
Add package devel/liburing
This packages liburing, which provides acces to the Linux kernel
io_uring interface. For this reason, it is a Linux only package.
Signed-off-by: Alexander Schreiber <als%thangorodrim.de@localhost>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=211a1f5bad87d22d8f80862b562d7fbec511d50e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
liburing/DESCR | 7 +++
liburing/Makefile | 27 ++++++++++
liburing/PLIST | 135 +++++++++++++++++++++++++++++++++++++++++++++++++
liburing/buildlink3.mk | 12 +++++
liburing/distinfo | 5 ++
5 files changed, 186 insertions(+)
diffs:
diff --git a/liburing/DESCR b/liburing/DESCR
new file mode 100644
index 0000000000..2aabcf3dd4
--- /dev/null
+++ b/liburing/DESCR
@@ -0,0 +1,7 @@
+liburing
+--------
+
+This is the io_uring library, liburing. liburing provides helpers to setup and
+teardown io_uring instances, and also a simplified interface for
+applications that don't need (or want) to deal with the full kernel
+side implementation.
diff --git a/liburing/Makefile b/liburing/Makefile
new file mode 100644
index 0000000000..03794a2cfa
--- /dev/null
+++ b/liburing/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= liburing-2.3
+CATEGORIES= devel
+MASTER_SITES= https://git.kernel.dk/cgit/liburing/snapshot/
+
+MAINTAINER= als%thangorodrim.ch@localhost
+HOMEPAGE= https://git.kernel.dk/cgit/liburing/
+COMMENT= Library for the Linux kernel io_uring interface
+LICENSE= gnu-gpl-v2
+
+# the ./configure in the source is a handcrafted piece of shell
+HAS_CONFIGURE= YES
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= liburing.pc.in
+
+# provides access to Linux kernel io_uring interface
+ONLY_FOR_PLATFORM= Linux-*-*
+
+do-build:
+ ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE}
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/liburing/PLIST b/liburing/PLIST
new file mode 100644
index 0000000000..c0425a6da1
--- /dev/null
+++ b/liburing/PLIST
@@ -0,0 +1,135 @@
+@comment $NetBSD$
+include/liburing.h
+include/liburing/barrier.h
+include/liburing/compat.h
+include/liburing/io_uring.h
+lib/liburing.a
+lib/liburing.so
+lib/liburing.so.2
+lib/liburing.so.${PKGVERSION}
+lib/pkgconfig/liburing.pc
+man/man2/io_uring_enter.2
+man/man2/io_uring_enter2.2
+man/man2/io_uring_register.2
+man/man2/io_uring_setup.2
+man/man3/io_uring_buf_ring_add.3
+man/man3/io_uring_buf_ring_advance.3
+man/man3/io_uring_buf_ring_cq_advance.3
+man/man3/io_uring_buf_ring_init.3
+man/man3/io_uring_buf_ring_mask.3
+man/man3/io_uring_cq_advance.3
+man/man3/io_uring_cq_has_overflow.3
+man/man3/io_uring_cq_ready.3
+man/man3/io_uring_cqe_get_data.3
+man/man3/io_uring_cqe_get_data64.3
+man/man3/io_uring_cqe_seen.3
+man/man3/io_uring_free_probe.3
+man/man3/io_uring_get_events.3
+man/man3/io_uring_get_probe.3
+man/man3/io_uring_get_sqe.3
+man/man3/io_uring_opcode_supported.3
+man/man3/io_uring_peek_cqe.3
+man/man3/io_uring_prep_accept.3
+man/man3/io_uring_prep_accept_direct.3
+man/man3/io_uring_prep_cancel.3
+man/man3/io_uring_prep_cancel64.3
+man/man3/io_uring_prep_close.3
+man/man3/io_uring_prep_close_direct.3
+man/man3/io_uring_prep_connect.3
+man/man3/io_uring_prep_fadvise.3
+man/man3/io_uring_prep_fallocate.3
+man/man3/io_uring_prep_files_update.3
+man/man3/io_uring_prep_fsync.3
+man/man3/io_uring_prep_link.3
+man/man3/io_uring_prep_linkat.3
+man/man3/io_uring_prep_madvise.3
+man/man3/io_uring_prep_mkdir.3
+man/man3/io_uring_prep_mkdirat.3
+man/man3/io_uring_prep_msg_ring.3
+man/man3/io_uring_prep_multishot_accept.3
+man/man3/io_uring_prep_multishot_accept_direct.3
+man/man3/io_uring_prep_nop.3
+man/man3/io_uring_prep_openat.3
+man/man3/io_uring_prep_openat${PKGVERSION}
+man/man3/io_uring_prep_openat2_direct.3
+man/man3/io_uring_prep_openat_direct.3
+man/man3/io_uring_prep_poll_add.3
+man/man3/io_uring_prep_poll_multishot.3
+man/man3/io_uring_prep_poll_remove.3
+man/man3/io_uring_prep_poll_update.3
+man/man3/io_uring_prep_provide_buffers.3
+man/man3/io_uring_prep_read.3
+man/man3/io_uring_prep_read_fixed.3
+man/man3/io_uring_prep_readv.3
+man/man3/io_uring_prep_readv${PKGVERSION}
+man/man3/io_uring_prep_recv.3
+man/man3/io_uring_prep_recv_multishot.3
+man/man3/io_uring_prep_recvmsg.3
+man/man3/io_uring_prep_recvmsg_multishot.3
+man/man3/io_uring_prep_remove_buffers.3
+man/man3/io_uring_prep_rename.3
+man/man3/io_uring_prep_renameat.3
+man/man3/io_uring_prep_send.3
+man/man3/io_uring_prep_send_zc.3
+man/man3/io_uring_prep_sendmsg.3
+man/man3/io_uring_prep_shutdown.3
+man/man3/io_uring_prep_socket.3
+man/man3/io_uring_prep_socket_direct.3
+man/man3/io_uring_prep_socket_direct_alloc.3
+man/man3/io_uring_prep_splice.3
+man/man3/io_uring_prep_statx.3
+man/man3/io_uring_prep_symlink.3
+man/man3/io_uring_prep_symlinkat.3
+man/man3/io_uring_prep_sync_file_range.3
+man/man3/io_uring_prep_tee.3
+man/man3/io_uring_prep_timeout.3
+man/man3/io_uring_prep_timeout_remove.3
+man/man3/io_uring_prep_timeout_update.3
+man/man3/io_uring_prep_unlink.3
+man/man3/io_uring_prep_unlinkat.3
+man/man3/io_uring_prep_write.3
+man/man3/io_uring_prep_write_fixed.3
+man/man3/io_uring_prep_writev.3
+man/man3/io_uring_prep_writev${PKGVERSION}
+man/man3/io_uring_queue_exit.3
+man/man3/io_uring_queue_init.3
+man/man3/io_uring_queue_init_params.3
+man/man3/io_uring_recvmsg_cmsg_firsthdr.3
+man/man3/io_uring_recvmsg_cmsg_nexthdr.3
+man/man3/io_uring_recvmsg_name.3
+man/man3/io_uring_recvmsg_out.3
+man/man3/io_uring_recvmsg_payload.3
+man/man3/io_uring_recvmsg_payload_length.3
+man/man3/io_uring_recvmsg_validate.3
+man/man3/io_uring_register_buf_ring.3
+man/man3/io_uring_register_buffers.3
+man/man3/io_uring_register_eventfd.3
+man/man3/io_uring_register_eventfd_async.3
+man/man3/io_uring_register_file_alloc_range.3
+man/man3/io_uring_register_files.3
+man/man3/io_uring_register_files_sparse.3
+man/man3/io_uring_register_iowq_aff.3
+man/man3/io_uring_register_iowq_max_workers.3
+man/man3/io_uring_register_ring_fd.3
+man/man3/io_uring_register_sync_cancel.3
+man/man3/io_uring_sq_ready.3
+man/man3/io_uring_sq_space_left.3
+man/man3/io_uring_sqe_set_data.3
+man/man3/io_uring_sqe_set_data64.3
+man/man3/io_uring_sqe_set_flags.3
+man/man3/io_uring_sqring_wait.3
+man/man3/io_uring_submit.3
+man/man3/io_uring_submit_and_get_events.3
+man/man3/io_uring_submit_and_wait.3
+man/man3/io_uring_submit_and_wait_timeout.3
+man/man3/io_uring_unregister_buf_ring.3
+man/man3/io_uring_unregister_buffers.3
+man/man3/io_uring_unregister_eventfd.3
+man/man3/io_uring_unregister_files.3
+man/man3/io_uring_unregister_iowq_aff.3
+man/man3/io_uring_unregister_ring_fd.3
+man/man3/io_uring_wait_cqe.3
+man/man3/io_uring_wait_cqe_nr.3
+man/man3/io_uring_wait_cqe_timeout.3
+man/man3/io_uring_wait_cqes.3
+man/man7/io_uring.7
diff --git a/liburing/buildlink3.mk b/liburing/buildlink3.mk
new file mode 100644
index 0000000000..5c1e4eab41
--- /dev/null
+++ b/liburing/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= liburing
+
+.if !defined(LIBURING_BUILDLINK3_MK)
+LIBURING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.liburing+= liburing>=2.3
+BUILDLINK_PKGSRCDIR.liburing?= ../../wip/liburing
+.endif # LIBURING_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -liburing
diff --git a/liburing/distinfo b/liburing/distinfo
new file mode 100644
index 0000000000..5bbe588211
--- /dev/null
+++ b/liburing/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (liburing-2.3.tar.gz) = aabd54efadf054d02718a2b83cf4dfa5bc26e59f613c9c62436b5fa87a1a1edc
+SHA512 (liburing-2.3.tar.gz) = 04d29bd71d2150bbdc68eb937041784676590500cf1d61fb89b25b064c38c899a04ec0b9c06969271b98bc0e677943787844f0c5b7b0a222860a6e3a6fa34ed1
+Size (liburing-2.3.tar.gz) = 263682 bytes
Home |
Main Index |
Thread Index |
Old Index