aboutsummaryrefslogtreecommitdiffstats
path: root/community/scanssh/APKBUILD
blob: f90d432d256a2749d6766676c5c8600b2785fcae (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=scanssh
pkgver=2.1.1
pkgrel=0
pkgdesc="Fast SSH server and open proxy scanner"
url="https://github.com/ofalk/scanssh"
arch="all"
license="BSD"
makedepends="libpcap-dev libevent-dev libdnet-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ofalk/scanssh/archive/$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="e991586bb2e2a6e8ae212d7a28ad3b8d  scanssh-2.1.1.tar.gz"
sha256sums="777807f2b4a1af1d83c4c3cb043d9559bd72175203bb3ae55430a7e7cfb2391a  scanssh-2.1.1.tar.gz"
sha512sums="ec8c96556fd41e464d1889b1b87fa294fdf97b71192a3f931be73d750ebe4cd05681f1f625e0826c0e558dfb82e02c1d2d1943e0aed1cd8f7ca0062f79eedcb5  scanssh-2.1.1.tar.gz"