public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nessus-agent-bin/
Date: Tue, 11 Jun 2019 14:58:02 +0000 (UTC)	[thread overview]
Message-ID: <1560265069.79effd2d4a518e10f52e33ac23d17cd2943a0331.marecki@gentoo> (raw)

commit:     79effd2d4a518e10f52e33ac23d17cd2943a0331
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 14:55:13 2019 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 14:57:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79effd2d

net-analyzer/nessus-agent-bin: bump to 7.4.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-analyzer/nessus-agent-bin/Manifest             |  1 +
 .../nessus-agent-bin/nessus-agent-bin-7.4.0.ebuild | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-analyzer/nessus-agent-bin/Manifest b/net-analyzer/nessus-agent-bin/Manifest
index 360812ba71d..4166b81e2e4 100644
--- a/net-analyzer/nessus-agent-bin/Manifest
+++ b/net-analyzer/nessus-agent-bin/Manifest
@@ -1,2 +1,3 @@
 DIST NessusAgent-7.1.2-es7.x86_64.rpm 15663484 BLAKE2B 6b7290a39984acfc95ec0b75c8f9e6b04ecdfe630fe792f32ffb539676bad73a7db02789dcbfb6dae3d40c1e9eef1065282c20ca9a3c51b29fe0540f70cc82bc SHA512 64aff80fd5115b0f261e0156c83a67b47a7f68d7d1e8803be87a54cecaf6be1f03bf213ee68a0ffae9a2b2ad35ea7766445444ed132c077f46127cd5772f7a39
 DIST NessusAgent-7.3.2-es7.x86_64.rpm 15690964 BLAKE2B 8be82fc99abdf9ffa58af6e4ad0b19313406c0d5db4b7a231360f82414a0fef7c5b3237ac1653ee8fab222b0866fd0071729e0320e6a6a7da76171642a2be32f SHA512 5009d125d917e2aba25d1743f19954302d27e02860df89d7081715e28539e6e44dfee5d9a9ca471ba7c008c27a59843034daf46b13f2b08b02a1a823ff0a3fa8
+DIST NessusAgent-7.4.0-es7.x86_64.rpm 15719960 BLAKE2B 3ea992c54d7a5acf09bc0097b6780993daab68ef2ac4816b247dba8deb949f5fd3202f9244d8ca6d9b53414163deb942b4e2739e14b42396a9a64b2265dea18e SHA512 35d948807a5110a3b1e32abf8a427aebbf082555ffd7f11abff037909119eed8f866f09121d2523107a6b2c374a45f0ff42933b1148d7679436540956d227c4b

diff --git a/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.4.0.ebuild b/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.4.0.ebuild
new file mode 100644
index 00000000000..20d896ea629
--- /dev/null
+++ b/net-analyzer/nessus-agent-bin/nessus-agent-bin-7.4.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 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}downloads/nessus-agents"
+	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_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=<key> --host=<host> --port=<port> [optional parameters]"
+		elog ""
+		elog "This can be done before the agent is started."
+	fi
+}


             reply	other threads:[~2019-06-11 14:58 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 14:58 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-12 15:23 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nessus-agent-bin/ Marek Szuba
2024-04-07  1:06 Marek Szuba
2024-02-18 10:47 Marek Szuba
2023-12-24 11:45 Marek Szuba
2023-11-21 10:05 Marek Szuba
2023-08-21 12:28 Marek Szuba
2023-07-10 23:04 Marek Szuba
2023-06-07 13:06 Marek Szuba
2023-04-14  8:09 Marek Szuba
2023-04-14  4:04 Sam James
2023-04-03  6:33 Marek Szuba
2023-03-30  8:49 Marek Szuba
2023-03-30  8:31 Marek Szuba
2023-03-30  8:31 Marek Szuba
2023-03-30  8:31 Marek Szuba
2023-03-13 12:02 Marek Szuba
2023-01-20  9:37 Marek Szuba
2022-11-20 22:17 Marek Szuba
2022-09-13 19:45 Rick Farina
2022-06-16 21:45 Marek Szuba
2022-04-01  8:18 Marek Szuba
2022-03-23 23:18 Marek Szuba
2022-02-03  6:56 Marek Szuba
2021-12-17 23:25 Marek Szuba
2021-11-18 21:45 Mike Gilbert
2021-09-27 14:53 Marek Szuba
2021-09-10 20:51 Marek Szuba
2021-07-21 19:45 Marek Szuba
2021-06-24 11:25 Marek Szuba
2021-04-14 16:21 Marek Szuba
2021-03-23  9:19 Marek Szuba
2020-12-09 10:02 Marek Szuba
2020-09-10 11:28 Marek Szuba
2020-08-28 12:42 Marek Szuba
2020-08-23 22:20 Marek Szuba
2020-07-21 19:42 Marek Szuba
2020-06-19 18:20 Marek Szuba
2020-03-09 15:45 Marek Szuba
2020-03-09 15:45 Marek Szuba
2019-12-19 15:18 Marek Szuba
2019-10-08 14:57 Marek Szuba
2019-08-19  9:14 Marek Szuba
2019-08-09 15:38 Marek Szuba
2019-08-09 15:38 Marek Szuba
2019-04-24 16:13 Marek Szuba
2019-04-24 16:12 Marek Szuba
2019-04-24 15:01 Rick Farina
2019-02-05 19:51 Ben Kohler
2018-11-22 10:25 Marek Szuba
2018-11-22 10:25 Marek Szuba
2018-09-10 11:59 Marek Szuba
2017-12-19 12:37 Marek Szuba
2017-12-19 12:37 Marek Szuba
2017-11-06 11:54 Marek Szuba
2017-11-06 11:54 Marek Szuba
2017-08-01  9:53 Marek Szuba
2017-06-12  9:59 Marek Szuba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1560265069.79effd2d4a518e10f52e33ac23d17cd2943a0331.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox