nmap: revert to 7.80 due to licensing issues
nmap >= 7.90 is distributed under a modified license that many consider problematic. https://github.com/nmap/nmap/issues/2199 Gentoo bug: https://bugs.gentoo.org/749390 Debian bug: https://bugs.debian.org/972216 Guix discussion: https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00227.html Along, link against libssh2 instead of using the bundled version.
This commit is contained in:
parent
b0296b1252
commit
1dbcfbafaa
1 changed files with 7 additions and 5 deletions
|
@ -1,17 +1,19 @@
|
||||||
# Template file for 'nmap'
|
# Template file for 'nmap'
|
||||||
pkgname=nmap
|
pkgname=nmap
|
||||||
version=7.91
|
reverts="7.90_1 7.91_1"
|
||||||
revision=1
|
version=7.80
|
||||||
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
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 lua53-devel)"
|
makedepends="libpcap-devel libressl-devel libssh2-devel pcre-devel
|
||||||
|
$(vopt_if lua lua53-devel)"
|
||||||
short_desc="Utility for network discovery and security auditing"
|
short_desc="Utility for network discovery and security auditing"
|
||||||
maintainer="Piraty <piraty1@inbox.ru>"
|
maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
license="custom:nmap"
|
license="custom:nmap"
|
||||||
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=18cc4b5070511c51eb243cdd2b0b30ff9b2c4dc4544c6312f75ce3a67a593300
|
checksum=fcfa5a0e42099e12e4bf7a68ebe6fde05553383a682e816a7ec9256ab4773faa
|
||||||
python_version=2
|
python_version=2
|
||||||
|
|
||||||
build_options="lua"
|
build_options="lua"
|
||||||
|
@ -22,7 +24,7 @@ alternatives="
|
||||||
nc:nc.1:/usr/share/man/man1/ncat.1"
|
nc:nc.1:/usr/share/man/man1/ncat.1"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense COPYING
|
||||||
|
|
||||||
# do not use bundled certificates, use only system ones
|
# do not use bundled certificates, use only system ones
|
||||||
rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt
|
rm -f ${DESTDIR}/usr/share/ncat/ca-bundle.crt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue