From 7a062968f262b368ca164bcd5286dfda1b3f37bc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Aug 2023 00:09:03 +0100 Subject: gentoo auto-resync : 13:08:2023 - 00:09:03 --- net-analyzer/Manifest.gz | Bin 43103 -> 43099 bytes net-analyzer/nessus-bin/Manifest | 6 +-- net-analyzer/nessus-bin/nessus-bin-10.5.3.ebuild | 59 ----------------------- net-analyzer/nessus-bin/nessus-bin-10.5.4.ebuild | 59 +++++++++++++++++++++++ 4 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 net-analyzer/nessus-bin/nessus-bin-10.5.3.ebuild create mode 100644 net-analyzer/nessus-bin/nessus-bin-10.5.4.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz index dbaa6011afc8..c97bc64189ef 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 95c7bfb746c6..2a132a5ba13a 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.5.3-es8.aarch64.rpm 58985712 BLAKE2B 37e33beb2d2dc033427e8d3d3d7cb7b205461200f542af1275ee8bc35beecd1f92fcaed012a3d2749db50b40290591d357d771cc96ff40921f7aed3baffc10cb SHA512 d4b3ec54e8a5d13cde890633fb2b4be26b5b9673ba221309f830703de760cd91e8ceed7c6f53d59ff527857c001e1a3d8fdd290e8cb0d7cc8ac4d04dc8409b49 -DIST Nessus-10.5.3-es8.x86_64.rpm 60361352 BLAKE2B 1eab4a62c94832fb4b528123b457490d0b9769bea632141b0cfdb2f17cbfdfc080b3afb934e313eb61caa166501d211092721ddd946bb556312eb7914189aecf SHA512 a518da6eb56435cc3b4210c4ed7f9bf76452b983c6a69639745210c564a52f6b9b7e00ceaa36983fff703e1f98eac3cabdb80d0ee85dc94c882b5e42f04b08d5 -EBUILD nessus-bin-10.5.3.ebuild 1886 BLAKE2B 4fb8afe7907b490820b03d83e89ab5898219d22e70c1c4a1b5546cf97c63e8d47a83acb56686c253d96d446c0b75b39adb3bd039aea2c1275c8c13b80250a324 SHA512 18558958faa202c8a33558ffd8060b4d547c67c14e574cceeca92f420143ad18ca870f5bcbc72270d979c08ec01cf3b8f1303676ba53fea2b548a632d1386a52 +DIST Nessus-10.5.4-es8.aarch64.rpm 60273184 BLAKE2B e89f03324f3c149002076ee9616ed8de8ae7aaf8b6adf3628d283472fc8b3f793d134e5c985d62202718f6d7c25238108807d85854d5d2d093c9ef6092b8b104 SHA512 e58284ecc618352ad3d0c5f4664e191e0ad3aa958370ce130da787e1c32bd0777f41bd6e62338d8ae30a1c28372b8af2eb627de3a5b28efb70e5f586d9741f06 +DIST Nessus-10.5.4-es8.x86_64.rpm 61658864 BLAKE2B d0b90068ed1ea3b8177af9c18a033b3a53fdc44e5c61106e9a215cd313a7d233638d04abc2ed3c6ab5f6063370fa658c175d0f88d5698d1bb6dda1888a11bab6 SHA512 7164004534f4d9bb7fff860d0f8c8525ff208dc5a635b67a6ea1ac51a0510d457c870e4e6cbf5663be9f1efc01514d3b1046529fc8ac8db2037b98a41de31632 +EBUILD nessus-bin-10.5.4.ebuild 1886 BLAKE2B 4fb8afe7907b490820b03d83e89ab5898219d22e70c1c4a1b5546cf97c63e8d47a83acb56686c253d96d446c0b75b39adb3bd039aea2c1275c8c13b80250a324 SHA512 18558958faa202c8a33558ffd8060b4d547c67c14e574cceeca92f420143ad18ca870f5bcbc72270d979c08ec01cf3b8f1303676ba53fea2b548a632d1386a52 MISC metadata.xml 346 BLAKE2B 5e72f68ab557c56cc09cedcaaa9760f3619723bd6fc58b8ecc921526b1b42b6b65e971876ec569c1e68a26e55def24767c5d896fd9eb6a706041b485a8885023 SHA512 ab7e122c344a3f5078b2d497ed36a63f6af74fcfa7f2b98d6299ec7c82e7cbaf427da8fa595e6445e49ee041114ac581fb5b1d703f16fc70a54ee98375062e82 diff --git a/net-analyzer/nessus-bin/nessus-bin-10.5.3.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.5.3.ebuild deleted file mode 100644 index a977f8ba6efb..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-10.5.3.ebuild +++ /dev/null @@ -1,59 +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="Nessus-${PV}-es8" - -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.5.4.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.5.4.ebuild new file mode 100644 index 000000000000..a977f8ba6efb --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-10.5.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm systemd + +MY_P="Nessus-${PV}-es8" + +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