pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/radamsa



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Feb 11 02:08:16 UTC 2017

Added Files:
        pkgsrc/devel/radamsa: DESCR Makefile PLIST distinfo
        pkgsrc/devel/radamsa/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/radamsa/DESCR \
    pkgsrc/devel/radamsa/Makefile pkgsrc/devel/radamsa/PLIST \
    pkgsrc/devel/radamsa/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/radamsa/patches/patch-Makefile

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

Added files:

Index: pkgsrc/devel/radamsa/DESCR
diff -u /dev/null pkgsrc/devel/radamsa/DESCR:1.1
--- /dev/null   Sat Feb 11 02:08:16 2017
+++ pkgsrc/devel/radamsa/DESCR  Sat Feb 11 02:08:16 2017
@@ -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.
Index: pkgsrc/devel/radamsa/Makefile
diff -u /dev/null pkgsrc/devel/radamsa/Makefile:1.1
--- /dev/null   Sat Feb 11 02:08:16 2017
+++ pkgsrc/devel/radamsa/Makefile       Sat Feb 11 02:08:16 2017
@@ -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"
Index: pkgsrc/devel/radamsa/PLIST
diff -u /dev/null pkgsrc/devel/radamsa/PLIST:1.1
--- /dev/null   Sat Feb 11 02:08:16 2017
+++ pkgsrc/devel/radamsa/PLIST  Sat Feb 11 02:08:16 2017
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/11 02:08:16 kamil Exp $
+bin/radamsa
+man/man1/radamsa.1
Index: pkgsrc/devel/radamsa/distinfo
diff -u /dev/null pkgsrc/devel/radamsa/distinfo:1.1
--- /dev/null   Sat Feb 11 02:08:16 2017
+++ pkgsrc/devel/radamsa/distinfo       Sat Feb 11 02:08:16 2017
@@ -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

Index: pkgsrc/devel/radamsa/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/radamsa/patches/patch-Makefile:1.1
--- /dev/null   Sat Feb 11 02:08:16 2017
+++ pkgsrc/devel/radamsa/patches/patch-Makefile Sat Feb 11 02:08:16 2017
@@ -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