Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 20:40:44 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454079 - in head/security/radamsa: . files
Message-ID:  <201711122040.vACKeikF018488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Nov 12 20:40:44 2017
New Revision: 454079
URL: https://svnweb.freebsd.org/changeset/ports/454079

Log:
  security/radamsa: unbreak and update to version 0.5
  
  - Add license information (MIT)
  - Add dependency on lang/owl-lisp instead of letting the build
    phase fetch a copy from GitHub.
  
  PR:		212825
  Submitted by:	maintainer
  MFH:		2017Q4 (+ r454076, r454078)

Modified:
  head/security/radamsa/Makefile
  head/security/radamsa/distinfo
  head/security/radamsa/files/patch-Makefile

Modified: head/security/radamsa/Makefile
==============================================================================
--- head/security/radamsa/Makefile	Sun Nov 12 20:36:53 2017	(r454078)
+++ head/security/radamsa/Makefile	Sun Nov 12 20:40:44 2017	(r454079)
@@ -2,16 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	radamsa
-PORTVERSION=	0.3
+PORTVERSION=	0.5
+DISTVERSIONPREFIX=	v
 CATEGORIES=	security
-MASTER_SITES=	https://ouspg.googlecode.com/files/
 
 MAINTAINER=	jau@iki.fi
 COMMENT=	General purpose fuzzer
 
-BROKEN=		Unfetchable (google code has gone away)
-DEPRECATED=	Unfetchable for more than six months (google code has gone away)
-EXPIRATION_DATE=	2017-04-30
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENCE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	aoh
+
+BUILD_DEPENDS=	ol:lang/owl-lisp
 
 PLIST_FILES=	bin/radamsa \
 		man/man1/radamsa.1.gz

Modified: head/security/radamsa/distinfo
==============================================================================
--- head/security/radamsa/distinfo	Sun Nov 12 20:36:53 2017	(r454078)
+++ head/security/radamsa/distinfo	Sun Nov 12 20:40:44 2017	(r454079)
@@ -1,2 +1,3 @@
-SHA256 (radamsa-0.3.tar.gz) = 17131a19fb28e5c97c28bf0b407a82744c251aa8aedfa507967a92438cd803be
-SIZE (radamsa-0.3.tar.gz) = 116399
+TIMESTAMP = 1510505781
+SHA256 (aoh-radamsa-v0.5_GH0.tar.gz) = 75a9df441ffe3eb177d1a9420b61a32ec9225179036115aef4ec77a17dc783fe
+SIZE (aoh-radamsa-v0.5_GH0.tar.gz) = 44857

Modified: head/security/radamsa/files/patch-Makefile
==============================================================================
--- head/security/radamsa/files/patch-Makefile	Sun Nov 12 20:36:53 2017	(r454078)
+++ head/security/radamsa/files/patch-Makefile	Sun Nov 12 20:40:44 2017	(r454079)
@@ -1,20 +1,33 @@
---- Makefile.orig	2014-03-14 15:53:14.654599833 +0200
-+++ Makefile	2014-03-14 15:56:03.358626694 +0200
-@@ -1,11 +1,11 @@
+--- Makefile.orig	2016-07-20 19:02:29 UTC
++++ Makefile
+@@ -1,15 +1,15 @@
  DESTDIR=
 -PREFIX=/usr
 +PREFIX=/usr/local
  BINDIR=/bin
- CFLAGS=-Wall -O3
- OFLAGS=-O1
+-CFLAGS=-Wall -O2
++CFLAGS=-Wall -O3 -pipe
+ OFLAGS=-O2
+ OWLVERSION=0.1.12
+-OWL=owl-lisp-$(OWLVERSION)/bin/vm owl-lisp-$(OWLVERSION)/fasl/init.fasl
+-USR_BIN_OL=/usr/bin/ol
++USR_BIN_OL=$(PREFIX)/bin/ol
++OWL=$(PREFIX)/bin/ovm $(PREFIX)/share/owl-lisp/fasl/init.fasl
+ 
  W32GCC=i586-mingw32msvc-gcc # sudo apt-get install mingw32 @ debian squeeze
  
--everything: bin/radamsa .seal-of-quality
+-everything: bin/radamsa
 +all everything: bin/radamsa
  
- bin/radamsa: radamsa.c
- 	mkdir -p bin
-@@ -21,8 +21,8 @@
+ build_radamsa:
+ 	test -x $(USR_BIN_OL)
+@@ -33,14 +33,13 @@ bin/radamsa.exe: radamsa.c
+ 	$(W32GCC) $(CFLAGS) -o bin/radamsa.exe radamsa.c -lwsock32
+ 
+ radamsa.c: rad/*.scm
+-	make get-owl
+ 	$(OWL) $(OFLAGS) -o radamsa.c rad/main.scm
+ 
  install: bin/radamsa
  	-mkdir -p $(DESTDIR)$(PREFIX)/bin
  	cp bin/radamsa $(DESTDIR)$(PREFIX)/bin
@@ -24,4 +37,13 @@
 +	cat doc/radamsa.1 | gzip -9 > $(DESTDIR)$(PREFIX)/man/man1/radamsa.1.gz
  
  clean:
- 	-rm radamsa.c bin/* .seal-of-quality
+ 	-rm radamsa.c bin/radamsa .seal-of-quality
+@@ -63,7 +62,7 @@ get-owl:
+ standalone:
+ 	-rm radamsa.c # likely old version
+ 	make radamsa.c
+-   # compile without seccomp and use of syscall
++# compile without seccomp and use of syscall
+ 	diet gcc -DNO_SECCOMP -O3 -Wall -o bin/radamsa radamsa.c
+ 
+ # a quick to compile vanilla bytecode executable



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711122040.vACKeikF018488>