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 B3CF1138334 for ; Thu, 22 Nov 2018 10:25:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 682E9E082B; Thu, 22 Nov 2018 10:25:31 +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 311F0E082B for ; Thu, 22 Nov 2018 10:25:29 +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 6B242335CB7 for ; Thu, 22 Nov 2018 10:25:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FB0E475 for ; Thu, 22 Nov 2018 10:25:26 +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: <1542879962.dff7e0c3d758380ede187e7cd0062e386cc4925a.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nessus-agent-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nessus-agent-bin/Manifest net-analyzer/nessus-agent-bin/nessus-agent-bin-7.1.2.ebuild X-VCS-Directories: net-analyzer/nessus-agent-bin/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: dff7e0c3d758380ede187e7cd0062e386cc4925a X-VCS-Branch: master Date: Thu, 22 Nov 2018 10:25:26 +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-Archives-Salt: 2f10e77b-c7c8-463a-a282-55b1dade32c0 X-Archives-Hash: b413edddc5f5346bdd6f7448bbfc63cf commit: dff7e0c3d758380ede187e7cd0062e386cc4925a Author: Marek Szuba gentoo org> AuthorDate: Thu Nov 22 09:29:29 2018 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Nov 22 09:46:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff7e0c3 net-analyzer/nessus-agent-bin: bump to 7.1.2 Signed-off-by: Marek Szuba gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-analyzer/nessus-agent-bin/Manifest | 1 + .../nessus-agent-bin/nessus-agent-bin-7.1.2.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-analyzer/nessus-agent-bin/Manifest b/net-analyzer/nessus-agent-bin/Manifest index 6b6f8d9f03f..56705119e4c 100644 --- a/net-analyzer/nessus-agent-bin/Manifest +++ b/net-analyzer/nessus-agent-bin/Manifest @@ -1 +1,2 @@ DIST NessusAgent-7.1.1-es7.x86_64.rpm 15646432 BLAKE2B 5c78ab227f309fd0b86b504ca18cb767b768785111517faebee44c56d226a2189d34ceacaae000907b89e977192bc8a058236499b865a593fb5754f46f6521ee SHA512 5f1340f26ae11378ddc1efc4d2f153111e592955ec648f740ffa538d5e437332f5c79ab92a737ebbb318786ef28ab5177c8cc73ebde909529c050b64df2ee8a1 +DIST NessusAgent-7.1.2-es7.x86_64.rpm 15663484 BLAKE2B 6b7290a39984acfc95ec0b75c8f9e6b04ecdfe630fe792f32ffb539676bad73a7db02789dcbfb6dae3d40c1e9eef1065282c20ca9a3c51b29fe0540f70cc82bc SHA512 64aff80fd5115b0f261e0156c83a67b47a7f68d7d1e8803be87a54cecaf6be1f03bf213ee68a0ffae9a2b2ad35ea7766445444ed132c077f46127cd5772f7a39 diff --git a/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.1.2.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.1.2.ebuild new file mode 100644 index 00000000000..fe50f423bbb --- /dev/null +++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.1.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm pax-utils systemd + +MY_P="NessusAgent-${PV}-es7" + +DESCRIPTION="A remote security scanner for Linux - agent component" +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_agent/bin/nasl + opt/nessus_agent/bin/nessus-mkrand + opt/nessus_agent/lib/nessus/libjemalloc.so.${PV} + opt/nessus_agent/lib/nessus/libnessus-glibc-fix.so + opt/nessus_agent/lib/nessus/plugins/ovaldi64-rhel7.inc + opt/nessus_agent/sbin/nessus-check-signature + opt/nessus_agent/sbin/nessus-service + opt/nessus_agent/sbin/nessuscli + opt/nessus_agent/sbin/nessusd" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please download ${A} from ${HOMEPAGE}/download/nessus-agents" + einfo "The archive should then be placed into ${DISTDIR}." +} + +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_agent/sbin/nessusd + + # Make sure these originally empty directories do not vanish, + # Nessus will not run properly without them + keepdir /opt/nessus_agent/com/nessus/CA + keepdir /opt/nessus_agent/etc/nessus + keepdir /opt/nessus_agent/var/nessus/logs + keepdir /opt/nessus_agent/var/nessus/tmp + keepdir /opt/nessus_agent/var/nessus/users + + newinitd "${FILESDIR}"/nessusagent.initd nessusagent + systemd_dounit usr/lib/systemd/system/nessusagent.service +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "In order to link the agent to Tenable.io or an instance of Nessus Manager," + elog "obtain an appropriate linking key and run" + elog "" + elog " /opt/nessus_agent/sbin/nessuscli agent link --key= --host= --port= [optional parameters]" + elog "" + elog "This can be done before the agent is started." + fi +}