summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-20 17:56:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-20 17:57:04 +0100
commiteaccf5347318484081ff5dc3beacf1c266607910 (patch)
tree893c369d874613714d35613e7a14fb7545479924
parent4ab4250d825e8b296908bb10ef37a7367e148047 (diff)
add new package for syscall fuzzing
-rw-r--r--package/trinity/Makefile28
-rw-r--r--package/trinity/patches/patch-Makefile10
2 files changed, 38 insertions, 0 deletions
diff --git a/package/trinity/Makefile b/package/trinity/Makefile
new file mode 100644
index 000000000..417ba7d33
--- /dev/null
+++ b/package/trinity/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= trinity
+PKG_VERSION:= 1.5
+PKG_RELEASE:= 1
+PKG_HASH:= e7b641d21954873bac7b5c27e7a9986837e83ec14fa20c55901c4333cce22655
+PKG_DESCR:= linux system call fuzz tester
+PKG_SECTION:= sys/misc
+PKG_URL:= http://codemonkey.org.uk/projects/trinity/
+PKG_SITES:= http://codemonkey.org.uk/projects/trinity/
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,TRINITY,trinity,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+XAKE_FLAGS+= CROSS_COMPILE=
+CONFIG_STYLE:= minimal
+CONFIGURE_PROG:= configure.sh
+
+trinity-install:
+ $(INSTALL_DIR) $(IDIR_TRINITY)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/trinity \
+ $(IDIR_TRINITY)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/trinity/patches/patch-Makefile b/package/trinity/patches/patch-Makefile
new file mode 100644
index 000000000..d6b7ac036
--- /dev/null
+++ b/package/trinity/patches/patch-Makefile
@@ -0,0 +1,10 @@
+--- trinity-1.5.orig/Makefile 2015-03-02 17:08:20.000000000 +0100
++++ trinity-1.5/Makefile 2015-03-19 17:23:36.000000000 +0100
+@@ -1,6 +1,6 @@
+ VERSION="1.5"
+
+-INSTALL_PREFIX ?= $(DESTDIR)
++INSTALL_PREFIX ?= $(DESTDIR)/usr
+ INSTALL_PREFIX ?= $(HOME)
+ NR_CPUS := $(shell grep ^processor /proc/cpuinfo | /usr/bin/wc -l)
+