From 30d506d1733b4654273420fab425f151809fe252 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 19 Jun 2020 20:15:26 +0200 Subject: net-analyzer/nessus-bin: bump to 8.10.1 Signed-off-by: Marek Szuba --- net-analyzer/nessus-bin/Manifest | 2 +- net-analyzer/nessus-bin/nessus-bin-8.10.1.ebuild | 61 ++++++++++++++++++++++++ net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild | 61 ------------------------ 3 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 net-analyzer/nessus-bin/nessus-bin-8.10.1.ebuild delete mode 100644 net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index 4848d73e7f79..33ea94b1450c 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1 +1 @@ -DIST Nessus-8.9.1-es7.x86_64.rpm 83715796 BLAKE2B b0362956fd8935162b2e47753fdeedd76452be55904ac90040ed0a4021194aa987321c9eec331490c61de3df25a23b4e668f62393b957f16cfdc50a033075c3f SHA512 7b746866cee3247a4c8f5df14aa2af3b28a5b4d485c87927f2226d73a962ef41b4ae0402529af00040890b93462171dd2a6c3ed842952a472bd112dcab79e4d6 +DIST Nessus-8.10.1-es7.x86_64.rpm 87820668 BLAKE2B f74ddbc919634556d4c570a1057a9aa8afbc1bf542207d6cf87db5314c9fe6911072af649ed652489c70d35c2a6816447cda7a0a788f020113f4aa5b921c2ee2 SHA512 bcccd20b92f05a7d711c5b9ecb175475eba086a95eceb80ffbf830c60351db01b3f029aec8abd1527f9c1d3ff3bb3d7f3cd13de48e6f08aa1a8d6a2a71e3ac30 diff --git a/net-analyzer/nessus-bin/nessus-bin-8.10.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-8.10.1.ebuild new file mode 100644 index 000000000000..eedc870324ec --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-8.10.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm pax-utils systemd + +MY_P="Nessus-${PV}-es7" + +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/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" + + pax-mark m "${D}"/opt/nessus/sbin/nessusd + + # 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() { + 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 "You may want to restart the nessusd-bin service to use" + elog "the new version of Nessus." + fi +} diff --git a/net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild deleted file mode 100644 index eedc870324ec..000000000000 --- a/net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit rpm pax-utils systemd - -MY_P="Nessus-${PV}-es7" - -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/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" - - pax-mark m "${D}"/opt/nessus/sbin/nessusd - - # 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() { - 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 "You may want to restart the nessusd-bin service to use" - elog "the new version of Nessus." - fi -} -- cgit v1.2.3-65-gdbad