Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/liburing-2.3.tar.gz SOURCES/liburing-1.0.7.tar.bz2

@ -1 +1 @@
574d244e11125e8f9345fd368bcb259d93055ed0 SOURCES/liburing-2.3.tar.gz cbd78fcc4fc43ec4c160a1b0d28c90d4b5779465 SOURCES/liburing-1.0.7.tar.bz2

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJEBAABCAAuFiEEwPw5LcreJtl1+l5K99NY+ylx4KYFAmNhzMcQHGF4Ym9lQGtl
cm5lbC5kawAKCRD301j7KXHgpkR7D/43c13RaKp4EjW9CO8mx4AzT8ERKJg7jyN4
/NJ/iI2CZGutoZf3kvFb7cpGavrPBbQDSY0W5La28TXwwSEgcdIg0Lex8bjg0Ls5
wlOgPz7YT6/8j3ZcAk2lKOTFhBYu/ZeS3QJktHGC37p5dxP5oZa+E56RwWIRdwVi
kB9iUFCmOdCjSZJ9nyLS3UL/aCDfKAXDirNRJboY1jmm2JLYLVafrUMk+4jzy7/g
8oYU+PYc+t8siqWMSul6iFlAIKaU6g/Bc+RiJUTnXtZaUaqTtctOF+qG+4vM4/vR
CFyPw8AgfAsfMGWCIYBxD8NREfAIOixl0WT7J0AFJ+SNa1WDcSezXjwzJuCguLwR
hEqX65dvtS4wc3M3TwYqtd0Mh8dECrMU328bQM4cEIFJlJQpemdZmHLPlkSA160C
9aZkYaqGA6HqTVyhgd5VPfPYzSFG4NmHPk1vZarI5Mu5bxTvLau7heiXd070fM4O
1RA2AoALqg/h7d/5S60WxMJBfUZhHwRgi4IJGpQXlf5m3kmjInEyPcHczsEiY8le
vcPecffDq7yZnh5oCHkjoHnmZ4j/J6bZJ9+dl/oDHWUMvaQuKiaWTfZq1vUC/Oc9
m+gRLrgkvWZMOZLPvysI1TrfqmGz9u7kZWkilxgZS4osrbChpdnGX1XLPz43aHts
ENA+eYYYXA==
=eRJx
-----END PGP SIGNATURE-----

@ -0,0 +1,16 @@
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)

@ -1,14 +1,12 @@
Name: liburing Name: liburing
Version: 2.3 Version: 1.0.7
Release: 2%{?dist} Release: 3%{?dist}
Summary: Linux-native io_uring I/O access library Summary: Linux-native io_uring I/O access library
License: (GPLv2 with exceptions and LGPLv2+) or MIT License: LGPLv2+
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.bz2
Source1: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz.asc URL: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
URL: https://git.kernel.dk/cgit/liburing/
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ Patch0: liburing-always-build-with-fPIC.patch
BuildRequires: make
%description %description
Provides native async IO for the Linux kernel, in a fast and efficient Provides native async IO for the Linux kernel, in a fast and efficient
@ -16,7 +14,7 @@ manner, for both buffered and O_DIRECT.
%package devel %package devel
Summary: Development files for Linux-native io_uring I/O access library Summary: Development files for Linux-native io_uring I/O access library
Requires: %{name}%{_isa} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -27,108 +25,49 @@ for the Linux-native io_uring.
%autosetup -p1 %autosetup -p1
%build %build
%set_build_flags
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} ./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
%make_build %make_build V=1
%install %install
%make_install %make_install
%files %files
%attr(0755,root,root) %{_libdir}/liburing.so.* %attr(0755,root,root) %{_libdir}/liburing.so.*
%license COPYING %doc COPYING
%files devel %files devel
%{_includedir}/liburing/ %{_includedir}/liburing/
%{_includedir}/liburing.h %{_includedir}/liburing.h
%{_libdir}/liburing.so %{_libdir}/liburing.so
%exclude %{_libdir}/liburing.a %{_libdir}/liburing.a
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_mandir}/man2/* %{_mandir}/man2/*
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog %changelog
* Thu Apr 27 2023 Jeff Moyer <jmoyer@redhat.com> - 2.3-2.el9 * Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.0.7-3
- n-v-r bump - Rebuilt for MSVSphere 8.8
- Related: rhbz#2182163
* Thu Aug 20 2020 Jeff Moyer <jmoyer@redhat.com> - 1.0.7-3.el8
* Tue Apr 18 2023 Jeff Moyer <jmoyer@redhat.com> - 2.3-1.el9 - Build with V=1 so that the build logs are useful.
- Rebase to 2.3. - Related: rhbz#1862551
- Resolves: rhbz#2182163
* Thu Aug 20 2020 Jeff Moyer <jmoyer@redhat.com> - 1.0.7-2.el8
* Fri Jun 17 2022 Jeff Moyer <jmoyer@redhat.com> - 2.1-1.el9 - Fix versioning. The installed library is 1.0.7, make the rpm match.
- Rebase to 2.1. - bump release number for build, which includes -fPIC fix
- Resolves: rhbz#2070603 - Related: rhbz#1862551
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7-7 * Fri Jul 31 2020 Jeff Moyer <jmoyer@redhat.com> - 0.7-1.el8
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Update to upstream version 0.7.
Related: rhbz#1991688 - Resolves: 1862551
* Fri Jul 09 2021 Jeff Moyer <jmoyer@redhat.com> - 0.7-6 * Wed Nov 6 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-2.el8
- Fix up use of SIGSTKSZ (Jeff Moyer) - bump release to trigger gating tests
- Resolves: rhbz#1980845 - Related: bz#1724804
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Oct 19 2020 Davide Cavalca <dcavalca@fb.com> - 0.7-3
- Drop exclude for armv7hl as it's no longer necessary
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 21 2020 Stefan Hajnoczi <stefanha@redhat.com> - 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 <stefanha@redhat.com> - 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 <stefanha@redhat.com> - 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 <releng@fedoraproject.org> - 0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jan 7 2020 Stefan Hajnoczi <stefanha@redhat.com> - 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 <jmoyer@redhat.com> - 0.2-1 * Thu Oct 31 2019 Jeff Moyer <jmoyer@redhat.com> - 0.2-1
- Add io_uring_cq_ready() - Initial rhel8 package.
- Add io_uring_peek_batch_cqe() - Resolves: bz#1724804
- 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 <axboe@kernel.dk> - 0.1 * Tue Jan 8 2019 Jens Axboe <axboe@kernel.dk> - 0.1
- Initial version - Initial version

Loading…
Cancel
Save