Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c3d452e407a7a1682319c4d196999711d24940b9)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c3d452e407a7a1682319c4d196999711d24940b9)
  • Date: Fri, 9 Jan 2009 17:07:05 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

devel/radare/BUILD | 8 ++++---
devel/radare/CONFIGURE | 38
++++++++++++++++++-----------------
devel/radare/DEPENDS | 38
++++++++++++++---------------------
devel/radare/DETAILS | 26 +++++++++++------------
devel/radare/HISTORY | 12 ++++++++++-
devel/radare/PRE_BUILD | 14 ++++++++++++
devel/radare/patch-Makefile_acr.diff | 18 ++++++++++++++++
7 files changed, 97 insertions(+), 57 deletions(-)

New commits:
commit c3d452e407a7a1682319c4d196999711d24940b9
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

radare: => 1.1, finally.

diff --git a/devel/radare/BUILD b/devel/radare/BUILD
index bc8c80f..1ad60ff 100755
--- a/devel/radare/BUILD
+++ b/devel/radare/BUILD
@@ -1,3 +1,5 @@
-list_remove ASK EMPTY1 EMPTY2 EMPTY3 EMPTY4 EMPTY5 EMPTY6
-OPTS="$ASK $OPTS" &&
-default_build
+OPTS="$RADARE_OPTS $OPTS" &&
+
+make_single &&
+default_build &&
+make_normal
diff --git a/devel/radare/CONFIGURE b/devel/radare/CONFIGURE
index 59fbd63..64d3151 100755
--- a/devel/radare/CONFIGURE
+++ b/devel/radare/CONFIGURE
@@ -1,18 +1,20 @@
-config_query_option ASK "Enable the build of the libusb sniffer?" y \
- "EMPTY1" \
- "--without-usb-sniffer" &&
-config_query_option ASK "Enable the debugger layer?" y \
- "EMPTY2" \
- "--without-debugger" &&
-config_query_option ASK "Build the java api?" n \
- "--with-java" \
- "EMPTY3" &&
-config_query_option ASK "Build the wii plugin for usbgecko?" n \
- "--with-wii" \
- "EMPTY4" &&
-config_query_option ASK "Enable the win32 framework (mingw32)?" n \
- "--enable-w32" \
- "EMPTY5" &&
-config_query_option ASK "Build the syscall proxy plugin?" n \
- "--with-sysproxy" \
- "EMPTY6"
+config_query_option RADARE_OPTS "Enable the build of the libusb sniffer?" y \
+ "" "--without-usb-sniffer" &&
+
+config_query_option RADARE_OPTS "Enable the debugger layer?" y \
+ "" "--without-debugger" &&
+
+config_query_option RADARE_OPTS "Build the java api?" n \
+ "--with-java" "" &&
+
+config_query_option RADARE_OPTS "Build the wii plugin for usbgecko?" n \
+ "--with-wii" "" &&
+
+config_query_option RADARE_OPTS "Build the syscall proxy plugin?" n \
+ "--with-sysproxy" "" &&
+
+config_query_option RADARE_OPTS "Build hildon interface?" n \
+ "--with-maemo" "" &&
+
+config_query_option RADARE_OPTS "Enable the win32 framework (mingw32)?" n \
+ "--enable-w32" ""
diff --git a/devel/radare/DEPENDS b/devel/radare/DEPENDS
index d907a49..31a28e5 100755
--- a/devel/radare/DEPENDS
+++ b/devel/radare/DEPENDS
@@ -1,29 +1,23 @@
depends lua &&
-
-optional_depends libewf \
- "" \
- "" \
- "support Expert Witness compression Format" &&
+depends python &&

optional_depends readline \
- "" \
- "--without-readline" \
- "enable readline support" &&
+ "" "--without-readline" \
+ "for readline support" &&
+
+optional_depends vala \
+ "--with-vala" \
+ "--without-vala --without-gui" \
+ "for the Vala GUI" &&

-optional_depends gtk+2 \
- "" \
- "--without-gui" \
- "enable the gtk+2 gui" &&
+if is_depends_enabled $SPELL vala; then
+ depends gtk+2 "--with-gui" &&
+ depends vte &&

-if is_depends_enabled $SPELL gtk+2 ; then
- depends gtkdialog &&
- depends vte
-fi
+ suggest_depends gtkdialog
+fi &&

-optional_depends vala \
- "" \
- "--without-vala" \
- "Enable the vala gui" &&
+optional_depends libewf "" "" "for Expert Witness compression format" &&

