summaryrefslogtreecommitdiff
path: root/extra/nmap
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-30 02:31:56 -0800
committerroot <root@rshg054.dnsready.net>2012-11-30 02:31:56 -0800
commit51867161079ab52d5152105142a3bc965c63ca03 (patch)
treeb3bce74db52a754245dc26d586603dfec0620aec /extra/nmap
parentfd13fc6dba397df448ce6ecf87e806fdc3a8f3cd (diff)
Fri Nov 30 02:29:05 PST 2012
Diffstat (limited to 'extra/nmap')
-rw-r--r--extra/nmap/PKGBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
index 1609326b3..e8a07b55a 100644
--- a/extra/nmap/PKGBUILD
+++ b/extra/nmap/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 165381 2012-08-17 08:46:12Z bisson $
+# $Id: PKGBUILD 172141 2012-11-30 02:54:16Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=nmap
-pkgver=6.01
-pkgrel=2
+pkgver=6.25
+pkgrel=1
pkgdesc='Utility for network discovery and security auditing'
url='http://nmap.org/'
arch=('i686' 'x86_64')
@@ -13,20 +13,12 @@ license=('GPL')
makedepends=('pygtk')
optdepends=('pygtk: zenmap')
depends=('pcre' 'openssl' 'libpcap' 'lua')
-source=("http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2"
- 'kdesu.patch')
-sha1sums=('e397e453893930d14e9bb33a847d15b94b7ee83a'
- '159bc1243564d3a9dee820291bf07168870cbaf6')
+source=("http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('769943a1a5c10f67bf9738e26da42b3312db752f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Show icon only if runnable; see FS#12045
- echo 'TryExec=/usr/bin/pygtk-demo' >> zenmap/install_scripts/unix/zenmap.desktop
- echo 'TryExec=/usr/bin/pygtk-demo' >> zenmap/install_scripts/unix/zenmap-root.desktop
-
- patch -p1 -i ../kdesu.patch # FS#31158
-
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
@@ -37,6 +29,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/bin/uninstall_zenmap