35 lines
750 B
Plaintext
35 lines
750 B
Plaintext
# Description: Utility for network exploration or security auditing
|
|
# URL: https://nmap.org
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libpcap libpcre libssh2 lua
|
|
|
|
name=nmap
|
|
version=7.95
|
|
release=1
|
|
source=(https://nmap.org/dist/$name-$version.tar.bz2)
|
|
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
rm -rf liblua libpcap libpcre macosx mwin32 libssh2 libz
|
|
autoreconf -fiv
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--with-libpcap=/usr \
|
|
--with-libpcre=/usr \
|
|
--with-zlib=/usr \
|
|
--with-libssh2=/usr \
|
|
--with-liblua=/usr \
|
|
--disable-nls \
|
|
--without-ndiff \
|
|
--without-nmap-update \
|
|
--without-zenmap
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
|
|
}
|