mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Maintainer: Santiago Torres-Arias <santiago[at]archlinux[dot]org>
|
|
# Contributor: spider-mario <spidermario@free.fr>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - make with AFL_NO_X86=1
|
|
# - remove makedepend on lib32-glibc
|
|
|
|
pkgname=afl
|
|
pkgver=2.54b
|
|
pkgrel=1
|
|
pkgdesc='Security-oriented fuzzer using compile-time instrumentation and genetic algorithms'
|
|
url='http://lcamtuf.coredump.cx/afl/'
|
|
arch=('x86_64')
|
|
license=('Apache')
|
|
depends=('glibc' 'bash')
|
|
optdepends=('gcc: gcc instrumentation support'
|
|
'clang: clang instrumentation support'
|
|
'llvm: experimental clang-fast instrumentation support'
|
|
'gnuplot: graph plotting support')
|
|
makedepends=('clang' 'llvm' 'gcc' 'wget' 'python')
|
|
provides=('american-fuzzy-lop')
|
|
replaces=('american-fuzzy-lop')
|
|
options=('!emptydirs' '!strip')
|
|
source=(https://github.com/google/AFL/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('01933db5ed60bf0d62215a87d68bc42e9aa1ad7ca00db34d44d7a73eaeefa38d')
|
|
sha512sums=('3c4816994190f95f5ed48076decbeb6f2eca507dd86a940945f1b43bd6bbe1b04f94a143189a260ab78ed3acfe36496e82a3a6dec0a3469d72c430834fe5d769')
|
|
|
|
build() {
|
|
cd AFL-${pkgver}
|
|
make PREFIX=/usr AFL_NO_X86=1
|
|
make -C llvm_mode PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd AFL-${pkgver}
|
|
make PREFIX=/usr AFL_NO_X86=1 DESTDIR="${pkgdir}" install
|
|
install -Dm 644 llvm_mode/README.llvm -t "${pkgdir}/usr/share/doc/${pkgname}"
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|