| 1 | # Description: Utility for network exploration or security auditing |
| 2 | # URL: http://nmap.org |
| 3 | # Packager: sten, nick dot steeves at shaw dot ca |
| 4 | # Maintainer: Thomas Penteker, tek at serverop dot de |
| 5 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
| 6 | # Depends on: openssl |
| 7 | |
| 8 | name=nmap |
| 9 | version=5.21 |
| 10 | release=1 |
| 11 | source=(http://nmap.org/dist/$name-$version.tar.bz2) |
| 12 | |
| 13 | build () { |
| 14 | cd $name-$version |
| 15 | echo "ac_cv_linux_vers=2" > config.cache |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --disable-nls \ |
| 20 | --libexecdir=/usr/lib \ |
| 21 | --mandir=/usr/man \ |
| 22 | --with-openssl \ |
| 23 | --with-libdnet=included \ |
| 24 | --with-libpcre=included \ |
| 25 | --with-liblua=included \ |
| 26 | --with-libpcap=included \ |
| 27 | --with-pcap=linux \ |
| 28 | --without-liblua \ |
| 29 | --without-ndiff \ |
| 30 | --without-zenmap \ |
| 31 | --without-ncat \ |
| 32 | --cache-file=config.cache |
| 33 | make AR="$AR" RANLIB="$RANLIB" |
| 34 | make DESTDIR=$PKG install |
| 35 | rm -rf $PKG/usr/man/man1/zenmap.* |
| 36 | } |