mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
73 lines
2.4 KiB
Bash
73 lines
2.4 KiB
Bash
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="1996–2023 The Nmap Project"
|
||
LICENSE="GNU GPL v2"
|
||
REVISION="1"
|
||
SOURCE_URI="https://nmap.org/dist/nmap-$portVersion.tar.bz2"
|
||
CHECKSUM_SHA256="d71be189eec43d7e099bac8571509d316c4577ca79491832ac3e1217bc8f92cc"
|
||
PATCHES="nmap-$portVersion.patchset"
|
||
|
||
# disabled: doesn't really work, needs route code
|
||
ARCHITECTURES="?all !x86_gcc2"
|
||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||
|
||
PROVIDES="
|
||
nmap$secondaryArchSuffix = $portVersion
|
||
cmd:nmap$secondaryArchSuffix = $portVersion
|
||
cmd:ncat$secondaryArchSuffix = $portVersion
|
||
cmd:nping$secondaryArchSuffix = $portVersion
|
||
"
|
||
REQUIRES="
|
||
haiku$secondaryArchSuffix
|
||
lib:libpcap$secondaryArchSuffix
|
||
lib:libpcre$secondaryArchSuffix
|
||
lib:libssl$secondaryArchSuffix
|
||
lib:libz$secondaryArchSuffix
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku${secondaryArchSuffix}_devel
|
||
devel:libpcap$secondaryArchSuffix
|
||
devel:libpcre$secondaryArchSuffix
|
||
devel:libssl$secondaryArchSuffix
|
||
devel:libz$secondaryArchSuffix
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:autoconf
|
||
cmd:awk
|
||
cmd:find
|
||
cmd:gcc$secondaryArchSuffix
|
||
cmd:ld$secondaryArchSuffix
|
||
cmd:make
|
||
# cmd:python
|
||
cmd:sed
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
export LDFLAGS=-lnetwork
|
||
runConfigure ./configure
|
||
make $jobArgs
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make install
|
||
}
|