summaryrefslogtreecommitdiffstats
path: root/main/nmap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nmap/APKBUILD')
-rw-r--r--main/nmap/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index bb0407876..363c2d47c 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -1,12 +1,12 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=nmap
-pkgver=4.76
-pkgrel=2
+pkgver=5.00
+pkgrel=0
pkgdesc="A network exploration tool and security/port scanner"
url="http:/nmap.org"
license="custom:GPL"
-depends="pcre libpcap uclibc++ openssl lua"
+depends=
makedepends="uclibc++-dev libpcap-dev openssl-dev lua-dev"
install=
subpackages="$pkgname-doc $pkgname-nse"
@@ -22,7 +22,7 @@ build() {
patch -p1 < $i || return 1
done
- export CXX=g++-uc
+ export CXX=${CXX_UC:-g++-uc}
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -36,12 +36,14 @@ build() {
# install custom GPL2 license
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
-
+
nse() {
+ pkgdesc="nmap scripting engine"
mkdir -p "$subpkgdir"/usr/share/$pkgname
- mv "$pkgdir"/usr/share/$pkgname/nselib "$subpkgdir"/usr/share/$pkgname/
- mv "$pkgdir"/usr/share/$pkgname/scripts "$subpkgdir"/usr/share/$pkgname/
+ mv "$pkgdir"/usr/share/$pkgname/nselib \
+ "$pkgdir"/usr/share/$pkgname/scripts \
+ "$subpkgdir"/usr/share/$pkgname/
}
-md5sums="54b5c9e3f44c1adde17df68170eb7cfe nmap-4.76.tgz
+md5sums="6b5b28f421cae71fd2710c1247c8db66 nmap-5.00.tgz
507b0936aaafaeddebad309b0924de39 nmap-4.53-uclibc++-output.cc.patch"