blob: 8a21caab7c79e71cc124c01ca2039ade064f528e (
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
|
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=masscan
pkgver=1.0.5
pkgrel=0
pkgdesc="Mass IP port scanner - This is the fastest Internet port scanner."
url="https://github.com/robertdavidgraham/masscan"
arch="all"
license="AGPL-3.0"
makedepends="libpcap-dev linux-headers"
source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -I."
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="55d58234994ebea10bcb3f45a24cdb51b020350faa116aee3a48861a119f66c339d1f533c978f52e37ccf5266be6fd2802765f13461d94eb28ec8d18c68e2f88 masscan-1.0.5.tar.gz"
|