summaryrefslogtreecommitdiffstats
path: root/portbunny/PKGBUILD
blob: 079dd68aa00699520697f932b805cd19a5233caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Martijn F. Arts <mfa@devtty0.de>
pkgname=portbunny
pkgver="050109_dev"
pkgrel=1
pkgdesc="A fast TCP-SYN Linux-kernel-based port-scanner"
arch=('i686' 'x86_64')
url="http://www.recurity-labs.com/portbunny/"
license=('GPL')
depends=('python>=2.4')
makedepends=('make' 'gcc' 'kernel-headers')
install=$pkgname.install
source=("http://portbunny.recurity.com/tarballs/PortBunny050109-dev.tar.gz" "installpath.patch")
build() {
  cd "$startdir/src/PortBunny050109-dev"
  patch -p1 < ../installpath.patch
  make || return 1050109_dev
  mkdir -p $startdir/pkg/lib/modules/$(uname -r)/kernel/  $startdir/pkg/usr/share/portbunny || return 1
  mkdir -p $startdir/pkg/usr/bin || return 1
  DESTDIR="$startdir/pkg" make install || return 1
}

# vim:set ts=2 sw=2 et:
md5sums=('792ceed6d20e5035f9dc1fcc318d2bbe'
         'd056310ab5b14b6f859907b6fac7ae5d')
sha256sums=('e916e93a562315e5dc9f35693d4f08720865e36676590da6742226bd80dfd13f'
            'fba5c7a24181d9066c03a94dc106208bdf183724e7cdd85948094a9c31dc23b8')