From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- net-analyzer/nessus-bin/Manifest | 4 +- net-analyzer/nessus-bin/nessus-bin-10.0.1.ebuild | 65 ------------------------ net-analyzer/nessus-bin/nessus-bin-10.0.2.ebuild | 65 ++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-analyzer/nessus-bin/nessus-bin-10.0.1.ebuild create mode 100644 net-analyzer/nessus-bin/nessus-bin-10.0.2.ebuild (limited to 'net-analyzer/nessus-bin') diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index e225cdb1843f..7fbf856c66b5 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1,4 +1,4 @@ AUX nessusd-initd 582 BLAKE2B 67c5e73262512c590b5b4fc0668297a504677aa3d771fdeee2809c921d988faef19cbf10a7fb26d52114e1a67d33ef197e32c561cd5b2003c8abbde2dfe5cb4f SHA512 f825fad89564303aeff423f3c32a1544ee4b063ef57702cd54220aebed8e01e7b178ff5bd10b48b654ebdee78657a9bc41caf779a23968d008916fd51e88b2f4 -DIST Nessus-10.0.1-es8.x86_64.rpm 46334128 BLAKE2B 3ec2a2177978bd07767c9e04c62b4c83b9050d73adbcb18d6bbcd1f60f7e489f06b2d49701a56b4c0c239d12359d63f107fc28439604e10e958f072b7ea6273e SHA512 b97e2231a5f05317416757449b3cae27efcc8ec0a7f30333268bf4dbbeaaef61d6db740a3e389ab2c34ead0eae0a19c400f9bbac26f5bd1e8380ead141e47496 -EBUILD nessus-bin-10.0.1.ebuild 1989 BLAKE2B ac48b9a95507f50cc029de2c9e1ce018bb73f51442e459f7f8e4f4e62540b6d7a9f728534133cd748be6bde5d222494ddb7f68da506c49458dd283df8c5d9bc0 SHA512 5aa02507bf22b6fc7e23e46a1ee51886c64af45b444e5b0a71a3df74da81612b0819771e4960b4a589d4cf4ad719e4edeff169766e1d6ea42b4d29f8bea05811 +DIST Nessus-10.0.2-es8.x86_64.rpm 47542540 BLAKE2B 02afb5a90204e6d8a8ca8eea0e6a8241f05385c274d77802de8d0ff2eea3b3c03866d8974cfd022e856ce603870677aaf779469c0613b5d1b7b8efb549114151 SHA512 32cc9de9f2d098562092a9d6e593786e42daa79c0830d863873ff2847cd7c25a951775f39eeecdccf20331ced5a2dec0f207bd398ee2cd6f954b8424c88dc86a +EBUILD nessus-bin-10.0.2.ebuild 1989 BLAKE2B ac48b9a95507f50cc029de2c9e1ce018bb73f51442e459f7f8e4f4e62540b6d7a9f728534133cd748be6bde5d222494ddb7f68da506c49458dd283df8c5d9bc0 SHA512 5aa02507bf22b6fc7e23e46a1ee51886c64af45b444e5b0a71a3df74da81612b0819771e4960b4a589d4cf4ad719e4edeff169766e1d6ea42b4d29f8bea05811 MISC metadata.xml 346 BLAKE2B 5e72f68ab557c56cc09cedcaaa9760f3619723bd6fc58b8ecc921526b1b42b6b65e971876ec569c1e68a26e55def24767c5d896fd9eb6a706041b485a8885023 SHA512 ab7e122c344a3f5078b2d497ed36a63f6af74fcfa7f2b98d6299ec7c82e7cbaf427da8fa595e6445e49ee041114ac581fb5b1d703f16fc70a54ee98375062e82 diff --git a/net-analyzer/nessus-bin/nessus-bin-10.0.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.0.1.ebuild deleted file mode 100644 index 6620c073f75f..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-10.0.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 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="${MY_P}.x86_64.rpm" - -LICENSE="GPL-2 Nessus-EULA" -SLOT="0" -KEYWORDS="-* ~amd64" - -RESTRICT="mirror fetch strip" - -QA_PREBUILT="opt/nessus/bin/nasl - opt/nessus/bin/ndbg - opt/nessus/bin/nessus-mkrand - opt/nessus/lib/nessus/libjemalloc.so.2 - opt/nessus/lib/nessus/libnessus-glibc-fix.so - opt/nessus/lib/nessus/iconv/*.so - opt/nessus/sbin/nessus-service - opt/nessus/sbin/nessuscli - opt/nessus/sbin/nessusd" - -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus" - einfo "The archive should then be placed into your DISTDIR directory." -} - -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.0.2.ebuild b/net-analyzer/nessus-bin/nessus-bin-10.0.2.ebuild new file mode 100644 index 000000000000..6620c073f75f --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-10.0.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 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="${MY_P}.x86_64.rpm" + +LICENSE="GPL-2 Nessus-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="mirror fetch strip" + +QA_PREBUILT="opt/nessus/bin/nasl + opt/nessus/bin/ndbg + opt/nessus/bin/nessus-mkrand + opt/nessus/lib/nessus/libjemalloc.so.2 + opt/nessus/lib/nessus/libnessus-glibc-fix.so + opt/nessus/lib/nessus/iconv/*.so + opt/nessus/sbin/nessus-service + opt/nessus/sbin/nessuscli + opt/nessus/sbin/nessusd" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please download ${A} from ${HOMEPAGE}downloads/nessus" + einfo "The archive should then be placed into your DISTDIR directory." +} + +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