mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 03:23:01 +02:00
afl++: update to 4.33c.
This commit is contained in:
parent
e25d3b1c54
commit
858f81c658
2 changed files with 27 additions and 3 deletions
21
srcpkgs/afl++/patches/mode_t.patch
Normal file
21
srcpkgs/afl++/patches/mode_t.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- a/include/common.h
|
||||||
|
+++ b/include/common.h
|
||||||
|
@@ -27,6 +27,7 @@
|
||||||
|
#ifndef __AFLCOMMON_H
|
||||||
|
#define __AFLCOMMON_H
|
||||||
|
|
||||||
|
+#include <fcntl.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
--- a/include/types.h
|
||||||
|
+++ b/include/types.h
|
||||||
|
@@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <fcntl.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
typedef uint8_t u8;
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'afl++'
|
# Template file for 'afl++'
|
||||||
pkgname=afl++
|
pkgname=afl++
|
||||||
version=4.30c
|
version=4.33c
|
||||||
revision=1
|
revision=1
|
||||||
archs="i686* x86_64* aarch64*"
|
archs="i686* x86_64* aarch64*"
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="which"
|
hostmakedepends="which"
|
||||||
makedepends="gmp-devel lld18 llvm18-devel python3-devel"
|
makedepends="gmp-devel lld18 llvm18-devel python3-devel zlib-devel"
|
||||||
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
|
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://aflplus.plus/"
|
homepage="https://aflplus.plus/"
|
||||||
distfiles="https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=7c08c81f59b6c1f0bc2428fdee9fb880520e72c50be0683072e66bcde662b480
|
checksum=98903c8036282c8908b1d8cc0d60caf3ea259db4339503a76449b47acce58d1d
|
||||||
conflicts="afl>=0"
|
conflicts="afl>=0"
|
||||||
replaces="afl>=0"
|
replaces="afl>=0"
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ nostrip_files="small_archive.a small_exec.elf"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
export LLVM_CONFIG=${XBPS_CROSS_BASE}/usr/bin/llvm-config
|
export LLVM_CONFIG=${XBPS_CROSS_BASE}/usr/bin/llvm-config
|
||||||
|
export PYTHON_INCLUDE="-I${py3_inc}"
|
||||||
|
export PYTHON_LIB="-lpython${py3_ver} -ldl -lm"
|
||||||
|
export PYTHON_VERSION="Python ${py3_ver}"
|
||||||
else
|
else
|
||||||
export LLVM_CONFIG=llvm-config
|
export LLVM_CONFIG=llvm-config
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue