pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/radamsa Import radamsa-0.5 as devel/radamsa.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9fbf35bb5f4
branches:  trunk
changeset: 358350:d9fbf35bb5f4
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Feb 11 02:08:16 2017 +0000

description:
Import radamsa-0.5 as devel/radamsa.

Radamsa is a test case generator for robustness testing, a.k.a. a fuzzer. It is
typically used to test how well a program can withstand malformed and
potentially malicious inputs. It works by reading sample files of valid data
and generating interestringly different outputs from them. The main selling
points of radamsa are that it has already found a slew of bugs in programs that
actually matter, it is easily scriptable and easy to get up and running.

diffstat:

 devel/radamsa/DESCR                  |   6 ++++++
 devel/radamsa/Makefile               |  27 +++++++++++++++++++++++++++
 devel/radamsa/PLIST                  |   3 +++
 devel/radamsa/distinfo               |   7 +++++++
 devel/radamsa/patches/patch-Makefile |  25 +++++++++++++++++++++++++
 5 files changed, 68 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 7da3d5f07080 -r d9fbf35bb5f4 devel/radamsa/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/radamsa/DESCR       Sat Feb 11 02:08:16 2017 +0000
@@ -0,0 +1,6 @@
+Radamsa is a test case generator for robustness testing, a.k.a. a fuzzer. It is
+typically used to test how well a program can withstand malformed and
+potentially malicious inputs. It works by reading sample files of valid data
+and generating interestringly different outputs from them. The main selling
+points of radamsa are that it has already found a slew of bugs in programs that
+actually matter, it is easily scriptable and easy to get up and running.
diff -r 7da3d5f07080 -r d9fbf35bb5f4 devel/radamsa/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/radamsa/Makefile    Sat Feb 11 02:08:16 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/02/11 02:08:16 kamil Exp $
+
+DISTNAME=      radamsa-0.5
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=aoh/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aoh/radamsa/
+COMMENT=       General-purpose fuzzer
+LICENSE=       mit
+
+DEPENDS+=      owl-lisp-[0-9]*:../../lang/owl-lisp
+
+MAKE_FLAGS+=   USR_BIN_OL=${PREFIX}/bin/ol
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+
+BUILD_TARGET=  everything
+
+SUBST_CLASSES+=                manpath
+SUBST_STAGE.manpath=   pre-configure
+SUBST_FILES.manpath=   Makefile
+SUBST_VARS.manpath=    PKGMANDIR
+
+MANCOMPRESSED= yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7da3d5f07080 -r d9fbf35bb5f4 devel/radamsa/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/radamsa/PLIST       Sat Feb 11 02:08:16 2017 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/11 02:08:16 kamil Exp $
+bin/radamsa
+man/man1/radamsa.1
diff -r 7da3d5f07080 -r d9fbf35bb5f4 devel/radamsa/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/radamsa/distinfo    Sat Feb 11 02:08:16 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/02/11 02:08:16 kamil Exp $
+
+SHA1 (radamsa-0.5.tar.gz) = a3351a222003d75edc7f63cb835209b1044457a5
+RMD160 (radamsa-0.5.tar.gz) = 80ab0f8263cfd68bd253d3a5355442ca8b86a17a
+SHA512 (radamsa-0.5.tar.gz) = d48f61ea7c0703d7fdf68ab32894e93d774e8f2893642a81046b8210d7d433f4be8930d7d79317ddb0882cf54b06505c541827b925f30b861ae8205e300fed80
+Size (radamsa-0.5.tar.gz) = 168177 bytes
+SHA1 (patch-Makefile) = ddfbac134218e101ea3b0153edb96dc66835cc3e
diff -r 7da3d5f07080 -r d9fbf35bb5f4 devel/radamsa/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/radamsa/patches/patch-Makefile      Sat Feb 11 02:08:16 2017 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile,v 1.1 2017/02/11 02:08:16 kamil Exp $
+
+Install manpages into appropriate directory.
+
+--- Makefile.orig      2016-07-20 19:02:29.000000000 +0000
++++ Makefile
+@@ -39,8 +39,8 @@ radamsa.c: rad/*.scm
+ install: bin/radamsa
+       -mkdir -p $(DESTDIR)$(PREFIX)/bin
+       cp bin/radamsa $(DESTDIR)$(PREFIX)/bin
+-      -mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+-      cat doc/radamsa.1 | gzip -9 > $(DESTDIR)$(PREFIX)/share/man/man1/radamsa.1.gz
++      -mkdir -p $(DESTDIR)$(PREFIX)/@PKGMANDIR@/man1
++      cat doc/radamsa.1 | gzip -9 > $(DESTDIR)$(PREFIX)/@PKGMANDIR@/man1/radamsa.1.gz
+ 
+ clean:
+       -rm radamsa.c bin/radamsa .seal-of-quality
+@@ -78,6 +78,6 @@ benchmark: bin/radamsa
+ 
+ uninstall:
+       rm $(DESTDIR)$(PREFIX)/bin/radamsa || echo "no radamsa"
+-      rm $(DESTDIR)$(PREFIX)/share/man/man1/radamsa.1.gz || echo "no manpage"
++      rm $(DESTDIR)$(PREFIX)/@PKGMANDIR@/man1/radamsa.1.gz || echo "no manpage"
+ 
+ .PHONY: todo you install clean test bytecode uninstall get-owl standalone



Home | Main Index | Thread Index | Old Index