summaryrefslogtreecommitdiff
path: root/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild')
-rw-r--r--net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild29
1 files changed, 10 insertions, 19 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..c9c3613d91d4 100644
--- a/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild
+++ b/net-analyzer/nessus-bin/nessus-bin-10.5.0.ebuild
@@ -9,34 +9,25 @@ 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="
+ amd64? ( https://www.tenable.com/downloads/api/v2/pages/${PN%-bin}/files/${MY_P}.x86_64.rpm )
+ arm64? ( https://www.tenable.com/downloads/api/v2/pages/${PN%-bin}/files/${MY_P}.aarch64.rpm )
+"
-LICENSE="GPL-2 Nessus-EULA"
+LICENSE="GPL-2 Tenable-Master-Agreement"
SLOT="0"
KEYWORDS="-* ~amd64"
-RESTRICT="mirror fetch strip"
+RESTRICT="mirror strip"
-QA_PREBUILT="opt/nessus/bin/nasl
- opt/nessus/bin/ndbg
- opt/nessus/bin/nessus-mkrand
- opt/nessus/bin/openssl
- opt/nessus/lib/nessus/fips.so
- opt/nessus/lib/nessus/legacy.so
- opt/nessus/lib/nessus/libjemalloc.so.2
- opt/nessus/lib/nessus/libnessus-glibc-fix.so
+QA_PREBUILT="opt/nessus/bin/*
+ opt/nessus/lib/nessus/*.so
opt/nessus/lib/nessus/iconv/*.so
- opt/nessus/sbin/nessus-service
- opt/nessus/sbin/nessuscli
- opt/nessus/sbin/nessusd"
+ opt/nessus/lib/nessus/libjemalloc.so.*
+ opt/nessus/sbin/*"
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"