0
0
Fork 0
haikuports/net-analyzer/nmap/nmap-3.81.recipe

70 lines
2.0 KiB
Bash
Raw Permalink Normal View History

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="19962005 The Nmap Project"
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"
ARCHITECTURES="all"
PROVIDES="
2020-12-26 12:51:52 +00:00
nmap = $portVersion
cmd:nmap = $portVersion
"
REQUIRES="
2020-12-26 12:51:52 +00:00
haiku
lib:libpcap
lib:libpcre
lib:libssl
"
BUILD_REQUIRES="
2020-12-26 12:51:52 +00:00
haiku_devel
devel:libpcap
devel:libpcre
devel:libssl
"
BUILD_PREREQUIRES="
2020-12-26 12:51:52 +00:00
cmd:gcc
cmd:ld
cmd:libtoolize
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" \
./configure --without-nmapfe LDFLAGS=-lnetwork
2021-10-30 08:34:33 +00:00
# not multi-job safe
make
}
INSTALL()
{
make $jobArgs install
2020-12-26 12:51:52 +00:00
rm -rf $prefix/share
}