diff options
Diffstat (limited to 'extra/nmap')
-rw-r--r-- | extra/nmap/PKGBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD index 24f0a2900..5f6f3fbc2 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' 'mips64el') @@ -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 |