mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: afl++-4.07c
This commit is contained in:
parent
644552f0b9
commit
53ec22ca75
3 changed files with 39 additions and 0 deletions
11
srcpkgs/afl++/patches/limits.patch
Normal file
11
srcpkgs/afl++/patches/limits.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/src/afl-ld-lto.c
|
||||||
|
+++ b/src/afl-ld-lto.c
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
#include <dirent.h>
|
||||||
|
|
||||||
|
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||||
|
+#if 1 || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
|
||||||
|
defined(__DragonFly__)
|
||||||
|
#include <limits.h>
|
||||||
|
#endif
|
27
srcpkgs/afl++/template
Normal file
27
srcpkgs/afl++/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'afl++'
|
||||||
|
pkgname=afl++
|
||||||
|
version=4.07c
|
||||||
|
revision=1
|
||||||
|
# x86 only currently
|
||||||
|
archs="i686* x86_64*"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="which"
|
||||||
|
makedepends="clang gmp-devel lld llvm python3-devel"
|
||||||
|
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
|
||||||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://aflplus.plus/"
|
||||||
|
distfiles="https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=cdb42834359b17336047814d1c24845f606456dbe4e6aff5edac66c21aa577db
|
||||||
|
conflicts="afl>=0"
|
||||||
|
replaces="afl>=0"
|
||||||
|
|
||||||
|
nostrip_files="small_archive.a small_exec.elf"
|
||||||
|
|
||||||
|
export LLVM_CONFIG=llvm-config
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Test cases contain binary .../testcases/others/elf/small_exec.elf
|
||||||
|
# so move them to /usr/lib/afl
|
||||||
|
mv ${DESTDIR}/usr/{share,lib}/afl/testcases
|
||||||
|
}
|
1
srcpkgs/afl++/update
Normal file
1
srcpkgs/afl++/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pattern='/\K\d+\.[\d.]+c'
|
Loading…
Add table
Reference in a new issue