diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 16:13:32 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-24 16:13:32 +0000 |
commit | 09b38cb4db5b2af1e9e84505572d66f626837b30 (patch) | |
tree | 409affc6cc0df27d47f27ddf91f224aee521b296 /community/yersinia | |
parent | f4cd16190abf6e474236aa2912ba677babac1ee2 (diff) | |
download | aports-09b38cb4db5b2af1e9e84505572d66f626837b30.tar.bz2 aports-09b38cb4db5b2af1e9e84505572d66f626837b30.tar.xz |
community/yersinia: moved from testing
Diffstat (limited to 'community/yersinia')
-rw-r--r-- | community/yersinia/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/yersinia/APKBUILD b/community/yersinia/APKBUILD new file mode 100644 index 0000000000..e3c7bc22f3 --- /dev/null +++ b/community/yersinia/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=yersinia +pkgver=0.7.3 +pkgrel=1 +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" + +prepare() { + default_prepare || return 1 + update_config_guess || return 1 +} + +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" |