diff --git a/.gitignore b/.gitignore index f9b826f..0cf8107 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/liburing-1.0.7.tar.bz2 +liburing-2.5.tar.gz diff --git a/.liburing.metadata b/.liburing.metadata deleted file mode 100644 index 5baf939..0000000 --- a/.liburing.metadata +++ /dev/null @@ -1 +0,0 @@ -cbd78fcc4fc43ec4c160a1b0d28c90d4b5779465 SOURCES/liburing-1.0.7.tar.bz2 diff --git a/SOURCES/liburing-always-build-with-fPIC.patch b/SOURCES/liburing-always-build-with-fPIC.patch deleted file mode 100644 index 6daa3d0..0000000 --- a/SOURCES/liburing-always-build-with-fPIC.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/Makefile b/src/Makefile -index 44a95ad..6fd050d 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -4,9 +4,9 @@ libdir ?= $(prefix)/lib - libdevdir ?= $(prefix)/lib - - CFLAGS ?= -g -fomit-frame-pointer -O2 --override CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare\ -+override CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -fPIC\ - -Iinclude/ -include ../config-host.h --SO_CFLAGS=-fPIC $(CFLAGS) -+SO_CFLAGS=$(CFLAGS) - L_CFLAGS=$(CFLAGS) - LINK_FLAGS= - LINK_FLAGS+=$(LDFLAGS) diff --git a/SPECS/liburing.spec b/SPECS/liburing.spec deleted file mode 100644 index 6a8f79c..0000000 --- a/SPECS/liburing.spec +++ /dev/null @@ -1,70 +0,0 @@ -Name: liburing -Version: 1.0.7 -Release: 3%{?dist} -Summary: Linux-native io_uring I/O access library -License: LGPLv2+ -Source: %{name}-%{version}.tar.bz2 -URL: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2 -BuildRequires: gcc -Patch0: liburing-always-build-with-fPIC.patch - -%description -Provides native async IO for the Linux kernel, in a fast and efficient -manner, for both buffered and O_DIRECT. - -%package devel -Summary: Development files for Linux-native io_uring I/O access library -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig - -%description devel -This package provides header files to include and libraries to link with -for the Linux-native io_uring. - -%prep -%autosetup -p1 - -%build -./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} - -%make_build V=1 - -%install -%make_install - -%files -%attr(0755,root,root) %{_libdir}/liburing.so.* -%doc COPYING - -%files devel -%{_includedir}/liburing/ -%{_includedir}/liburing.h -%{_libdir}/liburing.so -%{_libdir}/liburing.a -%{_libdir}/pkgconfig/* -%{_mandir}/man2/* - -%changelog -* Thu Aug 20 2020 Jeff Moyer - 1.0.7-3.el8 -- Build with V=1 so that the build logs are useful. -- Related: rhbz#1862551 - -* Thu Aug 20 2020 Jeff Moyer - 1.0.7-2.el8 -- Fix versioning. The installed library is 1.0.7, make the rpm match. -- bump release number for build, which includes -fPIC fix -- Related: rhbz#1862551 - -* Fri Jul 31 2020 Jeff Moyer - 0.7-1.el8 -- Update to upstream version 0.7. -- Resolves: 1862551 - -* Wed Nov 6 2019 Jeff Moyer - 0.2-2.el8 -- bump release to trigger gating tests -- Related: bz#1724804 - -* Thu Oct 31 2019 Jeff Moyer - 0.2-1 -- Initial rhel8 package. -- Resolves: bz#1724804 - -* Tue Jan 8 2019 Jens Axboe - 0.1 -- Initial version diff --git a/liburing-2.5.tar.gz.asc b/liburing-2.5.tar.gz.asc new file mode 100644 index 0000000..55618df --- /dev/null +++ b/liburing-2.5.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJEBAABCAAuFiEEwPw5LcreJtl1+l5K99NY+ylx4KYFAmVGs2UQHGF4Ym9lQGtl +cm5lbC5kawAKCRD301j7KXHgpo8JD/9ThG0ebI63f1f+Rrh2ic7FOwXrS4B2VtXH +96+LRqfBJW4L0tvDmH8ej87PgymF8bsoum739JiicK4xUbmwSU4JYkBk0YD1icgx +6EuV9Ax7YqxMSCJqQnhOTvZAr/+3nH3NfRkPSNhLBS0maE2GNp+uRIK0brNitQY7 +wDQIe7dM2ldMJQQ2lA/vgHXFxET6O6qPKGeqZ9OCSlOUVtXlpyEo1DtUYHMC9uSh +DdeRG41qnHf+O/We/aiiepOVI9FJwZP7ifnmCCsdJOENUZpkuw5qJEpp743/GcO+ +XxMchAW1GumLkeCAjq6HjV4DuO64gQ+m7Ud7evxGOLzFbuEcW/X2DZ/gYjp4ZcRV +6YYAjLQvjhJqfDPBp4x0Im3xHZ530ES5ySIqcMFyDPjiY3zu9onUCp9S5RWNzVMB +NSZrSJWjmF/8UKVcAHs5dlbneHQlcbydO9Kc2fGomb2qO8dBpz6tGCPrsn6A1lXm +u026C24YRGUSrQyN0bhT/UnVnayfrzoWdXiGOowI2GHJ2RHLtYE1KOhqBxX3Rzil +uFK+yANIvwzbpkMzLQ6tTnwL0EQHzS/SWzVEcTtLuqbF9C/F9S/amFnh53elsbUD +BXdqAZNkBG1k3Y9P4X7XMWj45LF5o2n1oCYKlqI6RO2fE7Eqm6AkrX4RT9P13K0e +kb6WEeN8Yg== +=L1ts +-----END PGP SIGNATURE----- diff --git a/liburing.spec b/liburing.spec new file mode 100644 index 0000000..3322a6e --- /dev/null +++ b/liburing.spec @@ -0,0 +1,162 @@ +Name: liburing +Version: 2.5 +Release: 5%{?dist} +Summary: Linux-native io_uring I/O access library +License: (GPLv2 with exceptions and LGPLv2+) or MIT +Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz +Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc +URL: https://git.kernel.dk/cgit/liburing/ +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make + +%description +Provides native async IO for the Linux kernel, in a fast and efficient +manner, for both buffered and O_DIRECT. + +%package devel +Summary: Development files for Linux-native io_uring I/O access library +Requires: %{name}%{_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package provides header files to include and libraries to link with +for the Linux-native io_uring. + +%prep +%autosetup -p1 + +%build +%set_build_flags +./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} --use-libc + +%make_build + +%install +%make_install + +%files +%attr(0755,root,root) %{_libdir}/liburing.so.* +%attr(0755,root,root) %{_libdir}/liburing-ffi.so.* +%license COPYING + +%files devel +%{_includedir}/liburing/ +%{_includedir}/liburing.h +%{_libdir}/liburing.so +%{_libdir}/liburing-ffi.so +%exclude %{_libdir}/liburing.a +%exclude %{_libdir}/liburing-ffi.a +%{_libdir}/pkgconfig/* +%{_mandir}/man2/* +%{_mandir}/man3/* +%{_mandir}/man7/* + +%changelog +* Tue Oct 29 2024 Troy Dawson - 2.5-5 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Mon Jun 24 2024 Troy Dawson - 2.5-4 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 23 2023 Stefan Hajnoczi - 2.5-1 +- Update to liburing 2.5. + +* Thu Jul 20 2023 Fedora Release Engineering - 2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 20 2023 Stefan Hajnoczi - 2.4-2 +- Fix i686 build failure due to nolibc conflict with stack protector. + +* Tue Jun 20 2023 Stefan Hajnoczi - 2.4-1 +- Update to liburing 2.4. + +* Thu Jan 19 2023 Fedora Release Engineering - 2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 9 2022 Stefan Hajnoczi - 2.3-1 +- Update to liburing 2.3. + +* Mon Aug 22 2022 Richard W.M. Jones - 2.2-1 +- Update to liburing 2.2. + +* Thu Jul 21 2022 Fedora Release Engineering - 2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Apr 13 2021 Stefan Hajnoczi - 2.0-1 +- Update to liburing 2.0. This release is source-compatible with 0.7 but + applications must be recompiled since struct sizes have changed. +- Add man3 and man7 documentation + +* Tue Jan 26 2021 Fedora Release Engineering - 0.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Oct 19 2020 Davide Cavalca - 0.7-3 +- Drop exclude for armv7hl as it's no longer necessary + +* Tue Jul 28 2020 Fedora Release Engineering - 0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Stefan Hajnoczi - 0.7-1 +- Add io_uring_cq_eventfd_toggle() helper for new IORING_CQ_EVENTFD_DISABLED flag +- Add IORING_OP_TEE +- Documentation fixes and improvements + +* Thu May 7 2020 Stefan Hajnoczi - 0.6-1 +- add io_uring_prep_splice() +- add io_uring_prep_provide_buffers() +- add io_uring_prep_remove_buffers() +- add io_uring_register_eventfd_async() +- reinstate io_uring_unregister_eventfd() (it was accidentally removed in 0.4) + +* Thu Mar 19 2020 Stefan Hajnoczi - 0.5-1 +- Update license to GPL-2.0 OR MIT +- Add io_uring_prep_epoll_ctl() +- Add io_uring_get_probe(), io_uring_get_probe_ring() +- Add io_uring_register_probe() +- Add io_uring_{register,unregister}_personality() +- Add io_uring_prep_{recv,send}() +- Add io_uring_prep_openat2() +- Add io_uring_ring_dontfork() +- Add io_uring_prep_read() and io_uring_prep_write() +- Documentation fixes and improvements + +* Wed Jan 29 2020 Fedora Release Engineering - 0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 7 2020 Stefan Hajnoczi - 0.3-1 +- Add IORING_OP_STATX +- Add IORING_OP_OPENAT/IORING_OP_CLOSE helpers +- Add prep helpers for IORING_OP_FILES_UPDATE and IORING_OP_FALLOCATE +- Add io_uring_prep_connect() helper +- Add io_uring_wait_cqe_nr() +- Add IORING_OP_ASYNC_CANCEL and prep helper + +* Thu Oct 31 2019 Jeff Moyer - 0.2-1 +- Add io_uring_cq_ready() +- Add io_uring_peek_batch_cqe() +- Add io_uring_prep_accept() +- Add io_uring_prep_{recv,send}msg() +- Add io_uring_prep_timeout_remove() +- Add io_uring_queue_init_params() +- Add io_uring_register_files_update() +- Add io_uring_sq_space_left() +- Add io_uring_wait_cqe_timeout() +- Add io_uring_wait_cqes() +- Add io_uring_wait_cqes_timeout() + +* Tue Jan 8 2019 Jens Axboe - 0.1 +- Initial version diff --git a/sources b/sources new file mode 100644 index 0000000..3bebb31 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (liburing-2.5.tar.gz) = 574a343d11e3881fb258a4fc201cfadf61f00dcd9610577a3ddba1e856456a609757f2988c5cabb6037a72997acf77b23dfe17eba089fe27dbb36a332f85ab6b