2017-02-28 11:20:24 +00:00
|
|
|
|
SUMMARY="A utility for network discovery and security auditing"
|
|
|
|
|
DESCRIPTION="Nmap (\"Network Mapper\") is a free and open source license \
|
|
|
|
|
utility for network discovery and security auditing. Many systems and network \
|
|
|
|
|
administrators also find it useful for tasks such as network inventory, \
|
|
|
|
|
managing service upgrade schedules, and monitoring host or service uptime. \
|
|
|
|
|
Nmap uses raw IP packets in novel ways to determine what hosts are available \
|
|
|
|
|
on the network, what services (application name and version) those hosts are \
|
|
|
|
|
offering, what operating systems (and OS versions) they are running, what \
|
|
|
|
|
type of packet filters/firewalls are in use, and dozens of other \
|
|
|
|
|
characteristics. It was designed to rapidly scan large networks, but works \
|
|
|
|
|
fine against single hosts. Nmap runs on all major computer operating systems, \
|
|
|
|
|
and official binary packages are available for Linux, Windows, and Mac OS X. \
|
|
|
|
|
In addition to the classic command-line Nmap executable, the Nmap suite \
|
|
|
|
|
includes an advanced GUI and results viewer (Zenmap), a flexible data \
|
|
|
|
|
transfer, redirection, and debugging tool (Ncat), a utility for comparing \
|
|
|
|
|
scan results (Ndiff), and a packet generation and response analysis tool \
|
|
|
|
|
(Nping)."
|
|
|
|
|
HOMEPAGE="https://nmap.org/"
|
2020-12-26 12:51:52 +00:00
|
|
|
|
COPYRIGHT="1996–2005 The Nmap Project"
|
2017-02-28 11:20:24 +00:00
|
|
|
|
LICENSE="GNU GPL v2"
|
2020-12-26 12:51:52 +00:00
|
|
|
|
REVISION="1"
|
|
|
|
|
SOURCE_URI="https://nmap.org/dist-old/nmap-$portVersion.tgz"
|
|
|
|
|
CHECKSUM_SHA256="4ab4044b2c8a44466409f668919156b4d8429e0449c6c482ea2063730d727293"
|
|
|
|
|
PATCHES="nmap-$portVersion.patchset"
|
2017-02-28 11:20:24 +00:00
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
|
ARCHITECTURES="all"
|
2017-02-28 11:20:24 +00:00
|
|
|
|
|
|
|
|
|
PROVIDES="
|
2020-12-26 12:51:52 +00:00
|
|
|
|
nmap = $portVersion
|
|
|
|
|
cmd:nmap = $portVersion
|
2017-02-28 11:20:24 +00:00
|
|
|
|
"
|
|
|
|
|
REQUIRES="
|
2020-12-26 12:51:52 +00:00
|
|
|
|
haiku
|
|
|
|
|
lib:libpcap
|
|
|
|
|
lib:libpcre
|
|
|
|
|
lib:libssl
|
2017-02-28 11:20:24 +00:00
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
2020-12-26 12:51:52 +00:00
|
|
|
|
haiku_devel
|
|
|
|
|
devel:libpcap
|
|
|
|
|
devel:libpcre
|
|
|
|
|
devel:libssl
|
2017-02-28 11:20:24 +00:00
|
|
|
|
"
|
|
|
|
|
BUILD_PREREQUIRES="
|
2020-12-26 12:51:52 +00:00
|
|
|
|
cmd:gcc
|
|
|
|
|
cmd:ld
|
|
|
|
|
cmd:libtoolize
|
2017-02-28 11:20:24 +00:00
|
|
|
|
cmd:make
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
|
{
|
2020-12-26 12:51:52 +00:00
|
|
|
|
libtoolize --force --copy --install
|
|
|
|
|
pushd nsock/src
|
|
|
|
|
libtoolize --force --copy --install
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
runConfigure --omit-dirs "dataRootDir docDir" \
|
2021-10-30 08:44:45 +00:00
|
|
|
|
./configure --without-nmapfe LDFLAGS=-lnetwork
|
2021-10-30 08:34:33 +00:00
|
|
|
|
# not multi-job safe
|
|
|
|
|
make
|
2017-02-28 11:20:24 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
|
{
|
|
|
|
|
make $jobArgs install
|
2020-12-26 12:51:52 +00:00
|
|
|
|
rm -rf $prefix/share
|
2017-02-28 11:20:24 +00:00
|
|
|
|
}
|