From 3f60e697f31495f098eacafb6727c35dccc80781 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 30 Mar 2023 08:53:03 +0100 Subject: net-analyzer/nessus-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. Closes: https://bugs.gentoo.org/903515 Signed-off-by: Marek Szuba --- net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'net-analyzer/nessus-bin') diff --git a/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild index 3be0e651b61f..e959602696b4 100644 --- a/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild +++ b/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild @@ -9,13 +9,13 @@ MY_P="Nessus-${PV}-es8" DESCRIPTION="A remote security scanner for Linux" HOMEPAGE="https://www.tenable.com/" -SRC_URI="${MY_P}.x86_64.rpm" +SRC_URI="https://www.tenable.com/downloads/api/v2/pages/${PN%-bin}/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/bin/nasl opt/nessus/bin/ndbg @@ -32,11 +32,6 @@ QA_PREBUILT="opt/nessus/bin/nasl S="${WORKDIR}" -pkg_nofetch() { - einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus" - 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" -- cgit v1.2.3-65-gdbad