aboutsummaryrefslogtreecommitdiffstats
path: root/main/nmap/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-27 08:36:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-27 08:36:33 +0000
commit7281be9beb644b5d495377a32e217c43e53fac0d (patch)
tree0e55184eab9dba285ecff46ba626079f6d74a574 /main/nmap/APKBUILD
parentb691d1a42c6568a8f1193cbaf3322ca2e0e1b9f0 (diff)
downloadaports-7281be9beb644b5d495377a32e217c43e53fac0d.tar.bz2
aports-7281be9beb644b5d495377a32e217c43e53fac0d.tar.xz
main/nmap: upgrade to 5.20
Diffstat (limited to 'main/nmap/APKBUILD')
-rw-r--r--main/nmap/APKBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index e02f6e8c67..3d5591383a 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -1,27 +1,20 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=nmap
-pkgver=5.00
-pkgrel=1
+pkgver=5.20
+pkgrel=0
pkgdesc="A network exploration tool and security/port scanner"
url="http:/nmap.org"
license="custom:GPL"
depends=
makedepends="libpcap-dev openssl-dev lua-dev"
install=
-subpackages="$pkgname-doc $pkgname-nse"
-source="http://nmap.org/dist/$pkgname-$pkgver.tgz
- nmap-4.53-uclibc++-output.cc.patch
- "
+subpackages="$pkgname-doc"
+source="http://nmap.org/dist/$pkgname-$pkgver.tgz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- for i in ../*.patch; do
- msg "Applying $i..."
- patch -p1 < $i || return 1
- done
-
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -30,6 +23,10 @@ build() {
--with-liblua=/usr/include \
--with-openssl=/usr/lib
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
# install custom GPL2 license
@@ -44,5 +41,4 @@ nse() {
"$subpkgdir"/usr/share/$pkgname/
}
-md5sums="6b5b28f421cae71fd2710c1247c8db66 nmap-5.00.tgz
-507b0936aaafaeddebad309b0924de39 nmap-4.53-uclibc++-output.cc.patch"
+md5sums="ed8567c898c6b8f285fb7bebae449a1c nmap-5.20.tgz"