From cc420fb8bdbc37a0c10b7dc2e02928bcd840147a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 5 Mar 2024 19:06:10 +0000 Subject: gentoo auto-resync : 05:03:2024 - 19:06:10 --- net-analyzer/Manifest.gz | Bin 43608 -> 43605 bytes net-analyzer/nessus-bin/Manifest | 6 +-- net-analyzer/nessus-bin/nessus-bin-10.7.0.ebuild | 59 ----------------------- net-analyzer/nessus-bin/nessus-bin-10.7.1.ebuild | 59 +++++++++++++++++++++++ 4 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 net-analyzer/nessus-bin/nessus-bin-10.7.0.ebuild create mode 100644 net-analyzer/nessus-bin/nessus-bin-10.7.1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index 3a2a90363ad3..a571edbf856d 100644 Binary files a/net-analyzer/Manifest.gz and b/net-analyzer/Manifest.gz differ diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index 966a4f9abc0b..fac8de1f3652 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1,5 +1,5 @@ AUX nessusd-initd 582 BLAKE2B 67c5e73262512c590b5b4fc0668297a504677aa3d771fdeee2809c921d988faef19cbf10a7fb26d52114e1a67d33ef197e32c561cd5b2003c8abbde2dfe5cb4f SHA512 f825fad89564303aeff423f3c32a1544ee4b063ef57702cd54220aebed8e01e7b178ff5bd10b48b654ebdee78657a9bc41caf779a23968d008916fd51e88b2f4 -DIST Nessus-10.7.0-el8.aarch64.rpm 61681144 BLAKE2B 90c4961640f61abc7e185be6cca62f22f1a207005e32eff0300b79556c30b274a59cf80a6515f4d9386851f9fbfd193b2f8150121fd7e1b17f23f9cef5f9f43a SHA512 b44e0fbfc69b9e883ce245a411822701ecab8077d694522583d8927879afc45101d4958bd68795163b64c356b6cad46a96b1bb6897c806148c8a8f5d6aed46bf -DIST Nessus-10.7.0-el8.x86_64.rpm 63122308 BLAKE2B 1555853b241b5a4bd5d8d4ab17b230087a9d3e92715373d9d5e11055800c00841e400650b40b477bfb185c4371bb2e541690d7a298440f34f464bec111f6e5d7 SHA512 81e11c3989e231256400eb21b3a36c6c36f13af199fb87f614df92da7eb156668d6d3942e30f9e6658672184605170855bc2aadcb96056f9104f106f49b436ac -EBUILD nessus-bin-10.7.0.ebuild 1886 BLAKE2B abb347acc96565eb28078844cbc89e6b51dd2b1de070152fd1d94b70420c02b431ff1639f26fe8951cd0fa881602fd5ad8fe9a9536797db2d75c4947a3719a63 SHA512 8c724a190c3cf0c9d0d36289a888d395ef902ab0f76e06b1fa5d9a95fc4fd248d940ac21b42bf8c4d95e13c890e94e28c66cd4ad68bd06814864b09d0f3f606c +DIST Nessus-10.7.1-el8.aarch64.rpm 61886616 BLAKE2B e3bcf6f8c8648e2ef4af130e099975789da962b47364ca955537fd53f99a29470680dddc4a547dca1c32d1a6e5292bded31a092524f237e09963c901c7c76bec SHA512 bf3a0c33a37886bab111e724c915c299052c2ee0133af035ea6d30a420f5bac1696444b85c2e3859f3524c9f63da8e6f6a8ec0bce1a543e0437e1d6a7f2ea6da +DIST Nessus-10.7.1-el8.x86_64.rpm 63319848 BLAKE2B 51fa834f202281af4df93b6350fe00318d03afd051b9ef363572523e2b311c22875bb728cd1fec57c669cb35f35acdcc3186afd309fbb671ffb9349d13538fd1 SHA512 b68c214613f18f8951d14f5824d3ba76f3c56689f5e7abce83cf168f8617725ce7a0283e175e720b082d16ea1fb5dd4cd8c6c1f5aaf806c34e08bfeb659315d3 +EBUILD nessus-bin-10.7.1.ebuild 1886 BLAKE2B abb347acc96565eb28078844cbc89e6b51dd2b1de070152fd1d94b70420c02b431ff1639f26fe8951cd0fa881602fd5ad8fe9a9536797db2d75c4947a3719a63 SHA512 8c724a190c3cf0c9d0d36289a888d395ef902ab0f76e06b1fa5d9a95fc4fd248d940ac21b42bf8c4d95e13c890e94e28c66cd4ad68bd06814864b09d0f3f606c MISC metadata.xml 346 BLAKE2B 5e72f68ab557c56cc09cedcaaa9760f3619723bd6fc58b8ecc921526b1b42b6b65e971876ec569c1e68a26e55def24767c5d896fd9eb6a706041b485a8885023 SHA512 ab7e122c344a3f5078b2d497ed36a63f6af74fcfa7f2b98d6299ec7c82e7cbaf427da8fa595e6445e49ee041114ac581fb5b1d703f16fc70a54ee98375062e82 diff --git a/net-analyzer/nessus-bin/nessus-bin-10.7.0.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.7.0.ebuild deleted file mode 100644 index 3fe24e9b4ae0..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-10.7.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit rpm systemd - -MY_P="Nessus-${PV}-el8" - -DESCRIPTION="A remote security scanner for Linux" -HOMEPAGE="https://www.tenable.com/" -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 Tenable-Master-Agreement" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -RESTRICT="mirror strip" - -QA_PREBUILT="opt/nessus/bin/* - opt/nessus/lib/nessus/*.so - opt/nessus/lib/nessus/iconv/*.so - opt/nessus/lib/nessus/libjemalloc.so.* - opt/nessus/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/com/nessus/CA - keepdir /opt/nessus/etc/nessus - keepdir /opt/nessus/var/nessus/logs - keepdir /opt/nessus/var/nessus/tmp - - newinitd "${FILESDIR}"/nessusd-initd nessusd-bin - systemd_newunit usr/lib/systemd/system/nessusd.service nessusd-bin.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/sbin/nessuscli install "${EROOT}"/opt/nessus/var/nessus/plugins-core.tar.gz - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - elog "To get started launch the nessusd-bin service, then point your Web browser to" - elog " https://:8834/" - else - elog "Please restart the nessusd-bin service to use the new version of Nessus" - fi -} diff --git a/net-analyzer/nessus-bin/nessus-bin-10.7.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.7.1.ebuild new file mode 100644 index 000000000000..3fe24e9b4ae0 --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-10.7.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm systemd + +MY_P="Nessus-${PV}-el8" + +DESCRIPTION="A remote security scanner for Linux" +HOMEPAGE="https://www.tenable.com/" +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 Tenable-Master-Agreement" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +RESTRICT="mirror strip" + +QA_PREBUILT="opt/nessus/bin/* + opt/nessus/lib/nessus/*.so + opt/nessus/lib/nessus/iconv/*.so + opt/nessus/lib/nessus/libjemalloc.so.* + opt/nessus/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/com/nessus/CA + keepdir /opt/nessus/etc/nessus + keepdir /opt/nessus/var/nessus/logs + keepdir /opt/nessus/var/nessus/tmp + + newinitd "${FILESDIR}"/nessusd-initd nessusd-bin + systemd_newunit usr/lib/systemd/system/nessusd.service nessusd-bin.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/sbin/nessuscli install "${EROOT}"/opt/nessus/var/nessus/plugins-core.tar.gz + + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "To get started launch the nessusd-bin service, then point your Web browser to" + elog " https://:8834/" + else + elog "Please restart the nessusd-bin service to use the new version of Nessus" + fi +} -- cgit v1.2.3