blob: 39306fd284ecfde328ebeeca9d7a1e1191a2718c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=yersinia
pkgver=0.7.3
pkgrel=0
pkgdesc="Framework for performing layer 2 attacks"
url="http://www.yersinia.net/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev libnet-dev libpcap-dev ncurses-dev"
install=""
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
}
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--with-pcap-includes=/usr/include \
--disable-gtk
make || return 1
}
package() {
cd "$_builddir"
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"
|