From a693a49d235bea057923bcbc2ee6a40cce4bb060 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Jun 2023 15:42:35 +0100 Subject: gentoo auto-resync : 07:06:2023 - 15:42:35 --- net-analyzer/nessus-agent-bin/Manifest | 6 +- .../nessus-agent-bin-10.3.2.ebuild | 64 ---------------------- .../nessus-agent-bin-10.4.0.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild create mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.0.ebuild (limited to 'net-analyzer/nessus-agent-bin') diff --git a/net-analyzer/nessus-agent-bin/Manifest b/net-analyzer/nessus-agent-bin/Manifest index 8783cf2dbbcf..91b50ed02245 100644 --- a/net-analyzer/nessus-agent-bin/Manifest +++ b/net-analyzer/nessus-agent-bin/Manifest @@ -1,5 +1,5 @@ AUX nessusagent.initd 563 BLAKE2B 63820368c95dc2358ff73843e239a084e21cea48bd4dfd170e486f0c702e7ec6be1581478f7c37dd12868dd3648dfd8f44b8ff47c85fdab0276a0c84b78eb7d1 SHA512 acc9a64e1cbff1119876f186aa6c40d6f5772c55a919914c410fed9e0974d2ce8fe5b965248aeae590ae5dd551ab530c59dad42c6f793d995193f9b8f9d89718 -DIST NessusAgent-10.3.2-es8.aarch64.rpm 17125280 BLAKE2B 323f41cc201d0b6348473af0cc297154db600f29560ef10a900aeb885b9a1f9577a4b546bb568a102f344856c67480de8beaa2652698ec62b73cd5b2db0bb0f3 SHA512 de49b421ebf4d72c771af2b1d64c25220d2062c3907f3c945061a09e97a2d8855cac668206bf388729365bbd80d58293109a196c1e36c511a70f75055bdef729 -DIST NessusAgent-10.3.2-es8.x86_64.rpm 18387452 BLAKE2B 2882209a43fe0d295543399e84e88b2db4738fdc1ad488c5e3448edb052c70f2482e9355dcebdcfa57ec067bfe7830889a5ce0fe99ab02a60c00103e740e4be9 SHA512 c663bb385197988c9c4f55963232dcf82c00456f64b683cd2b5c0092f2c776d89bea731148b5940f839f89104245fa2011486bbd7c78a64aabd310701f547727 -EBUILD nessus-agent-bin-10.3.2.ebuild 2212 BLAKE2B 2d18c6b09ffa2a2e54d4226bad72b09b9d581c8ddd9a59b9f93eac9252841448616ebfae7695bf2e6e07fcc753985681252e60d1a7095ca5965ffaa0e162daec SHA512 15436dadd4ca815f3a312149ac135fe353e6c5435d83cad8a5acc1143fa3232657fc9d7a7e5569b0afd9775af0e4941e11ddaf2a7d407b302f2aee9365af7203 +DIST NessusAgent-10.4.0-es8.aarch64.rpm 18363096 BLAKE2B 478a92a6a6da322b3bc1c2a16b9257e0a538aa76416919f8a2f2101f9776b3991f8c21fbb0da8e4fe6c0b50db6b49c77386eded8a85d5d2a8dff33f05ecc7575 SHA512 ce3a7b36af5d1f45623433100eb2a708cf6cabad961204023b8335f665fc1a3b82d1afc17345b5fc96bcc945976ac8edb4cfeac97fbb59b8c11edef42268a534 +DIST NessusAgent-10.4.0-es8.x86_64.rpm 19767232 BLAKE2B 8205d5699eb28132070f30bbab41cd3331b3b7cba5da4f61156f7cca056e323638995445bdb519f03ebdc4c8184072344c5f64e32d2c66f444de012cf4ed0221 SHA512 fad38bc7526c7522d34c6c1cf2ca86b56c9d3850a954e769533036432e4f279dcb669f6b7fa89b633bfd520cf383de3dd8e624c15415d8ba1f4e0708ebe7fdd6 +EBUILD nessus-agent-bin-10.4.0.ebuild 2212 BLAKE2B 2d18c6b09ffa2a2e54d4226bad72b09b9d581c8ddd9a59b9f93eac9252841448616ebfae7695bf2e6e07fcc753985681252e60d1a7095ca5965ffaa0e162daec SHA512 15436dadd4ca815f3a312149ac135fe353e6c5435d83cad8a5acc1143fa3232657fc9d7a7e5569b0afd9775af0e4941e11ddaf2a7d407b302f2aee9365af7203 MISC metadata.xml 354 BLAKE2B f3d046b6610423bd40c2cdbe29c8aa35d8111c56f6565d5b84aea31e03a8612b3a173965496833ec2ad2a38412b68d39f09d389e41797a0cda399758c85034a5 SHA512 1f4021d2781ddbccbbf0bf91492b50af18f142200bfc959a36b527941b9e8452a7814e12a1f720fcc62f6d069158cdb5093ae3760bc1b3b09d2cb73e4ab7f715 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 deleted file mode 100644 index 0ed091eca8d1..000000000000 --- a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.3.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit rpm systemd - -MY_P="NessusAgent-${PV}-es8" - -DESCRIPTION="A remote security scanner for Linux - agent component" -HOMEPAGE="https://www.tenable.com/" -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 Tenable-Master-Agreement" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -RESTRICT="mirror strip" - -QA_PREBUILT="opt/nessus_agent/bin/* - opt/nessus_agent/lib/nessus/*.so - opt/nessus_agent/lib/nessus/iconv/*.so - opt/nessus_agent/lib/nessus/libjemalloc.so.* - opt/nessus_agent/sbin/*" - -S="${WORKDIR}" - -src_install() { - # Using doins -r would strip executable bits from all binaries - cp -pPR "${S}"/opt "${D}"/ || die "Failed to copy files" - - # Make sure these originally empty directories do not vanish, - # Nessus will not run properly without them - keepdir /opt/nessus_agent/com/nessus/CA - keepdir /opt/nessus_agent/etc/nessus - keepdir /opt/nessus_agent/var/nessus/logs - keepdir /opt/nessus_agent/var/nessus/tmp - keepdir /opt/nessus_agent/var/nessus/users - - newinitd "${FILESDIR}"/nessusagent.initd nessusagent - systemd_dounit usr/lib/systemd/system/nessusagent.service -} - -pkg_postinst() { - # Actually update Nessus core components. According to upstream packages, - # harmless to invoke on fresh installations too - and it may make life easier - # for people who had restored Nessus state from backups, had it lying around - # from older installations and so on. - "${EROOT}"/opt/nessus_agent/sbin/nessuscli install "${EROOT}"/opt/nessus_agent/var/nessus/plugins-core.tar.gz - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "In order to link the agent to Tenable.io or an instance of Nessus Manager," - elog "obtain an appropriate linking key and run" - elog "" - elog " /opt/nessus_agent/sbin/nessuscli agent link --key= --host= --port= [optional parameters]" - elog "" - elog "This can be done before the agent is started." - else - elog "Please restart the nessusagent service to complete the update process" - fi -} diff --git a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.0.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.0.ebuild new file mode 100644 index 000000000000..0ed091eca8d1 --- /dev/null +++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm systemd + +MY_P="NessusAgent-${PV}-es8" + +DESCRIPTION="A remote security scanner for Linux - agent component" +HOMEPAGE="https://www.tenable.com/" +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 Tenable-Master-Agreement" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/nessus_agent/bin/* + opt/nessus_agent/lib/nessus/*.so + opt/nessus_agent/lib/nessus/iconv/*.so + opt/nessus_agent/lib/nessus/libjemalloc.so.* + opt/nessus_agent/sbin/*" + +S="${WORKDIR}" + +src_install() { + # Using doins -r would strip executable bits from all binaries + cp -pPR "${S}"/opt "${D}"/ || die "Failed to copy files" + + # Make sure these originally empty directories do not vanish, + # Nessus will not run properly without them + keepdir /opt/nessus_agent/com/nessus/CA + keepdir /opt/nessus_agent/etc/nessus + keepdir /opt/nessus_agent/var/nessus/logs + keepdir /opt/nessus_agent/var/nessus/tmp + keepdir /opt/nessus_agent/var/nessus/users + + newinitd "${FILESDIR}"/nessusagent.initd nessusagent + systemd_dounit usr/lib/systemd/system/nessusagent.service +} + +pkg_postinst() { + # Actually update Nessus core components. According to upstream packages, + # harmless to invoke on fresh installations too - and it may make life easier + # for people who had restored Nessus state from backups, had it lying around + # from older installations and so on. + "${EROOT}"/opt/nessus_agent/sbin/nessuscli install "${EROOT}"/opt/nessus_agent/var/nessus/plugins-core.tar.gz + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "In order to link the agent to Tenable.io or an instance of Nessus Manager," + elog "obtain an appropriate linking key and run" + elog "" + elog " /opt/nessus_agent/sbin/nessuscli agent link --key= --host= --port= [optional parameters]" + elog "" + elog "This can be done before the agent is started." + else + elog "Please restart the nessusagent service to complete the update process" + fi +} -- cgit v1.2.3