diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-05 17:56:25 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-05 17:56:25 +0000 |
commit | 8af0be73acf9d988f6fd06a4f188592c8754b6e1 (patch) | |
tree | 3cebe483ccf5b8f99578d915969daac250e8ad2c | |
parent | bf213c0214171bfe98a5bc0e2b05ea3682124d74 (diff) | |
download | aports-8af0be73acf9d988f6fd06a4f188592c8754b6e1.tar.bz2 aports-8af0be73acf9d988f6fd06a4f188592c8754b6e1.tar.xz |
testing/yersinia: new aport
-rw-r--r-- | testing/yersinia/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/yersinia/APKBUILD b/testing/yersinia/APKBUILD new file mode 100644 index 0000000000..39306fd284 --- /dev/null +++ b/testing/yersinia/APKBUILD @@ -0,0 +1,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" |