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

PKGBUILD hydra 7.2

By: vic_pozd on Feb 11th, 2012  |  syntax: None  |  size: 1.00 KB  |  views: 182  |  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. # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
  2. # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
  3. # Contributor: pootzko <pootzko@gmail.com>
  4. # Contributor: Jinx <jinxware@gmail.com>
  5.  
  6. pkgname=hydra
  7. pkgver=7.2
  8. pkgrel=1
  9. pkgdesc="A very fast network logon cracker which support many different services."
  10. arch=('i686' 'x86_64')
  11. url="http://www.thc.org/thc-hydra/"
  12. license="GPL3"
  13. depends=('krb5' 'openssl' 'postgresql-libs' 'subversion' 'apr' 'apr-util' 'libssh' 'flamerobin')
  14. source=("http://freeworld.thc.org/releases/$pkgname-$pkgver-src.tar.gz")
  15. #md5sums=('0c3a6a351cb2e233cb989f0bcdd75edf')
  16. md5sums=('7a72f2d4dd8a771a4935072f80e336dd')
  17.  
  18. build() {
  19.         cd $srcdir/$pkgname-$pkgver-src
  20.  
  21.         ./configure --prefix=/usr --mandir=/usr/share/man
  22.         make
  23. }
  24.  
  25. package() {
  26.         cd $srcdir/$pkgname-$pkgver-src
  27.  
  28.     mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/man/man1
  29.         make PREFIX=$pkgdir/usr install
  30.     mv $pkgdir/usr/man/man1/* $pkgdir/usr/share/man/man1/
  31.     rm -rf $pkgdir/usr/man
  32. }
clone this paste RAW Paste Data