mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
radare2: bump version (#1293)
This commit is contained in:
committed by
waddlesplash
parent
7b8c8b7126
commit
415b6a8de2
25
dev-util/radare2/patches/radare2-1.4.0.patchset
Normal file
25
dev-util/radare2/patches/radare2-1.4.0.patchset
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
From cd69b59e2e389bb0693b59658cfe85e3d1f9fb35 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Calvin Hill <calvin@hakobaito.co.uk>
|
||||||
|
Date: Sat, 18 Feb 2017 22:33:57 +0000
|
||||||
|
Subject: [PATCH] disable pty in libr_socket
|
||||||
|
|
||||||
|
---
|
||||||
|
libr/socket/run.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libr/socket/run.c b/libr/socket/run.c
|
||||||
|
index bb9aa86..02cb635 100644
|
||||||
|
--- a/libr/socket/run.c
|
||||||
|
+++ b/libr/socket/run.c
|
||||||
|
@@ -49,7 +49,7 @@
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#define HAVE_PTY __UNIX__ && !__ANDROID__ && LIBC_HAVE_FORK && !defined(__sun)
|
||||||
|
+#define HAVE_PTY __UNIX__ && !__ANDROID__ && LIBC_HAVE_FORK && !defined(__sun) && !defined(__HAIKU__)
|
||||||
|
|
||||||
|
#if EMSCRIPTEN
|
||||||
|
#undef HAVE_PTY
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
||||||
110
dev-util/radare2/radare2-1.4.0.recipe
Normal file
110
dev-util/radare2/radare2-1.4.0.recipe
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
SUMMARY="UNIX-like reverse engineering framework and commandline tools"
|
||||||
|
DESCRIPTION="Forensics tool, scriptable commandline hexadecimal editor, \
|
||||||
|
able to open disk files, analyzing binaries in several common and less common \
|
||||||
|
formats, disassemble code for several CPU architectures, debug programs, attach \
|
||||||
|
to remote GDB servers, and much more."
|
||||||
|
HOMEPAGE="http://radare.org"
|
||||||
|
COPYRIGHT="2009-2015 nibble, pancake"
|
||||||
|
LICENSE="GNU GPL v3
|
||||||
|
GNU LGPL v3"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="http://cloud.radare.org/get/$portVersion/radare2-$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="bf6e9ad94fd5828d3936563b8b13218433fbf44231cacfdf37a7312ae2b3e93e"
|
||||||
|
PATCHES="radare2-1.4.0.patchset"
|
||||||
|
|
||||||
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
radare2$secondaryArchSuffix = $portVersion
|
||||||
|
cmd:r2$secondaryArchSuffix
|
||||||
|
cmd:r2agent$secondaryArchSuffix
|
||||||
|
cmd:r2pm$secondaryArchSuffix
|
||||||
|
cmd:rabin2$secondaryArchSuffix
|
||||||
|
cmd:radare2$secondaryArchSuffix
|
||||||
|
cmd:radiff2$secondaryArchSuffix
|
||||||
|
cmd:rafind2$secondaryArchSuffix
|
||||||
|
cmd:ragg2$secondaryArchSuffix
|
||||||
|
cmd:ragg2_cc$secondaryArchSuffix
|
||||||
|
cmd:rahash2$secondaryArchSuffix
|
||||||
|
cmd:rarun2$secondaryArchSuffix
|
||||||
|
cmd:rasm2$secondaryArchSuffix
|
||||||
|
cmd:rax2$secondaryArchSuffix
|
||||||
|
cmd:r2_docker$secondaryArchSuffix
|
||||||
|
cmd:r2_indent$secondaryArchSuffix
|
||||||
|
lib:libr2$secondaryArchSuffix = 1.4.0
|
||||||
|
lib:libr_anal$secondaryArchSuffix
|
||||||
|
lib:libr_asm$secondaryArchSuffix
|
||||||
|
lib:libr_bin$secondaryArchSuffix
|
||||||
|
lib:libr_bp$secondaryArchSuffix
|
||||||
|
lib:libr_config$secondaryArchSuffix
|
||||||
|
lib:libr_cons$secondaryArchSuffix
|
||||||
|
lib:libr_core$secondaryArchSuffix
|
||||||
|
lib:libr_crypto$secondaryArchSuffix
|
||||||
|
lib:libr_db$secondaryArchSuffix
|
||||||
|
lib:libr_debug$secondaryArchSuffix
|
||||||
|
lib:libr_egg$secondaryArchSuffix
|
||||||
|
lib:libr_flag$secondaryArchSuffix
|
||||||
|
lib:libr_fs$secondaryArchSuffix
|
||||||
|
lib:libr_hash$secondaryArchSuffix
|
||||||
|
lib:libr_io$secondaryArchSuffix
|
||||||
|
lib:libr_lang$secondaryArchSuffix
|
||||||
|
lib:libr_magic$secondaryArchSuffix
|
||||||
|
lib:libr_parse$secondaryArchSuffix
|
||||||
|
lib:libr_reg$secondaryArchSuffix
|
||||||
|
lib:libr_search$secondaryArchSuffix
|
||||||
|
lib:libr_socket$secondaryArchSuffix
|
||||||
|
lib:libr_syscall$secondaryArchSuffix
|
||||||
|
lib:libr_util$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libcapstone$secondaryArchSuffix
|
||||||
|
lib:libmagic$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
radare2${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libr2$secondaryArchSuffix = 1.4.0
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
radare2${secondaryArchSuffix} == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libcapstone$secondaryArchSuffix
|
||||||
|
devel:liblua$secondaryArchSuffix
|
||||||
|
devel:libmagic$secondaryArchSuffix
|
||||||
|
devel:libz$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:awk
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:git
|
||||||
|
cmd:make
|
||||||
|
cmd:find
|
||||||
|
cmd:sh
|
||||||
|
cmd:patch
|
||||||
|
cmd:pkg_config$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
runConfigure --omit-dirs docdir,datarootdir ./configure --with-sysmagic \
|
||||||
|
--with-syscapstone
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
cp libr/*/libr_*.so $libDir
|
||||||
|
|
||||||
|
mkdir -p `dirname $docDir`
|
||||||
|
mv $prefix/data/radare2 $docDir
|
||||||
|
rm -rf $prefix/share
|
||||||
|
|
||||||
|
prepareInstalledDevelLib libr2
|
||||||
|
packageEntries devel $developDir
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user