aboutsummaryrefslogtreecommitdiffstats
path: root/community/scanssh
diff options
context:
space:
mode:
Diffstat (limited to 'community/scanssh')
-rw-r--r--community/scanssh/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/scanssh/APKBUILD b/community/scanssh/APKBUILD
new file mode 100644
index 0000000000..6b9bbe67ec
--- /dev/null
+++ b/community/scanssh/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=scanssh
+pkgver=2.1
+pkgrel=1
+pkgdesc="Fast SSH server and open proxy scanner"
+url="http://monkey.org/~provos/scanssh/"
+arch="all"
+license="BSD"
+makedepends="libpcap-dev libevent-dev libdnet-dev"
+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"