nmap: update to 7.00
Rename nmapfe to zenmap.
This commit is contained in:
parent
8a106266ad
commit
35efdfebbc
|
@ -1,36 +1,31 @@
|
|||
# Template file for 'nmap'
|
||||
pkgname=nmap
|
||||
version=6.47
|
||||
revision=9
|
||||
version=7.00
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-ndiff --with-openssl $(vopt_with lua liblua)"
|
||||
build_options="lua"
|
||||
build_options_default="lua"
|
||||
configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)"
|
||||
hostmakedepends="python"
|
||||
makedepends="libpcap-devel pcre-devel libressl-devel $(vopt_if lua lua52-devel)"
|
||||
short_desc="Utility for network discovery and security auditing"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://nmap.org"
|
||||
distfiles="http://nmap.org/dist/nmap-${version}.tar.bz2"
|
||||
checksum=8fa11e9e203ce2d81a207db5ca4f110a525f6c01c1dd0018325a7112a51aa591
|
||||
checksum=9f442301c615c608a385831c3505cdfed9b0795cd100f1a258b04509802802ae
|
||||
|
||||
# Package build options
|
||||
build_options="lua"
|
||||
build_options_default="lua"
|
||||
post_install() {
|
||||
# do not use bundled certificates, use only system ones
|
||||
rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt
|
||||
}
|
||||
|
||||
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
subpackages="nmapfe"
|
||||
makedepends+=" pygtk-devel"
|
||||
configure_args+=" --with-zenmap"
|
||||
else
|
||||
unset subpackages
|
||||
configure_args+=" --without-zenmap"
|
||||
fi
|
||||
|
||||
nmapfe_package() {
|
||||
zenmap_package() {
|
||||
noarch=yes
|
||||
depends="nmap-${version}_${revision} desktop-file-utils pygtk"
|
||||
replaces="nmapfe>=0"
|
||||
depends="${sourcepkg}-${version}_${revision} pygtk"
|
||||
pycompile_module="radialnet zenmapCore zenmapGUI"
|
||||
short_desc+=" - GTK Frontend"
|
||||
short_desc+=" - GUI Frontend"
|
||||
pkg_install() {
|
||||
vmove usr/bin/nmapfe
|
||||
vmove usr/bin/xnmap
|
||||
|
|
Loading…
Reference in New Issue
Block a user