diff --git a/configure b/configure index d74b0708..94058556 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# This script was automatically generated by ACR v2.0.1 +# This script was automatically generated by ACR v2.1.0 # @author: pancake # @url: http://www.nopcode.org # @repo: git clone https://github.com/radare/acr @@ -84,6 +84,7 @@ HOST="${BUILD}" TARGET="${HOST}" ETCDIR="/etc" SYSCONFDIR="" +DESCRIPTION="" create_environ() { : ${EPREFIX:="${PREFIX}"} @@ -92,6 +93,8 @@ create_environ() { : ${SBINDIR:="${PREFIX}/sbin"} : ${ETCDIR:="${SPREFIX}/etc"} : ${LIBDIR:="${SPREFIX}/lib"} +: ${PKGCFG_LIBDIR:="\${exec_prefix}/lib"} +: ${PKGCFG_INCDIR:="\${prefix}/include"} : ${LIBEXECDIR:="${SPREFIX}/libexec"} : ${INCLUDEDIR:="${SPREFIX}/include"} : ${DATADIR:="${SPREFIX}/share"} @@ -110,12 +113,12 @@ done : ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s} : ${INSTALL_MAN:=${INSTALL} -m 444} : ${INSTALL_LIB:=${INSTALL} -m 755 -c} - PKGNAME='r2frida' ; VERSION='5.8.2' ; VERSION_MAJOR=5; VERSION_MINOR=8; VERSION_PATCH=2; VERSION_NUMBER=50802; CONTACT_MAIL="pancake@nowsecure.com" ; CONTACT_NAME="pancake" ; CONTACT="pancake " ; + PKGNAME='r2frida' ; VERSION='5.8.4' ; VERSION_MAJOR=5; VERSION_MINOR=8; VERSION_PATCH=4; VERSION_NUMBER=50804; CONTACT_MAIL="pancake@nowsecure.com" ; CONTACT_NAME="pancake" ; CONTACT="pancake " ; } show_usage() { cat <." exit 0 @@ -228,11 +231,13 @@ case $flag in -V|-version|--version) show_version ; ;; -r|--r|--report) -echo "PKGNAME: r2frida" -echo "VERSION: 5.8.2" -echo "LANGS: c" -echo "PKG-CONFIG: r_core" -echo "FLAGS: --with-precompiled-agent" +echo "PKGNAME: r2frida" +echo "VERSION: 5.8.4" +echo "AUTHOR: pancake" +echo "EMAIL: pancake@nowsecure.com" +echo "LANGS: c" +echo "PKGCONFIG: r_core" +echo "FLAGS: --with-precompiled-agent" exit 0 ;; --cache-file) @@ -272,10 +277,12 @@ echo "FLAGS: --with-precompiled-agent" --localstatedir) LOCALSTATEDIR="$value"; ;; --libdir) - LIBDIR="$value"; ;; + LIBDIR="$value" + PKGCFG_LIBDIR="$value"; ;; --libpath) LDFLAGS="${LDFLAGS} ${LIBPATH}$value"; ;; --includedir) + PKGCFG_INCDIR="$value" INCLUDEDIR="$value"; CFLAGS="${CFLAGS} -I$value"; ;; --infodir) INFODIR="$value"; ;; @@ -300,7 +307,7 @@ parse_options "$1" shift done -ENVWORDS="MANDIR INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR ETCDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NUMBER PKGNAME VPATH CONTACT CONTACT_NAME CONTACT_MAIL PKGCONFIG CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C R2_VERSION PRECOMPILED_AGENT R2_CFLAGS R2_LDFLAGS HAVE_PKGCFG_R_CORE HAVE_CURL CURL HAVE_WGET WGET HAVE_GIT GIT HAVE_XZ XZ" +ENVWORDS="MANDIR DESCRIPTION INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR ETCDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NUMBER PKGCFG_LIBDIR PKGCFG_INCDIR PKGNAME VPATH CONTACT CONTACT_NAME CONTACT_MAIL PKGCONFIG CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C R2_VERSION PRECOMPILED_AGENT R2_CFLAGS R2_LDFLAGS HAVE_PKGCFG_R_CORE HAVE_CURL CURL HAVE_WGET WGET HAVE_GIT GIT HAVE_XZ XZ" create_environ @@ -315,7 +322,6 @@ ocho "checking for working directories... ${WODIS}" ocho "using prefix '${PREFIX}'" ACR_RMFILES=" test.c a.out a.exe" - ochof "checking for pkg-config... " if [ -n "$PKGCONFIG" ]; then if [ -x "$PKGCONFIG" ]; then diff --git a/configure.acr b/configure.acr index 880bad44..706b54c3 100644 --- a/configure.acr +++ b/configure.acr @@ -1,5 +1,5 @@ PKGNAME r2frida -VERSION 5.8.2 +VERSION 5.8.4 CONTACT pancake ; pancake@nowsecure.com USE_PKGCONFIG! diff --git a/package.json b/package.json index c4abc429..f2eaf5eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "r2frida-agent", - "version": "5.8.2", + "version": "5.8.4", "description": "Agent for frida:// io plugin", "private": true, "type": "module", diff --git a/src/agent/plugin.ts b/src/agent/plugin.ts index ef456547..c66f7918 100644 --- a/src/agent/plugin.ts +++ b/src/agent/plugin.ts @@ -69,7 +69,7 @@ r2frida.puts = initializePuts(); */ export const r2frida: R2FridaPlugin = { - version: "5.8.2", + version: "5.8.4", safeio: false, commandHandler: commandHandler, pluginRegister: pluginRegister,