Want more features on Pastebin? Sign Up, it's FREE!
Guest

reaver pkbuild

By: a guest on Jan 28th, 2012  |  syntax: Bash  |  size: 0.98 KB  |  views: 363  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=reaver
  2. pkgver=1.4
  3. pkgrel=1
  4. pkgdesc="Brute force attack against Wifi Protected Setup"
  5. arch=('i686' 'x86_64')
  6. url="http://code.google.com/p/reaver-wps/"
  7. license=('GPL')
  8. depends=('libpcap' 'sqlite3')
  9. backup=('etc/reaver/reaver.db')
  10. source=(http://reaver-wps.googlecode.com/files/$pkgname-$pkgver.tar.gz)
  11. md5sums=('05441dda7bacfcbe1e831c85d1ea3bc9')
  12.  
  13. build() {
  14.   cd $srcdir/$pkgname-$pkgver/src
  15.   ./configure --prefix=/usr --sysconfdir=/etc
  16.   make
  17. }
  18.  
  19. package() {
  20.   cd $srcdir/$pkgname-$pkgver/src
  21.   install -D -m 644 reaver.db $pkgdir/etc/reaver/reaver.db
  22.   install -D -m 755 wash $pkgdir/usr/bin/wash
  23.   install -D -m 755 reaver $pkgdir/usr/bin/reaver
  24.  
  25.   cd $srcdir/$pkgname-$pkgver/docs
  26.   install -D -m 644 README $pkgdir/usr/share/doc/$pkgname/README
  27.   install -m 644 README.WASH $pkgdir/usr/share/doc/$pkgname/README.WASH
  28.   install -m 644 README.REAVER $pkgdir/usr/share/doc/$pkgname/README.REAVER
  29.   install -D -m 644 reaver.1.gz $pkgdir/usr/share/man/man1/reaver.1.gz
  30. }
clone this paste RAW Paste Data