aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-31 17:07:06 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-31 17:07:06 +0100
commit472d96f535401069b65b3220ecf81c36c46513bf (patch)
tree8b07a52479b1ab7182483ce5c0cbf8a1d4da58f0
parent1e352bb33231d2a3b7d2645c3cf506ad0aa531aa (diff)
downloadaports-472d96f535401069b65b3220ecf81c36c46513bf.tar.bz2
aports-472d96f535401069b65b3220ecf81c36c46513bf.tar.xz
main/nmap: fix url=
-rw-r--r--main/nmap/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index e11da6e2ef..c9a28a7281 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -1,12 +1,11 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nmap
pkgver=7.80
-pkgrel=1
+pkgrel=2
pkgdesc="A network exploration tool and security/port scanner"
-url="http://nmap.org"
+url="https://nmap.org"
arch="all"
license="custom"
-depends=""
makedepends="linux-headers openssl-dev libpcap-dev pcre-dev zlib-dev libssh2-dev lua5.3-dev"
options="!check" #FIXME: fails on armhf and aarch64
subpackages="
@@ -15,9 +14,8 @@ subpackages="
$pkgname-nselibs::noarch
$pkgname-nping
$pkgname-ncat"
-source="https://nmap.org/dist/$pkgname-$pkgver.tar.bz2
+source="https://nmap.org/dist/nmap-$pkgver.tar.bz2
fortify-source.patch"
-builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
# 7.80-r0:
@@ -30,7 +28,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -49,12 +46,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
install -Dm644 COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE