* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2015-11-18 15:57 Justin Lecher
0 siblings, 0 replies; 33+ messages in thread
From: Justin Lecher @ 2015-11-18 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 505e437daec5d9013aeadc73671de4d51fc6bdf2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 15:48:01 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 15:48:01 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505e437d
net-analyzer/openvas-scanner: Drop old
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 3 -
.../openvas-scanner/openvas-scanner-4.0.6.ebuild | 67 --------------------
.../openvas-scanner/openvas-scanner-4.0.7.ebuild | 67 --------------------
.../openvas-scanner/openvas-scanner-5.0.3.ebuild | 71 ----------------------
4 files changed, 208 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index fce47ad..52e1f65 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,4 +1 @@
-DIST openvas-scanner-4.0.6.tar.gz 215715 SHA256 2e851f3766eed9ca19e06258ceca1b1e9d7a8d88c017dab69707697baca6bf17 SHA512 609cd1d423b233b40233e3292d17ce6839a07739a39015e1bd7fbc688ecce6d8dbec414999010c11b6dd4a7313c7dd307e4d91d0eb89ede8fe25659080dab20c WHIRLPOOL ab246e81141de722a5a301817ba52b3b02da84c9261d5e75b241fdf3f8a9e8102180a40b6b708d0c71692165302f56ff5de54afe847d43adf3db2f72fe1711f1
-DIST openvas-scanner-4.0.7.tar.gz 216116 SHA256 be450e1e1094d6f56edf2fd06efba6d882bf3a1ec369c30d50c81056009ebc64 SHA512 3b7387e207be72437866e2ef883257123ab5eaa6290dcd4efb60e49a536d6527a0854058777e5b397554baa8c82e09e5a3b521358cb11cec78396b25e6b156dd WHIRLPOOL a4b57cec6380c27cbf3caa4e3edaf288d24d24beff1e97756fc4c2168e4356c95a60624ee84f5badb456d91bdb4521ad38d771816dd57a8038b5f5afd6b9d15b
-DIST openvas-scanner-5.0.3.tar.gz 235795 SHA256 e5d3bfcfdc8955195b60ae643d81484dc2a800179392dbd71cb8d0f7d183356b SHA512 bfa76b328aec663fe13cf9e65412d7cbc729b66bcae76b34a295125d6f8586bb7873c3c1eebd897c82a549191baa8c6b9cf08f0a8aa148f70097eb76e944ef5b WHIRLPOOL d4dabd73faf96d353809763f4896ea6991fa5e2a05be5734ad8f64a6080c7346c96ab6db76d15046d2c29ea6b34fc50dd92a694748e7bfa60c67c080fce7e675
DIST openvas-scanner-5.0.4.tar.gz 236282 SHA256 f35bc66fe8590e3875e224a123dc110b7d32093a96887288d9e4fd18c547b14c SHA512 51267f832a104897a497b5dc71d1b804de4db77742e2234d111a00b1e0e01536613b16ff48d23a37013178b016b39408a25d18a694980c7e6fc600824e05e149 WHIRLPOOL eda77d5b6adc25c5ee8828bb82ca6e736885ea13b52c9484763967738ad01d1c9181a65ff07dc4aa5c6206c020ece177ccecdbf795a55aad6884d42b4c9692c1
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-4.0.6.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-4.0.6.ebuild
deleted file mode 100644
index 14d6dd7..0000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-4.0.6.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvassd
-
-DL_ID=1959
-
-DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE=""
-
-RDEPEND="
- >=net-analyzer/openvas-libraries-7.0.9
- !net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.0.3-bsdsource.patch
- "${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch
- "${FILESDIR}"/${PN}-4.0.3-rulesdir.patch
- "${FILESDIR}"/${PN}-4.0.3-run.patch
- )
-
-src_prepare() {
- sed \
- -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
- -i CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
-
- insinto /etc/openvas
- doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
-
- insinto /etc/logrotate.d
- doins "${FILESDIR}"/${MY_PN}.logrotate
-
- dodoc "${FILESDIR}"/openvas-nvt-sync-cron
-
- systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-}
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-4.0.7.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-4.0.7.ebuild
deleted file mode 100644
index 8c67f1a..0000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-4.0.7.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvassd
-
-DL_ID=2101
-
-DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE=""
-
-RDEPEND="
- >=net-analyzer/openvas-libraries-7.0.9
- !net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.0.3-bsdsource.patch
- "${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch
- "${FILESDIR}"/${PN}-4.0.3-rulesdir.patch
- "${FILESDIR}"/${PN}-4.0.3-run.patch
- )
-
-src_prepare() {
- sed \
- -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
- -i CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
-
- insinto /etc/openvas
- doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
-
- insinto /etc/logrotate.d
- doins "${FILESDIR}"/${MY_PN}.logrotate
-
- dodoc "${FILESDIR}"/openvas-nvt-sync-cron
-
- systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-}
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0.3.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0.3.ebuild
deleted file mode 100644
index 1530808..0000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvassd
-
-DL_ID=2071
-
-DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
-IUSE=""
-
-RDEPEND="
- app-crypt/gpgme
- >=dev-libs/glib-2.16:2
- dev-libs/libgcrypt:0
- >=net-analyzer/openvas-libraries-8.0.2
- !net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}"/${P/_beta/+beta}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch
- "${FILESDIR}"/${PN}-4.0.3-rulesdir.patch
- "${FILESDIR}"/${PN}-4.0.3-run.patch
- )
-
-src_prepare() {
- sed \
- -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
- -i CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DLOCALSTATEDIR="${EPREFIX}/var"
- -DSYSCONFDIR="${EPREFIX}/etc"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
-
- insinto /etc/openvas
- doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
-
- insinto /etc/logrotate.d
- doins "${FILESDIR}"/${MY_PN}.logrotate
-
- dodoc "${FILESDIR}"/openvas-nvt-sync-cron
-
- systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
- systemd_dounit "${FILESDIR}"/${MY_PN}.service
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2015-12-07 8:22 Justin Lecher
0 siblings, 0 replies; 33+ messages in thread
From: Justin Lecher @ 2015-12-07 8:22 UTC (permalink / raw
To: gentoo-commits
commit: 61b1e331d0940eb979b7160a0249a7668d77a84c
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 08:06:56 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 08:22:31 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b1e331
net-analyzer/openvas-scanner: Rename config.d file to match init script
Thanks for the report by Daniel Neto
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=567186
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../{openvas-scanner-5.0.4.ebuild => openvas-scanner-5.0.4-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
similarity index 96%
rename from net-analyzer/openvas-scanner/openvas-scanner-5.0.4.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
index d1ca7b5..29a0bdb 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
@@ -59,7 +59,7 @@ src_install() {
insinto /etc/openvas
doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf
- dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
+ dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${MY_PN}
insinto /etc/logrotate.d
doins "${FILESDIR}"/${MY_PN}.logrotate
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2018-12-31 23:43 Andreas Sturmlechner
0 siblings, 0 replies; 33+ messages in thread
From: Andreas Sturmlechner @ 2018-12-31 23:43 UTC (permalink / raw
To: gentoo-commits
commit: 6a66475292c5b70e8e308b6fba4024d1e9a79414
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 23:43:06 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 23:43:06 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a664752
net-analyzer/openvas-scanner: EAPI-7 bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../openvas-scanner-5.0.4-r1.ebuild | 28 ++++++++++++----------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
index 4d550d82f4f..ac7d2ea314e 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvassd
+EAPI=7
DL_ID=2129
+MY_PN=openvassd
+inherit cmake-utils systemd
DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)"
HOMEPAGE="http://www.openvas.org/"
@@ -15,18 +13,22 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE=""
-RDEPEND="
+DEPEND="
app-crypt/gpgme
>=dev-libs/glib-2.16:2
dev-libs/libgcrypt:0
>=net-analyzer/openvas-libraries-8.0.2
+"
+RDEPEND="${DEPEND}
!net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ !net-analyzer/openvas-server
+"
+BDEPEND="
+ virtual/pkgconfig
+"
S="${WORKDIR}"/${P/_beta/+beta}
@@ -34,13 +36,13 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch
"${FILESDIR}"/${PN}-4.0.3-rulesdir.patch
"${FILESDIR}"/${PN}-4.0.3-run.patch
- )
+)
src_prepare() {
+ cmake-utils_src_prepare
sed \
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \
-i CMakeLists.txt || die
- cmake-utils_src_prepare
}
src_configure() {
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2019-01-03 19:39 Hanno Boeck
0 siblings, 0 replies; 33+ messages in thread
From: Hanno Boeck @ 2019-01-03 19:39 UTC (permalink / raw
To: gentoo-commits
commit: a637da2808e35b4d52d7ada5e94f93e45ba58347
Author: Hanno <hanno <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 3 19:38:52 2019 +0000
Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
CommitDate: Thu Jan 3 19:38:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a637da28
net-analyzer/openvas-scanner: Remove myself as maintainer
Signed-off-by: Hanno Boeck <hanno <AT> gentoo.org>
Package-Manager: Portage-2.3.53, Repoman-2.3.12
net-analyzer/openvas-scanner/metadata.xml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net-analyzer/openvas-scanner/metadata.xml b/net-analyzer/openvas-scanner/metadata.xml
index 38ce6c17a3f..6f49eba8f49 100644
--- a/net-analyzer/openvas-scanner/metadata.xml
+++ b/net-analyzer/openvas-scanner/metadata.xml
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>hanno@gentoo.org</email>
- </maintainer>
+<!-- maintainer-needed -->
</pkgmetadata>
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2019-12-21 15:06 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2019-12-21 15:06 UTC (permalink / raw
To: gentoo-commits
commit: 46bf3c3f656a8f8a4779b6ec03d2b7829c4f4d1c
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Wed Dec 18 20:27:56 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 15:06:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46bf3c3f
net-analyzer/openvas-scanner: drop old 5.1.3 from !RDEPEND
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
index 1700d942181..b1ba0ec555d 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
@@ -31,9 +31,7 @@ DEPEND="
"
RDEPEND="
- ${DEPEND}
- !~net-analyzer/openvas-scanner-5.1.3
- !net-analyzer/openvas-tools"
+ ${DEPEND}"
BDEPEND="
sys-devel/bison
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2020-02-08 17:06 David Seifert
0 siblings, 0 replies; 33+ messages in thread
From: David Seifert @ 2020-02-08 17:06 UTC (permalink / raw
To: gentoo-commits
commit: 25785a799dfc0d9fbf5cd236129677d76df96cba
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 17:05:43 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 17:05:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25785a79
net-analyzer/openvas-scanner: [QA] Remove unnecessary -DCMAKE_INSTALL_PREFIX arguments
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
index aeedaa6e04f..a1e0d34ebf6 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
@@ -73,7 +73,6 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
"-DLOCALSTATEDIR=${EPREFIX}/var"
"-DSYSCONFDIR=${EPREFIX}/etc"
)
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2020-03-03 6:03 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2020-03-03 6:03 UTC (permalink / raw
To: gentoo-commits
commit: c18116619a756882c93992ad27f4e4aad1c6ad9c
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Sun Mar 1 12:19:17 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Mar 3 05:16:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1811661
net-analyzer/openvas-scanner: drop myself as a maintainer
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/metadata.xml | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/net-analyzer/openvas-scanner/metadata.xml b/net-analyzer/openvas-scanner/metadata.xml
index 50c99b9436c..b3cbf9d7d2e 100644
--- a/net-analyzer/openvas-scanner/metadata.xml
+++ b/net-analyzer/openvas-scanner/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>hasan.calisir@psauxit.com</email>
- <name>Hasan ÇALIŞIR</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<use>
<flag name="cron">Install a cron job to update GVM's feed daily.</flag>
<flag name="extras">Html docs support</flag>
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: f5bf8e21374e6b35d4a9bde1e7ed30d56a81f63b
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:42:06 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 12:57:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bf8e21
net-analyzer/openvas-scanner: drop old
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 -
.../openvas-scanner/openvas-scanner-7.0.0.ebuild | 116 ---------------------
2 files changed, 117 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index ba474e8a379..45b50efee46 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,3 +1,2 @@
DIST openvas-scanner-6.0.1.tar.gz 522100 BLAKE2B af82b41736329bd90ba1ea73a0ace36d4115375f81a7aaff5d3bd50f21cfa3195cdf4012aa952da52c4103a31475de5c5790ef3e2e36180aa06737371fa0e5a0 SHA512 db4087fffe1d50e232fa1e51325cf7f142237e2bd3cc5dcaa1e7058a4871300f352f2c0e700eae72ea9412c347b072e9d1f2eca508b27cb30f36c6895ec95147
-DIST openvas-scanner-7.0.0.tar.gz 428304 BLAKE2B fa0a21127edd2223dbbf533b6c188729a1b6de4977e5667fbc1a45b2c426045cdc73eb58d05df24b8b39d0e47fb445fa704bd1b827bb5ea6403fdb83c6b01fd9 SHA512 ce3e78ce5e1575c5c37b6c2aa77ec8955754029832bafb3fcedd75b48dff309906a97bac052d206f6e93e9e72b8461a131558e849f70b3afce6280a7b06924d1
DIST openvas-scanner-7.0.1.tar.gz 429012 BLAKE2B 13fd0fef2ce88f6789da9f00e8f35329e915ebc74a29b3bd52af93c6b70292d055fa1159aec4041d79a785971a583eb514e8700d1d38a76775446e40af9b2fac SHA512 201ea02b25bf247320437ae5c82bdc95db981cc6bd99fdece9403573434db122cdc8db7b82a08cba34b6d67d5794b2364f798847c79b421495666adc95a02571
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-7.0.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-7.0.0.ebuild
deleted file mode 100644
index eeee5c6277a..00000000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-7.0.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake flag-o-matic toolchain-funcs
-
-MY_PN="openvas"
-MY_DN="openvassd"
-
-DESCRIPTION="Open Vulnerability Assessment Scanner"
-HOMEPAGE="https://www.greenbone.net/en/"
-SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2 GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="cron extras"
-
-DEPEND="
- acct-user/gvm
- app-crypt/gpgme:=
- dev-db/redis
- dev-libs/glib
- dev-libs/libgcrypt:=
- dev-libs/libksba
- >=net-analyzer/gvm-libs-11.0.0
- net-analyzer/net-snmp
- net-libs/gnutls:=
- net-libs/libpcap
- net-libs/libssh:="
-
-RDEPEND="
- ${DEPEND}"
-
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- extras? (
- app-doc/doxygen[dot]
- app-doc/xmltoman
- app-text/htmldoc
- dev-perl/CGI
- dev-perl/SQL-Translator
- )"
-
-BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
- sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "$S"/src/CMakeLists.txt || die
- # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
- if use extras; then
- if ! tc-is-clang; then
- local f
- for f in doc/*.in
- do
- sed -i \
- -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
- -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
- "${f}" || die "couldn't disable CLANG parsing"
- done
- fi
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use extras; then
- cmake_build -C "${BUILD_DIR}" doc
- cmake_build doc-full -C "${BUILD_DIR}" doc
- fi
- cmake_build rebuild_cache
-}
-
-src_install() {
- if use extras; then
- local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
- fi
- cmake_src_install
-
- if use cron; then
- # Install the cron job if they want it.
- exeinto /etc/gvm
- doexe "${FILESDIR}/gvm-feed-sync.sh"
- fowners gvm:gvm /etc/gvm/gvm-feed-sync.sh
-
- insinto /etc/cron.d
- newins "${FILESDIR}"/gvm-feed-sync.cron gvm
- fi
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/log/gvm
- fowners gvm:gvm /var/log/gvm
- keepdir /var/lib/openvas/{gnupg,plugins}
- fowners -R gvm:gvm /var/lib/openvas
-
- insinto /etc/openvas
- doins "${FILESDIR}/openvas.conf"
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 0e6dbfdb04bf7fb75e1099ca8a8e2df720d9a43a
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 17:57:58 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 12:57:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e6dbfdb
net-analyzer/openvas-scanner: fix tests in 7.0.1
Closes: https://bugs.gentoo.org/729864
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/15793
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
index 402a9e69659..812b342a1ca 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
@@ -16,7 +16,8 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $
SLOT="0"
LICENSE="GPL-2 GPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE="cron extras"
+IUSE="cron extras test"
+RESTRICT="!test? ( test )"
DEPEND="
acct-user/gvm
@@ -44,7 +45,8 @@ BDEPEND="
app-text/htmldoc
dev-perl/CGI
dev-perl/SQL-Translator
- )"
+ )
+ test? ( dev-libs/cgreen )"
BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
S="${WORKDIR}/${MY_PN}-${PV}"
@@ -84,6 +86,9 @@ src_compile() {
cmake_build doc-full -C "${BUILD_DIR}" doc
fi
cmake_build rebuild_cache
+ if use test; then
+ cmake_build tests
+ fi
}
src_install() {
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 991aca9e2954b23d329b36d035a3bb324e07ebcf
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:41:23 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 12:57:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=991aca9e
net-analyzer/openvas-scanner: Version bump to 7.0.1
Closes: https://bugs.gentoo.org/725900
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
.../openvas-scanner/openvas-scanner-7.0.1.ebuild | 116 +++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index d7b9bcd11fa..ba474e8a379 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1,3 @@
DIST openvas-scanner-6.0.1.tar.gz 522100 BLAKE2B af82b41736329bd90ba1ea73a0ace36d4115375f81a7aaff5d3bd50f21cfa3195cdf4012aa952da52c4103a31475de5c5790ef3e2e36180aa06737371fa0e5a0 SHA512 db4087fffe1d50e232fa1e51325cf7f142237e2bd3cc5dcaa1e7058a4871300f352f2c0e700eae72ea9412c347b072e9d1f2eca508b27cb30f36c6895ec95147
DIST openvas-scanner-7.0.0.tar.gz 428304 BLAKE2B fa0a21127edd2223dbbf533b6c188729a1b6de4977e5667fbc1a45b2c426045cdc73eb58d05df24b8b39d0e47fb445fa704bd1b827bb5ea6403fdb83c6b01fd9 SHA512 ce3e78ce5e1575c5c37b6c2aa77ec8955754029832bafb3fcedd75b48dff309906a97bac052d206f6e93e9e72b8461a131558e849f70b3afce6280a7b06924d1
+DIST openvas-scanner-7.0.1.tar.gz 429012 BLAKE2B 13fd0fef2ce88f6789da9f00e8f35329e915ebc74a29b3bd52af93c6b70292d055fa1159aec4041d79a785971a583eb514e8700d1d38a76775446e40af9b2fac SHA512 201ea02b25bf247320437ae5c82bdc95db981cc6bd99fdece9403573434db122cdc8db7b82a08cba34b6d67d5794b2364f798847c79b421495666adc95a02571
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
new file mode 100644
index 00000000000..402a9e69659
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake flag-o-matic toolchain-funcs
+
+MY_PN="openvas"
+MY_DN="openvassd"
+
+DESCRIPTION="Open Vulnerability Assessment Scanner"
+HOMEPAGE="https://www.greenbone.net/en/"
+SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2 GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="cron extras"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:=
+ dev-db/redis
+ dev-libs/glib
+ dev-libs/libgcrypt:=
+ dev-libs/libksba
+ >=net-analyzer/gvm-libs-11.0.1
+ net-analyzer/net-snmp
+ net-libs/gnutls:=
+ net-libs/libpcap
+ net-libs/libssh:="
+
+RDEPEND="
+ ${DEPEND}"
+
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ extras? (
+ app-doc/doxygen[dot]
+ app-doc/xmltoman
+ app-text/htmldoc
+ dev-perl/CGI
+ dev-perl/SQL-Translator
+ )"
+
+BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
+ sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "$S"/src/CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
+ if use extras; then
+ if ! tc-is-clang; then
+ local f
+ for f in doc/*.in
+ do
+ sed -i \
+ -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
+ -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
+ "${f}" || die "couldn't disable CLANG parsing"
+ done
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use extras; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use extras; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ if use cron; then
+ # Install the cron job if they want it.
+ exeinto /etc/gvm
+ doexe "${FILESDIR}/gvm-feed-sync.sh"
+ fowners gvm:gvm /etc/gvm/gvm-feed-sync.sh
+
+ insinto /etc/cron.d
+ newins "${FILESDIR}"/gvm-feed-sync.cron gvm
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/log/gvm
+ fowners gvm:gvm /var/log/gvm
+ keepdir /var/lib/openvas/{gnupg,plugins}
+ fowners -R gvm:gvm /var/lib/openvas
+
+ insinto /etc/openvas
+ doins "${FILESDIR}/openvas.conf"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2021-04-03 19:53 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2021-04-03 19:53 UTC (permalink / raw
To: gentoo-commits
commit: 46771c22aec3c41edbfaf4a2ceefcc16f63a302b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 3 19:25:31 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 3 19:52:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46771c22
net-analyzer/openvas-scanner: flag-o-matic-- (unused)
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild | 2 +-
net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
index 5d4642e49c5..8342a8512dc 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake flag-o-matic toolchain-funcs
+inherit cmake toolchain-funcs
MY_PN="openvas"
MY_DN="openvassd"
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
index 6b20b2711f2..c826f644aa4 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake flag-o-matic toolchain-funcs
+inherit cmake toolchain-funcs
MY_PN="openvas"
MY_DN="openvassd"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2021-04-12 22:50 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2021-04-12 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 56d9f42d92415b2f1baa455db71a722d534601bd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 06:17:15 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 12 22:50:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d9f42d
net-analyzer/openvas-scanner: fix variable references
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild | 2 +-
net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild | 4 ++--
net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
index 8342a8512dc..9dbdf06bee9 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-20.8.1.ebuild
@@ -59,7 +59,7 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
- sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "$S"/src/CMakeLists.txt || die
+ sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
if use extras; then
if ! tc-is-clang; then
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
index a1e0d34ebf6..cabd334cd52 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-6.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -55,7 +55,7 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
# QA-Fix | Correct FHS/Gentoo policy paths for 6.0.1
- sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "$S"/src/CMakeLists.txt || die
+ sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
# QA-Fix | Remove !CLANG doxygen warnings for 6.0.1
if use extras; then
if ! tc-is-clang; then
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
index c826f644aa4..6aae6a5c5fe 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
@@ -59,7 +59,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
cmake_src_prepare
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
- sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "$S"/src/CMakeLists.txt || die
+ sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
if use extras; then
if ! tc-is-clang; then
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2022-05-02 11:16 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2022-05-02 11:16 UTC (permalink / raw
To: gentoo-commits
commit: 802345d102fce55c7d9fa32035f4c437b8ac7920
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 09:35:23 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 2 11:16:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802345d1
net-analyzer/openvas-scanner: add 21.4.4
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
.../openvas-scanner/openvas-scanner-21.4.4.ebuild | 133 +++++++++++++++++++++
2 files changed, 134 insertions(+)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 44d0ded741f7..7dac2d80b696 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,3 +1,4 @@
DIST openvas-scanner-20.8.1.tar.gz 431985 BLAKE2B 60b328dc261bf48f37aa2727f4b63904c898467f989abef8f05e29329a24d0d98c13690005c5c7a8c93f899db709771ea60832927f169f6779707a1fac602368 SHA512 6114f37a91a3dd42c3693f10548a7727fb88fbe535ce511b164a440d5ace1c736d4c8a45db9a7e83b9abbd376c4d6b13afd3d23a995a5d089329a2bb8bd71cec
+DIST openvas-scanner-21.4.4.tar.gz 460601 BLAKE2B 66d627e76912735539399aed637fdc07a7d13c9e4eb142498dcf181b8ea952dd93107bcc1f2ef577126178ff3dad1e5f6e50d67840692cd49f7352e3a726ce8f SHA512 f2fe1f802b14fc41ee0d7657d031d318b651c3ec9ef554b33379a7459d40c17b44525c8f666ccb9670868576c101766936dd0c700778e46683bf43f0683834b6
DIST openvas-scanner-6.0.1.tar.gz 522100 BLAKE2B af82b41736329bd90ba1ea73a0ace36d4115375f81a7aaff5d3bd50f21cfa3195cdf4012aa952da52c4103a31475de5c5790ef3e2e36180aa06737371fa0e5a0 SHA512 db4087fffe1d50e232fa1e51325cf7f142237e2bd3cc5dcaa1e7058a4871300f352f2c0e700eae72ea9412c347b072e9d1f2eca508b27cb30f36c6895ec95147
DIST openvas-scanner-7.0.1.tar.gz 429012 BLAKE2B 13fd0fef2ce88f6789da9f00e8f35329e915ebc74a29b3bd52af93c6b70292d055fa1159aec4041d79a785971a583eb514e8700d1d38a76775446e40af9b2fac SHA512 201ea02b25bf247320437ae5c82bdc95db981cc6bd99fdece9403573434db122cdc8db7b82a08cba34b6d67d5794b2364f798847c79b421495666adc95a02571
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild
new file mode 100644
index 000000000000..b6a8ac41cbbf
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake toolchain-funcs
+
+MY_PN="openvas"
+MY_DN="openvassd"
+
+DESCRIPTION="Open Vulnerability Assessment Scanner"
+HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/openvas-scanner/"
+SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2 GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="cron extras snmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-group/gvm
+ acct-user/gvm
+ app-crypt/gpgme:=
+ dev-db/redis
+ dev-libs/glib:2
+ dev-libs/libgcrypt:=
+ dev-libs/libgpg-error
+ dev-libs/libksba
+ >=net-analyzer/gvm-libs-${PV}
+ snmp? ( net-analyzer/net-snmp:= )
+ net-libs/gnutls:=
+ net-libs/libpcap
+ net-libs/libssh:="
+
+RDEPEND="
+ ${DEPEND}"
+
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ extras? (
+ app-doc/doxygen[dot]
+ app-doc/xmltoman
+ app-text/htmldoc
+ dev-perl/CGI
+ dev-perl/SQL-Translator
+ )
+ test? ( dev-libs/cgreen )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.0.1-disable-automagic-dep.patch
+ "${FILESDIR}"/${PN}-7.0.1-fix-linking-with-lld.patch
+ #qa fix for rpath
+ "${FILESDIR}"/${PN}-20.8.1-rpath-qa-fix.patch
+)
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
+ sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
+ if use extras; then
+ if ! tc-is-clang; then
+ local f
+ for f in doc/*.in
+ do
+ sed -i \
+ -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
+ -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
+ "${f}" || die "couldn't disable CLANG parsing"
+ done
+ fi
+ fi
+
+ #Remove tests that doesn't work in the network sandbox
+ if use test; then
+ sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DBUILD_WITH_SNMP=$(usex snmp)"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use extras; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ cmake_build rebuild_cache
+ if use test; then
+ cmake_build tests
+ fi
+}
+
+src_install() {
+ if use extras; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ if use cron; then
+ # Install the cron job if they want it.
+ exeinto /etc/gvm
+ newexe "${FILESDIR}/gvm-feed-sync-${PV}.sh" gvm-feed-sync.sh
+ fowners gvm:gvm /etc/gvm/gvm-feed-sync.sh
+
+ insinto /etc/cron.d
+ newins "${FILESDIR}"/gvm-feed-sync.cron gvm
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/log/gvm
+ fowners gvm:gvm /var/log/gvm
+ keepdir /var/lib/openvas/{gnupg,plugins}
+ fowners -R gvm:gvm /var/lib/openvas
+
+ insinto /etc/openvas
+ doins "${FILESDIR}/openvas.conf"
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2022-05-02 16:12 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2022-05-02 16:12 UTC (permalink / raw
To: gentoo-commits
commit: bc34f32e7a99c24cf0737e438ce4e794fb7fd3d7
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 15:56:24 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 2 16:03:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc34f32e
net-analyzer/openvas-scanner: USE 'extras' → 'doc'
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
...-scanner-21.4.4.ebuild => openvas-scanner-21.4.4-r1.ebuild} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
similarity index 96%
rename from net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
index b6a8ac41cbbf..a8f5ef4aa4d3 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $
SLOT="0"
LICENSE="GPL-2 GPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE="cron extras snmp test"
+IUSE="cron doc snmp test"
RESTRICT="!test? ( test )"
DEPEND="
@@ -41,7 +41,7 @@ BDEPEND="
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
- extras? (
+ doc? (
app-doc/doxygen[dot]
app-doc/xmltoman
app-text/htmldoc
@@ -62,7 +62,7 @@ src_prepare() {
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
- if use extras; then
+ if use doc; then
if ! tc-is-clang; then
local f
for f in doc/*.in
@@ -93,7 +93,7 @@ src_configure() {
src_compile() {
cmake_src_compile
- if use extras; then
+ if use doc; then
cmake_build -C "${BUILD_DIR}" doc
cmake_build doc-full -C "${BUILD_DIR}" doc
fi
@@ -104,7 +104,7 @@ src_compile() {
}
src_install() {
- if use extras; then
+ if use doc; then
local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
fi
cmake_src_install
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2022-05-03 12:40 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2022-05-03 12:40 UTC (permalink / raw
To: gentoo-commits
commit: 3f5aeced29aa177dd3bed5808d19dd1898aa97dc
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue May 3 12:40:10 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue May 3 12:40:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f5aeced
net-analyzer/openvas-scanner: fix newexec if USE=cron
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
index a8f5ef4aa4d3..9ddbf782d358 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
@@ -112,7 +112,7 @@ src_install() {
if use cron; then
# Install the cron job if they want it.
exeinto /etc/gvm
- newexe "${FILESDIR}/gvm-feed-sync-${PV}.sh" gvm-feed-sync.sh
+ newexe "${FILESDIR}/gvm-feed-sync-20.8.1.sh" gvm-feed-sync.sh
fowners gvm:gvm /etc/gvm/gvm-feed-sync.sh
insinto /etc/cron.d
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2022-05-09 12:07 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2022-05-09 12:07 UTC (permalink / raw
To: gentoo-commits
commit: 65e6c54c1352d9fc3aa0f88d6f835f58e0a74c6c
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 11:44:07 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 9 12:07:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e6c54c
net-analyzer/openvas-scanner: drop USE cron, minor fixes
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
...-r1.ebuild => openvas-scanner-21.4.4-r2.ebuild} | 36 +++++++++-------------
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r2.ebuild
similarity index 81%
rename from net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r2.ebuild
index 9ddbf782d358..59b7fae51932 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-21.4.4-r2.ebuild
@@ -3,24 +3,22 @@
EAPI=8
-CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake toolchain-funcs
MY_PN="openvas"
MY_DN="openvassd"
DESCRIPTION="Open Vulnerability Assessment Scanner"
-HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/openvas-scanner/"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2 GPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE="cron doc snmp test"
+IUSE="doc snmp test"
RESTRICT="!test? ( test )"
DEPEND="
- acct-group/gvm
acct-user/gvm
app-crypt/gpgme:=
dev-db/redis
@@ -32,11 +30,9 @@ DEPEND="
snmp? ( net-analyzer/net-snmp:= )
net-libs/gnutls:=
net-libs/libpcap
- net-libs/libssh:="
-
-RDEPEND="
- ${DEPEND}"
-
+ net-libs/libssh:=
+"
+RDEPEND="${DEPEND}"
BDEPEND="
sys-devel/bison
sys-devel/flex
@@ -48,7 +44,8 @@ BDEPEND="
dev-perl/CGI
dev-perl/SQL-Translator
)
- test? ( dev-libs/cgreen )"
+ test? ( dev-libs/cgreen )
+"
PATCHES=(
"${FILESDIR}"/${PN}-7.0.1-disable-automagic-dep.patch
@@ -109,24 +106,19 @@ src_install() {
fi
cmake_src_install
- if use cron; then
- # Install the cron job if they want it.
- exeinto /etc/gvm
- newexe "${FILESDIR}/gvm-feed-sync-20.8.1.sh" gvm-feed-sync.sh
- fowners gvm:gvm /etc/gvm/gvm-feed-sync.sh
-
- insinto /etc/cron.d
- newins "${FILESDIR}"/gvm-feed-sync.cron gvm
- fi
-
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
# Set proper permissions on required files/directories
keepdir /var/log/gvm
- fowners gvm:gvm /var/log/gvm
+ if ! use prefix; then
+ fowners gvm:gvm /var/log/gvm
+ fi
+
keepdir /var/lib/openvas/{gnupg,plugins}
- fowners -R gvm:gvm /var/lib/openvas
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/openvas
+ fi
insinto /etc/openvas
doins "${FILESDIR}/openvas.conf"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-07-24 7:18 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-07-24 7:18 UTC (permalink / raw
To: gentoo-commits
commit: 291b3b893f02a4d47e4204ccf7439a8f34b95de9
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Jul 20 20:12:24 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 07:08:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291b3b89
net-analyzer/openvas-scanner: add 22.7.3, drop 22.7.2
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31975
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 2 +-
.../{openvas-scanner-22.7.2.ebuild => openvas-scanner-22.7.3.ebuild} | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index ccffb76d4e52..2fcd9a375d13 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1,2 @@
DIST openvas-scanner-21.4.4.tar.gz 460601 BLAKE2B 66d627e76912735539399aed637fdc07a7d13c9e4eb142498dcf181b8ea952dd93107bcc1f2ef577126178ff3dad1e5f6e50d67840692cd49f7352e3a726ce8f SHA512 f2fe1f802b14fc41ee0d7657d031d318b651c3ec9ef554b33379a7459d40c17b44525c8f666ccb9670868576c101766936dd0c700778e46683bf43f0683834b6
-DIST openvas-scanner-22.7.2.tar.gz 924274 BLAKE2B 71b954c717f0be1634cf3561aa82c3b66af160c81b2b403b2be0d1247cad4cdfbd6779677c7d23d35c0f0e4e45b5ab30b4e1687a6b5c1b460cb034a87592b09c SHA512 cced0b3dd56cc85aa69ca7de7229c9e1a1103afd38fbf15776d29a6558c04b3e361acc3fb872f77f7f23c69339ffa25ef5ecd217ef7dafa42534547d039d8f9b
+DIST openvas-scanner-22.7.3.tar.gz 962647 BLAKE2B d3ce0be58b41bef6c01c5e831307713fa95913dae70cb6e67d82c196793817f516429f2ef1efffcc58863165913524a10465f33aac5f283d94d21595aaad360c SHA512 c729fca47534e289c26f5c5ad1766fe0101b1fc287609d5b40c65108152b1069b759ecfd6375999b6384b2b90ffff420336f5ce134256bd1a5fec5b5523a8272
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild
similarity index 96%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.2.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild
index fec03e1535be..4e2eab70e408 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.2.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild
@@ -54,6 +54,8 @@ src_prepare() {
cmake_src_prepare
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
+ # QA-Fix | Remove -Werror compiler flag
+ sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
if use doc; then
if ! tc-is-clang; then
@@ -80,8 +82,7 @@ src_configure() {
"-DSYSCONFDIR=${EPREFIX}/etc"
"-DSBINDIR=${EPREFIX}/usr/bin"
"-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
- "-DBUILD_WITH_SNMP=$(usex snmp)"
- "-DPENVAS_RUN_DIR=/run/ospd"
+ "-DOPENVAS_RUN_DIR=/run/ospd"
"-DINSTALL_OLD_SYNC_SCRIPT=OFF"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-07-31 12:57 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-07-31 12:57 UTC (permalink / raw
To: gentoo-commits
commit: dd2163b82dc258dfed38a375f599cc10760c4357
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Jul 28 11:19:07 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 12:57:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2163b8
net-analyzer/openvas-scanner: remove automagic dependency on net-analyzer/net-snmp
Closes: https://bugs.gentoo.org/911114
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Upstream PR: https://github.com/greenbone/openvas-scanner/pull/1463
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
...canner-22.7.3.ebuild => openvas-scanner-22.7.3-r1.ebuild} | 12 +++++++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 2fcd9a375d13..b2e13b849c4b 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1,3 @@
DIST openvas-scanner-21.4.4.tar.gz 460601 BLAKE2B 66d627e76912735539399aed637fdc07a7d13c9e4eb142498dcf181b8ea952dd93107bcc1f2ef577126178ff3dad1e5f6e50d67840692cd49f7352e3a726ce8f SHA512 f2fe1f802b14fc41ee0d7657d031d318b651c3ec9ef554b33379a7459d40c17b44525c8f666ccb9670868576c101766936dd0c700778e46683bf43f0683834b6
+DIST openvas-scanner-22.7.3-fix-automagic-dep-on-snmp.patch 2669 BLAKE2B 1ac0478c23d8102d0928552acefff01661db55949cf4f0540d9a8608078ff01e5d794f7a851095cfcdd49657593e7ba2340c665b3f87615ae4ca7cee2eb1248a SHA512 7dc3cf4d39733706516909e4724272abf17cd20b9a6104b6a03166056415905748c72ad629258a430e19aed553cc1659587c0a0b6c7991c35605ee82e9caea5b
DIST openvas-scanner-22.7.3.tar.gz 962647 BLAKE2B d3ce0be58b41bef6c01c5e831307713fa95913dae70cb6e67d82c196793817f516429f2ef1efffcc58863165913524a10465f33aac5f283d94d21595aaad360c SHA512 c729fca47534e289c26f5c5ad1766fe0101b1fc287609d5b40c65108152b1069b759ecfd6375999b6384b2b90ffff420336f5ce134256bd1a5fec5b5523a8272
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild
similarity index 90%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild
index 4e2eab70e408..7bff1bd30260 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.3.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild
@@ -10,7 +10,11 @@ MY_DN="openvassd"
DESCRIPTION="Open Vulnerability Assessment Scanner"
HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
-SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/greenbone/openvas-scanner/commit/c9ba348e1a7fa99a0b41a0e53f251309f2768187.patch
+ -> ${PN}-22.7.3-fix-automagic-dep-on-snmp.patch
+"
SLOT="0"
LICENSE="GPL-2 GPL-2+"
@@ -50,6 +54,11 @@ BDEPEND="
test? ( dev-libs/cgreen )
"
+PATCHES=(
+ # Fix https://bugs.gentoo.org/911114
+ "${DISTDIR}"/${PN}-22.7.3-fix-automagic-dep-on-snmp.patch
+)
+
src_prepare() {
cmake_src_prepare
# QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
@@ -84,6 +93,7 @@ src_configure() {
"-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
"-DOPENVAS_RUN_DIR=/run/ospd"
"-DINSTALL_OLD_SYNC_SCRIPT=OFF"
+ "-DBUILD_WITH_NETSNMP=$(usex snmp)"
)
cmake_src_configure
}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-10-09 10:54 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-10-09 10:54 UTC (permalink / raw
To: gentoo-commits
commit: 142c84ae74a1ac9d6e8625d46dcc1e6a450dcf7f
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 9 10:52:40 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct 9 10:54:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142c84ae
net-analyzer/openvas-scanner: add =-slot operators
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild
index 2d19d16186c3..fa42f0f1eb67 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild
@@ -24,14 +24,14 @@ DEPEND="
>=dev-db/redis-5.0.3
>=dev-libs/glib-2.42:2
>=dev-libs/json-glib-1.4.4
- >=net-libs/gnutls-3.2.15
+ >=net-libs/gnutls-3.2.15:=
>=net-analyzer/gvm-libs-22.4
net-libs/libpcap
app-crypt/gpgme:=
- >=dev-libs/libgcrypt-1.6
+ >=dev-libs/libgcrypt-1.6:=
dev-libs/libgpg-error
>=dev-libs/libksba-1.0.7
- >=net-libs/libssh-0.6.0
+ >=net-libs/libssh-0.6.0:=
dev-libs/libbsd
snmp? ( net-analyzer/net-snmp:= )
"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-10-16 7:36 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-10-16 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 3b352a3580bf5d08c5356a4c01840d90de2314cb
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Oct 14 14:00:10 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 07:36:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b352a35
net-analyzer/openvas-scanner: add 22.7.6, drop 22.7.5
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
net-analyzer/openvas-scanner: style
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33331
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 2 +-
...openvas-scanner-22.7.5.ebuild => openvas-scanner-22.7.6.ebuild} | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 1d93a64ae0d6..a67ed4e9be68 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1,2 @@
DIST openvas-scanner-21.4.4.tar.gz 460601 BLAKE2B 66d627e76912735539399aed637fdc07a7d13c9e4eb142498dcf181b8ea952dd93107bcc1f2ef577126178ff3dad1e5f6e50d67840692cd49f7352e3a726ce8f SHA512 f2fe1f802b14fc41ee0d7657d031d318b651c3ec9ef554b33379a7459d40c17b44525c8f666ccb9670868576c101766936dd0c700778e46683bf43f0683834b6
-DIST openvas-scanner-22.7.5.tar.gz 976268 BLAKE2B 0a8b2ce275de5baec614e18164fcc13029373233e3e6acc31124e0660c9c82a8aabf2913223983014518fefe534048fd8a23a7457727ffa165c8a3ea58cd44d0 SHA512 cdbafb80e74f948043cae87e27a10df5fb7af1bb4112a3fd593f60233fd3c9a46d3ffb80b1fce195bed7de6308228b3fe7fcbff6ed493791627bdd3767987261
+DIST openvas-scanner-22.7.6.tar.gz 1027968 BLAKE2B 393b14dbb2c4fefb08a4b24597b5b1be8ade48d047dbf8b7aa8240cb14a7cf59829d9f68911ff726c5312d250ac1b14bb56478662d8c68a3006ec40212dd340b SHA512 83de4f546557d8e72fe63374940ef10bf365e2414fadeb32f23b5a621bf09a27bb2e75473e06413d3951d308ce7ac9b431cd270a17cfec9d64984228d65f0f09
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
similarity index 96%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
index fa42f0f1eb67..2974e2e3da76 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.5.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
@@ -133,9 +133,12 @@ src_install() {
insinto /etc/gvm
doins config/redis-openvas.conf
- use prefix || fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
+ fi
+
fperms 0750 /etc/gvm
- fperms 0644 /etc/gvm/redis-openvas.conf
+ fperms 0640 /etc/gvm/redis-openvas.conf
newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-10-16 7:36 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-10-16 7:36 UTC (permalink / raw
To: gentoo-commits
commit: a4eee5556aa96d2a7c5539d932359a675a566b2b
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 07:28:41 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 07:36:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4eee555
net-analyzer/openvas-scanner: remove no-op sed
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
index 2974e2e3da76..f4a3f9ef0ac0 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
@@ -53,8 +53,6 @@ BDEPEND="
src_prepare() {
cmake_src_prepare
- # QA-Fix | Correct FHS/Gentoo policy paths for 7.0.0
- sed -i -e "s*/doc/openvas-scanner/*/doc/openvas-scanner-${PV}/*g" "${S}"/src/CMakeLists.txt || die
# QA-Fix | Remove -Werror compiler flag
sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
# QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-11-21 8:01 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-11-21 8:01 UTC (permalink / raw
To: gentoo-commits
commit: c04ea879ad2e309e51d63830a915346010de6e31
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Mon Nov 20 14:39:21 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 08:00:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c04ea879
net-analyzer/openvas-scanner: add 22.7.7, drop 22.7.6
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33918
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 2 +-
.../{openvas-scanner-22.7.6.ebuild => openvas-scanner-22.7.7.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 85069d96a398..0d488ee25fb5 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1 +1 @@
-DIST openvas-scanner-22.7.6.tar.gz 1027968 BLAKE2B 393b14dbb2c4fefb08a4b24597b5b1be8ade48d047dbf8b7aa8240cb14a7cf59829d9f68911ff726c5312d250ac1b14bb56478662d8c68a3006ec40212dd340b SHA512 83de4f546557d8e72fe63374940ef10bf365e2414fadeb32f23b5a621bf09a27bb2e75473e06413d3951d308ce7ac9b431cd270a17cfec9d64984228d65f0f09
+DIST openvas-scanner-22.7.7.tar.gz 1058142 BLAKE2B 0c9d658b594ea5bb639554da74fdc609742114b7727091044104ca657db5957f5839e25d654bf5acb6132a2cf41bd75208b5ac65d15327c624976c34e5468ec2 SHA512 8253584313c569aeafdfae6198347bde0dc04f68753f9febaa1d8803e87144308ec83881d4555cbbba22f994a8f08fe621609b543f7284a4a1d1171c08062bc7
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild
similarity index 100%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.6.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2023-12-01 9:55 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2023-12-01 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 93d6bcf8408597085997e1d82f10325a49fc9163
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Nov 29 00:58:56 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Dec 1 09:55:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d6bcf8
net-analyzer/openvas-scanner: add 22.7.8, drop 22.7.7
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34034
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 2 +-
.../{openvas-scanner-22.7.7.ebuild => openvas-scanner-22.7.8.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 0d488ee25fb5..b80815058b76 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1 +1 @@
-DIST openvas-scanner-22.7.7.tar.gz 1058142 BLAKE2B 0c9d658b594ea5bb639554da74fdc609742114b7727091044104ca657db5957f5839e25d654bf5acb6132a2cf41bd75208b5ac65d15327c624976c34e5468ec2 SHA512 8253584313c569aeafdfae6198347bde0dc04f68753f9febaa1d8803e87144308ec83881d4555cbbba22f994a8f08fe621609b543f7284a4a1d1171c08062bc7
+DIST openvas-scanner-22.7.8.tar.gz 1069693 BLAKE2B 7b046102efe81092102933d3aa50479e4d3dca3a376d94cef4305519335e4e01add8971485272a0f79cb10ef7cfebf12657b13832e4e6eb7860df3a05c99259f SHA512 acd2dd738f0f5ccda7bea248decaf68e571864666c6749e372dac1f0ec152dcfa2945adb98fad509d4f00dc09f34b91b3dc1760c22f6458ca45eeeb6af2c886b
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild
similarity index 100%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.7.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-02-28 7:17 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-02-28 7:17 UTC (permalink / raw
To: gentoo-commits
commit: cdafd772f46feee082bfc410fe113bb04b130bd7
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Feb 17 21:38:27 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 07:17:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdafd772
net-analyzer/openvas-scanner: add 22.7.9
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35402
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
.../openvas-scanner/openvas-scanner-22.7.9.ebuild | 158 +++++++++++++++++++++
2 files changed, 159 insertions(+)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index b80815058b76..9d63bbf84110 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1 +1,2 @@
DIST openvas-scanner-22.7.8.tar.gz 1069693 BLAKE2B 7b046102efe81092102933d3aa50479e4d3dca3a376d94cef4305519335e4e01add8971485272a0f79cb10ef7cfebf12657b13832e4e6eb7860df3a05c99259f SHA512 acd2dd738f0f5ccda7bea248decaf68e571864666c6749e372dac1f0ec152dcfa2945adb98fad509d4f00dc09f34b91b3dc1760c22f6458ca45eeeb6af2c886b
+DIST openvas-scanner-22.7.9.tar.gz 1069904 BLAKE2B 908810997880d1267f41df59905acc2ac2d491ab8453001ae8e2cc6881958150e8866b07b4e335888e8e574b5a347b33880bd24c9b8d140edd6c384e498e5dc9 SHA512 279a781fe698496fb88efd28c0ee6ede66a0180237b60c4d7b083fe10c7b7ac054ec04b08c9b33e6dd142f60529faedfef4441421cc04e95eaa08865e47b58dd
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
new file mode 100644
index 000000000000..57daa813f540
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
+
+MY_DN="openvas"
+
+DESCRIPTION="Open Vulnerability Assessment Scanner"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
+SRC_URI="
+ https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+SLOT="0"
+LICENSE="GPL-2 GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc snmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ >=dev-db/redis-5.0.3
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/json-glib-1.4.4
+ >=net-libs/gnutls-3.2.15:=
+ >=net-analyzer/gvm-libs-22.4
+ net-libs/libpcap
+ app-crypt/gpgme:=
+ >=dev-libs/libgcrypt-1.6:=
+ dev-libs/libgpg-error
+ >=dev-libs/libksba-1.0.7
+ >=net-libs/libssh-0.6.0:=
+ dev-libs/libbsd
+ snmp? ( net-analyzer/net-snmp:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=sys-devel/bison-2.5
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-perl/CGI
+ dev-perl/SQL-Translator
+ virtual/pandoc
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Remove -Werror compiler flag
+ sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
+ # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
+ if use doc; then
+ if ! tc-is-clang; then
+ local f
+ for f in doc/*.in
+ do
+ sed -i \
+ -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
+ -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
+ "${f}" || die "couldn't disable CLANG parsing"
+ done
+ fi
+ fi
+
+ #Remove tests that doesn't work in the network sandbox
+ if use test; then
+ sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
+ "-DOPENVAS_RUN_DIR=/run/ospd"
+ "-DINSTALL_OLD_SYNC_SCRIPT=OFF"
+ "-DBUILD_WITH_NETSNMP=$(usex snmp)"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doxygen-full manual
+ fi
+ cmake_build rebuild_cache
+ if use test; then
+ cmake_build tests
+ fi
+}
+
+src_install() {
+ if use doc; then
+ mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
+ local HTML_DOCS=(
+ "${BUILD_DIR}"/doc/generated/html/.
+ "${BUILD_DIR}"/doc/html-manual
+ )
+ fi
+ cmake_src_install
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/log/gvm
+ if ! use prefix; then
+ fowners gvm:gvm /var/log/gvm
+ fi
+
+ keepdir /var/lib/openvas/{gnupg,plugins}
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/openvas
+ fi
+
+ insinto /etc/openvas
+ newins "${FILESDIR}/openvas.conf-22" openvas.conf
+
+ systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
+ newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
+
+ insinto /etc/gvm
+ doins config/redis-openvas.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
+ fi
+
+ fperms 0750 /etc/gvm
+ fperms 0640 /etc/gvm/redis-openvas.conf
+
+ newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
+ newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
+
+ if use prefix; then
+ diropts -m0750
+ else
+ diropts -m0750 -o gvm -g gvm
+ fi
+ keepdir /var/lib/openvas/redis
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ tmpfiles_process redis-openvas.conf
+ optfeature "port scanner" net-analyzer/nmap
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-02-28 20:50 Jakov Smolić
0 siblings, 0 replies; 33+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
To: gentoo-commits
commit: 2d1c65a5305f65defaeb80e1b0b69b45c02508e8
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:50:07 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:50:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1c65a5
net-analyzer/openvas-scanner: Stabilize 22.7.9 amd64, #925668
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
index 57daa813f540..5c8c16dce1d2 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
SLOT="0"
LICENSE="GPL-2 GPL-2+"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-04-03 17:38 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
To: gentoo-commits
commit: fa59a9e412d59a813f75069c51bc9ad37cde1df5
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 23:23:37 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 17:34:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa59a9e4
net-analyzer/openvas-scanner: drop 22.7.8
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35994
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 -
.../openvas-scanner/openvas-scanner-22.7.8.ebuild | 158 ---------------------
2 files changed, 159 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 9d63bbf84110..883c03b3f20b 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1 @@
-DIST openvas-scanner-22.7.8.tar.gz 1069693 BLAKE2B 7b046102efe81092102933d3aa50479e4d3dca3a376d94cef4305519335e4e01add8971485272a0f79cb10ef7cfebf12657b13832e4e6eb7860df3a05c99259f SHA512 acd2dd738f0f5ccda7bea248decaf68e571864666c6749e372dac1f0ec152dcfa2945adb98fad509d4f00dc09f34b91b3dc1760c22f6458ca45eeeb6af2c886b
DIST openvas-scanner-22.7.9.tar.gz 1069904 BLAKE2B 908810997880d1267f41df59905acc2ac2d491ab8453001ae8e2cc6881958150e8866b07b4e335888e8e574b5a347b33880bd24c9b8d140edd6c384e498e5dc9 SHA512 279a781fe698496fb88efd28c0ee6ede66a0180237b60c4d7b083fe10c7b7ac054ec04b08c9b33e6dd142f60529faedfef4441421cc04e95eaa08865e47b58dd
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild
deleted file mode 100644
index 57daa813f540..000000000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.8.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
-
-MY_DN="openvas"
-
-DESCRIPTION="Open Vulnerability Assessment Scanner"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
-SRC_URI="
- https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
-"
-
-SLOT="0"
-LICENSE="GPL-2 GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc snmp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/gvm
- >=dev-db/redis-5.0.3
- >=dev-libs/glib-2.42:2
- >=dev-libs/json-glib-1.4.4
- >=net-libs/gnutls-3.2.15:=
- >=net-analyzer/gvm-libs-22.4
- net-libs/libpcap
- app-crypt/gpgme:=
- >=dev-libs/libgcrypt-1.6:=
- dev-libs/libgpg-error
- >=dev-libs/libksba-1.0.7
- >=net-libs/libssh-0.6.0:=
- dev-libs/libbsd
- snmp? ( net-analyzer/net-snmp:= )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=sys-devel/bison-2.5
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/doxygen[dot]
- app-text/xmltoman
- app-text/htmldoc
- dev-perl/CGI
- dev-perl/SQL-Translator
- virtual/pandoc
- )
- test? ( dev-libs/cgreen )
-"
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Remove -Werror compiler flag
- sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
- # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
- if use doc; then
- if ! tc-is-clang; then
- local f
- for f in doc/*.in
- do
- sed -i \
- -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
- -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
- "${f}" || die "couldn't disable CLANG parsing"
- done
- fi
- fi
-
- #Remove tests that doesn't work in the network sandbox
- if use test; then
- sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
- "-DOPENVAS_RUN_DIR=/run/ospd"
- "-DINSTALL_OLD_SYNC_SCRIPT=OFF"
- "-DBUILD_WITH_NETSNMP=$(usex snmp)"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use doc; then
- cmake_build -C "${BUILD_DIR}" doxygen-full manual
- fi
- cmake_build rebuild_cache
- if use test; then
- cmake_build tests
- fi
-}
-
-src_install() {
- if use doc; then
- mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
- local HTML_DOCS=(
- "${BUILD_DIR}"/doc/generated/html/.
- "${BUILD_DIR}"/doc/html-manual
- )
- fi
- cmake_src_install
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/log/gvm
- if ! use prefix; then
- fowners gvm:gvm /var/log/gvm
- fi
-
- keepdir /var/lib/openvas/{gnupg,plugins}
- if ! use prefix; then
- fowners -R gvm:gvm /var/lib/openvas
- fi
-
- insinto /etc/openvas
- newins "${FILESDIR}/openvas.conf-22" openvas.conf
-
- systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
- newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
-
- insinto /etc/gvm
- doins config/redis-openvas.conf
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
- fi
-
- fperms 0750 /etc/gvm
- fperms 0640 /etc/gvm/redis-openvas.conf
-
- newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
- newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
-
- if use prefix; then
- diropts -m0750
- else
- diropts -m0750 -o gvm -g gvm
- fi
- keepdir /var/lib/openvas/redis
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- tmpfiles_process redis-openvas.conf
- optfeature "port scanner" net-analyzer/nmap
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-04-03 17:38 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
To: gentoo-commits
commit: b720a75052b4f5e640d3798157fa5b42cb8ebdd8
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 17:37:13 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 17:37:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b720a750
net-analyzer/openvas-scanner: destabilize 23.0.1 for ~amd64
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
index 234adbf762b3..8e66176a615b 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
SLOT="0"
LICENSE="GPL-2 GPL-2+"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-04-03 17:38 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 6813187804c13a61ff2c5a25070f7e7ee56aa8a0
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 17:36:06 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 17:36:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68131878
net-analyzer/openvas-scanner: drop unused INSTALL_OLD_SYNC_SCRIPT cmake option
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
index 4d62998ccc00..234adbf762b3 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
@@ -87,7 +87,6 @@ src_configure() {
"-DSBINDIR=${EPREFIX}/usr/bin"
"-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
"-DOPENVAS_RUN_DIR=/run/ospd"
- "-DINSTALL_OLD_SYNC_SCRIPT=OFF"
"-DBUILD_WITH_NETSNMP=$(usex snmp)"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-06-06 6:56 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-06-06 6:56 UTC (permalink / raw
To: gentoo-commits
commit: 295351e227e4da5a355708f6d1547de2e7710b9b
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Tue Jun 4 18:19:51 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=295351e2
net-analyzer/openvas-scanner: add 23.3.2
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37028
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
.../openvas-scanner/openvas-scanner-23.3.2.ebuild | 158 +++++++++++++++++++++
2 files changed, 159 insertions(+)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index e1456d34ea39..a8294a39bc80 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,3 +1,4 @@
DIST openvas-scanner-22.7.9.tar.gz 1069904 BLAKE2B 908810997880d1267f41df59905acc2ac2d491ab8453001ae8e2cc6881958150e8866b07b4e335888e8e574b5a347b33880bd24c9b8d140edd6c384e498e5dc9 SHA512 279a781fe698496fb88efd28c0ee6ede66a0180237b60c4d7b083fe10c7b7ac054ec04b08c9b33e6dd142f60529faedfef4441421cc04e95eaa08865e47b58dd
DIST openvas-scanner-23.0.1.tar.gz 1387550 BLAKE2B 22f0b7f10fbb8be7d0897ce1895035ec9e330adee2a56d7c724e9e9fd54808ed10de5f05b3bb02918e44e45a7f85035e7d63fdd89345dcdb09d5180740823c74 SHA512 e2107ca762abcbb20d4506d2cc4479d5fbf5efd744a598ec63ea3c66ae6a6f1743deeb4b7aa9863b78c186c8a4d4b5f2212d241cef51b91c6c5bcd0879c45dc7
DIST openvas-scanner-23.3.0.tar.gz 1416508 BLAKE2B de5864183b19df7b825bb74a5c38493b484494c5ef0f871f83e77efd6f6ce9934fd0a2365c5e7fe2b53e0c3f0c6a0eccd57528571dcd8586cbe5ef575aa5ec4f SHA512 cebe73f376a0b7731ffcb3eb9eb6e223ad490d8c0b708f07f508c562f2cfea956fa61e2bfb9141d2bf826c727be901ef2f455b74c055032f72cd52b7591bd171
+DIST openvas-scanner-23.3.2.tar.gz 1416687 BLAKE2B 6d8b0ba5b0a6f503ef27962fc9007f5538ecc6747aa713baec402acb20c5f7da01743a055173ed736ea90beb6d62f54ad8db8bffc915ce946416553f953b9842 SHA512 045a0811b5480170e52a218c8005d01acf064658aa0c3999ec9c07df9a0da47c53ad3de17565c1542c6f13521153e0477e9fdf92dee5f05e6723e29915cebc15
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
new file mode 100644
index 000000000000..4437e7dc21b4
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
+
+MY_DN="openvas"
+
+DESCRIPTION="Open Vulnerability Assessment Scanner"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
+SRC_URI="
+ https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc snmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:=
+ >=dev-db/redis-5.0.3
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libgcrypt-1.6:=
+ dev-libs/libgpg-error
+ >=dev-libs/libksba-1.0.7
+ dev-libs/libbsd
+ >=net-libs/libssh-0.6.0:=
+ >=dev-libs/json-glib-1.4.4
+ >=net-analyzer/gvm-libs-22.4
+ >=net-libs/gnutls-3.6.4:=
+ net-libs/libpcap
+ >=net-misc/curl-7.74.0[ssl]
+ snmp? ( net-analyzer/net-snmp:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=sys-devel/bison-2.5
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-perl/CGI
+ dev-perl/SQL-Translator
+ virtual/pandoc
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Remove -Werror compiler flag
+ sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
+ # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
+ if use doc; then
+ if ! tc-is-clang; then
+ local f
+ for f in doc/*.in
+ do
+ sed -i \
+ -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
+ -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
+ "${f}" || die "couldn't disable CLANG parsing"
+ done
+ fi
+ fi
+
+ #Remove tests that doesn't work in the network sandbox
+ if use test; then
+ sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
+ "-DOPENVAS_RUN_DIR=/run/ospd"
+ "-DBUILD_WITH_NETSNMP=$(usex snmp)"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doxygen-full manual
+ fi
+ cmake_build rebuild_cache
+ if use test; then
+ cmake_build tests
+ fi
+}
+
+src_install() {
+ if use doc; then
+ mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
+ local HTML_DOCS=(
+ "${BUILD_DIR}"/doc/generated/html/.
+ "${BUILD_DIR}"/doc/html-manual
+ )
+ fi
+ cmake_src_install
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/log/gvm
+ if ! use prefix; then
+ fowners gvm:gvm /var/log/gvm
+ fi
+
+ keepdir /var/lib/openvas/{gnupg,plugins}
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/openvas
+ fi
+
+ insinto /etc/openvas
+ newins "${FILESDIR}/openvas.conf-22" openvas.conf
+
+ systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
+ newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
+
+ insinto /etc/gvm
+ doins config/redis-openvas.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
+ fi
+
+ fperms 0750 /etc/gvm
+ fperms 0640 /etc/gvm/redis-openvas.conf
+
+ newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
+ newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
+
+ if use prefix; then
+ diropts -m0750
+ else
+ diropts -m0750 -o gvm -g gvm
+ fi
+ keepdir /var/lib/openvas/redis
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ tmpfiles_process redis-openvas.conf
+ optfeature "port scanner" net-analyzer/nmap
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-07-23 3:55 Sam James
0 siblings, 0 replies; 33+ messages in thread
From: Sam James @ 2024-07-23 3:55 UTC (permalink / raw
To: gentoo-commits
commit: 1a4237fcc06e267f58353a120f15b1161ab22e36
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 03:54:36 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 03:54:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a4237fc
net-analyzer/openvas-scanner: Stabilize 23.3.2 amd64, #936504
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
index 4437e7dc21b4..b8b26ec02987 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.3.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
LICENSE="GPL-2 GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-08-20 6:49 Joonas Niilola
0 siblings, 0 replies; 33+ messages in thread
From: Joonas Niilola @ 2024-08-20 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 01284ba36314070fd8abbbab023e4737604730c9
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Aug 9 19:04:52 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:48:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01284ba3
net-analyzer/openvas-scanner: add 23.8.4, drop 22.7.9, drop 23.0.1, drop 23.3.0
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38032
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 4 +-
.../openvas-scanner/openvas-scanner-23.0.1.ebuild | 162 ---------------------
.../openvas-scanner/openvas-scanner-23.3.0.ebuild | 161 --------------------
...22.7.9.ebuild => openvas-scanner-23.8.4.ebuild} | 18 +--
4 files changed, 10 insertions(+), 335 deletions(-)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index a8294a39bc80..1e8154929c2f 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,4 +1,2 @@
-DIST openvas-scanner-22.7.9.tar.gz 1069904 BLAKE2B 908810997880d1267f41df59905acc2ac2d491ab8453001ae8e2cc6881958150e8866b07b4e335888e8e574b5a347b33880bd24c9b8d140edd6c384e498e5dc9 SHA512 279a781fe698496fb88efd28c0ee6ede66a0180237b60c4d7b083fe10c7b7ac054ec04b08c9b33e6dd142f60529faedfef4441421cc04e95eaa08865e47b58dd
-DIST openvas-scanner-23.0.1.tar.gz 1387550 BLAKE2B 22f0b7f10fbb8be7d0897ce1895035ec9e330adee2a56d7c724e9e9fd54808ed10de5f05b3bb02918e44e45a7f85035e7d63fdd89345dcdb09d5180740823c74 SHA512 e2107ca762abcbb20d4506d2cc4479d5fbf5efd744a598ec63ea3c66ae6a6f1743deeb4b7aa9863b78c186c8a4d4b5f2212d241cef51b91c6c5bcd0879c45dc7
-DIST openvas-scanner-23.3.0.tar.gz 1416508 BLAKE2B de5864183b19df7b825bb74a5c38493b484494c5ef0f871f83e77efd6f6ce9934fd0a2365c5e7fe2b53e0c3f0c6a0eccd57528571dcd8586cbe5ef575aa5ec4f SHA512 cebe73f376a0b7731ffcb3eb9eb6e223ad490d8c0b708f07f508c562f2cfea956fa61e2bfb9141d2bf826c727be901ef2f455b74c055032f72cd52b7591bd171
DIST openvas-scanner-23.3.2.tar.gz 1416687 BLAKE2B 6d8b0ba5b0a6f503ef27962fc9007f5538ecc6747aa713baec402acb20c5f7da01743a055173ed736ea90beb6d62f54ad8db8bffc915ce946416553f953b9842 SHA512 045a0811b5480170e52a218c8005d01acf064658aa0c3999ec9c07df9a0da47c53ad3de17565c1542c6f13521153e0477e9fdf92dee5f05e6723e29915cebc15
+DIST openvas-scanner-23.8.4.tar.gz 1448233 BLAKE2B 6ee681ebae29cecfdb237ac9e60959bc8cdaa5acf04af7e4d8b3de587a72f827101a6609e7434a34459b12842d555da2ecaf30c571609bdf7359e7d9c406b7c1 SHA512 63a5301610f16d046b709849dfe4c8a3cc57f551de0c8c30ae701cb278ba4ade964b1007efd14d74eedf1077537ae05b4fd6f84dd62a730240ee12fc85397a9b
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
deleted file mode 100644
index 8e66176a615b..000000000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.0.1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
-
-MY_DN="openvas"
-
-DESCRIPTION="Open Vulnerability Assessment Scanner"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
-SRC_URI="
- https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
-"
-
-SLOT="0"
-LICENSE="GPL-2 GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc snmp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/gvm
- app-crypt/gpgme:=
- >=dev-db/redis-5.0.3
- >=dev-libs/glib-2.42:2
- >=dev-libs/libgcrypt-1.6:=
- dev-libs/libgpg-error
- >=dev-libs/libksba-1.0.7
- dev-libs/libbsd
- >=net-libs/libssh-0.6.0:=
- >=dev-libs/json-glib-1.4.4
- >=net-analyzer/gvm-libs-22.4
- >=net-libs/gnutls-3.6.4:=
- net-libs/libpcap
- >=net-misc/curl-7.74.0[ssl]
- snmp? ( net-analyzer/net-snmp:= )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=sys-devel/bison-2.5
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/doxygen[dot]
- app-text/xmltoman
- app-text/htmldoc
- dev-perl/CGI
- dev-perl/SQL-Translator
- virtual/pandoc
- )
- test? ( dev-libs/cgreen )
-"
-PATCHES=(
- # See https://github.com/greenbone/openvas-scanner/pull/1611
- "${FILESDIR}"/openvas-scanner-23.0.1-link-pcap.patch
-)
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Remove -Werror compiler flag
- sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
- # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
- if use doc; then
- if ! tc-is-clang; then
- local f
- for f in doc/*.in
- do
- sed -i \
- -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
- -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
- "${f}" || die "couldn't disable CLANG parsing"
- done
- fi
- fi
-
- #Remove tests that doesn't work in the network sandbox
- if use test; then
- sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
- "-DOPENVAS_RUN_DIR=/run/ospd"
- "-DBUILD_WITH_NETSNMP=$(usex snmp)"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use doc; then
- cmake_build -C "${BUILD_DIR}" doxygen-full manual
- fi
- cmake_build rebuild_cache
- if use test; then
- cmake_build tests
- fi
-}
-
-src_install() {
- if use doc; then
- mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
- local HTML_DOCS=(
- "${BUILD_DIR}"/doc/generated/html/.
- "${BUILD_DIR}"/doc/html-manual
- )
- fi
- cmake_src_install
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/log/gvm
- if ! use prefix; then
- fowners gvm:gvm /var/log/gvm
- fi
-
- keepdir /var/lib/openvas/{gnupg,plugins}
- if ! use prefix; then
- fowners -R gvm:gvm /var/lib/openvas
- fi
-
- insinto /etc/openvas
- newins "${FILESDIR}/openvas.conf-22" openvas.conf
-
- systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
- newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
-
- insinto /etc/gvm
- doins config/redis-openvas.conf
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
- fi
-
- fperms 0750 /etc/gvm
- fperms 0640 /etc/gvm/redis-openvas.conf
-
- newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
- newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
-
- if use prefix; then
- diropts -m0750
- else
- diropts -m0750 -o gvm -g gvm
- fi
- keepdir /var/lib/openvas/redis
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- tmpfiles_process redis-openvas.conf
- optfeature "port scanner" net-analyzer/nmap
- readme.gentoo_print_elog
-}
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.3.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.3.0.ebuild
deleted file mode 100644
index b26024cee8d1..000000000000
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.3.0.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
-
-MY_DN="openvas"
-
-DESCRIPTION="Open Vulnerability Assessment Scanner"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
-SRC_URI="
- https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
-"
-
-LICENSE="GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc snmp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/gvm
- app-crypt/gpgme:=
- >=dev-db/redis-5.0.3
- >=dev-libs/glib-2.42:2
- >=dev-libs/libgcrypt-1.6:=
- dev-libs/libgpg-error
- >=dev-libs/libksba-1.0.7
- dev-libs/libbsd
- >=net-libs/libssh-0.6.0:=
- >=dev-libs/json-glib-1.4.4
- >=net-analyzer/gvm-libs-22.4
- >=net-libs/gnutls-3.6.4:=
- net-libs/libpcap
- >=net-misc/curl-7.74.0[ssl]
- snmp? ( net-analyzer/net-snmp:= )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=sys-devel/bison-2.5
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/doxygen[dot]
- app-text/xmltoman
- app-text/htmldoc
- dev-perl/CGI
- dev-perl/SQL-Translator
- virtual/pandoc
- )
- test? ( dev-libs/cgreen )
-"
-PATCHES=(
- # See https://github.com/greenbone/openvas-scanner/pull/1647
- "${FILESDIR}"/openvas-scanner-23.3.0-link-curl.patch
-)
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Remove -Werror compiler flag
- sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
- # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
- if use doc; then
- if ! tc-is-clang; then
- local f
- for f in doc/*.in
- do
- sed -i \
- -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
- -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
- "${f}" || die "couldn't disable CLANG parsing"
- done
- fi
- fi
-
- #Remove tests that doesn't work in the network sandbox
- if use test; then
- sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
- "-DOPENVAS_RUN_DIR=/run/ospd"
- "-DBUILD_WITH_NETSNMP=$(usex snmp)"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use doc; then
- cmake_build -C "${BUILD_DIR}" doxygen-full manual
- fi
- cmake_build rebuild_cache
- if use test; then
- cmake_build tests
- fi
-}
-
-src_install() {
- if use doc; then
- mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
- local HTML_DOCS=(
- "${BUILD_DIR}"/doc/generated/html/.
- "${BUILD_DIR}"/doc/html-manual
- )
- fi
- cmake_src_install
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/log/gvm
- if ! use prefix; then
- fowners gvm:gvm /var/log/gvm
- fi
-
- keepdir /var/lib/openvas/{gnupg,plugins}
- if ! use prefix; then
- fowners -R gvm:gvm /var/lib/openvas
- fi
-
- insinto /etc/openvas
- newins "${FILESDIR}/openvas.conf-22" openvas.conf
-
- systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
- newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
-
- insinto /etc/gvm
- doins config/redis-openvas.conf
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
- fi
-
- fperms 0750 /etc/gvm
- fperms 0640 /etc/gvm/redis-openvas.conf
-
- newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
- newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
-
- if use prefix; then
- diropts -m0750
- else
- diropts -m0750 -o gvm -g gvm
- fi
- keepdir /var/lib/openvas/redis
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- tmpfiles_process redis-openvas.conf
- optfeature "port scanner" net-analyzer/nmap
- readme.gentoo_print_elog
-}
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
similarity index 97%
rename from net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
rename to net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
index 5c8c16dce1d2..4437e7dc21b4 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.9.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
@@ -13,26 +13,27 @@ SRC_URI="
https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
-SLOT="0"
LICENSE="GPL-2 GPL-2+"
-KEYWORDS="amd64 ~x86"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
DEPEND="
acct-user/gvm
+ app-crypt/gpgme:=
>=dev-db/redis-5.0.3
>=dev-libs/glib-2.42:2
- >=dev-libs/json-glib-1.4.4
- >=net-libs/gnutls-3.2.15:=
- >=net-analyzer/gvm-libs-22.4
- net-libs/libpcap
- app-crypt/gpgme:=
>=dev-libs/libgcrypt-1.6:=
dev-libs/libgpg-error
>=dev-libs/libksba-1.0.7
- >=net-libs/libssh-0.6.0:=
dev-libs/libbsd
+ >=net-libs/libssh-0.6.0:=
+ >=dev-libs/json-glib-1.4.4
+ >=net-analyzer/gvm-libs-22.4
+ >=net-libs/gnutls-3.6.4:=
+ net-libs/libpcap
+ >=net-misc/curl-7.74.0[ssl]
snmp? ( net-analyzer/net-snmp:= )
"
RDEPEND="${DEPEND}"
@@ -82,7 +83,6 @@ src_configure() {
"-DSBINDIR=${EPREFIX}/usr/bin"
"-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
"-DOPENVAS_RUN_DIR=/run/ospd"
- "-DINSTALL_OLD_SYNC_SCRIPT=OFF"
"-DBUILD_WITH_NETSNMP=$(usex snmp)"
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-09-14 10:09 Florian Schmaus
0 siblings, 0 replies; 33+ messages in thread
From: Florian Schmaus @ 2024-09-14 10:09 UTC (permalink / raw
To: gentoo-commits
commit: 8663b2f57db4a67940f8f5d9b0758cabea2c820e
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Sep 7 22:18:48 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 09:57:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8663b2f5
net-analyzer/openvas-scanner: add 23.9.0
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38513
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/openvas-scanner/Manifest | 1 +
.../openvas-scanner/openvas-scanner-23.9.0.ebuild | 158 +++++++++++++++++++++
2 files changed, 159 insertions(+)
diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest
index 1e8154929c2f..1a181a26e39d 100644
--- a/net-analyzer/openvas-scanner/Manifest
+++ b/net-analyzer/openvas-scanner/Manifest
@@ -1,2 +1,3 @@
DIST openvas-scanner-23.3.2.tar.gz 1416687 BLAKE2B 6d8b0ba5b0a6f503ef27962fc9007f5538ecc6747aa713baec402acb20c5f7da01743a055173ed736ea90beb6d62f54ad8db8bffc915ce946416553f953b9842 SHA512 045a0811b5480170e52a218c8005d01acf064658aa0c3999ec9c07df9a0da47c53ad3de17565c1542c6f13521153e0477e9fdf92dee5f05e6723e29915cebc15
DIST openvas-scanner-23.8.4.tar.gz 1448233 BLAKE2B 6ee681ebae29cecfdb237ac9e60959bc8cdaa5acf04af7e4d8b3de587a72f827101a6609e7434a34459b12842d555da2ecaf30c571609bdf7359e7d9c406b7c1 SHA512 63a5301610f16d046b709849dfe4c8a3cc57f551de0c8c30ae701cb278ba4ade964b1007efd14d74eedf1077537ae05b4fd6f84dd62a730240ee12fc85397a9b
+DIST openvas-scanner-23.9.0.tar.gz 1462868 BLAKE2B 2214dfaeac0d9b900379816c6c984ab762249d5a6cc571635b9ac690eb63c1835cab91e076296a60ca6fe43a0b9d8c3bf4d7399f784f65eb09dd08a78da264e0 SHA512 820510e7ae7c738796809d010ef5d177f002cd6dfe2c36354e47e1bda8f32ecd1c4bdc1779d4ff3bdc5d9ab31fe4e8330b0142206b54132c84dfc5f8b37bd87e
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild
new file mode 100644
index 000000000000..4437e7dc21b4
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.9.0.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature
+
+MY_DN="openvas"
+
+DESCRIPTION="Open Vulnerability Assessment Scanner"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/"
+SRC_URI="
+ https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc snmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:=
+ >=dev-db/redis-5.0.3
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libgcrypt-1.6:=
+ dev-libs/libgpg-error
+ >=dev-libs/libksba-1.0.7
+ dev-libs/libbsd
+ >=net-libs/libssh-0.6.0:=
+ >=dev-libs/json-glib-1.4.4
+ >=net-analyzer/gvm-libs-22.4
+ >=net-libs/gnutls-3.6.4:=
+ net-libs/libpcap
+ >=net-misc/curl-7.74.0[ssl]
+ snmp? ( net-analyzer/net-snmp:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=sys-devel/bison-2.5
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-perl/CGI
+ dev-perl/SQL-Translator
+ virtual/pandoc
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Remove -Werror compiler flag
+ sed -i -e "s/-Werror//" "${S}"/CMakeLists.txt || die #909560
+ # QA-Fix | Remove !CLANG doxygen warnings for 7.0.0
+ if use doc; then
+ if ! tc-is-clang; then
+ local f
+ for f in doc/*.in
+ do
+ sed -i \
+ -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \
+ -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \
+ "${f}" || die "couldn't disable CLANG parsing"
+ done
+ fi
+ fi
+
+ #Remove tests that doesn't work in the network sandbox
+ if use test; then
+ sed -i 's/add_test (pcap-test pcap-test)/ /g' misc/CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DOPENVAS_FEED_LOCK_PATH=${EPREFIX}/var/lib/openvas/feed-update.lock"
+ "-DOPENVAS_RUN_DIR=/run/ospd"
+ "-DBUILD_WITH_NETSNMP=$(usex snmp)"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doxygen-full manual
+ fi
+ cmake_build rebuild_cache
+ if use test; then
+ cmake_build tests
+ fi
+}
+
+src_install() {
+ if use doc; then
+ mv "${BUILD_DIR}"/doc/html "${BUILD_DIR}"/doc/html-manual || die
+ local HTML_DOCS=(
+ "${BUILD_DIR}"/doc/generated/html/.
+ "${BUILD_DIR}"/doc/html-manual
+ )
+ fi
+ cmake_src_install
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${MY_DN}.logrotate" "${MY_DN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/log/gvm
+ if ! use prefix; then
+ fowners gvm:gvm /var/log/gvm
+ fi
+
+ keepdir /var/lib/openvas/{gnupg,plugins}
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/openvas
+ fi
+
+ insinto /etc/openvas
+ newins "${FILESDIR}/openvas.conf-22" openvas.conf
+
+ systemd_newunit "${FILESDIR}/redis-openvas.service" redis-openvas.service
+ newtmpfiles "${FILESDIR}/redis-openvas.tmpfiles" redis-openvas.conf
+
+ insinto /etc/gvm
+ doins config/redis-openvas.conf
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm /etc/gvm/redis-openvas.conf
+ fi
+
+ fperms 0750 /etc/gvm
+ fperms 0640 /etc/gvm/redis-openvas.conf
+
+ newconfd "${FILESDIR}/redis-openvas.confd" redis-openvas
+ newinitd "${FILESDIR}/redis-openvas.initd" redis-openvas
+
+ if use prefix; then
+ diropts -m0750
+ else
+ diropts -m0750 -o gvm -g gvm
+ fi
+ keepdir /var/lib/openvas/redis
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ tmpfiles_process redis-openvas.conf
+ optfeature "port scanner" net-analyzer/nmap
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 33+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/
@ 2024-10-03 15:50 Jakov Smolić
0 siblings, 0 replies; 33+ messages in thread
From: Jakov Smolić @ 2024-10-03 15:50 UTC (permalink / raw
To: gentoo-commits
commit: 689051f26d9cf502be3020c383906fab019d48e3
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 3 15:50:02 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 3 15:50:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689051f2
net-analyzer/openvas-scanner: Stabilize 23.8.4 amd64, #940670
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
index 4437e7dc21b4..b8b26ec02987 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-23.8.4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
LICENSE="GPL-2 GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc snmp test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 33+ messages in thread
end of thread, other threads:[~2024-10-03 15:50 UTC | newest]
Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 8:22 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2024-10-03 15:50 Jakov Smolić
2024-09-14 10:09 Florian Schmaus
2024-08-20 6:49 Joonas Niilola
2024-07-23 3:55 Sam James
2024-06-06 6:56 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2024-02-28 7:17 Florian Schmaus
2023-12-01 9:55 Florian Schmaus
2023-11-21 8:01 Florian Schmaus
2023-10-16 7:36 Florian Schmaus
2023-10-16 7:36 Florian Schmaus
2023-10-09 10:54 Florian Schmaus
2023-07-31 12:57 Florian Schmaus
2023-07-24 7:18 Florian Schmaus
2022-05-09 12:07 Florian Schmaus
2022-05-03 12:40 Florian Schmaus
2022-05-02 16:12 Florian Schmaus
2022-05-02 11:16 Florian Schmaus
2021-04-12 22:50 Sam James
2021-04-03 19:53 Sam James
2020-07-14 12:57 Joonas Niilola
2020-07-14 12:57 Joonas Niilola
2020-07-14 12:57 Joonas Niilola
2020-03-03 6:03 Joonas Niilola
2020-02-08 17:06 David Seifert
2019-12-21 15:06 Joonas Niilola
2019-01-03 19:39 Hanno Boeck
2018-12-31 23:43 Andreas Sturmlechner
2015-11-18 15:57 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox