diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-20 15:01:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-20 16:58:04 +0000 |
commit | cffa6eeda1ad8370e3ccbb2686d02dccc7d672b9 (patch) | |
tree | 3a45f8285a2f19185d58a18156651e1b30de2b2d | |
parent | 32d225be6fb18e01f33546c64f3ba126fd3e9410 (diff) | |
download | aports-cffa6eeda1ad8370e3ccbb2686d02dccc7d672b9.tar.bz2 aports-cffa6eeda1ad8370e3ccbb2686d02dccc7d672b9.tar.xz |
main/nmap: upgrade to 5.00
-rw-r--r-- | main/nmap/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD index bb04078768..363c2d47c7 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" |