summaryrefslogtreecommitdiffstats
path: root/testing/scanssh/APKBUILD
blob: 4b91dfb4260f49c281b98699ca18c2c5b03c665f (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
27
28
29
30
31
32
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=scanssh
pkgver=2.1
pkgrel=0
pkgdesc="Fast SSH server and open proxy scanner"
url="http://monkey.org/~provos/scanssh/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="libpcap-dev libevent-dev libdnet-dev"
install=""
subpackages="$pkgname-doc"
source="http://monkey.org/~provos/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="9fab4253b56b2d15367d4872b370cdcb  scanssh-2.1.tar.gz"