nmap: make ncat an alternative for nc
Fix xlint warnings
This commit is contained in:
parent
f0acb2bf20
commit
06767acb4f
1 changed files with 9 additions and 5 deletions
|
@ -1,12 +1,8 @@
|
||||||
# Template file for 'nmap'
|
# Template file for 'nmap'
|
||||||
pkgname=nmap
|
pkgname=nmap
|
||||||
version=7.70
|
version=7.70
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="lua"
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default="lua"
|
|
||||||
fi
|
|
||||||
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
makedepends="libpcap-devel libressl-devel pcre-devel $(vopt_if lua lua52-devel)"
|
makedepends="libpcap-devel libressl-devel pcre-devel $(vopt_if lua lua52-devel)"
|
||||||
|
@ -16,6 +12,14 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://nmap.org"
|
homepage="https://nmap.org"
|
||||||
distfiles="https://nmap.org/dist/nmap-${version}.tar.bz2"
|
distfiles="https://nmap.org/dist/nmap-${version}.tar.bz2"
|
||||||
checksum=847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18
|
checksum=847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18
|
||||||
|
build_options="lua"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="lua"
|
||||||
|
fi
|
||||||
|
|
||||||
|
alternatives="
|
||||||
|
nc:nc:/usr/bin/ncat
|
||||||
|
nc:nc.1:/usr/share/man/man1/ncat.1"
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
# Disable zenmap tests
|
# Disable zenmap tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue