aboutsummaryrefslogtreecommitdiffstats
path: root/community/scanssh/APKBUILD
blob: b4a08a8463b186da006109efa5eb07499cad42b7 (plain) (blame)
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.2
pkgrel=1
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"

prepare() {
	default_prepare

	update_config_guess && update_config_sub
}

build() {
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="af4e705c43156b907d6864b12f5832bb4e43d0ff284e34e96b32bbe7986299954d1175880ffe7588f91a939d140b45592fc72dc2bf397f140aed929dbe44a453  scanssh-2.1.2.tar.gz"