summaryrefslogtreecommitdiff
path: root/development/radare2
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2016-09-02 19:01:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:17:23 +0700
commit21197b4c0e6c88a332d3ebfd1d0dc3405e552113 (patch)
treedab60e3ae8acf7aef518f98344e0dbffc7ab3da6 /development/radare2
parent747edeee30b3c2d77ce6be9a9cace6792ece2d22 (diff)
downloadslackbuilds-21197b4c0e6c88a332d3ebfd1d0dc3405e552113.tar.gz
development/radare2: Updated for version 0.10.5 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/radare2')
-rw-r--r--development/radare2/fix-makefile.patch26
-rw-r--r--development/radare2/radare2.SlackBuild14
-rw-r--r--development/radare2/radare2.info10
3 files changed, 40 insertions, 10 deletions
diff --git a/development/radare2/fix-makefile.patch b/development/radare2/fix-makefile.patch
new file mode 100644
index 0000000000..bfb1772e73
--- /dev/null
+++ b/development/radare2/fix-makefile.patch
@@ -0,0 +1,26 @@
+--- radare2-0.10.5/shlr/Makefile.orig 2016-09-02 18:49:28.154542799 +0700
++++ radare2-0.10.5/shlr/Makefile 2016-09-02 18:53:09.710545379 +0700
+@@ -219,8 +219,9 @@
+ rm -rf capstone
+ mv capstone-$(CS_VER) capstone
+ ifeq ($(CS_PATCHES),1)
++ echo "no capstone installed"
+ #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
+- cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
++ #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
+ endif
+ mkdir -p capstone/include/capstone
+ cp -rf capstone/include/*.h capstone/include/capstone
+@@ -234,9 +235,10 @@
+ capstone-sync:
+ "$(SHELL)" capstone.sh "${CS_URL}" "${CS_BRA}" "${CS_TIP}" "${CS_REV}"
+ ifeq ($(CS_PATCHES),1)
+- -cd capstone ; $(GIT) reset --hard
++ #-cd capstone ; $(GIT) reset --hard
+ #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
+- cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
++ #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
++ echo "no capstone installed"
+ endif
+
+ .PHONY: capstone
diff --git a/development/radare2/radare2.SlackBuild b/development/radare2/radare2.SlackBuild
index 38de53c47b..db34462edd 100644
--- a/development/radare2/radare2.SlackBuild
+++ b/development/radare2/radare2.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for radare2
# Copyright 2014 morte.noir, Russia, Saint-Petersburg
+# Copyright 2016 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=radare2
-VERSION=${VERSION:-0.9.8}
+VERSION=${VERSION:-0.10.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,6 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix applied patches
+patch -p1 < $CWD/fix-makefile.patch
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -89,7 +93,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* DEVELOPERS README.md TODO.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* README.md TODO.md $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/radare2/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/share/doc
diff --git a/development/radare2/radare2.info b/development/radare2/radare2.info
index 6ba3bb9bad..e1d6882a2e 100644
--- a/development/radare2/radare2.info
+++ b/development/radare2/radare2.info
@@ -1,10 +1,10 @@
PRGNAM="radare2"
-VERSION="0.9.8"
+VERSION="0.10.5"
HOMEPAGE="http://radare.org/"
-DOWNLOAD="http://radare.org/get/radare2-0.9.8.tar.xz"
-MD5SUM="724d3a281ebb0f8c7da5a09c125e5663"
+DOWNLOAD="http://radare.org/get/radare2-0.10.5.tar.xz"
+MD5SUM="ad031f7490a63c03516839cd686af624"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="morte.noir"
-EMAIL="morte.noir@yandex.com"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"