diff options
Diffstat (limited to 'net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild')
-rw-r--r-- | net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild | 27 |
1 files changed, 10 insertions, 17 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..ddf4a53dad70 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,32 +9,25 @@ 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=" + amd64? ( https://www.tenable.com/downloads/api/v2/pages/${PN/-bin/s}/files/${MY_P}.x86_64.rpm ) + arm64? ( https://www.tenable.com/downloads/api/v2/pages/${PN/-bin/s}/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_agent/bin/nasl - opt/nessus_agent/bin/nessus-mkrand - opt/nessus_agent/lib/nessus/libjemalloc.so.* - opt/nessus_agent/lib/nessus/libnessus-glibc-fix.so +QA_PREBUILT="opt/nessus_agent/bin/* + opt/nessus_agent/lib/nessus/*.so opt/nessus_agent/lib/nessus/iconv/*.so - opt/nessus_agent/sbin/nessus-agent-module - opt/nessus_agent/sbin/nessus-check-signature - opt/nessus_agent/sbin/nessus-service - opt/nessus_agent/sbin/nessuscli - opt/nessus_agent/sbin/nessusd" + opt/nessus_agent/lib/nessus/libjemalloc.so.* + opt/nessus_agent/sbin/*" 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" |