Bug 187576 - [new port] security/radamsa, Yet another general purpose fuzzer for FreeBSD
Summary: [new port] security/radamsa, Yet another general purpose fuzzer for FreeBSD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 14:20 UTC by jau
Modified: 2014-09-05 20:47 UTC (History)
4 users (show)

See Also:


Attachments
file.shar (1.48 KB, text/plain)
2014-03-14 14:20 UTC, jau
no flags Details
radamsa.shar (1.54 KB, text/plain; charset=UTF-8)
2014-03-16 12:02 UTC, jau
no flags Details
radamsa.shar (2.60 KB, text/plain; charset=UTF-8)
2014-05-28 14:49 UTC, jau
no flags Details
This shar creates the subdirectories properly for radamsa. (2.84 KB, text/plain)
2014-07-02 12:55 UTC, jau789
no flags Details
Changes to Makefile (2.60 KB, text/plain)
2014-08-28 07:33 UTC, jau
no flags Details
Trace of the tests (3.12 KB, text/plain)
2014-08-28 07:36 UTC, jau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jau 2014-03-14 14:20:01 UTC
Since FreeBSD ports seemed to be missing this particular fuzzer,
I simply decided to create the ports kit.

Fix: Add the included ports kit to the common ports tree.


Patch attached with submission follows:
How-To-Repeat: No problem really, just a nice add-on tool.
Comment 1 jau 2014-03-16 12:02:51 UTC
Oops...! The master site path went awry. I was reading through
radamsa pages when creating the port kit and managed to get
from there to zzuf pages.
Find a fixed shar attached.

--jau
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-05-25 06:48:59 UTC
State Changed
From-To: open->feedback

Hi, could you please check the port one more time, right now its not 
building. thank you.
Comment 3 jau 2014-05-28 14:49:37 UTC
The first version did not build due to faulty links.

The second version lacked the link to the origin site
at Oulu University and might have also lacked a patch
to the original radamsa/work/radamsa-0.3/Makefile.

Find attached a 3rd version which also includes in
the pkg-descr file the link to the origin site.

The attached shar file should be extracted under
/usr/ports/security which as a result should create
you the radamsa port subdirectory with its typical
contents.

If the shar bundle complains ...

x - radamsa/Makefile
/root/radamsa.shar: cannot create radamsa/Makefile: No such file or
directory
x - radamsa/distinfo
/root/radamsa.shar: cannot create radamsa/distinfo: No such file or
directory

try expanding the shar bundle a second time. There
seems to be something weird about shar at the moment.
I can of course send the stuff in another format, if
needs be. Just let me know.

I hope this helps.

Cheers,
--jau
Comment 4 jau789 2014-07-02 12:55:44 UTC
Created attachment 144336 [details]
This shar creates the subdirectories properly for radamsa.

The previous shar failed to create the necessary directories for the port.
Comment 5 John Marino freebsd_committer freebsd_triage 2014-08-07 15:38:27 UTC
jau, can you make obsolete the shars that are old in bugzilla and also:

Additionally, you need to provide some sort of quality assurance.    
In order of preference, we are looking for:

1) "poudriere testport" or "poudriere bulk -t" logs
2) Redports or tinderbox logs
3) at least this: https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html

Thanks!
Comment 6 John Marino freebsd_committer freebsd_triage 2014-08-24 19:06:08 UTC
This port seems staged and bit-rot free.  The COMMENT starts with indefinite article.  Still looking for a test log...
Comment 7 jau 2014-08-28 07:33:50 UTC
Created attachment 146435 [details]
Changes to Makefile

Minor changes to the Makefile
Change PLIST_FILES to use tabs instead of spaces.
Add NEED_ROOT=yes
Comment 8 jau 2014-08-28 07:36:31 UTC
Created attachment 146436 [details]
Trace of the tests

make package
as a normal user does not work.
==> NEED_ROOT added to Makefile.
Comment 9 John Marino freebsd_committer freebsd_triage 2014-08-28 07:40:49 UTC
Alright, moving to patch-ready.

There's no "stage-qa" test done, tests weren't done in poudriere or redports so dependencies / filesystem violation checks not performed.
Comment 10 commit-hook freebsd_committer freebsd_triage 2014-09-05 20:44:47 UTC
A commit references this bug:

Author: cs
Date: Fri Sep  5 20:44:36 UTC 2014
New revision: 367388
URL: http://svnweb.freebsd.org/changeset/ports/367388

Log:
  Radamsa is a generic test case generator for robustness testing, aka a fuzzer.
  It can be used to test how well a program can stand malformed and potentially
  malicious inputs. It operates on given sample inputs and thus requires minimal
  effort to set up.

  WWW: https://www.ee.oulu.fi/research/ouspg/Radamsa

  PR:		ports/187576
  Submitted by:	Jukka Ukkonen <jau@iki.fi>

Changes:
  head/security/Makefile
  head/security/radamsa/
  head/security/radamsa/Makefile
  head/security/radamsa/distinfo
  head/security/radamsa/files/
  head/security/radamsa/files/patch-Makefile
  head/security/radamsa/pkg-descr
Comment 11 Carlo Strub freebsd_committer freebsd_triage 2014-09-05 20:47:30 UTC
Committed with minor edit. Thank you very much.