pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/deepstate-honggfuzz



Module Name:    pkgsrc
Committed By:   khorben
Date:           Tue Sep 29 03:06:08 UTC 2020

Added Files:
        pkgsrc/devel/deepstate-honggfuzz: DESCR Makefile PLIST

Log Message:
deepstate-honggfuzz: import version 0.1


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/deepstate-honggfuzz/DESCR \
    pkgsrc/devel/deepstate-honggfuzz/Makefile \
    pkgsrc/devel/deepstate-honggfuzz/PLIST

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

Added files:

Index: pkgsrc/devel/deepstate-honggfuzz/DESCR
diff -u /dev/null pkgsrc/devel/deepstate-honggfuzz/DESCR:1.1
--- /dev/null   Tue Sep 29 03:06:08 2020
+++ pkgsrc/devel/deepstate-honggfuzz/DESCR      Tue Sep 29 03:06:08 2020
@@ -0,0 +1,8 @@
+DeepState is a framework that provides C and C++ developers with a common
+interface to various symbolic execution and fuzzing engines. Users can write
+one test harness using a Google Test-like API, then execute it using multiple
+backends without having to learn the complexities of the underlying engines. It
+supports writing unit tests and API sequence tests, as well as automatic test
+generation.
+
+This package adds support for honggfuzz to DeepState.
Index: pkgsrc/devel/deepstate-honggfuzz/Makefile
diff -u /dev/null pkgsrc/devel/deepstate-honggfuzz/Makefile:1.1
--- /dev/null   Tue Sep 29 03:06:08 2020
+++ pkgsrc/devel/deepstate-honggfuzz/Makefile   Tue Sep 29 03:06:08 2020
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/09/29 03:06:08 khorben Exp $
+
+PKGNAME=       deepstate-honggfuzz-${VERSION}
+
+USE_LANGUAGES= c99 c++
+USE_CMAKE=     yes
+AUTO_MKDIRS=   yes
+
+DEPENDS+=      honggfuzz-[0-9]*:../../devel/honggfuzz
+DEPENDS+=      deepstate>=${VERSION}:../../devel/deepstate
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ${WRKSRC}
+
+CMAKE_ARGS+=   -DPYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
+CMAKE_ARGS+=   -DDEEPSTATE_HONGGFUZZ=ON
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${LOCALBASE:Q}/bin/hfuzz-gcc
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${LOCALBASE:Q}/bin/hfuzz-g++
+
+pre-configure:
+       cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/libdeepstate_HFUZZ.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../devel/deepstate/Makefile.common"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/deepstate-honggfuzz/PLIST
diff -u /dev/null pkgsrc/devel/deepstate-honggfuzz/PLIST:1.1
--- /dev/null   Tue Sep 29 03:06:08 2020
+++ pkgsrc/devel/deepstate-honggfuzz/PLIST      Tue Sep 29 03:06:08 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/29 03:06:08 khorben Exp $
+lib/libdeepstate_HFUZZ.a



Home | Main Index | Thread Index | Old Index