This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 19th, 2012  |  syntax: None  |  size: 1.08 KB  |  views: 74  |  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. # Contributor: Timothée Ravier <tim@siosm.fr>
  6. # Contributor: Jawmare <victor2008 at gmail dot com>
  7.  
  8. pkgname=hydra
  9. pkgver=7.3
  10. pkgrel=1
  11. pkgdesc="A very fast network logon cracker which support many different services."
  12. arch=('i686' 'x86_64')
  13. url="http://www.thc.org/thc-hydra/"
  14. license="GPL3"
  15. depends=('krb5' 'openssl' 'postgresql-libs' 'subversion' 'apr' 'apr-util' 'libssh' 'flamerobin')
  16. source=("http://freeworld.thc.org/releases/$pkgname-$pkgver-src.tar.gz")
  17. md5sums=('ac17b395d6af5ee56726b4d3b24580fb')
  18.  
  19. build() {
  20.         cd $srcdir/$pkgname-$pkgver
  21.  
  22.         ./configure --prefix=/usr --mandir=/usr/share/man
  23.         make
  24. }
  25.  
  26. package() {
  27.         cd $srcdir/$pkgname-$pkgver
  28.  
  29.     mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/man/man1
  30.     mkdir -p $pkgdir/usr/etc
  31.         make PREFIX=$pkgdir/usr install
  32.     mv $pkgdir/usr/man/man1/* $pkgdir/usr/share/man/man1/
  33.     rm -rf $pkgdir/usr/man
  34. }
clone this paste RAW Paste Data