# Contributor: Sören Tempel # Contributor: Valery Kartel # Contributor: stef # Contributor: Jose-Luis Rivas # Maintainer: Valery Kartel pkgname=radare2 pkgver=4.2.1 pkgrel=0 pkgdesc="An opensource, crossplatform reverse engineering framework" url="http://www.radare.org" arch="all" license="GPL-3.0" options="!check" # upstream does not provide any working testsuite makedepends="$depends_dev libzip-dev openssl-dev capstone-dev linux-headers" subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg $pkgname-libs" source="$pkgname-$pkgver.tar.gz::https://github.com/radare/radare2/archive/$pkgver.tar.gz" # secfixes: # 3.9.0-r0: # - CVE-2019-14745 # - CVE-2019-12865 # - CVE-2019-12829 # - CVE-2019-12802 # - CVE-2019-12790 build() { [ "$CARCH" = "s390x" ] && _disable_debugger="--disable-debugger" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ $_disable_debugger \ --with-syscapstone \ --with-openssl \ --with-syszip make HAVE_LIBVERSION=1 } package() { make DESTDIR="$pkgdir" install } sha512sums="aed37f6ff7ae3a25e809e8fbab3ef1c370dba80b7b8ef440a025edfbda23314ce20990b3e89589fe6bee427b2beebabd67a9e1def603e53ca5078bf32bdc4e6c radare2-4.2.1.tar.gz"