mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-09 09:56:00 +01:00
minor fix on stable ebuild Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
29 lines
748 B
Bash
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"
|
|
}
|