Commit c77214bb authored by Sören Tempel's avatar Sören Tempel

testing/afl: fix error during strip process on non intel platforms

parent 73233acb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Marian <m.buschsieweke@uni-muenster.de> # Maintainer: Marian <m.buschsieweke@uni-muenster.de>
pkgname=afl pkgname=afl
pkgver=2.41b pkgver=2.41b
pkgrel=0 pkgrel=1
pkgdesc="American fuzzy lop - a fuzzer relying on genetic algorithms instead brute force" pkgdesc="American fuzzy lop - a fuzzer relying on genetic algorithms instead brute force"
url="http://lcamtuf.coredump.cx/afl/" url="http://lcamtuf.coredump.cx/afl/"
arch="all" arch="all"
...@@ -32,9 +32,12 @@ package() { ...@@ -32,9 +32,12 @@ package() {
rm -f "$pkgdir/usr/bin/afl-clang" "$pkgdir/usr/bin/afl-clang++" \ rm -f "$pkgdir/usr/bin/afl-clang" "$pkgdir/usr/bin/afl-clang++" \
"$pkgdir/usr/bin/afl-gcc" "$pkgdir/usr/bin/afl-g++" "$pkgdir/usr/bin/afl-gcc" "$pkgdir/usr/bin/afl-g++"
if [ "$CARCH" = "ppc64le" ]; then # small_exec.elf is an Intel binary which causes an error during
rm -f "$pkgdir"/usr/share/afl/testcases/others/elf/small_exec.elf # the strip() process on non Intel plattforms.
fi case "$CARCH" in
x86*) ;;
*) rm -f "$pkgdir"/usr/share/afl/testcases/others/elf/small_exec.elf ;;
esac
} }
sha512sums="e1af6e6c4dedcc3f7f17857bf45a2efeb64bdc51633003c5bd700c51eb30c72f1f4e7fed5f6570ec98ccbd22b54dbcf08cc3faec4d28004fe0fa863a4d7ea90f afl-2.41b.tgz" sha512sums="e1af6e6c4dedcc3f7f17857bf45a2efeb64bdc51633003c5bd700c51eb30c72f1f4e7fed5f6570ec98ccbd22b54dbcf08cc3faec4d28004fe0fa863a4d7ea90f afl-2.41b.tgz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment