mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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)
This commit is contained in:
parent
12a14e788b
commit
ce9d7e96db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454079
3 changed files with 44 additions and 17 deletions
|
@ -2,16 +2,20 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= radamsa
|
PORTNAME= radamsa
|
||||||
PORTVERSION= 0.3
|
PORTVERSION= 0.5
|
||||||
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= https://ouspg.googlecode.com/files/
|
|
||||||
|
|
||||||
MAINTAINER= jau@iki.fi
|
MAINTAINER= jau@iki.fi
|
||||||
COMMENT= General purpose fuzzer
|
COMMENT= General purpose fuzzer
|
||||||
|
|
||||||
BROKEN= Unfetchable (google code has gone away)
|
LICENSE= MIT
|
||||||
DEPRECATED= Unfetchable for more than six months (google code has gone away)
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
||||||
EXPIRATION_DATE= 2017-04-30
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= aoh
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ol:lang/owl-lisp
|
||||||
|
|
||||||
PLIST_FILES= bin/radamsa \
|
PLIST_FILES= bin/radamsa \
|
||||||
man/man1/radamsa.1.gz
|
man/man1/radamsa.1.gz
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (radamsa-0.3.tar.gz) = 17131a19fb28e5c97c28bf0b407a82744c251aa8aedfa507967a92438cd803be
|
TIMESTAMP = 1510505781
|
||||||
SIZE (radamsa-0.3.tar.gz) = 116399
|
SHA256 (aoh-radamsa-v0.5_GH0.tar.gz) = 75a9df441ffe3eb177d1a9420b61a32ec9225179036115aef4ec77a17dc783fe
|
||||||
|
SIZE (aoh-radamsa-v0.5_GH0.tar.gz) = 44857
|
||||||
|
|
|
@ -1,20 +1,33 @@
|
||||||
--- Makefile.orig 2014-03-14 15:53:14.654599833 +0200
|
--- Makefile.orig 2016-07-20 19:02:29 UTC
|
||||||
+++ Makefile 2014-03-14 15:56:03.358626694 +0200
|
+++ Makefile
|
||||||
@@ -1,11 +1,11 @@
|
@@ -1,15 +1,15 @@
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
-PREFIX=/usr
|
-PREFIX=/usr
|
||||||
+PREFIX=/usr/local
|
+PREFIX=/usr/local
|
||||||
BINDIR=/bin
|
BINDIR=/bin
|
||||||
CFLAGS=-Wall -O3
|
-CFLAGS=-Wall -O2
|
||||||
OFLAGS=-O1
|
+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
|
W32GCC=i586-mingw32msvc-gcc # sudo apt-get install mingw32 @ debian squeeze
|
||||||
|
|
||||||
-everything: bin/radamsa .seal-of-quality
|
-everything: bin/radamsa
|
||||||
+all everything: bin/radamsa
|
+all everything: bin/radamsa
|
||||||
|
|
||||||
bin/radamsa: radamsa.c
|
build_radamsa:
|
||||||
mkdir -p bin
|
test -x $(USR_BIN_OL)
|
||||||
@@ -21,8 +21,8 @@
|
@@ -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
|
install: bin/radamsa
|
||||||
-mkdir -p $(DESTDIR)$(PREFIX)/bin
|
-mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
cp bin/radamsa $(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
|
+ cat doc/radamsa.1 | gzip -9 > $(DESTDIR)$(PREFIX)/man/man1/radamsa.1.gz
|
||||||
|
|
||||||
clean:
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue