package/libaio: bump version to 0.3.112
PATCH 1/1 package/libaio: bump version to 0.3.112
- remove 0001-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch (upstream committed [1])
- remove 0002-Makefile-add-missing-DESTDIR-variable-use.patch (upstream committed [2])
- remove 0003-Link-against-libgcc-to-avoid-unresolved-symbols.patch (upstream committed [3])
Changelog (from libaio.spec):
- Add async poll support (Christoph Hellwig)
- Use canonical DESTDIR= environment variable (Thomas Petazzoni)
- Add ability to disable building the shared library (Thomas Petazzoni)
[1] https://pagure.io/libaio/c/970196192771eeda39fabcc59a5dae9613e871a8.patch
[2] https://pagure.io/libaio/c/4059161333a14a0c705efecc5765b6cb2a29ae02.patch
[3] https://pagure.io/libaio/c/de5775ea1b42ea83e305db9c17372e3f0a8dd3a3.patch
--- ...-ENABLE_SHARED-boolean-to-allow-stat.patch | 56 ------------------ ...ile-add-missing-DESTDIR-variable-use.patch | 32 ----------- ...t-libgcc-to-avoid-unresolved-symbols.patch | 57 ------------------- package/libaio/libaio.hash | 4 +- package/libaio/libaio.mk | 2 +- 5 files changed, 3 insertions(+), 148 deletions(-) delete mode 100644 package/libaio/0001-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch delete mode 100644 package/libaio/0002-Makefile-add-missing-DESTDIR-variable-use.patch delete mode 100644 package/libaio/0003-Link-against-libgcc-to-avoid-unresolved-symbols.patch
package/libaio/0001-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch deleted +0 -56
@@ -1,56 +0,0 @@ -From 4dc04ef55710f7f5c1e55ebb5cba8e22a126404e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Mon, 29 Aug 2016 22:14:26 +0200 -Subject: [PATCH] src/Makefile: add ENABLE_SHARED boolean to allow static-only - build - -Currently, the libaio builds sytem builds a shared library -unconditionally. In some environments, this is not possible or -desirable. This commit adds a new Makefile variable, ENABLE_SHARED, -which defaults to "1" (i.e shared library enabled) and that allows to -override this behavior, and therefore to disable the build and -installation of the shared library. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - src/Makefile | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/Makefile b/src/Makefile -index eadb336..cfab240 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -8,12 +8,17 @@ SO_CFLAGS=-shared $(CFLAGS) - L_CFLAGS=$(CFLAGS) - LINK_FLAGS= - LINK_FLAGS+=$(LDFLAGS) -+ENABLE_SHARED ?= 1 - - soname=libaio.so.1 - minor=0 - micro=1 - libname=$(soname).$(minor).$(micro) --all_targets += libaio.a $(libname) -+all_targets += libaio.a -+ -+ifeq ($(ENABLE_SHARED),1) -+all_targets += $(libname) -+endif - - all: $(all_targets) - -@@ -55,9 +60,11 @@ $(libname): $(libaio_sobjs) libaio.map - install: $(all_targets) - install -D -m 644 libaio.h $(includedir)/libaio.h - install -D -m 644 libaio.a $(libdir)/libaio.a -+ifeq ($(ENABLE_SHARED),1) - install -D -m 755 $(libname) $(libdir)/$(libname) - ln -sf $(libname) $(libdir)/$(soname) - ln -sf $(libname) $(libdir)/libaio.so -+endif - - $(libaio_objs): libaio.h - --- -2.14.4 -
package/libaio/0002-Makefile-add-missing-DESTDIR-variable-use.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 517d9fbe63fbd7e72445dce1cb3f3d8457d838cb Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 14 Aug 2018 23:17:25 +0200 -Subject: [PATCH] Makefile: add missing DESTDIR variable use - -Patch borrowed from OpenEmbedded, available at -recipes/libaio/libaio-0.3.106/destdir.patch in their source tree. - -It just adds support for the traditional DESTDIR variable to install -the library in a different sysroot than the normal /. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index e9dbdb0..c1fb831 100644 ---- a/Makefile -+++ b/Makefile -@@ -14,7 +14,7 @@ all: - @$(MAKE) -C src - - install: -- @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir) -+ @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) - - check: - @$(MAKE) -C harness check --- -2.14.4 -
package/libaio/0003-Link-against-libgcc-to-avoid-unresolved-symbols.patch deleted +0 -57
57 lines not on this page · raw message
package/libaio/libaio.hash +2 -2
@@ -1,5 +1,5 @@ # From https://releases.pagure.org/libaio/CHECKSUMS -sha256 62cf871ad8fd09eb3418f00aca7a7d449299b8e1de31c65f28bf6a2ef1fa502a libaio-0.3.111.tar.gz +sha256 ab0462f2c9d546683e5147b1ce9c195fe95d07fac5bf362f6c01637955c3b492 libaio-0.3.112.tar.gz # Hash for license file: -sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING
package/libaio/libaio.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBAIO_VERSION = 0.3.111 +LIBAIO_VERSION = 0.3.112 LIBAIO_SITE = https://releases.pagure.org/libaio LIBAIO_INSTALL_STAGING = YES LIBAIO_LICENSE = LGPL-2.1+
Signature · 1 line
2.29.2
Thomas Petazzoni
AppliedPATCH 1/1 package/libaio: bump version to 0.3.112
Quoted 19 lines · On Wed, 2 Dec 2020 19:58:38 +0100 Peter Seiderer <[email protected]> wrote:
- remove 0001-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch (upstream committed [1])
- remove 0002-Makefile-add-missing-DESTDIR-variable-use.patch (upstream committed [2])
- remove 0003-Link-against-libgcc-to-avoid-unresolved-symbols.patch (upstream committed [3])
Changelog (from libaio.spec):
- Add async poll support (Christoph Hellwig)
- Use canonical DESTDIR= environment variable (Thomas Petazzoni)
- Add ability to disable building the shared library (Thomas Petazzoni)[1] https://pagure.io/libaio/c/970196192771eeda39fabcc59a5dae9613e871a8.patch
[2] https://pagure.io/libaio/c/4059161333a14a0c705efecc5765b6cb2a29ae02.patch
[3] https://pagure.io/libaio/c/de5775ea1b42ea83e305db9c17372e3f0a8dd3a3.patchSigned-off-by Peter Seiderer <[email protected]>
Quoted 10 lines
--- ...-ENABLE_SHARED-boolean-to-allow-stat.patch | 56 ------------------ ...ile-add-missing-DESTDIR-variable-use.patch | 32 ----------- ...t-libgcc-to-avoid-unresolved-symbols.patch | 57 ------------------- package/libaio/libaio.hash | 4 +- package/libaio/libaio.mk | 2 +- 5 files changed, 3 insertions(+), 148 deletions(-) delete mode 100644 package/libaio/0001-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch delete mode 100644 package/libaio/0002-Makefile-add-missing-DESTDIR-variable-use.patch delete mode 100644 package/libaio/0003-Link-against-libgcc-to-avoid-unresolved-symbols.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com