From ba4938837d52c0aff763d8acdc03ce103dd3ff82 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Dec 2023 13:37:40 +0000 Subject: gentoo auto-resync : 24:12:2023 - 13:37:40 --- net-analyzer/nessus-agent-bin/Manifest | 6 +- .../nessus-agent-bin-10.4.4.ebuild | 64 ---------------------- .../nessus-agent-bin-10.5.0.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.4.ebuild create mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.5.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 7c48e6ac5041..28e8dd893172 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.4.4-es8.aarch64.rpm 18308232 BLAKE2B 872d29cd5de479e0ad2d20da7cb0fb8400937b61e23cda9a0aecd0382a06b0e9a1810dc1742d90b5d0ec1767b29fcb93479007492c6475670d7397127fe6e573 SHA512 6b58231473745b081e0368a46406992edf57c355b9849b9b1513308dbc1cca1272ec1a49a23a74f2a3415351ebf9ebec2eab8fd02a564b1a073645dac7f846c6 -DIST NessusAgent-10.4.4-es8.x86_64.rpm 19706276 BLAKE2B 1cd2b6409373dbc0d844beb3068143f7a25a6125340a973ceb76c4caae91864537492063874c7dc3a73f8a2a8b70d6b661513eff92f8c710a7bfacd2f6091b19 SHA512 b4d6bf0eaa95b38158b120f1d3281ce3dc335c9b21bfa932ba5c3febebb925826c5c8a7cc587e47a7ce16d56a5f1c66a6c9b702adf4b8db3ce31992e259dcef2 -EBUILD nessus-agent-bin-10.4.4.ebuild 2212 BLAKE2B 2d18c6b09ffa2a2e54d4226bad72b09b9d581c8ddd9a59b9f93eac9252841448616ebfae7695bf2e6e07fcc753985681252e60d1a7095ca5965ffaa0e162daec SHA512 15436dadd4ca815f3a312149ac135fe353e6c5435d83cad8a5acc1143fa3232657fc9d7a7e5569b0afd9775af0e4941e11ddaf2a7d407b302f2aee9365af7203 +DIST NessusAgent-10.5.0-el8.aarch64.rpm 18803512 BLAKE2B 5cfe2a181de84c7cd6e38d6500a8d70b04e0d2fbae540f5f64a88708e9418030f576a44c10c24e4537b78990d2cbb86d77bde25b7f22bd176e14529177f6e274 SHA512 e09da375d29c455fc59e5a63f7b706da2193525f5bde8201ee54799c90cafc0128e8b8224fcff904ad8103b6a97200c17c52c8db837255b8406024badabfd12b +DIST NessusAgent-10.5.0-el8.x86_64.rpm 20254012 BLAKE2B a323c9fb0b303dd9433ae5653d50bcb1c38d739a52696e182d25babdca556ace762c301215742f988463cc72e7fe051211e5074517044de1496ea2159db7d781 SHA512 32c7b9fb7e38df2f7e3d9471e44bc47f960aa51bc1c9f0f63ece59075885f301275e1d9310d044c7952225b38c4816f99952a524fd923ed85860726ae4d95883 +EBUILD nessus-agent-bin-10.5.0.ebuild 2212 BLAKE2B b33e56274f19e71015f934d4370fd1796c667f7b8281fd349af93eb7a419332be4bb916932af140b0281b4ac8f211ae6bfc60fd0cdf87087ec068873ef0294f9 SHA512 6ba8ebf929eaab5c54406ef150e99a4303dbb64708605dfeaaffab556890ec5fc7d8f85303b3a03c4a2ebf59a6ce599c8a8980914ac1102da884ad1b1aaadce4 MISC metadata.xml 354 BLAKE2B f3d046b6610423bd40c2cdbe29c8aa35d8111c56f6565d5b84aea31e03a8612b3a173965496833ec2ad2a38412b68d39f09d389e41797a0cda399758c85034a5 SHA512 1f4021d2781ddbccbbf0bf91492b50af18f142200bfc959a36b527941b9e8452a7814e12a1f720fcc62f6d069158cdb5093ae3760bc1b3b09d2cb73e4ab7f715 diff --git a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.4.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.4.ebuild deleted file mode 100644 index 0ed091eca8d1..000000000000 --- a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.4.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.5.0.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.5.0.ebuild new file mode 100644 index 000000000000..d7837fe10853 --- /dev/null +++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.5.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}-el8" + +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