tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Freeze patch - radare2-0.9.9



I'm attaching a patch to upgrade radare2-0.9.8 to 0.9.9.

ChangeLog not know, announcement page:
http://radare.today/radare-0-9-9/

Package changes: switch to the GitHub framework for distfiles.

All pkgsrc and NetBSD patches are integrated with this release.

A possible improvement to the patch is as follows: new radare2 requires
capstone>=3.0.3.

Tested on pkgsrc-current NetBSD-current / amd64.
Index: Makefile
===================================================================
RCS file: /public/netbsd-rsync/pkgsrc/devel/radare2/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	4 May 2015 21:14:24 -0000	1.2
+++ Makefile	18 Jun 2015 00:44:27 -0000
@@ -1,10 +1,8 @@
 # $NetBSD: Makefile,v 1.2 2015/05/04 21:14:24 wiz Exp $
 
-DISTNAME=	radare2-0.9.8
-PKGREVISION=	1
+DISTNAME=	radare2-0.9.9
 CATEGORIES=	devel
-MASTER_SITES=	http://www.radare.org/get/
-EXTRACT_SUFX=	.tar.xz
+MASTER_SITES=	${MASTER_SITE_GITHUB:=radare/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://www.radare.org/
Index: PLIST
===================================================================
RCS file: /public/netbsd-rsync/pkgsrc/devel/radare2/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	27 Feb 2015 12:11:20 -0000	1.1
+++ PLIST	18 Jun 2015 00:36:29 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/27 12:11:20 gdt Exp $
+@comment $NetBSD$
 bin/r2
 bin/r2agent
 bin/rabin2
@@ -55,6 +55,7 @@
 include/libr/r_types_base.h
 include/libr/r_userconf.h
 include/libr/r_util.h
+include/libr/r_version.h
 include/libr/sdb.h
 include/libr/sdb/buffer.h
 include/libr/sdb/cdb.h
@@ -80,6 +81,7 @@
 include/libr/sflib/linux-x86-64/sfsyscall.h
 include/libr/sflib/linux-x86-64/sfsysnr.h
 lib/libr2.so
+lib/libr2.so.${PKGVERSION}
 lib/libr_anal.so
 lib/libr_anal.so.${PKGVERSION}
 lib/libr_asm.so
@@ -100,8 +102,6 @@
 lib/libr_db.so.${PKGVERSION}
 lib/libr_debug.so
 lib/libr_debug.so.${PKGVERSION}
-lib/libr_diff.so
-lib/libr_diff.so.${PKGVERSION}
 lib/libr_egg.so
 lib/libr_egg.so.${PKGVERSION}
 lib/libr_flags.so
@@ -137,7 +137,6 @@
 lib/pkgconfig/r_core.pc
 lib/pkgconfig/r_db.pc
 lib/pkgconfig/r_debug.pc
-lib/pkgconfig/r_diff.pc
 lib/pkgconfig/r_flags.pc
 lib/pkgconfig/r_fs.pc
 lib/pkgconfig/r_hash.pc
@@ -156,12 +155,15 @@
 lib/radare2/${PKGVERSION}/asm_avr.so
 lib/radare2/${PKGVERSION}/asm_bf.so
 lib/radare2/${PKGVERSION}/asm_cr16.so
+lib/radare2/${PKGVERSION}/asm_cris_gnu.so
 lib/radare2/${PKGVERSION}/asm_csr.so
 lib/radare2/${PKGVERSION}/asm_dalvik.so
 lib/radare2/${PKGVERSION}/asm_ebc.so
 lib/radare2/${PKGVERSION}/asm_gb.so
 lib/radare2/${PKGVERSION}/asm_h8300.so
+lib/radare2/${PKGVERSION}/asm_i4004.so
 lib/radare2/${PKGVERSION}/asm_java.so
+lib/radare2/${PKGVERSION}/asm_lh5801.so
 lib/radare2/${PKGVERSION}/asm_malbolge.so
 lib/radare2/${PKGVERSION}/asm_mips_gnu.so
 lib/radare2/${PKGVERSION}/asm_msil.so
@@ -169,7 +171,6 @@
 lib/radare2/${PKGVERSION}/asm_ppc_cs.so
 lib/radare2/${PKGVERSION}/asm_ppc_gnu.so
 lib/radare2/${PKGVERSION}/asm_propeller.so
-lib/radare2/${PKGVERSION}/asm_psosvm.so
 lib/radare2/${PKGVERSION}/asm_sh.so
 lib/radare2/${PKGVERSION}/asm_snes.so
 lib/radare2/${PKGVERSION}/asm_sparc_cs.so
@@ -184,6 +185,7 @@
 lib/radare2/${PKGVERSION}/asm_x86_nz.so
 lib/radare2/${PKGVERSION}/asm_x86_olly.so
 lib/radare2/${PKGVERSION}/asm_x86_udis.so
+lib/radare2/${PKGVERSION}/asm_z80_cr.so
 lib/radare2/${PKGVERSION}/bin_any.so
 lib/radare2/${PKGVERSION}/bin_bios.so
 lib/radare2/${PKGVERSION}/bin_coff.so
@@ -196,28 +198,32 @@
 lib/radare2/${PKGVERSION}/bin_mach064.so
 lib/radare2/${PKGVERSION}/bin_ningb.so
 lib/radare2/${PKGVERSION}/bin_ningba.so
+lib/radare2/${PKGVERSION}/bin_omf.so
 lib/radare2/${PKGVERSION}/bin_pe.so
 lib/radare2/${PKGVERSION}/bin_pe64.so
 lib/radare2/${PKGVERSION}/bin_te.so
 lib/radare2/${PKGVERSION}/bin_xbe.so
 lib/radare2/${PKGVERSION}/bin_xtr_dyldcache.so
 lib/radare2/${PKGVERSION}/bin_xtr_fatmach0.so
+lib/radare2/${PKGVERSION}/bin_zimg.so
 lib/radare2/${PKGVERSION}/bp_arm.so
 lib/radare2/${PKGVERSION}/bp_x86.so
+lib/radare2/${PKGVERSION}/core_anal.so
 lib/radare2/${PKGVERSION}/core_java.so
 lib/radare2/${PKGVERSION}/crypto_aes.so
 lib/radare2/${PKGVERSION}/debug_gdb.so
 lib/radare2/${PKGVERSION}/debug_native.so
+lib/radare2/${PKGVERSION}/debug_wind.so
 lib/radare2/${PKGVERSION}/hud/main
 lib/radare2/${PKGVERSION}/io_debug.so
 lib/radare2/${PKGVERSION}/io_gdb.so
-lib/radare2/${PKGVERSION}/io_haret.so
 lib/radare2/${PKGVERSION}/io_mach.so
 lib/radare2/${PKGVERSION}/io_malloc.so
 lib/radare2/${PKGVERSION}/io_procpid.so
 lib/radare2/${PKGVERSION}/io_ptrace.so
 lib/radare2/${PKGVERSION}/io_shm.so
 lib/radare2/${PKGVERSION}/io_w32dbg.so
+lib/radare2/${PKGVERSION}/io_windbg.so
 lib/radare2/${PKGVERSION}/magic/OpenBSD
 lib/radare2/${PKGVERSION}/magic/archive
 lib/radare2/${PKGVERSION}/magic/cafebabe
@@ -230,6 +236,7 @@
 lib/radare2/${PKGVERSION}/magic/flash
 lib/radare2/${PKGVERSION}/magic/freebsd
 lib/radare2/${PKGVERSION}/magic/gimp
+lib/radare2/${PKGVERSION}/magic/gpg
 lib/radare2/${PKGVERSION}/magic/html
 lib/radare2/${PKGVERSION}/magic/images
 lib/radare2/${PKGVERSION}/magic/java
@@ -255,16 +262,22 @@
 lib/radare2/${PKGVERSION}/magic/vorbis
 lib/radare2/${PKGVERSION}/magic/zfs
 lib/radare2/${PKGVERSION}/opcodes/arm.sdb
+lib/radare2/${PKGVERSION}/opcodes/mips.sdb
 lib/radare2/${PKGVERSION}/opcodes/ppc.sdb
 lib/radare2/${PKGVERSION}/opcodes/x86.sdb
 lib/radare2/${PKGVERSION}/opcodes/z80.sdb
+lib/radare2/${PKGVERSION}/parse_arm_pseudo.so
 lib/radare2/${PKGVERSION}/parse_att2intel.so
 lib/radare2/${PKGVERSION}/parse_mreplace.so
 lib/radare2/${PKGVERSION}/parse_x86_pseudo.so
+lib/radare2/${PKGVERSION}/parse_z80_pseudo.so
 lib/radare2/${PKGVERSION}/syscall/darwin-x86-32.sdb
 lib/radare2/${PKGVERSION}/syscall/darwin-x86-64.sdb
 lib/radare2/${PKGVERSION}/syscall/dos-x86-16.sdb
 lib/radare2/${PKGVERSION}/syscall/freebsd-x86-32.sdb
+lib/radare2/${PKGVERSION}/syscall/ios-arm-32.sdb
+lib/radare2/${PKGVERSION}/syscall/ios-arm-64.sdb
+lib/radare2/${PKGVERSION}/syscall/ios-x86-32.sdb
 lib/radare2/${PKGVERSION}/syscall/linux-arm-32.sdb
 lib/radare2/${PKGVERSION}/syscall/linux-mips-32.sdb
 lib/radare2/${PKGVERSION}/syscall/linux-sparc-32.sdb
@@ -287,29 +300,37 @@
 man/man1/rarun2.1
 man/man1/rasm2.1
 man/man1/rax2.1
+share/doc/radare2/Dockerfile
 share/doc/radare2/all68k.r2
 share/doc/radare2/analvars
 share/doc/radare2/android
 share/doc/radare2/bindiff
 share/doc/radare2/brainfuck
 share/doc/radare2/changes-from-1.x
+share/doc/radare2/clang-format
+share/doc/radare2/dexdump.sh
 share/doc/radare2/dospart
 share/doc/radare2/dwarf-line.rsc
 share/doc/radare2/emscripten
+share/doc/radare2/esil
 share/doc/radare2/flirt
-share/doc/radare2/fortunes
+share/doc/radare2/fortunes.fun
+share/doc/radare2/fortunes.nsfw
+share/doc/radare2/fortunes.tips
 share/doc/radare2/gdb
 share/doc/radare2/haiku
 share/doc/radare2/hud
 share/doc/radare2/idc2r.py
 share/doc/radare2/idc2rdb.idc
 share/doc/radare2/idc2rdb.pl
+share/doc/radare2/intro.md
 share/doc/radare2/io
 share/doc/radare2/io-fixing
 share/doc/radare2/iocache
 share/doc/radare2/iphone.md
 share/doc/radare2/kvast
 share/doc/radare2/lang-plugins
+share/doc/radare2/license
 share/doc/radare2/macros
 share/doc/radare2/maemo
 share/doc/radare2/objc.pl
@@ -328,6 +349,8 @@
 share/doc/radare2/strings
 share/doc/radare2/syntax
 share/doc/radare2/vim
+share/doc/radare2/vim2r2.js
+share/doc/radare2/windbg
 share/doc/radare2/windows
 share/doc/radare2/yara.md
 share/radare2/${PKGVERSION}/cons/Makefile
@@ -335,6 +358,7 @@
 share/radare2/${PKGVERSION}/cons/dark
 share/radare2/${PKGVERSION}/cons/focus
 share/radare2/${PKGVERSION}/cons/lima
+share/radare2/${PKGVERSION}/cons/matrix
 share/radare2/${PKGVERSION}/cons/ogray
 share/radare2/${PKGVERSION}/cons/pink
 share/radare2/${PKGVERSION}/cons/rasta
@@ -343,8 +367,14 @@
 share/radare2/${PKGVERSION}/cons/tango
 share/radare2/${PKGVERSION}/cons/twilight
 share/radare2/${PKGVERSION}/cons/white
+share/radare2/${PKGVERSION}/cons/xvilka
 share/radare2/${PKGVERSION}/cons/zenburn
+share/radare2/${PKGVERSION}/format/CSMFPAPI.sdb
+share/radare2/${PKGVERSION}/format/MSI.sdb
 share/radare2/${PKGVERSION}/format/Makefile
+share/radare2/${PKGVERSION}/format/OLEAUT32.sdb
+share/radare2/${PKGVERSION}/format/WS2_32.sdb
+share/radare2/${PKGVERSION}/format/WSOCK32.sdb
 share/radare2/${PKGVERSION}/format/elf32
 share/radare2/${PKGVERSION}/format/elf64
 share/radare2/${PKGVERSION}/format/elf_enums
@@ -361,19 +391,31 @@
 share/radare2/${PKGVERSION}/www/enyo/build/enyo.css
 share/radare2/${PKGVERSION}/www/enyo/build/enyo.js
 share/radare2/${PKGVERSION}/www/enyo/colors/index.html
+share/radare2/${PKGVERSION}/www/enyo/disasm.css
 share/radare2/${PKGVERSION}/www/enyo/favicon.ico
 share/radare2/${PKGVERSION}/www/enyo/icon.png
 share/radare2/${PKGVERSION}/www/enyo/index.css
 share/radare2/${PKGVERSION}/www/enyo/index.html
 share/radare2/${PKGVERSION}/www/enyo/index.js
+share/radare2/${PKGVERSION}/www/enyo/joint.min.css
+share/radare2/${PKGVERSION}/www/enyo/jquery.layout.css
 share/radare2/${PKGVERSION}/www/enyo/js/about.js
 share/radare2/${PKGVERSION}/www/enyo/js/assembler.js
 share/radare2/${PKGVERSION}/www/enyo/js/config.js
 share/radare2/${PKGVERSION}/www/enyo/js/console.js
 share/radare2/${PKGVERSION}/www/enyo/js/debugger.js
+share/radare2/${PKGVERSION}/www/enyo/js/disasm.js
 share/radare2/${PKGVERSION}/www/enyo/js/disassembler.js
+share/radare2/${PKGVERSION}/www/enyo/js/disassembler_old.js
 share/radare2/${PKGVERSION}/www/enyo/js/graph.js
 share/radare2/${PKGVERSION}/www/enyo/js/hexdump.js
+share/radare2/${PKGVERSION}/www/enyo/js/joint.js
+share/radare2/${PKGVERSION}/www/enyo/js/joint.layout.DirectedGraph.js
+share/radare2/${PKGVERSION}/www/enyo/js/jquery-1.9.0.js
+share/radare2/${PKGVERSION}/www/enyo/js/jquery-ui-latest.js
+share/radare2/${PKGVERSION}/www/enyo/js/jquery.layout-latest.js
+share/radare2/${PKGVERSION}/www/enyo/js/jquery.scrollTo.js
+share/radare2/${PKGVERSION}/www/enyo/js/jquery.ui.js
 share/radare2/${PKGVERSION}/www/enyo/js/leftpanel.js
 share/radare2/${PKGVERSION}/www/enyo/js/logs.js
 share/radare2/${PKGVERSION}/www/enyo/js/main.js
@@ -387,6 +429,7 @@
 share/radare2/${PKGVERSION}/www/enyo/lib/onyx/images/gradient-invert.png
 share/radare2/${PKGVERSION}/www/enyo/lib/onyx/images/gradient.png
 share/radare2/${PKGVERSION}/www/enyo/r2ui.js
+share/radare2/${PKGVERSION}/www/enyo/rlogo-tr.png
 share/radare2/${PKGVERSION}/www/enyo/two
 share/radare2/${PKGVERSION}/www/favicon.ico
 share/radare2/${PKGVERSION}/www/graph/img/arrow.gif
@@ -401,11 +444,45 @@
 share/radare2/${PKGVERSION}/www/graph/make.sh
 share/radare2/${PKGVERSION}/www/graph/sf-homepage.css
 share/radare2/${PKGVERSION}/www/index.html
+share/radare2/${PKGVERSION}/www/index.old.html
 share/radare2/${PKGVERSION}/www/log.html
 share/radare2/${PKGVERSION}/www/old/index.html
 share/radare2/${PKGVERSION}/www/old/rlogo2.png
 share/radare2/${PKGVERSION}/www/old/script.js
 share/radare2/${PKGVERSION}/www/old/style.css
+share/radare2/${PKGVERSION}/www/p/Makefile
+share/radare2/${PKGVERSION}/www/p/colors.html
+share/radare2/${PKGVERSION}/www/p/index.html
+share/radare2/${PKGVERSION}/www/p/lib/css/jquery-colpick.css
+share/radare2/${PKGVERSION}/www/p/lib/css/jquery-ui.css
+share/radare2/${PKGVERSION}/www/p/lib/css/jquery.onoff.css
+share/radare2/${PKGVERSION}/www/p/lib/css/jquery.ui.tabs.css
+share/radare2/${PKGVERSION}/www/p/lib/css/layout-default-latest.css
+share/radare2/${PKGVERSION}/www/p/lib/css/main.css
+share/radare2/${PKGVERSION}/www/p/lib/css/spectrum.css
+share/radare2/${PKGVERSION}/www/p/lib/css/tree.jquery.css
+share/radare2/${PKGVERSION}/www/p/lib/js/disasm_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/entropy_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/hex_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery-1.9.0.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery-colpick.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery-ui-latest.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.donetyping.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.layout-latest.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.layout.resizePaneAccordions-latest.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.onoff.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.scrollTo-latest.js
+share/radare2/${PKGVERSION}/www/p/lib/js/jquery.ui-contextmenu.js
+share/radare2/${PKGVERSION}/www/p/lib/js/main.js
+share/radare2/${PKGVERSION}/www/p/lib/js/projects_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/settings_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/spectrum.js
+share/radare2/${PKGVERSION}/www/p/lib/js/strings_panel.js
+share/radare2/${PKGVERSION}/www/p/lib/js/taphold.js
+share/radare2/${PKGVERSION}/www/p/lib/js/tree.jquery.js
+share/radare2/${PKGVERSION}/www/p/lib/js/types_panel.js
+share/radare2/${PKGVERSION}/www/p/rlogo-inv.png
+share/radare2/${PKGVERSION}/www/r2.svg
 share/radare2/${PKGVERSION}/www/rlogo.png
 share/radare2/${PKGVERSION}/www/t/Makefile
 share/radare2/${PKGVERSION}/www/t/README.md
@@ -415,5 +492,3 @@
 share/radare2/${PKGVERSION}/www/t/style.css
 share/radare2/${PKGVERSION}/www/t/tiled.js
 share/radare2/${PKGVERSION}/www/upload.html
-share/radare2/${PKGVERSION}/yara/crypto.yara.gz
-share/radare2/${PKGVERSION}/yara/packers.yara.gz
Index: distinfo
===================================================================
RCS file: /public/netbsd-rsync/pkgsrc/devel/radare2/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	27 Feb 2015 12:11:20 -0000	1.1
+++ distinfo	18 Jun 2015 00:31:39 -0000
@@ -1,9 +1,6 @@
 $NetBSD: distinfo,v 1.1 2015/02/27 12:11:20 gdt Exp $
 
-SHA1 (radare2-0.9.8.tar.xz) = 7fce08c3d08749e91a0ce3bee177ba389ae145f4
-RMD160 (radare2-0.9.8.tar.xz) = 8a8ab14d14e61117f48b59c8c8aadb81baf2da5e
-Size (radare2-0.9.8.tar.xz) = 4614588 bytes
-SHA1 (patch-configure) = ca5cebd09cf2695e350e0b59812ce2a30374aea8
-SHA1 (patch-libr-Makefile) = 1f80e2ae90fed2f6125272dced96a72e11cce946
-SHA1 (patch-libr-core-p-Makefile) = 8489aca717bdaa9155b50d2956290e84a35d0ff8
-SHA1 (patch-shlr-zip-deps.mk) = a0f4886093cba9fccec83a844447fa44a5054d44
+SHA1 (radare2-0.9.9.tar.gz) = b1ec59d41454fd3a07c8c85462ccea7ad445b2d9
+RMD160 (radare2-0.9.9.tar.gz) = e80e641eccb552c5ad77e243ac5e4b0cf261b428
+Size (radare2-0.9.9.tar.gz) = 4708786 bytes
+SHA1 (patch-shlr_gdb_Makefile) = a5b509efbfbef30077cdac55ad40a76676fe1a39
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure	27 Feb 2015 12:11:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2015/02/27 12:11:20 gdt Exp $
-
-Install libs with +x perms
-Patch cherry-picked from upstream
-
-https://github.com/radare/radare2/commit/046f0a447e2bc4a7907ed1d6911af4ba2a9ca920
-
---- configure.orig	2014-11-11 02:23:45.000000000 +0000
-+++ configure
-@@ -115,7 +115,7 @@ done
- : ${INSTALL_PROGRAM:=${INSTALL} -m 755}
- : ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s}
- : ${INSTALL_MAN:=${INSTALL} -m 444}
--: ${INSTALL_LIB:=${INSTALL} -c}
-+: ${INSTALL_LIB:=${INSTALL} -m 755 -c}
-  PKGNAME='radare2' ; VERSION='0.9.8' ; CONTACT_MAIL="pancake%nopcode.org@localhost" ; CONTACT_NAME="pancake" ; CONTACT="pancake <pancake%nopcode.org@localhost>" ;
- }
-                 
Index: patches/patch-libr-Makefile
===================================================================
RCS file: patches/patch-libr-Makefile
diff -N patches/patch-libr-Makefile
--- patches/patch-libr-Makefile	27 Feb 2015 12:11:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-libr-Makefile,v 1.1 2015/02/27 12:11:20 gdt Exp $
-
-Install libs with +x perms
-Patch cherry-picked from upstream
-https://github.com/radare/radare2/commit/046f0a447e2bc4a7907ed1d6911af4ba2a9ca920
-https://github.com/radare/radare2/commit/2f551b485052f0c9207a63f05ce26406766391b0
-
---- libr/Makefile.orig	2014-10-13 14:54:13.000000000 +0000
-+++ libr/Makefile
-@@ -1,5 +1,6 @@
- include ../global.mk
- include config.mk
-+include ../config-user.mk
- include ../mk/${COMPILER}.mk
- 
- DESTDIR:=$(call rmbdlslash,$(DESTDIR))
-@@ -124,7 +125,7 @@ install: install-includes install-pkgcon
- 	@${INSTALL_DIR} "${LFX}/radare2/${VERSION}"
- 	@for a in `find */p -perm -u+x -type f | grep -v exe | grep -v dll | grep ${EXT_SO}`; \
- 	  do echo " ${LFX}/radare2/${VERSION}/$$a"; \
--	${INSTALL_DATA} "$$a" "${LFX}/radare2/${VERSION}" ; done
-+	${INSTALL_LIB} "$$a" "${LFX}/radare2/${VERSION}" ; done
- 	cd "${LFX}/radare2" ; ln -fs "${VERSION}" last
- 
- #@echo "lang/p/radare.* ${DESTDIR}/${PFX}/${LIBDIR}/radare2/${VERSION}"
Index: patches/patch-libr-core-p-Makefile
===================================================================
RCS file: patches/patch-libr-core-p-Makefile
diff -N patches/patch-libr-core-p-Makefile
--- patches/patch-libr-core-p-Makefile	27 Feb 2015 12:11:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-libr-core-p-Makefile,v 1.1 2015/02/27 12:11:20 gdt Exp $
-
-Cherry-picked from upstream a738fd259cb18bc03689c5377d37f7599078fdb1
-"Enable support for --syszip in libr/core/p/Makefile"
-
---- libr/core/p/Makefile.orig	2014-07-02 16:26:02.000000000 +0000
-+++ libr/core/p/Makefile
-@@ -1,4 +1,5 @@
- include ../../config.mk
-+include ../../../shlr/zip/deps.mk
- 
- CFLAGS=-I../../include -Wall -shared -fPIC ${LDFLAGS_LIB} ${LDFLAGS_LINKPATH}..
- # XXX
-@@ -12,7 +13,6 @@ CFLAGS+=-L../../syscall -lr_syscall -L..
- CFLAGS+=-L../../diff -lr_diff -L../../lang -lr_lang -L../../debug -lr_debug
- CFLAGS+=-L../../bp -lr_bp -L../../reg -lr_reg -L../../asm -lr_asm
- CFLAGS+=../../../shlr/sdb/src/libsdb.a
--CFLAGS+=../../../shlr/zip/librz.a
- CFLAGS+=../../../shlr/gdb/lib/libgdbr.a
- #CFLAGS+=-L../../anal -lr_anal -L../../core -lr_core
- LDFLAGS+=${LINK}
Index: patches/patch-shlr-zip-deps.mk
===================================================================
RCS file: patches/patch-shlr-zip-deps.mk
diff -N patches/patch-shlr-zip-deps.mk
--- patches/patch-shlr-zip-deps.mk	27 Feb 2015 12:11:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-shlr-zip-deps.mk,v 1.1 2015/02/27 12:11:20 gdt Exp $
-
-Cherry-picked change from upstream revision c2770de2b8fdaa4ff815dfe30f568aa618f3ac61
-"Fix #1667 - Fix --with-syszip"
-
---- shlr/zip/deps.mk.orig	2014-06-01 15:52:59.000000000 +0000
-+++ shlr/zip/deps.mk
-@@ -2,7 +2,7 @@
- #LINK+=${STOP}/zip/zip/*.o
- #LINK+=${STOP}/zip/zlib/*.o
- ifeq ($(USE_LIB_ZIP),1)
--LINK=$(LIBZIP)
-+LINK+=$(LIBZIP)
- else
- LINK+=../../shlr/zip/librz.a
- endif
Index: patches/patch-shlr_gdb_Makefile
===================================================================
RCS file: patches/patch-shlr_gdb_Makefile
diff -N patches/patch-shlr_gdb_Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-shlr_gdb_Makefile	18 Jun 2015 00:31:32 -0000
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Unbreak linkage with external libzip.
+
+https://github.com/radare/radare2/pull/2793
+
+--- shlr/gdb/Makefile.orig	2015-06-05 02:07:13.000000000 +0000
++++ shlr/gdb/Makefile
+@@ -1,4 +1,5 @@
+ include ../../libr/config.mk
++include ../../shlr/zip/deps.mk
+ EDITOR?=vim
+ CC?=gcc
+ AR?=ar
+@@ -13,7 +14,6 @@ MINOR=1
+ LD=$(CC)
+ LDFLAGS+=-L${LIBR}/socket -lr_socket
+ LDFLAGS+=-L${LIBR}/util -lr_util
+-LDFLAGS+=../zip/librz.a
+ #OSTYPE=windows
+ include ../../libr/socket/deps.mk
+ 


Home | Main Index | Thread Index | Old Index