summaryrefslogtreecommitdiffstats
path: root/testing/scanssh/APKBUILD
blob: e2c0f1db76b42daef7f4fe77d636729c81687363 (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
34
35
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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"
sha256sums="057eec87edafbbe5bc22960cbac53e3ada0222400d649a5e2f22cc8981f5b035  scanssh-2.1.tar.gz"
sha512sums="1ddff6f8e51735bab28032c8d7cbb641ff0cd19a404a27ab489589ef1e30e3721dd486854eb4fef15368cc53f10c9c2650ffaf7fa7f767dc2202fcc5540ae59c  scanssh-2.1.tar.gz"