public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2023-07-03  8:37 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2023-07-03  8:37 UTC (permalink / raw
  To: gentoo-commits

commit:     5a31ea1a6e8f2c81c241de7055084b0931aaa8cd
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 08:37:41 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 08:37:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a31ea1a

net-analyzer/notus-scanner: disable py3.10

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.5.0.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.5.0.ebuild
index 3d2b52bf6bee..630d765d70a5 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.5.0.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_11 )
 DISTUTILS_USE_PEP517=poetry
 inherit distutils-r1 systemd
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2023-08-09 13:32 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2023-08-09 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     0c539ddaa0f3f32504c8ffec6922b1c4f0b39775
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 13:32:41 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 13:32:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c539dda

net-analyzer/notus-scanner: disable FORCE_PRINT_ELOG

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.5.0-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.5.0-r1.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.5.0-r1.ebuild
index 7ebe6a06c3fb..59d016bf88af 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.5.0-r1.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.5.0-r1.ebuild
@@ -32,7 +32,7 @@ RDEPEND="
 	${DEPEND}
 	app-misc/mosquitto
 "
-FORCE_PRINT_ELOG="yes"
+
 DOC_CONTENTS="
 For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
 Please, read here on how to create it:
@@ -42,7 +42,6 @@ https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
 To enable feed validation, edit /etc/gvm/${PN}.toml
 and set
 disable-hashsum-verification = false"
