diff options
author | Olivier Le Moal | 2015-06-21 18:14:46 +0200 |
---|---|---|
committer | Olivier Le Moal | 2015-06-21 18:14:46 +0200 |
commit | 398ab9093087f2826af7b56380a081ba4db68ddb (patch) | |
tree | 3b0b1517e1f2232d9e972b51ddbcafcd5af04e58 | |
download | aur-398ab9093087f2826af7b56380a081ba4db68ddb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f23c0dd447a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = yersinia + pkgdesc = A network tool designed to take advantage of some weakness in different network protocols + pkgver = 0.7.3 + pkgrel = 1 + url = http://www.yersinia.net/ + arch = i686 + arch = x86_64 + license = GPL + depends = libpcap + depends = libnet + optdepends = gtk2: required for the gtk 2.0 interface + source = http://www.yersinia.net/download/yersinia-0.7.3.tar.gz + md5sums = 53ca82d6cb463810b6a205d0e2362784 + +pkgname = yersinia + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ce7c361b5dd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Olivier Le Moal <mail at olivierlemoal dot fr> +# Contributor: Pranay Kanwar <warl0ck@metaeye.org> + +pkgname=yersinia +pkgver=0.7.3 +pkgrel=1 +pkgdesc="A network tool designed to take advantage of some weakness in different network protocols" +url="http://www.yersinia.net/" +depends=('libpcap' 'libnet') +optdepends=('gtk2: required for the gtk 2.0 interface') +license=("GPL") +arch=('i686' 'x86_64') + +source=(http://www.yersinia.net/download/$pkgname-$pkgver.tar.gz) +md5sums=('53ca82d6cb463810b6a205d0e2362784') + +build() { + cd "${srcdir}" + ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --disable-gtk + # Uncomment and replace to enable the gtk2 interface (alpha) + #./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap + make +} + +package() { + cd "${srcdir}" + make DESTDIR=${pkgdir} install +} |