commit: 3f60e697f31495f098eacafb6727c35dccc80781 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Thu Mar 30 07:53:03 2023 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Thu Mar 30 08:31:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f60e697
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 <marecki <AT> gentoo.org> net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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"
