summaryrefslogtreecommitdiff
path: root/extra/nmap
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-13 01:08:38 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-13 01:08:38 -0300
commit6b1c32bde545b9e47ab1fe83fdfb722ca6218393 (patch)
treeac8f75aa35fc81be9eaffe905ab498e7713b2f84 /extra/nmap
parent2c721caa534df76621bf07705ed0ea80efe44f8b (diff)
parent0020cc650ff973f269f23332e82fc097254d0adc (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ccze/PKGBUILD community/remind/PKGBUILD core/iw/PKGBUILD core/less/PKGBUILD extra/davfs2/PKGBUILD extra/ettercap/PKGBUILD extra/gtk-xfce-engine/PKGBUILD extra/imagemagick/PKGBUILD extra/kismet/PKGBUILD extra/libmp3splt/PKGBUILD extra/php/PKGBUILD extra/xfce4-verve-plugin/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-pcre/PKGBUILD multilib/wine/PKGBUILD staging/xorg-server/PKGBUILD
Diffstat (limited to 'extra/nmap')
-rw-r--r--extra/nmap/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
index 606fe34d5..bee773096 100644
--- a/extra/nmap/PKGBUILD
+++ b/extra/nmap/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 110262 2011-02-18 15:25:57Z angvp $
+# $Id: PKGBUILD 149962 2012-02-11 23:31:11Z allan $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=nmap
pkgver=5.51
-pkgrel=1
+pkgrel=3
pkgdesc="A network exploration tool and security/port scanner"
arch=('i686' 'x86_64' 'mips64el')
url="http://nmap.org"
@@ -15,6 +15,7 @@ makedepends=('python2')
optdepends=('pygtk: gui for nmap')
options=('!makeflags')
source=(http://nmap.org/dist/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('0b80d2cb92ace5ebba8095a4c2850275')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -22,6 +23,11 @@ build() {
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 --mandir=/usr/share/man \
--libexecdir=/usr/lib
make
@@ -37,4 +43,3 @@ package() {
# install custom GPL2 license
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
-md5sums=('0b80d2cb92ace5ebba8095a4c2850275')