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

70 lines
2.0 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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/"
COPYRIGHT="19962005 The Nmap Project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://nmap.org/dist-old/nmap-$portVersion.tgz"
CHECKSUM_SHA256="4ab4044b2c8a44466409f668919156b4d8429e0449c6c482ea2063730d727293"
PATCHES="nmap-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
nmap = $portVersion
cmd:nmap = $portVersion
"
REQUIRES="
haiku
lib:libpcap
lib:libpcre
lib:libssl
"
BUILD_REQUIRES="
haiku_devel
devel:libpcap
devel:libpcre
devel:libssl
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
pushd nsock/src
libtoolize --force --copy --install
popd
runConfigure --omit-dirs "dataRootDir docDir" \
./configure --without-nmapfe LDFLAGS=-lnetwork
# not multi-job safe
make
}
INSTALL()
{
make $jobArgs install
rm -rf $prefix/share
}