pkgsrc-WIP-changes archive

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

triforcenetbsdsyscallfuzzer: Import TriforceNetBSDSyscallFuzzer-0.0 as wip/triforcenetbsdsyscallfuzzer



Module Name:	pkgsrc-wip
Committed By:	akulpillai <vishnu%akulpillai.com@localhost>
Pushed By:	akulpillai
Date:		Thu Jul 18 20:23:48 2019 +0000
Changeset:	006509ef3c968348c49d8557d5a0cbbc5205321d

Modified Files:
	Makefile
Added Files:
	triforceafl/buildlink3.mk
	triforcenetbsdsyscallfuzzer/DESCR
	triforcenetbsdsyscallfuzzer/Makefile
	triforcenetbsdsyscallfuzzer/PLIST
	triforcenetbsdsyscallfuzzer/distinfo

Log Message:
triforcenetbsdsyscallfuzzer: Import TriforceNetBSDSyscallFuzzer-0.0 as wip/triforcenetbsdsyscallfuzzer

TriforceAFL is a modified version of AFL that supports fuzzing using QEMU's
full system emulation. TriforceNetBSDSyscallFuzzer will be a syscall fuzzer
for NetBSD built on top of TriforceAFL.

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

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

diffstat:
 Makefile                             |  1 +
 triforceafl/buildlink3.mk            | 12 ++++++++++++
 triforcenetbsdsyscallfuzzer/DESCR    |  3 +++
 triforcenetbsdsyscallfuzzer/Makefile | 27 +++++++++++++++++++++++++++
 triforcenetbsdsyscallfuzzer/PLIST    | 12 ++++++++++++
 triforcenetbsdsyscallfuzzer/distinfo |  6 ++++++
 6 files changed, 61 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 662cccefa0..eb4e80f010 100644
--- a/Makefile
+++ b/Makefile
@@ -4769,6 +4769,7 @@ SUBDIR+=	treeviewx
 SUBDIR+=	trelby
 SUBDIR+=	triangle
 SUBDIR+=	triforceafl
+SUBDIR+=	triforcenetbsdsyscallfuzzer
 SUBDIR+=	trimadap
 SUBDIR+=	trinity
 SUBDIR+=	tripwire2
diff --git a/triforceafl/buildlink3.mk b/triforceafl/buildlink3.mk
new file mode 100644
index 0000000000..ee66056e91
--- /dev/null
+++ b/triforceafl/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+BUILDLINK_TREE+=	triforceafl
+
+.if !defined(TRIFORCEAFL_BUILDLINK3_MK)
+TRIFORCEAFL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.triforceafl+=	triforceafl>=0.0.2017.06.01
+BUILDLINK_PKGSRCDIR.triforceafl?=	../../wip/triforceafl
+
+.endif	# TRIFORCEAFL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-triforceafl
diff --git a/triforcenetbsdsyscallfuzzer/DESCR b/triforcenetbsdsyscallfuzzer/DESCR
new file mode 100644
index 0000000000..76026fb072
--- /dev/null
+++ b/triforcenetbsdsyscallfuzzer/DESCR
@@ -0,0 +1,3 @@
+TriforceAFL is a modified version of AFL that supports fuzzing using QEMU's
+full system emulation. TriforceNetBSDSyscallFuzzer will be a syscall fuzzer
+for NetBSD built on top of TriforceAFL.
diff --git a/triforcenetbsdsyscallfuzzer/Makefile b/triforcenetbsdsyscallfuzzer/Makefile
new file mode 100644
index 0000000000..e3559b1901
--- /dev/null
+++ b/triforcenetbsdsyscallfuzzer/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	TriforceNetBSDSyscallFuzzer-0.0.${SNAPSHOT}
+PKGNAME=	${DISTNAME:tl}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=akulpillai/}
+GITHUB_TAG=	8318e3f598d4cbc99356402aafa4b7194b0ef2c6
+
+SNAPSHOT=	2019.07.19
+
+MAINTAINER=	vishnu%akulpillai.com@localhost
+HOMEPAGE=	https://github.com/akulpillai/TriforceNetBSDSyscallFuzzer/
+COMMENT=	NetBSD syscall fuzzing with TriforceAFL
+LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd
+LICENSE+=	AND apache-2.0
+
+WRKSRC=		${WRKDIR}/TriforceNetBSDSyscallFuzzer-${GITHUB_TAG}
+
+PYTHON_VERSIONS_ACCEPTED=	27
+
+AFLPREFIX=	${PREFIX}/${PKGBASE}
+
+MAKE_FLAGS=	PREFIX=${AFLPREFIX}
+
+.include "../../wip/triforceafl/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/triforcenetbsdsyscallfuzzer/PLIST b/triforcenetbsdsyscallfuzzer/PLIST
new file mode 100644
index 0000000000..2b46b550b1
--- /dev/null
+++ b/triforcenetbsdsyscallfuzzer/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+triforcenetbsdsyscallfuzzer/docs/setup.md
+triforcenetbsdsyscallfuzzer/docs/testing.md
+triforcenetbsdsyscallfuzzer/fuzzHost/runFuzz
+triforcenetbsdsyscallfuzzer/fuzzHost/testAfl
+triforcenetbsdsyscallfuzzer/targ/driver
+triforcenetbsdsyscallfuzzer/targ/gen.py
+triforcenetbsdsyscallfuzzer/targ/gen2.py
+triforcenetbsdsyscallfuzzer/targ/genInputs
+triforcenetbsdsyscallfuzzer/targ/genRepro
+triforcenetbsdsyscallfuzzer/targ/genTempl.py
+triforcenetbsdsyscallfuzzer/targ/templ.txt
diff --git a/triforcenetbsdsyscallfuzzer/distinfo b/triforcenetbsdsyscallfuzzer/distinfo
new file mode 100644
index 0000000000..9ebbd7cc2a
--- /dev/null
+++ b/triforcenetbsdsyscallfuzzer/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (TriforceNetBSDSyscallFuzzer-0.0.2019.07.19-8318e3f598d4cbc99356402aafa4b7194b0ef2c6.tar.gz) = 086a49c383132a8309ec103dffc10249d30e8779
+RMD160 (TriforceNetBSDSyscallFuzzer-0.0.2019.07.19-8318e3f598d4cbc99356402aafa4b7194b0ef2c6.tar.gz) = 3806d74caf0617e6a0ba4f841a501610a828cd00
+SHA512 (TriforceNetBSDSyscallFuzzer-0.0.2019.07.19-8318e3f598d4cbc99356402aafa4b7194b0ef2c6.tar.gz) = ae9361a10877f9b2c09bd4ad844710b553d2dd420acf350ad514329eafb618d382c34af6e9f084db48fbf1b8d1b284244158cee2c3faaf11109d6e1c6f1a92e8
+Size (TriforceNetBSDSyscallFuzzer-0.0.2019.07.19-8318e3f598d4cbc99356402aafa4b7194b0ef2c6.tar.gz) = 19693 bytes


Home | Main Index | Thread Index | Old Index