parent
a8cbaa51ee
commit
0fd665d794
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'afl'
|
# Template file for 'afl'
|
||||||
pkgname=afl
|
pkgname=afl
|
||||||
version=2.52b
|
version=2.55b
|
||||||
revision=1
|
revision=1
|
||||||
|
wrksrc="AFL-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
# x86 only currently
|
# x86 only currently
|
||||||
archs="i686* x86_64*"
|
archs="i686* x86_64*"
|
||||||
|
@ -9,17 +10,17 @@ hostmakedepends="llvm clang"
|
||||||
short_desc="American fuzzy lop - a brute-force fuzzer"
|
short_desc="American fuzzy lop - a brute-force fuzzer"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://lcamtuf.coredump.cx/afl/"
|
homepage="https://github.com/google/AFL/"
|
||||||
distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz"
|
distfiles="https://github.com/google/AFL/archive/v${version}.tar.gz"
|
||||||
checksum=43614b4b91c014d39ef086c5cc84ff5f068010c264c2c05bf199df60898ce045
|
checksum=ca96fa6fac76f1ee104762cc9313be37a398f936f2b0e8a9f66e94244ae6babc
|
||||||
|
|
||||||
nostrip_files="small_archive.a small_exec.elf"
|
nostrip_files="small_archive.a small_exec.elf"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make PREFIX=/usr
|
make PREFIX=/usr
|
||||||
|
|
||||||
CFLAGS="${CFLAGS} -fPIC" \
|
CFLAGS="${CFLAGS//-fstack-clash-protection} -fPIC" \
|
||||||
CXXFLAGS="${CXXFLAGS} -fPIC" \
|
CXXFLAGS="${CXXFLAGS//-fstack-clash-protection} -fPIC" \
|
||||||
LDFLAGS="${LDFLAGS} -pie" \
|
LDFLAGS="${LDFLAGS} -pie" \
|
||||||
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
|
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue