summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-03-30 09:02:37 +0100
committerMarek Szuba <marecki@gentoo.org>2023-03-30 09:31:14 +0100
commit29bdd5dd97d1f01d8402de27ea781a3915ee4a15 (patch)
tree47a66fb9183c36e808c7b1f82ee899ac49557911 /net-analyzer
parentnet-analyzer/nessus-bin: drop fetch restriction (diff)
downloadgentoo-29bdd5dd97d1f01d8402de27ea781a3915ee4a15.tar.gz
gentoo-29bdd5dd97d1f01d8402de27ea781a3915ee4a15.tar.bz2
gentoo-29bdd5dd97d1f01d8402de27ea781a3915ee4a15.zip
net-analyzer/nessus-agent-bin: drop fetch restriction
Tenable now offer a downloads API which can be used to retrieve most packages without having to explicitly agree to licensing terms beforehand. On the other hand, said terms talk about the customer being permitted to make *one* copy of the software so let's play it safe and keep the mirror restriction. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-analyzer')
-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"