diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-03-30 08:53:03 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-03-30 09:31:13 +0100 |
commit | 3f60e697f31495f098eacafb6727c35dccc80781 (patch) | |
tree | e3ad812e4e2dbdedf8c0361045a0c88eed5df0d6 /net-analyzer/nessus-bin | |
parent | sys-firmware/broadcom-bt-firmware: add 12.0.1.1105_p4 and myself as maintainer (diff) | |
download | gentoo-3f60e697f31495f098eacafb6727c35dccc80781.tar.gz gentoo-3f60e697f31495f098eacafb6727c35dccc80781.tar.bz2 gentoo-3f60e697f31495f098eacafb6727c35dccc80781.zip |
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@gentoo.org>
Diffstat (limited to 'net-analyzer/nessus-bin')
-rw-r--r-- | net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild | 9 |
1 files 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" |