From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49C76138350 for ; Mon, 9 Mar 2020 15:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 850C1E0929; Mon, 9 Mar 2020 15:45:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 558ACE0929 for ; Mon, 9 Mar 2020 15:45:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1397434F32A for ; Mon, 9 Mar 2020 15:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C31D14D for ; Mon, 9 Mar 2020 15:45:37 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1583768285.19f9f3089e2e4695cd62a7823fcfacd2f07d4a6e.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nessus-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nessus-bin/Manifest net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild X-VCS-Directories: net-analyzer/nessus-bin/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 19f9f3089e2e4695cd62a7823fcfacd2f07d4a6e X-VCS-Branch: master Date: Mon, 9 Mar 2020 15:45:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5d2de7f-cf9a-44af-8551-459821f7830e X-Archives-Hash: 2ceafefc093c301fea80a2a5b32db431 commit: 19f9f3089e2e4695cd62a7823fcfacd2f07d4a6e Author: Marek Szuba gentoo org> AuthorDate: Mon Mar 9 15:38:05 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Mar 9 15:38:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f9f308 net-analyzer/nessus-bin: bump to 8.9.1 Signed-off-by: Marek Szuba gentoo.org> net-analyzer/nessus-bin/Manifest | 1 + net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild | 61 +++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/net-analyzer/nessus-bin/Manifest b/net-analyzer/nessus-bin/Manifest index 2f734c36f53..b4e377c434d 100644 --- a/net-analyzer/nessus-bin/Manifest +++ b/net-analyzer/nessus-bin/Manifest @@ -1,3 +1,4 @@ DIST Nessus-8.5.2-es7.x86_64.rpm 72892020 BLAKE2B c5ae05c02da4fe3265ae1b31da0d8dc025c7275ef466d7f889ebefe6a6006e500e2df029ab90ab37cd0c5089078a22b4f0474a4cfa830a378aead68337154f91 SHA512 ef96ee30b693c72a33981757a8e9616ce7813837de90065c8d140e9702552798e09c0941c282d1a54817f036f606a9934bc9020e86dce12baf50a1a57dbcec08 DIST Nessus-8.8.0-es7.x86_64.rpm 77275432 BLAKE2B 437d4f958d0f45924cb0c994710d908b6a0a48bbee9ffa184391e7a31484d9c933a210c7d4c6d68fa918a873e09874a58ed40ca81203aaef5c44541037777dbd SHA512 d779703db9c114a51e282dde35257121278fa4ec6035c0c861ebc9f04e967aa2a0cde1efdd4f08c2652ecfab3978a8853970081759e9dee492a3ebe8c4fc502b DIST Nessus-8.9.0-es7.x86_64.rpm 81085048 BLAKE2B fc4717c31b59261199e87e2080f04a492a96fced562b2ded36741303d0f1c0fc447113f080cf64d2fd606148109f558499383433b39caafb2b8f77684f1b2ad5 SHA512 d397dd545a6c02f906b998c55f2d3b0ae06b247d648f1c25d260190ca4f161199f494d903c430cf2d9a664345b88f6ca5f4cd865a6a39b19be22a1d8a236c603 +DIST Nessus-8.9.1-es7.x86_64.rpm 83715796 BLAKE2B b0362956fd8935162b2e47753fdeedd76452be55904ac90040ed0a4021194aa987321c9eec331490c61de3df25a23b4e668f62393b957f16cfdc50a033075c3f SHA512 7b746866cee3247a4c8f5df14aa2af3b28a5b4d485c87927f2226d73a962ef41b4ae0402529af00040890b93462171dd2a6c3ed842952a472bd112dcab79e4d6 diff --git a/net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild b/net-analyzer/nessus-bin/nessus-bin-8.9.1.ebuild new file mode 100644 index 00000000000..eedc870324e --- /dev/null +++ b/net-analyzer/nessus-bin/nessus-bin-8.9.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 +}