main/apk-tools: upgrade to 2.2.3 (cherry picked from commit 4546ec4b1aa5562ea7e21511bb31c610cf2d9f76)
Changes
2 files changed · +17 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| main/apk-tools/APKBUILD | modified | +4 | −2 | View file |
| main/apk-tools/fix-lua-apk.patch | added | +13 | −0 | View file |
main/apk-tools/APKBUILD
View filediff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index 7f8b799..86845e8 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <[email protected]>
pkgname=apk-tools
-pkgver=2.2.2
+pkgver=2.2.3
pkgrel=0
pkgdesc="Alpine Package Keeper - package manager for alpine"
subpackages="$pkgname-static lua-apk:luaapk"
depends=
makedepends="zlib-dev openssl-dev lua-dev"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ fix-lua-apk.patch
"
url="http://git.alpinelinux.org/cgit/apk-tools/"
@@ -54,4 +55,5 @@ luaapk() {
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/lib/
}
-md5sums="1660ba53d447d2151371715d1225fdbf apk-tools-2.2.2.tar.bz2"
+md5sums="31dcb57491d08ea69f0d041aad94e865 apk-tools-2.2.3.tar.bz2
+66e110316e76408f19f8c44e698c26cb fix-lua-apk.patch"
main/apk-tools/fix-lua-apk.patch
View filediff --git a/main/apk-tools/fix-lua-apk.patch b/main/apk-tools/fix-lua-apk.patch
new file mode 100644
index 0000000..0c13e81
--- /dev/null
+++ b/main/apk-tools/fix-lua-apk.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lua-apk.c b/src/lua-apk.c
+index 6fbd1cf..45488c2 100644
+--- a/src/lua-apk.c
++++ b/src/lua-apk.c
+@@ -208,7 +208,7 @@ static int Papk_exists(lua_State *L)
+ apk_blob_t blob = APK_BLOB_STR(depstr);
+ apk_blob_pull_dep(&blob, db, &dep);
+
+- if (APK_BLOB_IS_NULL(blob) || b.len > 0)
++ if (APK_BLOB_IS_NULL(blob) || blob.len > 0)
+ goto ret_nil;
+
+ name = dep.name;