pentoo-overlay/net-analyzer/nmap_vulscan/nmap_vulscan-9999.ebuild
Rick Farina (Zero_Chaos) 1ce11c92e3
net-analyzer/nmap_vulscan: add live ebuild
minor fix on stable ebuild

Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
2021-12-08 21:25:45 -05:00

29 lines
748 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A NSE vulnerability scanner which uses an offline version of scip VulDB"
HOMEPAGE="http://www.computec.ch/projekte/vulscan/"
#updated db at http://www.computec.ch/projekte/vulscan/download/scipvuldb.csv
LICENSE="GPL-2"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scipag/vulscan.git"
else
SRC_URI="https://github.com/scipag/vulscan/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"
KEYWORDS="amd64 ~arm64 x86"
fi
DEPEND=""
RDEPEND="net-analyzer/nmap[nse]"
src_install() {
rm -r utilities
insinto /usr/share/nmap/scripts/vulscan
doins -r * || die "install failed"
}