From 7d52991b5dce3a07be15d3cbbf06abb3fc08cb9c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Aug 2023 15:44:13 +0100 Subject: gentoo auto-resync : 21:08:2023 - 15:44:13 --- net-analyzer/nessus-agent-bin/Manifest | 6 +- .../nessus-agent-bin-10.4.1.ebuild | 64 ---------------------- .../nessus-agent-bin-10.4.2.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.1.ebuild create mode 100644 net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.2.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 91eb8cb11a61..8a0cf5eb6e35 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.1-es8.aarch64.rpm 18298448 BLAKE2B 498c23274d84376ac14a128ee61bbcb966b68de535b2e0bc56397abaf2b1b02ab24984f45c945bce6265e3fe4713a2aa67fc5b20411eda2d131ad5d52db1c717 SHA512 b3145dcde06548695f2b75792a34eb39e110af437c4b12c37ddf040a83966fca1b83e09eca5759a8e56c5341d20b643244e9d8ec8571d33f76431241eec9bbde -DIST NessusAgent-10.4.1-es8.x86_64.rpm 19686968 BLAKE2B 107467bd6e911b9932290b610025fec6766a0e98ffee6c45abeaf07a73b18ed423ba03c501ac09e4f2a12e1e0ba39dbb4989c9ddc9e2a75f218c6d3773325724 SHA512 377f5bf1db9f582e7c65d0a21624cd990183b47a633c777da67e119c6b3da847da8aea482a78e8e48aaa9d3c1798b9c0c9bbb902c8760c53ff4371884d3e9ca9 -EBUILD nessus-agent-bin-10.4.1.ebuild 2212 BLAKE2B 2d18c6b09ffa2a2e54d4226bad72b09b9d581c8ddd9a59b9f93eac9252841448616ebfae7695bf2e6e07fcc753985681252e60d1a7095ca5965ffaa0e162daec SHA512 15436dadd4ca815f3a312149ac135fe353e6c5435d83cad8a5acc1143fa3232657fc9d7a7e5569b0afd9775af0e4941e11ddaf2a7d407b302f2aee9365af7203 +DIST NessusAgent-10.4.2-es8.aarch64.rpm 18302916 BLAKE2B fd2090fc5a01d439c84269f0ad38a2bf0677bf33c055a08c8132af1226ec8b8a59b7f89c795336b6a8de2f1fe90a587159879a8e76fc0c915448e6b086e12818 SHA512 c330ae33f15255102df55ae86c968105f2977babfe72b13729efc26ffa32d0d18f6f909776af403b7ea12b34c9e9ca3fbe73e086336d92a62362f265d5cc0aaa +DIST NessusAgent-10.4.2-es8.x86_64.rpm 19701516 BLAKE2B f7901ab0dd9a257746e2ced4b1db2dc0cb4ad9321bcd2b3cad367db53e4a31303b10f66bdf7552c72d59fd6d955670a4cf267a4e9fb9ed33783a25b75dae1220 SHA512 12d9d7e01cea688eb5d44c8f32881421104b262cf942a6bb420e35a5550468aab60327128218e71007dbdb1668c715a62e459c5e75d6b939c57cfc05a58ff3bc +EBUILD nessus-agent-bin-10.4.2.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.4.1.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.1.ebuild deleted file mode 100644 index 0ed091eca8d1..000000000000 --- a/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.1.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.2.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.2.ebuild new file mode 100644 index 000000000000..0ed091eca8d1 --- /dev/null +++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-10.4.2.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