aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-17 14:10:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-17 14:10:39 +0000
commit4359a95769cad70df205045ecc7a00ad0e97203d (patch)
tree5bcfcb3a10f00cea1bd9bfa63cd112f4105323b7
parent170331ecc2893156d7f013edaf1f1d80d59252ba (diff)
downloadaports-4359a95769cad70df205045ecc7a00ad0e97203d.tar.gz
aports-4359a95769cad70df205045ecc7a00ad0e97203d.tar.bz2
aports-4359a95769cad70df205045ecc7a00ad0e97203d.tar.xz
testing/yersinia: added update_config_guess
-rw-r--r--testing/yersinia/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/testing/yersinia/APKBUILD b/testing/yersinia/APKBUILD
index 39306fd284..93ee982410 100644
--- a/testing/yersinia/APKBUILD
+++ b/testing/yersinia/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yersinia
pkgver=0.7.3
-pkgrel=0
+pkgrel=1
pkgdesc="Framework for performing layer 2 attacks"
url="http://www.yersinia.net/"
arch="all"
@@ -15,14 +15,10 @@ subpackages="$pkgname-doc"
source="http://www.yersinia.net/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"
+
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {