summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2014-12-10 20:07:02 +0000
committerwiz <wiz>2014-12-10 20:07:02 +0000
commit4e00dcfd2fdc30d3e1777a2a1ad652ce941f5781 (patch)
tree39773eb89b96453f64fd9eea25e61e17a738bac3
parentd7a8f6c6e50bcdbbd06c2d3c890c8aab0c5375ab (diff)
downloadpkgsrc-4e00dcfd2fdc30d3e1777a2a1ad652ce941f5781.tar.gz
Import tmin-0.05 as devel/tmin.
Tmin is a simple utility meant to make it easy to narrow down complex test cases produced through fuzzing. It is closely related to another tool of this type, delta, but meant specifically for unknown, underspecified, or hard to parse data formats (without the need to tokenize and re-serialize data), and for easy integration with external UI automation harnesses. It also features alphabet normalization to simplify test cases that could not be shortened.
-rw-r--r--devel/tmin/DESCR9
-rw-r--r--devel/tmin/Makefile20
-rw-r--r--devel/tmin/PLIST3
-rw-r--r--devel/tmin/distinfo6
-rw-r--r--devel/tmin/patches/patch-tmin.c14
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/tmin/DESCR b/devel/tmin/DESCR
new file mode 100644
index 00000000000..60c4da8413d
--- /dev/null
+++ b/devel/tmin/DESCR
@@ -0,0 +1,9 @@
+Tmin is a simple utility meant to make it easy to narrow down
+complex test cases produced through fuzzing. It is closely related
+to another tool of this type, delta, but meant specifically for
+unknown, underspecified, or hard to parse data formats (without
+the need to tokenize and re-serialize data), and for easy integration
+with external UI automation harnesses.
+
+It also features alphabet normalization to simplify test cases that
+could not be shortened.
diff --git a/devel/tmin/Makefile b/devel/tmin/Makefile
new file mode 100644
index 00000000000..b4e7ccd4178
--- /dev/null
+++ b/devel/tmin/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2014/12/10 20:07:02 wiz Exp $
+
+DISTNAME= tmin-0.05
+CATEGORIES= devel
+MASTER_SITES= https://tmin.googlecode.com/files/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://code.google.com/p/tmin/
+COMMENT= Tool for minimizing complex test cases in security testing
+#LICENSE= apache-2.0
+
+WRKSRC= ${WRKDIR}/tmin
+
+INSTALLATION_DIRS= bin share/doc/tmin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tmin ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tmin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/tmin/PLIST b/devel/tmin/PLIST
new file mode 100644
index 00000000000..294b4fb1a6e
--- /dev/null
+++ b/devel/tmin/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/12/10 20:07:02 wiz Exp $
+bin/tmin
+share/doc/tmin/README
diff --git a/devel/tmin/distinfo b/devel/tmin/distinfo
new file mode 100644
index 00000000000..1a229925af7
--- /dev/null
+++ b/devel/tmin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/12/10 20:07:02 wiz Exp $
+
+SHA1 (tmin-0.05.tar.gz) = 2af14f2b410189823bd1afa462357d90c21f408b
+RMD160 (tmin-0.05.tar.gz) = 06a5ced2a734f4826f515bc5ef3721fb12c69f30
+Size (tmin-0.05.tar.gz) = 11331 bytes
+SHA1 (patch-tmin.c) = a944ceac8209b88c299d6fb8749d8587e75c4b15
diff --git a/devel/tmin/patches/patch-tmin.c b/devel/tmin/patches/patch-tmin.c
new file mode 100644
index 00000000000..34f91774ed0
--- /dev/null
+++ b/devel/tmin/patches/patch-tmin.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-tmin.c,v 1.1 2014/12/10 20:07:02 wiz Exp $
+
+Add missing header file (kill(2), SIG*).
+
+--- tmin.c.orig 2010-05-25 17:55:51.000000000 +0000
++++ tmin.c
+@@ -23,6 +23,7 @@
+
+ */
+
++#include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>