pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/liburing



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Apr 17 21:32:54 UTC 2023

Added Files:
        pkgsrc/devel/liburing: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
liburing: import new package, version 2.3

This is the Linux io_uring library, liburing. liburing provides helpers to
set up and tear down io_uring instances, and also a simplified interface
for applications that don't need (or want) to deal with the full kernel-
side implementation.

Packaged in wip by Alexander Schreiber. Minor adjustments by myself, also
build tested on Fedora 37.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/liburing/DESCR \
    pkgsrc/devel/liburing/Makefile pkgsrc/devel/liburing/PLIST \
    pkgsrc/devel/liburing/buildlink3.mk pkgsrc/devel/liburing/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/liburing/DESCR
diff -u /dev/null pkgsrc/devel/liburing/DESCR:1.1
--- /dev/null   Mon Apr 17 21:32:54 2023
+++ pkgsrc/devel/liburing/DESCR Mon Apr 17 21:32:54 2023
@@ -0,0 +1,4 @@
+This is the Linux io_uring library, liburing. liburing provides helpers to
+set up and tear down io_uring instances, and also a simplified interface
+for applications that don't need (or want) to deal with the full kernel-
+side implementation.
Index: pkgsrc/devel/liburing/Makefile
diff -u /dev/null pkgsrc/devel/liburing/Makefile:1.1
--- /dev/null   Mon Apr 17 21:32:54 2023
+++ pkgsrc/devel/liburing/Makefile      Mon Apr 17 21:32:54 2023
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2023/04/17 21:32:54 gutteridge Exp $
+
+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 the Linux kernel io_uring interface
+ONLY_FOR_PLATFORM=     Linux-*-*
+
+do-build:
+       ${RUN} cd ${WRKSRC}/ && ./configure --prefix=${PREFIX} && ${GMAKE}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/liburing/PLIST
diff -u /dev/null pkgsrc/devel/liburing/PLIST:1.1
--- /dev/null   Mon Apr 17 21:32:54 2023
+++ pkgsrc/devel/liburing/PLIST Mon Apr 17 21:32:54 2023
@@ -0,0 +1,135 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/17 21:32:54 gutteridge Exp $
+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
Index: pkgsrc/devel/liburing/buildlink3.mk
diff -u /dev/null pkgsrc/devel/liburing/buildlink3.mk:1.1
--- /dev/null   Mon Apr 17 21:32:54 2023
+++ pkgsrc/devel/liburing/buildlink3.mk Mon Apr 17 21:32:54 2023
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/04/17 21:32:54 gutteridge Exp $
+
+BUILDLINK_TREE+=       liburing
+
+.if !defined(LIBURING_BUILDLINK3_MK)
+LIBURING_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.liburing+=       liburing>=2.3
+BUILDLINK_PKGSRCDIR.liburing?=         ../../devel/liburing
+.endif # LIBURING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -liburing
Index: pkgsrc/devel/liburing/distinfo
diff -u /dev/null pkgsrc/devel/liburing/distinfo:1.1
--- /dev/null   Mon Apr 17 21:32:54 2023
+++ pkgsrc/devel/liburing/distinfo      Mon Apr 17 21:32:54 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/04/17 21:32:54 gutteridge Exp $
+
+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