public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-02-29 18:04 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-02-29 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     5f5298fe82636046cb50893baf835bb468c4cb47
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 18:02:20 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 18:03:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5298fe

net-analyzer/greenbone-feed-sync: add missing pontos test dependency

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

 .../greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild     | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
index e354564f0634..7ae049456675 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} pypy3)
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=poetry
 inherit distutils-r1 systemd
 
@@ -16,7 +16,7 @@ LICENSE="GPL-3+"
 KEYWORDS="~amd64"
 IUSE="cron"
 
-DEPEND="
+COMMON_DEPEND="
 	acct-user/gvm
 	net-misc/rsync
 	>=net-analyzer/gvmd-22.5.0
@@ -24,9 +24,12 @@ DEPEND="
 	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
 	>=dev-python/shtab-1.6.5[${PYTHON_USEDEP}]
 "
-
+DEPEND="
+	${COMMON_DEPEND}
+	test? ( net-analyzer/pontos[${PYTHON_USEDEP}] )
+"
 RDEPEND="
-	${DEPEND}
+	${COMMON_DEPEND}
 	cron? ( virtual/cron )
 "
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-07-23  3:55 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2024-07-23  3:55 UTC (permalink / raw
  To: gentoo-commits

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

net-analyzer/greenbone-feed-sync: Stabilize 24.3.0-r1 amd64, #936504

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

 net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
index 9e06b6cd11bb..d62d82b0000a 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${P
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="cron"
 
 COMMON_DEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-07-04  8:25 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-07-04  8:25 UTC (permalink / raw
  To: gentoo-commits

commit:     1fb919b834b2ff3f0cdcbdd94402fd5e76dd7e50
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 08:07:16 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 08:21:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb919b8

net-analyzer/greenbone-feed-sync: revert "drop config file patching in src_test"

This essentially reverts commit 0375a7b2b589d7ffe2b73a3426d8c0abd4f4b38e, but
adjusts the sed comment to remove the reference to sandbox violations,
because this are not what we are seeing without the sed.

We also now use T to store config.py.orig, as it brings down the line
length.

Furthermore, we keep the "${WORKDIR}/${P}"/ part dropped, as it is
unnecessary.

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

 .../greenbone-feed-sync-24.3.0-r1.ebuild                    | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
index c5178e60a3c3..9e06b6cd11bb 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
@@ -38,6 +38,16 @@ RDEPEND="
 distutils_enable_tests unittest
 
 src_test() {
+	# Make a copy of the original config
+	cp greenbone/feed/sync/config.py "${T}"/config.py.orig || die
+
+	# Patch the config.py to not use files from /etc/gvm, as this may
+	# cause a PermissionError. See https://bugs.gentoo.org/932836#c10
+	sed -i \
+		-e 's:DEFAULT_CONFIG_FILE = "/etc/gvm/greenbone-feed-sync.toml":DEFAULT_CONFIG_FILE = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-feed-sync.toml":' \
+		-e 's:DEFAULT_ENTERPRISE_KEY_PATH = "/etc/gvm/greenbone-enterprise-feed-key":DEFAULT_ENTERPRISE_KEY_PATH = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-enterprise-feed-key":' \
+		greenbone/feed/sync/config.py || die
+
 	# Disable tests that require network access.
 	sed -i \
 		-e 's:test_do_not_run_as_root:_&:' \
@@ -50,6 +60,9 @@ src_test() {
 			tests/test_main.py || die
 
 	distutils-r1_src_test
+
+	# Restore config.py after test.
+	mv "${T}"/config.py.orig greenbone/feed/sync/config.py || die
 }
 
 python_install() {


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-06-28  1:00 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2024-06-28  1:00 UTC (permalink / raw
  To: gentoo-commits

commit:     15e9e9a9e7fc0b74a9dc3d386ebc402b876fba02
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Jun 28 00:26:25 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=15e9e9a9

net-analyzer/greenbone-feed-sync: fix mysterious overdependency on tomli

Since the original implementation of config file parsing, which
introduced a dependency on tomli, that dependency was conditional on
python <3.11, and used the stdlib tomllib where possible:

https://github.com/greenbone/greenbone-feed-sync/commit/25c50918e337c2bd77f277e6a946a46715656eec

And similarly reflected in the commit that added it as a dependency:

https://github.com/greenbone/greenbone-feed-sync/commit/e9d729030f1066c0bf9a273fc8d7b4397cd5dde0

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

 ...e-feed-sync-24.3.0.ebuild => greenbone-feed-sync-24.3.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
similarity index 96%
rename from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
rename to net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
index a29bec692a29..c5178e60a3c3 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0-r1.ebuild
@@ -20,7 +20,9 @@ COMMON_DEPEND="
 	acct-user/gvm
 	net-misc/rsync
 	>=net-analyzer/gvmd-22.5.0
-	>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		>dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+	' 3.10)
 	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
 	>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]
 "


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-04-16  7:05 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-04-16  7:05 UTC (permalink / raw
  To: gentoo-commits

commit:     0375a7b2b589d7ffe2b73a3426d8c0abd4f4b38e
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 06:59:57 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0375a7b2

net-analyzer/greenbone-feed-sync: drop config file patching in src_test

It turns out that, first, this is not necessary. At least I do not get
sandbox violations in src_test(). Second, it was broken anyways, as it
used $TARGET which is not defined in src_test() (only in python_test()).

Also drop the "${WORKDIR}/${P}" part used in the sed, simply exploit the
fact that we are in "${WORKDIR}/${P}" at this moment and use a relative
path.

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

 .../greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild  | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
index b4e72dcf6899..8bf819ca6397 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
@@ -36,15 +36,6 @@ RDEPEND="
 distutils_enable_tests unittest
 
 src_test() {
-	# Make a copy of the original config
-	cp "${WORKDIR}/${P}/greenbone/feed/sync/config.py" "${WORKDIR}/${P}/greenbone/feed/sync/config.py.orig" || die
-
-	# Patch the config.py to avoid sandbox violation.
-	sed -i \
-		-e 's:DEFAULT_CONFIG_FILE = "/etc/gvm/greenbone-feed-sync.toml":DEFAULT_CONFIG_FILE = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-feed-sync.toml":' \
-		-e 's:DEFAULT_ENTERPRISE_KEY_PATH = "/etc/gvm/greenbone-enterprise-feed-key":DEFAULT_ENTERPRISE_KEY_PATH = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-enterprise-feed-key":' \
-		"${WORKDIR}/${P}/greenbone/feed/sync/config.py" || die
-
 	# Disable tests that require network access.
 	sed -i \
 		-e 's:test_do_not_run_as_root:_&:' \
@@ -54,12 +45,9 @@ src_test() {
 		-e 's:test_sync_nvts_verbose:_&:' \
 		-e 's:test_sync_nvts:_&:' \
 		-e 's:test_sync_nvts_error:_&:' \
-		    "${WORKDIR}/${P}"/tests/test_main.py || die
+			tests/test_main.py || die
 
 	distutils-r1_src_test
-
-	# Restore config.py after test.
-	mv "${WORKDIR}/${P}/greenbone/feed/sync/config.py.orig" "${WORKDIR}/${P}/greenbone/feed/sync/config.py" || die
 }
 
 python_install() {


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-04-16  7:05 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-04-16  7:05 UTC (permalink / raw
  To: gentoo-commits

commit:     aae8bb9df737cc4167f435ec47cf4a54e01868a8
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 07:03:27 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae8bb9d

net-analyzer/greenbone-feed-sync: fix variable declaration order

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

 net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
index 8bf819ca6397..a29bec692a29 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
@@ -11,8 +11,8 @@ DESCRIPTION="New script for syncing the Greenbone Community Feed"
 HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
 SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
-SLOT="0"
 LICENSE="GPL-3+"
+SLOT="0"
 KEYWORDS="~amd64"
 IUSE="cron"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-04-16  7:05 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-04-16  7:05 UTC (permalink / raw
  To: gentoo-commits

commit:     95ff58738f8bf7225169b07148fc7edb1b7e0049
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Apr 13 06:02:02 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:04:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ff5873

net-analyzer/greenbone-feed-sync: drop 24.1.1

Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/greenbone-feed-sync/Manifest          |  1 -
 .../greenbone-feed-sync-24.1.1.ebuild              | 75 ----------------------
 2 files changed, 76 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index 231c9f429725..e516e8f26691 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1,2 +1 @@
 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4
-DIST greenbone-feed-sync-24.1.1.tar.gz 58806 BLAKE2B 01229e630584fc04a6c1806f06d6769cdf76adfdff7b8b97032dff908c7de41cb928a902a43da2407e03643e0f7a868cbad148e6fd1680b4c91eb7b953c6cf20 SHA512 bb8d7c2917fe5096dc1041df832a7880a2760dff049e139e6a9d453c4e24ff04557be3c4f52a785496f67820d0c7bc256f7bfd23617a4734e263b0bc725ae039

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
deleted file mode 100644
index 7ae049456675..000000000000
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 systemd
-
-DESCRIPTION="New script for syncing the Greenbone Community Feed"
-HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
-SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-3+"
-KEYWORDS="~amd64"
-IUSE="cron"
-
-COMMON_DEPEND="
-	acct-user/gvm
-	net-misc/rsync
-	>=net-analyzer/gvmd-22.5.0
-	dev-python/tomli[${PYTHON_USEDEP}]
-	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
-	>=dev-python/shtab-1.6.5[${PYTHON_USEDEP}]
-"
-DEPEND="
-	${COMMON_DEPEND}
-	test? ( net-analyzer/pontos[${PYTHON_USEDEP}] )
-"
-RDEPEND="
-	${COMMON_DEPEND}
-	cron? ( virtual/cron )
-"
-
-distutils_enable_tests unittest
-
-python_install() {
-	distutils-r1_python_install
-
-	# greenbone-feed-sync should not be run as root to avoid changing file permissions
-	insinto /etc/sudoers.d
-	newins - greenbone-feed-sync <<-EOF
-	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
-	EOF
-
-	fperms 0750 /etc/sudoers.d
-	fperms 0440 /etc/sudoers.d/greenbone-feed-sync
-
-	if use cron; then
-		exeinto /etc/cron.daily
-		newexe "${FILESDIR}"/${PN}.cron ${PN}
-	fi
-
-	systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	if [[ -n ${REPLACING_VERSIONS} ]]; then
-		return
-	fi
-
-	if use cron; then
-		elog
-		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
-		elog
-	fi
-
-	if systemd_is_booted; then
-		elog
-		elog "To enable the systemd timer, run the following command:"
-		elog "   systemctl enable --now greenbone-feed-sync.timer"
-		elog
-	fi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-04-16  7:05 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-04-16  7:05 UTC (permalink / raw
  To: gentoo-commits

commit:     dfe695dd7d07df54c4248fbe91b132ccfce1a88f
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Apr 13 06:06:53 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe695dd

net-analyzer/greenbone-feed-sync: add 24.3.0

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

 net-analyzer/greenbone-feed-sync/Manifest          |   1 +
 .../greenbone-feed-sync-24.3.0.ebuild              | 102 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index e516e8f26691..23d120d9afc1 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1 +1,2 @@
 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4
+DIST greenbone-feed-sync-24.3.0.tar.gz 58949 BLAKE2B 10260850dad8781682e9f3e3eb31faa4139080b3c5661261770fe28053df472b21b4e2ef98f258b5c634c26d543313da30bb01d9eadfdb8ea8e7b7b57205b7f5 SHA512 ac1ce1f0a2898997e5a330e9a186b6203b7593e5b847d23202c28e7b3b7be1556001cc6d8ba5abd7077d1b51e0f21640728f78659ecf9a60eede28ea483344b4

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
new file mode 100644
index 000000000000..b4e72dcf6899
--- /dev/null
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.3.0.ebuild
@@ -0,0 +1,102 @@
+# 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 systemd
+
+DESCRIPTION="New script for syncing the Greenbone Community Feed"
+HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
+SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+IUSE="cron"
+
+COMMON_DEPEND="
+	acct-user/gvm
+	net-misc/rsync
+	>=net-analyzer/gvmd-22.5.0
+	>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
+	>=dev-python/shtab-1.7.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${COMMON_DEPEND}
+	test? ( >=net-analyzer/pontos-22.12.2[${PYTHON_USEDEP}] )
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	cron? ( virtual/cron )
+"
+
+distutils_enable_tests unittest
+
+src_test() {
+	# Make a copy of the original config
+	cp "${WORKDIR}/${P}/greenbone/feed/sync/config.py" "${WORKDIR}/${P}/greenbone/feed/sync/config.py.orig" || die
+
+	# Patch the config.py to avoid sandbox violation.
+	sed -i \
+		-e 's:DEFAULT_CONFIG_FILE = "/etc/gvm/greenbone-feed-sync.toml":DEFAULT_CONFIG_FILE = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-feed-sync.toml":' \
+		-e 's:DEFAULT_ENTERPRISE_KEY_PATH = "/etc/gvm/greenbone-enterprise-feed-key":DEFAULT_ENTERPRISE_KEY_PATH = "'"${WORKDIR}/${P}-${TARGET}"'/install/etc/gvm/greenbone-enterprise-feed-key":' \
+		"${WORKDIR}/${P}/greenbone/feed/sync/config.py" || die
+
+	# Disable tests that require network access.
+	sed -i \
+		-e 's:test_do_not_run_as_root:_&:' \
+		-e 's:test_sync_nvts:_&:' \
+		-e 's:test_sync_nvts_quiet:_&:' \
+		-e 's:test_sync_nvts_rsync_error:_&:' \
+		-e 's:test_sync_nvts_verbose:_&:' \
+		-e 's:test_sync_nvts:_&:' \
+		-e 's:test_sync_nvts_error:_&:' \
+		    "${WORKDIR}/${P}"/tests/test_main.py || die
+
+	distutils-r1_src_test
+
+	# Restore config.py after test.
+	mv "${WORKDIR}/${P}/greenbone/feed/sync/config.py.orig" "${WORKDIR}/${P}/greenbone/feed/sync/config.py" || die
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	# greenbone-feed-sync should not be run as root to avoid changing file permissions
+	insinto /etc/sudoers.d
+	newins - greenbone-feed-sync <<-EOF
+	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
+	EOF
+
+	fperms 0750 /etc/sudoers.d
+	fperms 0440 /etc/sudoers.d/greenbone-feed-sync
+
+	if use cron; then
+		exeinto /etc/cron.daily
+		newexe "${FILESDIR}"/${PN}.cron ${PN}
+	fi
+
+	systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	if [[ -n ${REPLACING_VERSIONS} ]]; then
+		return
+	fi
+
+	if use cron; then
+		elog
+		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
+		elog
+	fi
+
+	if systemd_is_booted; then
+		elog
+		elog "To enable the systemd timer, run the following command:"
+		elog "   systemctl enable --now greenbone-feed-sync.timer"
+		elog
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-02-29  8:24 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-02-29  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     523e062c0dfb4d1f688c552e3962eae7e7038835
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 08:23:30 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 08:23:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523e062c

net-analyzer/greenbone-feed-sync: enable tests, minor style fixes

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

 .../greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild         | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
index fefd8988d4cf..e354564f0634 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
@@ -15,7 +15,6 @@ SLOT="0"
 LICENSE="GPL-3+"
 KEYWORDS="~amd64"
 IUSE="cron"
-RESTRICT="test"
 
 DEPEND="
 	acct-user/gvm
@@ -31,14 +30,17 @@ RDEPEND="
 	cron? ( virtual/cron )
 "
 
+distutils_enable_tests unittest
+
 python_install() {
 	distutils-r1_python_install
 
-	#greenbone-feed-sync should not be run as root to avoid changing file permissions
+	# greenbone-feed-sync should not be run as root to avoid changing file permissions
 	insinto /etc/sudoers.d
 	newins - greenbone-feed-sync <<-EOF
 	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
-EOF
+	EOF
+
 	fperms 0750 /etc/sudoers.d
 	fperms 0440 /etc/sudoers.d/greenbone-feed-sync
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-02-29  8:24 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2024-02-29  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     20506fc271fb085875d06d350c8980646168e4a8
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Feb 28 22:29:23 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 08:23:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20506fc2

net-analyzer/greenbone-feed-sync: add 24.1.1

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

 net-analyzer/greenbone-feed-sync/Manifest          |  1 +
 .../greenbone-feed-sync-24.1.1.ebuild              | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index e516e8f26691..231c9f429725 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1 +1,2 @@
 DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4
+DIST greenbone-feed-sync-24.1.1.tar.gz 58806 BLAKE2B 01229e630584fc04a6c1806f06d6769cdf76adfdff7b8b97032dff908c7de41cb928a902a43da2407e03643e0f7a868cbad148e6fd1680b4c91eb7b953c6cf20 SHA512 bb8d7c2917fe5096dc1041df832a7880a2760dff049e139e6a9d453c4e24ff04557be3c4f52a785496f67820d0c7bc256f7bfd23617a4734e263b0bc725ae039

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
new file mode 100644
index 000000000000..fefd8988d4cf
--- /dev/null
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-24.1.1.ebuild
@@ -0,0 +1,70 @@
+# 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 systemd
+
+DESCRIPTION="New script for syncing the Greenbone Community Feed"
+HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
+SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+IUSE="cron"
+RESTRICT="test"
+
+DEPEND="
+	acct-user/gvm
+	net-misc/rsync
+	>=net-analyzer/gvmd-22.5.0
+	dev-python/tomli[${PYTHON_USEDEP}]
+	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
+	>=dev-python/shtab-1.6.5[${PYTHON_USEDEP}]
+"
+
+RDEPEND="
+	${DEPEND}
+	cron? ( virtual/cron )
+"
+
+python_install() {
+	distutils-r1_python_install
+
+	#greenbone-feed-sync should not be run as root to avoid changing file permissions
+	insinto /etc/sudoers.d
+	newins - greenbone-feed-sync <<-EOF
+	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
+EOF
+	fperms 0750 /etc/sudoers.d
+	fperms 0440 /etc/sudoers.d/greenbone-feed-sync
+
+	if use cron; then
+		exeinto /etc/cron.daily
+		newexe "${FILESDIR}"/${PN}.cron ${PN}
+	fi
+
+	systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	if [[ -n ${REPLACING_VERSIONS} ]]; then
+		return
+	fi
+
+	if use cron; then
+		elog
+		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
+		elog
+	fi
+
+	if systemd_is_booted; then
+		elog
+		elog "To enable the systemd timer, run the following command:"
+		elog "   systemctl enable --now greenbone-feed-sync.timer"
+		elog
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2024-02-28 20:50 Jakov Smolić
  0 siblings, 0 replies; 17+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
  To: gentoo-commits

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

net-analyzer/greenbone-feed-sync: Stabilize 23.10.0 amd64, #925668

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

 net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild
index 6fe9ba987609..53a297aa1af6 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.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/greenbone-feed-sync/archive/refs/tags/v${P
 
 SLOT="0"
 LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cron"
 RESTRICT="test"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-11-21  8:01 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-11-21  8:01 UTC (permalink / raw
  To: gentoo-commits

commit:     5e8b4228f5917cd9233481ed944a922b8572f970
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Nov 15 05:58:39 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 08:00:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8b4228

net-analyzer/greenbone-feed-sync: add 23.10.0, drop 23.8.0-r1

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

 net-analyzer/greenbone-feed-sync/Manifest                               | 2 +-
 ...ne-feed-sync-23.8.0-r1.ebuild => greenbone-feed-sync-23.10.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index 97acd673e17e..e516e8f26691 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1 +1 @@
-DIST greenbone-feed-sync-23.8.0.tar.gz 63822 BLAKE2B 01aa2f9dbea50049a6681cfe0c1335fd5de9f789fd2bd059410b56cdc8cff81211943fa56b8fd0f38ab58b91ed06516404ac9a5479724fedd75d0b10f7b627aa SHA512 36937bd9db10a40382ef2fedbe47a7acb5b7d4c7be41eb16e999e00757b40f54b614c75387acf997d10061b15b07b5bc3562d218109089a752496a4f346ae6be
+DIST greenbone-feed-sync-23.10.0.tar.gz 63001 BLAKE2B 5566cef8649e578cb498f0a5bc1e41f237a3702698b2012f3a62d8f5f647e6b1e3253c7d92e4a9fc82ad7991de8010b94ba8c1194a820511c49e5f5262e471ff SHA512 fe5864c4e650f17a072cd6e4153779ea33ad8f0ac28e92114b40c465a04b70791b603ccbe82934dcdad13fce2003e2d9786cec75854efecf8aefa74c7ce178f4

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild
similarity index 97%
rename from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
rename to net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild
index 342dedc3b7ce..6fe9ba987609 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.10.0.ebuild
@@ -22,7 +22,7 @@ DEPEND="
 	net-misc/rsync
 	>=net-analyzer/gvmd-22.5.0
 	dev-python/tomli[${PYTHON_USEDEP}]
-	dev-python/rich[${PYTHON_USEDEP}]
+	>=dev-python/rich-13.2.0[${PYTHON_USEDEP}]
 "
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-10-14 15:05 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-10-14 15:05 UTC (permalink / raw
  To: gentoo-commits

commit:     488eaf40a3dbfce5db3507238cc87de7026e90ff
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Oct 14 14:08:45 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 15:05:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488eaf40

net-analyzer/greenbone-feed-sync: fix /etc/sudoers.d/greenbone-feed-sync permissions

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

 ...one-feed-sync-23.8.0.ebuild => greenbone-feed-sync-23.8.0-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
similarity index 95%
rename from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild
rename to net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
index 91fee4225921..342dedc3b7ce 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0-r1.ebuild
@@ -38,6 +38,8 @@ python_install() {
 	newins - greenbone-feed-sync <<-EOF
 	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
 EOF
+	fperms 0750 /etc/sudoers.d
+	fperms 0440 /etc/sudoers.d/greenbone-feed-sync
 
 	if use cron; then
 		exeinto /etc/cron.daily


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-10-04  7:44 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-10-04  7:44 UTC (permalink / raw
  To: gentoo-commits

commit:     7d02e6c62219a38fff584814ed2a5fc1c6e4713e
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Mon Sep 25 10:21:35 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 07:44:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d02e6c6

net-analyzer/greenbone-feed-sync: drop 23.7.0

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

 net-analyzer/greenbone-feed-sync/Manifest          |  1 -
 .../greenbone-feed-sync-23.7.0.ebuild              | 67 ----------------------
 2 files changed, 68 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index be45e9d47652..97acd673e17e 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1,2 +1 @@
-DIST greenbone-feed-sync-23.7.0.tar.gz 62500 BLAKE2B ff59b9d60159062d8dd1383368ccd54c946297d052d6b66c6cee8e61a1f2a7bdbf5d5a73d1442ae6bba68eda132c5eb0151bd13fbe963d0ac10de4885b8b9ec6 SHA512 b2357e400e1b8fccf64815ef80fb9800d06260d946a2aca946c887101a90833407c54f6e9b022fbb418fb08bfd5bc4a007a1b340f6deed143bb822ed1118fc64
 DIST greenbone-feed-sync-23.8.0.tar.gz 63822 BLAKE2B 01aa2f9dbea50049a6681cfe0c1335fd5de9f789fd2bd059410b56cdc8cff81211943fa56b8fd0f38ab58b91ed06516404ac9a5479724fedd75d0b10f7b627aa SHA512 36937bd9db10a40382ef2fedbe47a7acb5b7d4c7be41eb16e999e00757b40f54b614c75387acf997d10061b15b07b5bc3562d218109089a752496a4f346ae6be

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.7.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.7.0.ebuild
deleted file mode 100644
index dbbef48f42a7..000000000000
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.7.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=poetry
-inherit distutils-r1 systemd
-
-DESCRIPTION="New script for syncing the Greenbone Community Feed"
-HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
-SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-3+"
-KEYWORDS="~amd64 ~x86"
-IUSE="cron"
-RESTRICT="test"
-
-DEPEND="
-	acct-user/gvm
-	net-misc/rsync
-	>=net-analyzer/gvmd-22.5.0
-	dev-python/tomli[${PYTHON_USEDEP}]
-	dev-python/rich[${PYTHON_USEDEP}]
-"
-
-RDEPEND="
-	${DEPEND}
-	cron? ( virtual/cron )
-"
-
-python_install() {
-	distutils-r1_python_install
-
-	#greenbone-feed-sync should not be run as root to avoid changing file permissions
-	insinto /etc/sudoers.d
-	newins - greenbone-feed-sync <<-EOF
-	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
-EOF
-
-	if use cron; then
-		exeinto /etc/cron.daily
-		newexe "${FILESDIR}"/${PN}.cron ${PN}
-	fi
-
-	systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	if [[ -n ${REPLACING_VERSIONS} ]]; then
-		return
-	fi
-
-	if use cron; then
-		elog
-		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
-		elog
-	fi
-
-	if systemd_is_booted; then
-		elog
-		elog "To enable the systemd timer, run the following command:"
-		elog "   systemctl enable --now greenbone-feed-sync.timer"
-		elog
-	fi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-09-25 10:15 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-09-25 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     0d2d88f34936fb54005c8dcf0dbe8eb1aaebf3d3
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Mon Sep 25 10:02:26 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 10:15:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2d88f3

net-analyzer/greenbone-feed-sync: add 23.8.0

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

 net-analyzer/greenbone-feed-sync/Manifest          |  1 +
 .../greenbone-feed-sync-23.8.0.ebuild              | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index 4d52a242dac8..be45e9d47652 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1 +1,2 @@
 DIST greenbone-feed-sync-23.7.0.tar.gz 62500 BLAKE2B ff59b9d60159062d8dd1383368ccd54c946297d052d6b66c6cee8e61a1f2a7bdbf5d5a73d1442ae6bba68eda132c5eb0151bd13fbe963d0ac10de4885b8b9ec6 SHA512 b2357e400e1b8fccf64815ef80fb9800d06260d946a2aca946c887101a90833407c54f6e9b022fbb418fb08bfd5bc4a007a1b340f6deed143bb822ed1118fc64
+DIST greenbone-feed-sync-23.8.0.tar.gz 63822 BLAKE2B 01aa2f9dbea50049a6681cfe0c1335fd5de9f789fd2bd059410b56cdc8cff81211943fa56b8fd0f38ab58b91ed06516404ac9a5479724fedd75d0b10f7b627aa SHA512 36937bd9db10a40382ef2fedbe47a7acb5b7d4c7be41eb16e999e00757b40f54b614c75387acf997d10061b15b07b5bc3562d218109089a752496a4f346ae6be

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild
new file mode 100644
index 000000000000..91fee4225921
--- /dev/null
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.8.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 systemd
+
+DESCRIPTION="New script for syncing the Greenbone Community Feed"
+HOMEPAGE="https://github.com/greenbone/greenbone-feed-sync"
+SRC_URI="https://github.com/greenbone/greenbone-feed-sync/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+IUSE="cron"
+RESTRICT="test"
+
+DEPEND="
+	acct-user/gvm
+	net-misc/rsync
+	>=net-analyzer/gvmd-22.5.0
+	dev-python/tomli[${PYTHON_USEDEP}]
+	dev-python/rich[${PYTHON_USEDEP}]
+"
+
+RDEPEND="
+	${DEPEND}
+	cron? ( virtual/cron )
+"
+
+python_install() {
+	distutils-r1_python_install
+
+	#greenbone-feed-sync should not be run as root to avoid changing file permissions
+	insinto /etc/sudoers.d
+	newins - greenbone-feed-sync <<-EOF
+	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
+EOF
+
+	if use cron; then
+		exeinto /etc/cron.daily
+		newexe "${FILESDIR}"/${PN}.cron ${PN}
+	fi
+
+	systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	if [[ -n ${REPLACING_VERSIONS} ]]; then
+		return
+	fi
+
+	if use cron; then
+		elog
+		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
+		elog
+	fi
+
+	if systemd_is_booted; then
+		elog
+		elog "To enable the systemd timer, run the following command:"
+		elog "   systemctl enable --now greenbone-feed-sync.timer"
+		elog
+	fi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-07-24 11:26 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-07-24 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     abcbd4679c410f1c04344aa4fc92183b0a3b30a3
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Jul 20 20:25:29 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 11:26:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcbd467

net-analyzer/greenbone-feed-sync: add 23.7.0, drop 23.6.0

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

 net-analyzer/greenbone-feed-sync/Manifest                               | 2 +-
 ...enbone-feed-sync-23.6.0.ebuild => greenbone-feed-sync-23.7.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/greenbone-feed-sync/Manifest b/net-analyzer/greenbone-feed-sync/Manifest
index 04427bbb47c1..4d52a242dac8 100644
--- a/net-analyzer/greenbone-feed-sync/Manifest
+++ b/net-analyzer/greenbone-feed-sync/Manifest
@@ -1 +1 @@
-DIST greenbone-feed-sync-23.6.0.tar.gz 65420 BLAKE2B f5f30867ff47f10832b175de1c04136d9b42d7662f679f1f87d00684aacde575093a7c199566c04959faa8b26373d4b3e64cc6e7afaf6bca0f80aab095b0d40f SHA512 20427f183ef2c278c96d39ff9ad82e8cbadae12fb2ef4518186993b67dd4c0f5de4a11f375684154daa530c8807dfda07d654a15e580f7886fcedf285531829d
+DIST greenbone-feed-sync-23.7.0.tar.gz 62500 BLAKE2B ff59b9d60159062d8dd1383368ccd54c946297d052d6b66c6cee8e61a1f2a7bdbf5d5a73d1442ae6bba68eda132c5eb0151bd13fbe963d0ac10de4885b8b9ec6 SHA512 b2357e400e1b8fccf64815ef80fb9800d06260d946a2aca946c887101a90833407c54f6e9b022fbb418fb08bfd5bc4a007a1b340f6deed143bb822ed1118fc64

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.7.0.ebuild
similarity index 100%
rename from net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild
rename to net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.7.0.ebuild


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/
@ 2023-07-03  8:15 Florian Schmaus
  0 siblings, 0 replies; 17+ messages in thread
From: Florian Schmaus @ 2023-07-03  8:15 UTC (permalink / raw
  To: gentoo-commits

commit:     b570bde60da1d4ab3e446b34744416e4f9685717
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 07:50:19 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 08:15:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b570bde6

net-analyzer/greenbone-feed-sync: remove unnecessary function declaration and style fixes

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

 .../greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild         | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild
index ade285666c24..dbbef48f42a7 100644
--- a/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild
+++ b/net-analyzer/greenbone-feed-sync/greenbone-feed-sync-23.6.0.ebuild
@@ -30,10 +30,6 @@ RDEPEND="
 	cron? ( virtual/cron )
 "
 
-python_compile() {
-	distutils-r1_python_compile
-}
-
 python_install() {
 	distutils-r1_python_install
 
@@ -43,7 +39,7 @@ python_install() {
 	gvm ALL = NOPASSWD: /usr/bin/greenbone-feed-sync
 EOF
 
-	if use cron ; then
+	if use cron; then
 		exeinto /etc/cron.daily
 		newexe "${FILESDIR}"/${PN}.cron ${PN}
 	fi
@@ -56,7 +52,7 @@ pkg_postinst() {
 		return
 	fi
 
-	if use cron ; then
+	if use cron; then
 		elog
 		elog "Edit ${EROOT}/etc/cron.weekly/greenbone-feed-sync to activate daily feed update!"
 		elog


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

end of thread, other threads:[~2024-07-23  3:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 18:04 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/greenbone-feed-sync/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-07-23  3:55 Sam James
2024-07-04  8:25 Florian Schmaus
2024-06-28  1:00 Sam James
2024-04-16  7:05 Florian Schmaus
2024-04-16  7:05 Florian Schmaus
2024-04-16  7:05 Florian Schmaus
2024-04-16  7:05 Florian Schmaus
2024-02-29  8:24 Florian Schmaus
2024-02-29  8:24 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-11-21  8:01 Florian Schmaus
2023-10-14 15:05 Florian Schmaus
2023-10-04  7:44 Florian Schmaus
2023-09-25 10:15 Florian Schmaus
2023-07-24 11:26 Florian Schmaus
2023-07-03  8:15 Florian Schmaus

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