-suggest_depends perl "" "" "support perl scripting" &&
-suggest_depends python "" "" "support python scripting"
+suggest_depends perl "" "" "for perl scripting support" &&
+suggest_depends ruby "" "" "for ruby scripting support"
diff --git a/devel/radare/DETAILS b/devel/radare/DETAILS
index 9fd7b00..93d189d 100755
--- a/devel/radare/DETAILS
+++ b/devel/radare/DETAILS
@@ -1,18 +1,18 @@
SPELL=radare
- VERSION=0.9.3
- SOURCE="${SPELL}-${VERSION}.tar.gz"
- SOURCE_URL[0]=http://${SPELL}.nopcode.org/get/${SOURCE}
-
SOURCE_HASH=sha512:4068bb25826b86a19da22f5bff1f5bde9715c9d3e6b04f539ce4c5d93b6df79982431064da7d5bbd9c00112ad327f79fd60b6ecb44efd14c639ddd6ebaf35ce1:UPSTREAM_HASH
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- WEB_SITE="http://radare.nopcode.org/ "
+ VERSION=1.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://radare.nopcode.org/get/$SOURCE
+
SOURCE_HASH=sha512:58093779a2842ef969cabffd448f915d689148c8ec0c27a57d56bfa9774163f38c247d209f246f850312ded75f4b8b8e61948f1ee75b87b0193437c21203475f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://radare.nopcode.org/
LICENSE[0]=GPL
ENTERED=20080314
- SHORT="A *nix-like toolchaing for reverse engineering and binary
file manipulation."
+ SHORT="unix-like toolchain for reverse engineering"
cat << EOF
-radare is a toolchain that aims to create a complete set of utilities
-for handling binary files from the command line. It's mainly a hexadecimal
-editor for the command line but with advanced features. There are extensions
-for debugging processes on x86-32 and ARM, libusb and fd sniffers, binary
-diffing utilities, base format conversions, generating graphs of a program,
-a cross-platform disassembler as an objdump frontend, and more.
+radare is a toolchain that aims to create a complete set of utilities for
+handling binary files from the command line. It's mainly a hexadecimal editor
+for the command line but with advanced features. There are extensions for
+debugging processes on x86-32 and ARM, libusb and fd sniffers, binary diffing
+utilities, base format conversions, generating graphs of a program, a
+cross-platform disassembler as an objdump frontend, and more.
EOF
diff --git a/devel/radare/HISTORY b/devel/radare/HISTORY
index 217e4ff..eec06ab 100644
--- a/devel/radare/HISTORY
+++ b/devel/radare/HISTORY
@@ -1,3 +1,13 @@
+2009-01-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 1.1; fixed descs; cleaned up
+ * BUILD: fixed multijob build, opts mess
+ * DEPENDS: python isn't optional -- waf is used as a build system;
+ gtkdialog -- only when vala's enabled; added forgotten `&&'; added
+ ruby -> suggest; cleaned up
+ * CONFIGURE: tabs are bad; improved readability by adding newlines;
+ fixed opts mess
+ * PRE_BUILD: fixed sequence of the installation dirs/files, paths for
+ python and ruby
+
2008-03-14 Justin Boffemmyer <flux AT sourcemage.org>
* DEPENDS, DETAILS, HISTORY: spell created
-
diff --git a/devel/radare/PRE_BUILD b/devel/radare/PRE_BUILD
new file mode 100755
index 0000000..9c7c798
--- /dev/null
+++ b/devel/radare/PRE_BUILD
@@ -0,0 +1,14 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+local PYTHON=$(installed_version python) &&
+local RUBY=$(installed_version ruby) &&
+
+# fixed import for python plugin
+sed -i "s:import r:import radare as r:" src/plug/hack/radare.py &&
+
+# fixed python and ruby paths
+sed -i "s:python2.5:python${PYTHON%.?}:g" Makefile.acr
src/plug/hack/Makefile &&
+sed -i "s:ruby1.8:ruby/${RUBY%.*}:g" Makefile.acr &&
+
+patch -p0 < "$SPELL_DIRECTORY/patch-Makefile_acr.diff"
diff --git a/devel/radare/patch-Makefile_acr.diff
b/devel/radare/patch-Makefile_acr.diff
new file mode 100644
index 0000000..3b9fc7e
--- /dev/null
+++ b/devel/radare/patch-Makefile_acr.diff
@@ -0,0 +1,18 @@
+--- Makefile.acr.orig 2008-12-28 04:23:07.000000000 +0300
++++ Makefile.acr 2009-01-10 00:32:03.857232738 +0300
+@@ -82,6 +82,7 @@
+ install:
+ mkdir -p ${BINDIR} ${MANDIR}/man1 ${SHAREDIR}/radare/
${SHAREDIR}/doc/radare ${LIBEXECDIR}/radare
+ ${INSTALL_PROGRAM} src/radare ${BINDIR}
++ cd src/rsc && ${MAKE} install
+ -${INSTALL_PROGRAM} src/radiff/bdiff/bdiff ${BINDIR}
+ -${INSTALL_PROGRAM} src/radiff/radiff ${BINDIR}
+ -${INSTALL_PROGRAM} src/radiff/bindiff-ng/bindiff-ng
${DESTDIR}/${DATADIR}/radare/rsc
+@@ -94,7 +95,6 @@
+ ${INSTALL_PROGRAM} src/rasc/rasc ${BINDIR}
+ ${INSTALL_PROGRAM} src/rahash/rahash ${BINDIR}
+ ${INSTALL_PROGRAM} src/rax ${BINDIR}
+- cd src/rsc && ${MAKE} install
+ mkdir -p ${LIBDIR}
+ # install plugins
+ mkdir -p ${LIBDIR}/radare



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c3d452e407a7a1682319c4d196999711d24940b9), Vlad Glagolev, 01/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page