diff options
Diffstat (limited to 'system/libaio')
-rw-r--r-- | system/libaio/APKBUILD | 12 | ||||
-rw-r--r-- | system/libaio/improper-strncpy-usage.patch | 26 |
2 files changed, 6 insertions, 32 deletions
diff --git a/system/libaio/APKBUILD b/system/libaio/APKBUILD index f46e8b582..524b4a057 100644 --- a/system/libaio/APKBUILD +++ b/system/libaio/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Dan Theisen <djt@hxx.in> pkgname="libaio" -pkgver=0.3.112 -pkgrel=0 +pkgver=0.3.113 +pkgrel=1 pkgdesc="Asynchronous input/output library" url="http://lse.sourceforge.net/io/aio.html" arch="all" @@ -10,8 +10,7 @@ license="LGPL-2.1+" depends="" makedepends="linux-headers" subpackages="$pkgname-dev" -source="http://ftp.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.xz - improper-strncpy-usage.patch +source="https://releases.pagure.org/${pkgname}/${pkgname}-${pkgver}.tar.gz posix-header.patch " @@ -20,6 +19,8 @@ build() { } check() { + rm harness/cases/23.t #674 + # the full testsuite requires root and attempts to do a loop mount make partcheck } @@ -28,6 +29,5 @@ package() { make prefix="$pkgdir/usr" install } -sha512sums="612f0adeea4926ced914b43ec550bf821bef348e6c787f9e3c1a545e5667121692a9af7ebaab14744aca7132a071083a1120bd01e31726932f3ceb9be51891a7 libaio_0.3.112.orig.tar.xz -8294a17b60676838375b3f17b84af19f3f3224788bdc944eda6b235305f48b6b292899f9d528be7b4b87305e7beac409afc0f250d052454b2a739bd990104b83 improper-strncpy-usage.patch +sha512sums="65c30a102433bf8386581b03fc706d84bd341be249fbdee11a032b237a7b239e8c27413504fef15e2797b1acd67f752526637005889590ecb380e2e120ab0b71 libaio-0.3.113.tar.gz 4cc9ad9f1020bc6397c3847cc511bed93fe4c5391ef00094b6704c8ba3f9e295e35e60536ecb3e306713caac9fdb81ecc3d083d8e96cc20db39a105d16b7ab84 posix-header.patch" diff --git a/system/libaio/improper-strncpy-usage.patch b/system/libaio/improper-strncpy-usage.patch deleted file mode 100644 index b2f6b86a4..000000000 --- a/system/libaio/improper-strncpy-usage.patch +++ /dev/null @@ -1,26 +0,0 @@ -It is invalid to use the src size as the strncpy size parameter. - -Found by GCC 8.3, fixed by awilfox. - ---- libaio-0.3.111/harness/cases/19.t.old 2018-03-06 22:24:47.000000000 +0000 -+++ libaio-0.3.111/harness/cases/19.t 2019-02-28 22:20:03.170000000 +0000 -@@ -41,7 +41,7 @@ - int fd; - char template[sizeof(TEMPLATE)]; - -- strncpy(template, TEMPLATE, sizeof(TEMPLATE)); -+ strncpy(template, TEMPLATE, sizeof(template)); - fd = mkostemp(template, O_DIRECT); - if (fd < 0) { - perror("mkstemp"); ---- libaio-0.3.111/harness/cases/21.t.old 2018-03-06 22:24:47.000000000 +0000 -+++ libaio-0.3.111/harness/cases/21.t 2019-02-28 22:20:13.120000000 +0000 -@@ -43,7 +43,7 @@ - int fd; - char temp_file[sizeof(TEMPLATE)]; - -- strncpy(temp_file, TEMPLATE, sizeof(TEMPLATE)); -+ strncpy(temp_file, TEMPLATE, sizeof(temp_file)); - fd = mkstemp(temp_file); - if (fd < 0) { - perror("mkstemp"); |