aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-03-25 17:15:53 +0100
committerTBK <tbk@jjtc.eu>2020-03-25 18:21:59 +0100
commit07c1290817f7d9276c72afa3c19341a7ca54fc27 (patch)
treeb83a3dcab47ef6b7bd33e30a932b35f22d238965
parentbe4e9928d9fbeb45a36b8601def0782732fb0a98 (diff)
downloadaports-07c1290817f7d9276c72afa3c19341a7ca54fc27.tar.gz
aports-07c1290817f7d9276c72afa3c19341a7ca54fc27.tar.bz2
aports-07c1290817f7d9276c72afa3c19341a7ca54fc27.tar.xz
community/masscan: move from testing
- Clarify license - Modernize - Add doc subpkg
-rw-r--r--community/masscan/APKBUILD (renamed from testing/masscan/APKBUILD)16
1 files changed, 7 insertions, 9 deletions
diff --git a/testing/masscan/APKBUILD b/community/masscan/APKBUILD
index 8a21caab7c..6a4986bff7 100644
--- a/testing/masscan/APKBUILD
+++ b/community/masscan/APKBUILD
@@ -2,28 +2,26 @@
# 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."
+pkgrel=1
+pkgdesc="TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes."
url="https://github.com/robertdavidgraham/masscan"
arch="all"
-license="AGPL-3.0"
+license="AGPL-3.0-only"
makedepends="libpcap-dev linux-headers"
-source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/$pkgname/archive/$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/masscan/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
- make CC="${CC:-gcc}" CFLAGS="${CFLAGS} -I."
+ make CC="${CC:-gcc}" CFLAGS="$CFLAGS -I."
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
+ install -Dm644 doc/masscan.8 -t "$pkgdir/usr/share/man/man8"
}
sha512sums="55d58234994ebea10bcb3f45a24cdb51b020350faa116aee3a48861a119f66c339d1f533c978f52e37ccf5266be6fd2802765f13461d94eb28ec8d18c68e2f88 masscan-1.0.5.tar.gz"