blob: 4f484a231fd78e48d2014b46a99fb17cd4fcfc5b (
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
36
37
38
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=scanssh
pkgver=2.1.1
pkgrel=2
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"
prepare() {
default_prepare || return 1
cd "$builddir"
update_config_guess && update_config_sub
}
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"
|