radare2: bump version

This commit is contained in:
Sergei Reznikov
2017-06-18 17:57:53 +03:00
parent 0b8a51ba2b
commit 98ca0d0e4e
4 changed files with 4 additions and 163 deletions

View File

@@ -1,25 +0,0 @@
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

View File

@@ -1,25 +0,0 @@
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

View File

@@ -1,108 +0,0 @@
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="8e15959b85707f4b5c6d1244eeae7faa4d8f39a7c7f9345c0aa869b56dec49e6"
PATCHES="radare2-1.2.1.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
lib:libr2$secondaryArchSuffix = 1.2.1
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.2.1
"
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/doc $docDir
rm -rf $prefix/share
prepareInstalledDevelLib libr2
packageEntries devel $developDir
}

View File

@@ -3,14 +3,13 @@ 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"
HOMEPAGE="https://radare.org/"
COPYRIGHT="2009-2017 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"
SOURCE_URI="https://github.com/radare/radare2/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="c6b465cb2f36a206d5e9380c0bcbb4c05ed5cb7995e554703206e0bbdc9c74a1"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"