pkgsrc-WIP-changes archive

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

wip/frida-gum: import frida-gum-0



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Mar 14 05:33:42 2018 +0100
Changeset:	7a0f5111dd003296ef2f115763dfedc4f025ba27

Added Files:
	frida-gum/DESCR
	frida-gum/Makefile
	frida-gum/PLIST
	frida-gum/distinfo
	frida-gum/patches/patch-config.h.in
	frida-gum/patches/patch-gum_gumdefs.h
	frida-gum/patches/patch-gum_gumprocess.c

Log Message:
wip/frida-gum: import frida-gum-0

Low-level code instrumentation library used by frida-core.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7a0f5111dd003296ef2f115763dfedc4f025ba27

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 frida-gum/DESCR                          |  1 +
 frida-gum/Makefile                       | 21 +++++++++++++++++++++
 frida-gum/PLIST                          |  1 +
 frida-gum/distinfo                       |  9 +++++++++
 frida-gum/patches/patch-config.h.in      | 14 ++++++++++++++
 frida-gum/patches/patch-gum_gumdefs.h    | 14 ++++++++++++++
 frida-gum/patches/patch-gum_gumprocess.c | 13 +++++++++++++
 7 files changed, 73 insertions(+)

diffs:
diff --git a/frida-gum/DESCR b/frida-gum/DESCR
new file mode 100644
index 0000000000..fa35c2d05d
--- /dev/null
+++ b/frida-gum/DESCR
@@ -0,0 +1 @@
+Low-level code instrumentation library used by frida-core.
diff --git a/frida-gum/Makefile b/frida-gum/Makefile
new file mode 100644
index 0000000000..5055fcfca8
--- /dev/null
+++ b/frida-gum/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	frida-gum
+DISTNAME=	frida-gum-0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=frida/}
+GITHUB_TAG=	c41abae2a2b29de3aad7a4fd9daac3e0b150cb54
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.frida.re/
+COMMENT=	Low-level code instrumentation library used by frida-core
+#LICENSE=	wxwindows library license 3.1 AND modified-bsd AND 2-clause-bsd
+
+USE_LANGUAGES=	c c++
+
+USE_TOOLS+=	pkg-config
+
+.include "../../wip/frida-glib2/buildlink3.mk"
+.include "../../wip/frida-libffi/buildlink3.mk"
+.include "../../devel/py-meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/frida-gum/PLIST b/frida-gum/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/frida-gum/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/frida-gum/distinfo b/frida-gum/distinfo
new file mode 100644
index 0000000000..011f4ea5e9
--- /dev/null
+++ b/frida-gum/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (frida-gum-0-c41abae2a2b29de3aad7a4fd9daac3e0b150cb54.tar.gz) = 3de994ba2c5f6802a8161650d5db6497efc197e8
+RMD160 (frida-gum-0-c41abae2a2b29de3aad7a4fd9daac3e0b150cb54.tar.gz) = 88330d01a8404f46e0c795e1b6cb92fce159fe5c
+SHA512 (frida-gum-0-c41abae2a2b29de3aad7a4fd9daac3e0b150cb54.tar.gz) = 607c5319c5fffb06a7f2beed9769cad29e32c9384de9d7b74ff791e03e2e10f720db3b29dcb6c7a7ec81e057368fe6b5887cc1ddb1207fdf3977825353dd5dfb
+Size (frida-gum-0-c41abae2a2b29de3aad7a4fd9daac3e0b150cb54.tar.gz) = 12573451 bytes
+SHA1 (patch-config.h.in) = 9d7f701ba8577e6501e4d64e80adef397255e46a
+SHA1 (patch-gum_gumdefs.h) = cb24f98c906572196228ee0d09c2cd2dcaa5c306
+SHA1 (patch-gum_gumprocess.c) = 915a233f242186a45b375ef2690cf534d8ad39f2
diff --git a/frida-gum/patches/patch-config.h.in b/frida-gum/patches/patch-config.h.in
new file mode 100644
index 0000000000..8775f4562d
--- /dev/null
+++ b/frida-gum/patches/patch-config.h.in
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- config.h.in.orig	2018-03-12 19:53:33.000000000 +0000
++++ config.h.in
+@@ -57,6 +57,9 @@
+ /* Define to 1 if target is MIPS based. */
+ #mesondefine HAVE_MIPS
+ 
++/* Define to 1 if OS is NetBSD based. */
++#mesondefine HAVE_NETBSD
++
+ /* Define to 1 if OS is QNX based. */
+ #mesondefine HAVE_QNX
+ 
diff --git a/frida-gum/patches/patch-gum_gumdefs.h b/frida-gum/patches/patch-gum_gumdefs.h
new file mode 100644
index 0000000000..88f6485e81
--- /dev/null
+++ b/frida-gum/patches/patch-gum_gumdefs.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- gum/gumdefs.h.orig	2018-03-12 19:53:33.000000000 +0000
++++ gum/gumdefs.h
+@@ -65,7 +65,8 @@ enum _GumOS
+   GUM_OS_LINUX,
+   GUM_OS_IOS,
+   GUM_OS_ANDROID,
+-  GUM_OS_QNX
++  GUM_OS_QNX,
++  GUM_OS_NETBSD
+ };
+ 
+ enum _GumCallingConvention
diff --git a/frida-gum/patches/patch-gum_gumprocess.c b/frida-gum/patches/patch-gum_gumprocess.c
new file mode 100644
index 0000000000..a83a70c345
--- /dev/null
+++ b/frida-gum/patches/patch-gum_gumprocess.c
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- gum/gumprocess.c.orig	2018-03-12 19:53:33.000000000 +0000
++++ gum/gumprocess.c
+@@ -45,6 +45,8 @@ gum_process_get_native_os (void)
+   return GUM_OS_ANDROID;
+ #elif defined (HAVE_QNX)
+   return GUM_OS_QNX;
++#elif defined (HAVE_NETBSD)
++  return GUM_OS_NETBSD;
+ #else
+ # error Unknown OS
+ #endif


Home | Main Index | Thread Index | Old Index