aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Marz <main@lmarz.org>2021-05-26 15:08:24 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-06-21 22:42:28 +0000
commitfc2961192333f0effad14c0bee965c751ccff1df (patch)
tree5f610905f86f03d2357583515de611afd07bf86a
parentc1bd6b45c7c197044de71fe07e6a1408c45956f6 (diff)
downloadaports-fc2961192333f0effad14c0bee965c751ccff1df.tar.gz
aports-fc2961192333f0effad14c0bee965c751ccff1df.tar.bz2
aports-fc2961192333f0effad14c0bee965c751ccff1df.tar.xz
testing/rizin: upgrade to 0.2.1
-rw-r--r--testing/rizin/APKBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/testing/rizin/APKBUILD b/testing/rizin/APKBUILD
index 95a4690393..bb2a78993e 100644
--- a/testing/rizin/APKBUILD
+++ b/testing/rizin/APKBUILD
@@ -1,11 +1,12 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=rizin
-pkgver=0.1.0
+pkgver=0.2.1
pkgrel=0
pkgdesc="UNIX-like reverse engineering framework and command-line toolset"
url="https://rizin.re/"
-# 32bit - 15/75 big FAIL 0.59s (exit status 1)
+# 32bit - 15/78 big FAIL 0.26s (exit status 1)
+# Could be integer overflow
# s390x:
# 49/75 pdb FAIL 0.97s (exit status 1)
# 55/75 serialize_analysis FAIL 0.03s (exit status 1)
@@ -27,29 +28,32 @@ makedepends="
zlib-dev
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-_testbins_commit=f0bbaa9c90acac376f09c5293386022fadc634d9
+_testbins_commit=d6cb8855f9ff83972334af95d4f59e751e78593a
source="$pkgname-$pkgver.tar.xz::https://github.com/rizinorg/rizin/releases/download/v$pkgver/rizin-src-v$pkgver.tar.xz
testbins.tar.gz::https://github.com/rizinorg/rizin-testbins/archive/$_testbins_commit.tar.gz
"
+builddir="$srcdir/rizin-v$pkgver"
prepare() {
default_prepare
# bins used for testing
- mv "$srcdir/rizin-testbins-$_testbins_commit" "$builddir/test/bins"
+ mv -v "$srcdir/rizin-testbins-$_testbins_commit" "$builddir/test/bins"
}
build() {
abuild-meson \
- -Duse_sys_capstone=true \
- -Duse_sys_magic=true \
- -Duse_sys_zip=true \
- -Duse_sys_zlib=true \
- -Duse_sys_lz4=true \
- -Duse_sys_xxhash=true \
- -Duse_sys_openssl=true \
- -Duse_sys_tree_sitter=true \
- -Duse_libuv=true \
+ -Dpackager="alpinelinux" \
+ -Dpackager-version="$pkgver-$pkgrel" \
+ -Duse_sys_capstone=enabled \
+ -Duse_sys_magic=enabled \
+ -Duse_sys_libzip=enabled \
+ -Duse_sys_zlib=enabled \
+ -Duse_sys_lz4=enabled \
+ -Duse_sys_xxhash=enabled \
+ -Duse_sys_openssl=enabled \
+ -Duse_sys_tree_sitter=enabled \
+ -Duse_libuv=true \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
@@ -65,5 +69,7 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="3c6949df261f6fad66ebc801b3ffa2f42879e1ac4b3a043ad887f9dc4a411605c4271dc46330a1a0d8610416de3419a0cf99c70337d5e2d2071ff761b7c0a2b9 rizin-0.1.0.tar.xz
-33ecc1e8386e5e10ffce1eb7d0fd609f3965db5285e5a64a4ef3d6f91f080a9d2d5e658f7eb7643c8488ec6cce8215f37924384c4f3d283aa0921ada9478401e testbins.tar.gz"
+sha512sums="
+4d0a68971a8fe1de3860f8ee18197606f59c22d4c24f3fcce691c73b45c8fe8c356a9b411604e9c3d4e5bb01f695b6ead32cdc217134eb4ddfec76867c16c327 rizin-0.2.1.tar.xz
+6abb7318f128cea88cd841e2e2240dec55f822630fa42e1df2c633be1934578df1c5b7e7d020b49859d30171e3a9a666878a634be9ea4ff991109389bca45194 testbins.tar.gz
+"