aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/yersinia/APKBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/community/yersinia/APKBUILD b/community/yersinia/APKBUILD
index e3c7bc22f3..626ec2cb5b 100644
--- a/community/yersinia/APKBUILD
+++ b/community/yersinia/APKBUILD
@@ -1,21 +1,20 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yersinia
-pkgver=0.7.3
-pkgrel=1
+pkgver=0.8.2
+pkgrel=0
pkgdesc="Framework for performing layer 2 attacks"
url="http://www.yersinia.net/"
arch="all"
license="GPL"
-depends=""
makedepends="libnet-dev libpcap-dev ncurses-dev"
subpackages="$pkgname-doc"
-source="http://www.yersinia.net/download/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"
+source="$pkgname-$pkgver.tar.gz::https://github.com/tomac/yersinia/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
+ update_config_guess
}
build() {
@@ -24,7 +23,12 @@ build() {
--prefix=/usr \
--with-pcap-includes=/usr/include \
--disable-gtk
- make || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
@@ -32,6 +36,4 @@ package() {
make DESTDIR=$pkgdir install
}
-md5sums="53ca82d6cb463810b6a205d0e2362784 yersinia-0.7.3.tar.gz"
-sha256sums="042abc466c5b470b97079e0049b4029a8cbb75d583cfbfb756fca76e460d40b4 yersinia-0.7.3.tar.gz"
-sha512sums="60a1b58e6d76448e9332656645b468a6aa66afa0f45ea4b70a929651194a294b9b559bbe5fbacaeb475126e7ac248cd97c29f3177e5080286b2f551f1400d339 yersinia-0.7.3.tar.gz"
+sha512sums="2c7c89f19b6791150c472a6066b6ffaf9ac5b3d1a3d2e6a27f91293bba9a0f72d147266731e5e2670e4bf7e67ccf04b6e353071ca42d3d281b25126c9bfcb1dd yersinia-0.8.2.tar.gz"