Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
radare2


Commits:
e1cc00e8 by Levente Polyak at 2024-02-06T01:01:00+01:00
upgpkg: 5.8.8-2: libcapstone.so.5 rebuild

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,42 @@
+pkgbase = radare2
+       pkgdesc = Open-source tools to disasm, debug, analyze and manipulate 
binary files
+       pkgver = 5.8.8
+       pkgrel = 2
+       url = https://radare.org
+       arch = x86_64
+       license = GPL3
+       license = LGPL3
+       makedepends = meson
+       depends = glibc
+       depends = gcc-libs
+       depends = capstone
+       depends = file
+       depends = libuv
+       depends = libzip
+       depends = lz4
+       depends = sh
+       depends = xxhash
+       depends = zlib
+       optdepends = r2ghidra: ghidra decompiler plugin
+       options = !emptydirs
+       source = 
https://github.com/radare/radare2/archive/5.8.8/radare2-5.8.8.tar.gz
+       source = wasm.patch
+       sha512sums = 
38f3373cc3029a7d92e1ae44ab515f0bea4c897cb981a904b40a7e05c04c29786dc8ac2f46fc97b495c4a2ec4905e0e196633dd3144c557c550239c462c9360b
+       sha512sums = 
77728bc0d2cd0eb383ea845923e02bed7e8ce19e2cd7d7170d40eb91a37f85ed8582bf3331dd85be441131c68663782b2acd53192dd2d3dc6e1866c1c916b666
+       b2sums = 
7730bfefba5e5b9196404219800693fe37bf86b97f196b200dfbda913c07001e970c98f4b999a059e9636983b7311880e37f436890a68397d732a5a463ce7015
+       b2sums = 
bbe9118239735e513beab1c8ebc01c2e5330b0f6aba033e25f2e139a21b4c6188690a22cd7742b4e89bc750b309ec27ddb80b33933bb64e0fd704ef36d59989f
+
+pkgname = radare2
+       depends = glibc
+       depends = gcc-libs
+       depends = capstone
+       depends = file
+       depends = libuv
+       depends = libzip
+       depends = lz4
+       depends = sh
+       depends = xxhash
+       depends = zlib
+       depends = libcapstone.so
+       depends = libmagic.so
+       depends = libzip.so


=====================================
PKGBUILD
=====================================
@@ -3,15 +3,26 @@
 
 pkgname=radare2
 pkgver=5.8.8
-pkgrel=1
+pkgrel=2
 pkgdesc='Open-source tools to disasm, debug, analyze and manipulate binary 
files'
 url='https://radare.org'
 arch=('x86_64')
 license=('GPL3' 'LGPL3')
-depends=('sh' 'capstone' 'libcapstone.so' 'openssl' 'libzip' 'zlib'
-         'lz4' 'xxhash' 'libxxhash.so' 'file' 'libuv'
-         'libzip.so' 'libmagic.so')
-makedepends=('meson')
+depends=(
+  glibc
+  gcc-libs
+  capstone
+  file
+  libuv
+  libzip
+  lz4
+  sh
+  xxhash
+  zlib
+)
+makedepends=(
+  meson
+)
 optdepends=('r2ghidra: ghidra decompiler plugin')
 options=('!emptydirs')
 
source=(https://github.com/radare/radare2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
@@ -33,13 +44,12 @@ build() {
   touch libr/config.mk
   arch-meson build \
     -D use_sys_capstone=true \
-    -D use_capstone_version=v4 \
+    -D use_capstone_version=v5 \
     -D use_sys_magic=true \
     -D use_sys_zip=true \
     -D use_sys_zlib=true \
     -D use_sys_lz4=true \
     -D use_sys_xxhash=true \
-    -D use_sys_openssl=true \
     -D use_libuv=true \
     -D use_webui=true \
     -D want_threads=false
@@ -48,6 +58,12 @@ build() {
 }
 
 package() {
+  depends+=(
+    libcapstone.so
+    libmagic.so
+    libzip.so
+  )
+
   cd ${pkgname}-${pkgver}
   DESTDIR="${pkgdir}" ninja -C build install
   cp -r doc/* "${pkgdir}/usr/share/doc/radare2"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/radare2/-/commit/e1cc00e80c08a0129bfd1d8d2215e9fe5e379625

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/radare2/-/commit/e1cc00e80c08a0129bfd1d8d2215e9fe5e379625
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to