From 3c37da7e943fff047119db6128ecec38a79606d3 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 12 Aug 2019 12:52:46 +0000 Subject: [PATCH] community/afl to 2.53b-1 --- community/afl/PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/community/afl/PKGBUILD b/community/afl/PKGBUILD index 408518a3a..08726eeb7 100644 --- a/community/afl/PKGBUILD +++ b/community/afl/PKGBUILD @@ -6,8 +6,8 @@ # - strip -fno-plt from v5 CFLAGS (old LLVM) pkgname=afl -pkgver=2.52b -pkgrel=2 +pkgver=2.53b +pkgrel=1 pkgdesc='Security-oriented fuzzer using compile-time instrumentation and genetic algorithms' url='http://lcamtuf.coredump.cx/afl/' arch=('x86_64') @@ -21,19 +21,19 @@ makedepends=('clang' 'llvm' 'gcc' 'wget' 'python') provides=('american-fuzzy-lop') replaces=('american-fuzzy-lop') options=('!emptydirs' '!strip') -source=(http://lcamtuf.coredump.cx/${pkgname}/releases/${pkgname}-${pkgver}.tgz) -sha256sums=('43614b4b91c014d39ef086c5cc84ff5f068010c264c2c05bf199df60898ce045') -sha512sums=('30d4526440cff109ef2a014278f52a04b1b33560b6ab7d7f59e1516655858ffb36dac81963d2d8f214984776742ca9a7942c27c8fb61f7eb70b5b35cd029008f') +source=(https://github.com/google/AFL/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('ea4917c0c982f45866d6fbf129a78eb9959736bd69bb269cab57f2695661e6e6') +sha512sums=('709fba16eda4b0175273ac24e2fcb0fa469d203b666c87a367a3bd76e3acea1f67642b8f492065b5b5b04c0224a47aa121e7b056a1b39de8cf8979f9367cd051') build() { - cd ${pkgname}-${pkgver} + cd AFL-${pkgver} [[ $CARCH == "arm" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/-fno-plt//'` && CXXFLAGS="$CFLAGS" make PREFIX=/usr AFL_NO_X86=1 make -C llvm_mode PREFIX=/usr } package() { - cd ${pkgname}-${pkgver} + 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}" }