From 7333e538ce4c3e7bd6dce6e6c08617a30c35efc7 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Thu, 24 Dec 2020 12:53:06 +0000 Subject: net-analyzer/nessus-bin: bump to 8.13.1 Signed-off-by: Marek Szuba --- net-analyzer/nessus-bin/Manifest | 2 +- net-analyzer/nessus-bin/nessus-bin-8.13.0.ebuild | 65 ------------------------ net-analyzer/nessus-bin/nessus-bin-8.13.1.ebuild | 65 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 net-analyzer/nessus-bin/nessus-bin-8.13.0.ebuild create mode 100644 net-analyzer/nessus-bin/nessus-bin-8.13.1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index 2d6f1cf0470e..b7de8f360248 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1 +1 @@ -DIST Nessus-8.13.0-es8.x86_64.rpm 41087764 BLAKE2B 38ccb0fe298dbcb9e7fe7481a137a3f5ed0b2d22c575ac6669b72f9e2588d834b287e3aab9632f6f5e7823100eeaaac9fda0fd966b5f850ca3dc73eaa1c8102d SHA512 3fddaba821efa27059c22c1df5d7fad36813e6f1aad48402d4ea2eafba036a1cb8f74c29aebbc39065db7efc66c3669b1514d6f2fc4d0cf69ca5f7a75a5d2a50 +DIST Nessus-8.13.1-es8.x86_64.rpm 41186604 BLAKE2B 462cc6bd9c2f5b50fce330fa5919e9b6e5c93285361c385d06d6f0377ecb9fa8ce349714b71d0f97604c4e755d54e510edb5561c9dccfdb1fad3e35a7e6504d6 SHA512 d2a2b3a94b78bbf6261ae0ad4f66475cf0aea14316de1f2133795767c14048cb12b9857e497182770b04e006c00f65a7fe592f4fce0c480d08efafb2c17ad7a2 diff --git a/net-analyzer/nessus-bin/nessus-bin-8.13.0.ebuild b/net-analyzer/nessus-bin/nessus-bin-8.13.0.ebuild deleted file mode 100644 index 1e569f0e0f10..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-8.13.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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-8.13.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-8.13.1.ebuild new file mode 100644 index 000000000000..1e569f0e0f10 --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-8.13.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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-65-gdbad