diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-05-23 13:22:09 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-05-23 13:22:09 -0300 |
commit | 2906c522e750f7e013d7af606f01ad849a7d3876 (patch) | |
tree | d62491c93d6534817db7f9b7d07adf64b9670b48 /extra/nmap | |
parent | 193046ad8ed67a836ffe11e235296e6201e56ce8 (diff) | |
parent | bd614ac21d2754d778a796cd5e92d1568ec8baec (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/mesa/PKGBUILD
extra/nmap/PKGBUILD
extra/openmpi/PKGBUILD
extra/rasqal/PKGBUILD
extra/sqlite/PKGBUILD
extra/totem/PKGBUILD
extra/xorg-server/PKGBUILD
multilib/lib32-e2fsprogs/PKGBUILD
multilib/lib32-libcups/PKGBUILD
multilib/lib32-mesa/PKGBUILD
staging/libreoffice/PKGBUILD
testing/udev/PKGBUILD
testing/udev/initcpio-hooks-udev
testing/udev/initcpio-install-udev
Diffstat (limited to 'extra/nmap')
-rw-r--r-- | extra/nmap/PKGBUILD | 54 |
1 files changed, 25 insertions, 29 deletions
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD index 5762345ec..5c814321d 100644 --- a/extra/nmap/PKGBUILD +++ b/extra/nmap/PKGBUILD @@ -1,45 +1,41 @@ -# $Id: PKGBUILD 149962 2012-02-11 23:31:11Z allan $ -# Maintainer: Angel Velasquez <angvp@archlinux.org> +# $Id: PKGBUILD 159344 2012-05-22 00:00:17Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Hugo Doria <hugo@archlinux.org> pkgname=nmap -pkgver=5.51 -pkgrel=3.1 -pkgdesc="A network exploration tool and security/port scanner" +pkgver=6.00 +pkgrel=1 +pkgdesc='Utility for network discovery and security auditing' +url='http://nmap.org/' arch=('i686' 'x86_64' 'mips64el') -url="http://nmap.org" license=('GPL') -depends=('pcre' 'openssl' 'libpcap' 'lua') -# python is needed for zenmap -makedepends=('python2') -optdepends=('pygtk: gui for nmap') options=('!makeflags') -source=(http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2) -md5sums=('0b80d2cb92ace5ebba8095a4c2850275') +optdepends=('pygtk: zenmap') +makedepends=('pygtk') +depends=('pcre' 'openssl' 'libpcap' 'lua') +source=("http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('11d8f418e31a85e5b5ad6b4cf98f3c1b5c19ddb2') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - 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 + # 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 - # Force usage of external libpcap - # OSX bug check fails because of missing types - # autoreconf fails because our autotools are too new (?) - sed -i 's/have_libpcap=no/have_libpcap=yes/g' {.,ncat,nping}/configure + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ - ./configure --prefix=/usr --mandir=/usr/share/man \ - --libexecdir=/usr/lib - make + make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - # remove zenmap uninstall script - rm "${pkgdir}/usr/bin/uninstall_zenmap" + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install - # install custom GPL2 license - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm "${pkgdir}"/usr/bin/uninstall_zenmap + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |