summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-agent-bin')
-rw-r--r--net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild
index eaffa49c058c..a0810028a03d 100644
--- a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild
+++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild
@@ -9,13 +9,13 @@ MY_P="NessusAgent-${PV}-es8"
DESCRIPTION="A remote security scanner for Linux - agent component"
HOMEPAGE="https://www.tenable.com/"
-SRC_URI="${MY_P}.x86_64.rpm"
+SRC_URI="https://www.tenable.com/downloads/api/v2/pages/${PN/-bin/s}/files/${MY_P}.x86_64.rpm"
LICENSE="GPL-2 Nessus-EULA"
SLOT="0"
KEYWORDS="-* ~amd64"
-RESTRICT="mirror fetch strip"
+RESTRICT="mirror strip"
QA_PREBUILT="opt/nessus_agent/bin/nasl
opt/nessus_agent/bin/nessus-mkrand
@@ -30,11 +30,6 @@ QA_PREBUILT="opt/nessus_agent/bin/nasl
S="${WORKDIR}"
-pkg_nofetch() {
- einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus-agents"
- einfo "The archive should then be placed into your DISTDIR directory."
-}
-
src_install() {
# Using doins -r would strip executable bits from all binaries
cp -pPR "${S}"/opt "${D}"/ || die "Failed to copy files"