-
 DISABLE_AUTOFORMATTING=true
 
 distutils_enable_tests unittest


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2023-10-07 15:11 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2023-10-07 15:11 UTC (permalink / raw
  To: gentoo-commits

commit:     97393f4f63da69b87a34811f9620d26799941dff
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 15:10:34 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 15:11:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97393f4f

net-analyzer/notus-scanner: remove conditional patching

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
index 136c08284b4a..c0dcb14e48c9 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
@@ -31,6 +31,10 @@ RDEPEND="
 	app-misc/mosquitto
 "
 
+PATCHES=(
+	"${FILESDIR}"/${P}-remove-tests.patch
+)
+
 DOC_CONTENTS="
 For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
 Please, read here on how to create it:
@@ -44,13 +48,6 @@ DISABLE_AUTOFORMATTING=true
 
 distutils_enable_tests unittest
 
-src_prepare() {
-	if use test; then
-		PATCHES+=( "${FILESDIR}"/${P}-remove-tests.patch )
-	fi
-	default
-}
-
 python_compile() {
 	distutils-r1_python_compile
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-02-28 20:50 Jakov Smolić
  0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
  To: gentoo-commits

commit:     9653a73ec02b46edfe03253bcd06ad863c87eed1
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:50:12 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:50:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9653a73e

net-analyzer/notus-scanner: Stabilize 22.6.2 amd64, #925668

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
index 81f845b916f0..1e63401e469d 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar
 
 SLOT="0"
 LICENSE="AGPL-3 AGPL-3+"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DEPEND="
 	acct-user/gvm


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-04-03 17:38 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     51725071ee76d1f88396fcff09914735eb543194
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Mar 30 20:01:18 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr  3 17:34:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51725071

net-analyzer/notus-scanner: bumping dev-python/packaging version requirement

Partial fix to bug https://bugs.gentoo.org/928232

Bug: https://bugs.gentoo.org/928232
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36003
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
index 1e63401e469d..f62ecf25aaa3 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.2.ebuild
@@ -20,7 +20,7 @@ DEPEND="
 	net-libs/paho-mqtt-c
 	>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
 	>=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
-	<dev-python/packaging-23.3[${PYTHON_USEDEP}]
+	<dev-python/packaging-24.1[${PYTHON_USEDEP}]
 	>=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
 	<dev-python/tomli-3[${PYTHON_USEDEP}]
 "


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-06-06  6:56 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2024-06-06  6:56 UTC (permalink / raw
  To: gentoo-commits

commit:     fa815efe2fae34da7ebcdab967e6c2c9f4b84275
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Tue Jun  4 18:38:04 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 06:55:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa815efe

net-analyzer/notus-scanner: add 22.6.3

Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37026
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/Manifest                |  1 +
 .../notus-scanner/notus-scanner-22.6.3.ebuild      | 81 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/net-analyzer/notus-scanner/Manifest b/net-analyzer/notus-scanner/Manifest
index 79d92d27ff5d..494907c14216 100644
--- a/net-analyzer/notus-scanner/Manifest
+++ b/net-analyzer/notus-scanner/Manifest
@@ -1 +1,2 @@
 DIST notus-scanner-22.6.2.tar.gz 316406 BLAKE2B c24ec5e4fd9f8fc181145d64580d04f7045ccf1a7570f855f0a8a79bcea842fe7a73d91fadecd61c10b94cb3ee68ecae98b0f91b4059b84258765be98c95057f SHA512 ecbbb79950908641c2b83d379d141b189b8e0e27cac17753cbb381a5f4ebf28d7100f60bd24fc284c2681abc889f6fee36a64f469ac0b37323940eaeae7e7522
+DIST notus-scanner-22.6.3.tar.gz 293997 BLAKE2B 889416d2324088dc11f2df5146b3c88b276d1170552f55b2cb7ef49f4d8d855b98d6c0e53a1d49bd725b97b88c12df69a1997a38a614aa941dd699d0efb1de51 SHA512 fc3a05a3a9d61dd0b7a9913cfbbf507fec9dd3797a42a82283d14ab7fa8090fbc847487cf3a1d064f49572dda9acadba4bd7d30003fd32a179f572e327254546

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
new file mode 100644
index 000000000000..c14414c68226
--- /dev/null
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 readme.gentoo-r1 systemd
+
+DESCRIPTION="Notus is a vulnerability scanner for creating results from local security checks"
+HOMEPAGE="https://github.com/greenbone/notus-scanner"
+SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+	acct-user/gvm
+	net-libs/paho-mqtt-c
+	>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+	>=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
+	<dev-python/packaging-24.1[${PYTHON_USEDEP}]
+	>=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
+	<dev-python/tomli-3[${PYTHON_USEDEP}]
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/mosquitto
+"
+
+PATCHES=(
+	"${FILESDIR}"/notus-scanner-22.6.2-remove-tests.patch
+)
+
+DOC_CONTENTS="
+For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
+Please, read here on how to create it:
+https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation
+https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
+
+To enable feed validation, edit /etc/gvm/${PN}.toml
+and set
+disable-hashsum-verification = false"
+DISABLE_AUTOFORMATTING=true
+
+distutils_enable_tests unittest
+
+python_compile() {
+	distutils-r1_python_compile
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	insinto /etc/gvm
+	use prefix || fowners -R gvm:gvm /etc/gvm
+	newins "${FILESDIR}/${PN}.toml" "${PN}.toml"
+	use prefix || fowners gvm:gvm "/etc/gvm/${PN}.toml"
+
+	# Set proper permissions on required files/directories
+	keepdir /var/lib/notus
+	keepdir /var/lib/notus/products
+	keepdir /var/lib/notus/advisories
+	if ! use prefix; then
+		fowners -R gvm:gvm /var/lib/notus
+	fi
+
+	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+
+	systemd_dounit config/${PN}.service
+
+	systemd_install_serviced "${FILESDIR}/notus-scanner.service.conf" \
+			${PN}.service
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-06-28  1:00 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-06-28  1:00 UTC (permalink / raw
  To: gentoo-commits

commit:     f1df6368043cabffb9eb5cf97cc852ff0331db45
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Jun 28 00:14:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 00:59:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1df6368

net-analyzer/notus-scanner: fix overdependency on tomli

Since 22.5.0, it has supported using the stdlib tomllib when available:

https://github.com/greenbone/notus-scanner/commit/73f429133f0f07855d4d0731b6547bc8d672b482

The versioned dependency is poetry semver paranoia. tomli is a stdlib
backport and will remain compatible with the stdlib (presumably by never
bumping to "semver major 3"). But don't argue since it was already in
the ebuild.

In principle, this overdependency could be fixed for 22.6.2 as well, but
going through stabilization for that isn't worth it. This version is
upcoming anyway.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{notus-scanner-22.6.3.ebuild => notus-scanner-22.6.3-r1.ebuild}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
similarity index 96%
rename from net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
rename to net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
index c14414c68226..9ac39d6372b9 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.3.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r1.ebuild
@@ -22,7 +22,9 @@ DEPEND="
 	>=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
 	<dev-python/packaging-24.1[${PYTHON_USEDEP}]
 	>=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
-	<dev-python/tomli-3[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		<dev-python/tomli-3[${PYTHON_USEDEP}]
+	' 3.10)
 "
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-07-09  7:04 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2024-07-09  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     65e618b1c663a11c6eabccb58bea3e3ebc8a27f5
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  9 06:58:28 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 07:01:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e618b1

net-analyzer/notus-scanner: adjust dev-python/packaging dep from <24.1 to <24.2

Upstream changed the dep in
https://github.com/greenbone/notus-scanner/commit/bc7b91350d21cfac0d97a6d63afc7e956aac1475
which bascially directly follows the 22.6.3 tag, therefore we can also
adjust the dep and clear the way for the latest dev-python/packaging.

Bug: https://bugs.gentoo.org/928232
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../notus-scanner/notus-scanner-22.6.3-r2.ebuild   | 83 ++++++++++++++++++++++
 1 file changed, 83 insertions(+)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild
new file mode 100644
index 000000000000..72a3e8e36936
--- /dev/null
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 readme.gentoo-r1 systemd
+
+DESCRIPTION="Notus is a vulnerability scanner for creating results from local security checks"
+HOMEPAGE="https://github.com/greenbone/notus-scanner"
+SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+	acct-user/gvm
+	net-libs/paho-mqtt-c
+	>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+	>=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
+	<dev-python/packaging-24.2[${PYTHON_USEDEP}]
+	>=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		<dev-python/tomli-3[${PYTHON_USEDEP}]
+	' 3.10)
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/mosquitto
+"
+
+PATCHES=(
+	"${FILESDIR}"/notus-scanner-22.6.2-remove-tests.patch
+)
+
+DOC_CONTENTS="
+For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
+Please, read here on how to create it:
+https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation
+https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
+
+To enable feed validation, edit /etc/gvm/${PN}.toml
+and set
+disable-hashsum-verification = false"
+DISABLE_AUTOFORMATTING=true
+
+distutils_enable_tests unittest
+
+python_compile() {
+	distutils-r1_python_compile
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	insinto /etc/gvm
+	use prefix || fowners -R gvm:gvm /etc/gvm
+	newins "${FILESDIR}/${PN}.toml" "${PN}.toml"
+	use prefix || fowners gvm:gvm "/etc/gvm/${PN}.toml"
+
+	# Set proper permissions on required files/directories
+	keepdir /var/lib/notus
+	keepdir /var/lib/notus/products
+	keepdir /var/lib/notus/advisories
+	if ! use prefix; then
+		fowners -R gvm:gvm /var/lib/notus
+	fi
+
+	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+
+	systemd_dounit config/${PN}.service
+
+	systemd_install_serviced "${FILESDIR}/notus-scanner.service.conf" \
+			${PN}.service
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-07-23  3:55 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-07-23  3:55 UTC (permalink / raw
  To: gentoo-commits

commit:     3f7b1be433abd4d1a037555b9feed04a430f24df
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 03:54:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 03:54:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7b1be4

net-analyzer/notus-scanner: Stabilize 22.6.3-r2 amd64, #936504

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild
index 72a3e8e36936..f183e1fe25a1 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar
 
 LICENSE="AGPL-3 AGPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DEPEND="
 	acct-user/gvm


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-09-14 10:09 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2024-09-14 10:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4c1126afa7fecfa93c933f4bb62879d2d6c70acb
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Sep  7 21:41:56 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 09:57:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1126af

net-analyzer/notus-scanner: add 22.6.4

Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38512
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/Manifest                |  1 +
 .../notus-scanner/notus-scanner-22.6.4.ebuild      | 91 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/net-analyzer/notus-scanner/Manifest b/net-analyzer/notus-scanner/Manifest
index 494907c14216..51eda960450e 100644
--- a/net-analyzer/notus-scanner/Manifest
+++ b/net-analyzer/notus-scanner/Manifest
@@ -1,2 +1,3 @@
 DIST notus-scanner-22.6.2.tar.gz 316406 BLAKE2B c24ec5e4fd9f8fc181145d64580d04f7045ccf1a7570f855f0a8a79bcea842fe7a73d91fadecd61c10b94cb3ee68ecae98b0f91b4059b84258765be98c95057f SHA512 ecbbb79950908641c2b83d379d141b189b8e0e27cac17753cbb381a5f4ebf28d7100f60bd24fc284c2681abc889f6fee36a64f469ac0b37323940eaeae7e7522
 DIST notus-scanner-22.6.3.tar.gz 293997 BLAKE2B 889416d2324088dc11f2df5146b3c88b276d1170552f55b2cb7ef49f4d8d855b98d6c0e53a1d49bd725b97b88c12df69a1997a38a614aa941dd699d0efb1de51 SHA512 fc3a05a3a9d61dd0b7a9913cfbbf507fec9dd3797a42a82283d14ab7fa8090fbc847487cf3a1d064f49572dda9acadba4bd7d30003fd32a179f572e327254546
+DIST notus-scanner-22.6.4.tar.gz 293607 BLAKE2B 75bdbd9d6247a2b9afaf7b049b8b80b2a44714ad4d6c951c9d14898c8bce319c39c4a19162fe1a380ef638164f025c210346ee5659ed1caefdb91bef2a0906d7 SHA512 5a3f23425a1945636c6fd9dd7b3ad39cf6f02920c33aaa35e3aa7ae1dfb8962d60f8e8519047e631c0e72a1a75c56ac5350c9dd291c20947fac2d4cdbb7f6387

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild
new file mode 100644
index 000000000000..43056ee11d51
--- /dev/null
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 readme.gentoo-r1 systemd
+
+DESCRIPTION="Notus is a vulnerability scanner for creating results from local security checks"
+HOMEPAGE="https://github.com/greenbone/notus-scanner"
+SRC_URI="https://github.com/greenbone/notus-scanner/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+	acct-user/gvm
+	net-libs/paho-mqtt-c
+	>=dev-python/psutil-6.0[${PYTHON_USEDEP}]
+	>=dev-python/python-gnupg-0.5.1[${PYTHON_USEDEP}]
+	<dev-python/packaging-24.2[${PYTHON_USEDEP}]
+	>=dev-python/paho-mqtt-1.5.1[${PYTHON_USEDEP}]
+	<dev-python/tomli-3[${PYTHON_USEDEP}]
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/mosquitto
+"
+
+PATCHES=(
+	"${FILESDIR}"/notus-scanner-22.6.2-remove-tests.patch
+)
+
+DOC_CONTENTS="
+For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
+Please, read here on how to create it:
+https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation
+https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
+
+To enable feed validation, edit /etc/gvm/${PN}.toml
+and set
+disable-hashsum-verification = false"
+DISABLE_AUTOFORMATTING=true
+
+distutils_enable_tests unittest
+
+python_compile() {
+	distutils-r1_python_compile
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	insinto /etc/gvm
+	use prefix || fowners -R gvm:gvm /etc/gvm
+	newins "${FILESDIR}/${PN}.toml" "${PN}.toml"
+	use prefix || fowners gvm:gvm "/etc/gvm/${PN}.toml"
+
+	# Set proper permissions on required files/directories
+	keepdir /var/lib/notus
+	keepdir /var/lib/notus/products
+	keepdir /var/lib/notus/advisories
+	if ! use prefix; then
+		fowners -R gvm:gvm /var/lib/notus
+	fi
+
+	# Adding notus-scanner.log to logrotate
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+
+	# Set proper permissions on required files/directories
+	keepdir /var/log/gvm
+	if ! use prefix; then
+		fowners -R gvm:gvm /var/log/gvm
+	fi
+
+	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+
+	systemd_dounit config/${PN}.service
+
+	systemd_install_serviced "${FILESDIR}/notus-scanner.service.conf" \
+			${PN}.service
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
@ 2024-09-15  8:38 Florian Schmaus
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Schmaus @ 2024-09-15  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     039503df315f1dac65a20cbebd33fa822f8519dc
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 08:36:32 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 08:36:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039503df

net-analyzer/notus-scanner: drop python_compile, use greadme, coalesce fowner

The declaration of python_compile() matches its default implementation,
so it could be dropped. Also switch from readme.gentoo-r1 to greadme and
colesce the fowner calls.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 ...2.6.4.ebuild => notus-scanner-22.6.4-r1.ebuild} | 41 ++++++++--------------
 1 file changed, 14 insertions(+), 27 deletions(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.4-r1.ebuild
similarity index 68%
rename from net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild
rename to net-analyzer/notus-scanner/notus-scanner-22.6.4-r1.ebuild
index 43056ee11d51..cc3cdd16a286 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.4.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.4-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} pypy3 )
 DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 readme.gentoo-r1 systemd
+inherit distutils-r1 greadme systemd
 
 DESCRIPTION="Notus is a vulnerability scanner for creating results from local security checks"
 HOMEPAGE="https://github.com/greenbone/notus-scanner"
@@ -34,58 +34,45 @@ PATCHES=(
 	"${FILESDIR}"/notus-scanner-22.6.2-remove-tests.patch
 )
 
-DOC_CONTENTS="
-For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
-Please, read here on how to create it:
-https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation
-https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
-
-To enable feed validation, edit /etc/gvm/${PN}.toml
-and set
-disable-hashsum-verification = false"
-DISABLE_AUTOFORMATTING=true
+GREADME_DISABLE_AUTOFORMAT=1
 
 distutils_enable_tests unittest
 
-python_compile() {
-	distutils-r1_python_compile
-}
-
 python_install() {
 	distutils-r1_python_install
 
 	insinto /etc/gvm
-	use prefix || fowners -R gvm:gvm /etc/gvm
 	newins "${FILESDIR}/${PN}.toml" "${PN}.toml"
-	use prefix || fowners gvm:gvm "/etc/gvm/${PN}.toml"
 
 	# Set proper permissions on required files/directories
 	keepdir /var/lib/notus
 	keepdir /var/lib/notus/products
 	keepdir /var/lib/notus/advisories
+	keepdir /var/log/gvm
 	if ! use prefix; then
+		fowners -R gvm:gvm /etc/gvm
 		fowners -R gvm:gvm /var/lib/notus
+		fowners -R gvm:gvm /var/log/gvm
 	fi
 
 	# Adding notus-scanner.log to logrotate
 	insinto /etc/logrotate.d
 	newins "${FILESDIR}/${PN}.logrotate" "${PN}"
 
-	# Set proper permissions on required files/directories
-	keepdir /var/log/gvm
-	if ! use prefix; then
-		fowners -R gvm:gvm /var/log/gvm
-	fi
-
 	newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 
 	systemd_dounit config/${PN}.service
 
 	systemd_install_serviced "${FILESDIR}/notus-scanner.service.conf" \
 			${PN}.service
-	readme.gentoo_create_doc
-}
 
-pkg_postinst() {
-	readme.gentoo_print_elog
+	greadme_stdin <<-EOF
+For validating the feed content, a GnuPG keychain with the Greenbone Community Feed
+integrity key needs to be created. Please, read here on how to create it:
+  - https://greenbone.github.io/docs/latest/22.4/source-build/index.html#feed-validation
+  - https://wiki.gentoo.org/wiki/Greenbone_Vulnerability_Management#Notus_Scanner
+
+To enable feed validation, edit /etc/gvm/${PN}.toml and set
+  disable-hashsum-verification = false
+EOF
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-09-15  8:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-03 17:38 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15  8:38 Florian Schmaus
2024-09-14 10:09 Florian Schmaus
2024-07-23  3:55 Sam James
2024-07-09  7:04 Florian Schmaus
2024-06-28  1:00 Sam James
2024-06-06  6:56 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-10-07 15:11 Florian Schmaus
2023-08-09 13:32 Florian Schmaus
2023-07-03  8:37 Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox