* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2019-12-21 15:06 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2019-12-21 15:06 UTC (permalink / raw
To: gentoo-commits
commit: 9497073311b57e43968fc80bdabb8e4c11f3387d
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Wed Dec 18 20:19:13 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 15:06:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94970733
net-analyzer/gvmd: drop old 7.0.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/gvmd/gvmd-8.0.1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/gvmd/gvmd-8.0.1.ebuild b/net-analyzer/gvmd/gvmd-8.0.1.ebuild
index 2c6da5d39c1..6d6b5c3f3eb 100644
--- a/net-analyzer/gvmd/gvmd-8.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-8.0.1.ebuild
@@ -28,7 +28,6 @@ DEPEND="
RDEPEND="
${DEPEND}
- !net-analyzer/openvas-manager
~net-analyzer/openvas-scanner-6.0.1"
BDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-02-08 17:06 David Seifert
0 siblings, 0 replies; 24+ messages in thread
From: David Seifert @ 2020-02-08 17:06 UTC (permalink / raw
To: gentoo-commits
commit: 664849374c964960214cbf93526fa2a64623f4b6
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 17:05:34 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 17:05:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66484937
net-analyzer/gvmd: [QA] Remove unnecessary -DCMAKE_INSTALL_PREFIX arguments
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-analyzer/gvmd/gvmd-8.0.1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/gvmd/gvmd-8.0.1.ebuild b/net-analyzer/gvmd/gvmd-8.0.1.ebuild
index adb7ef65163..7289dcd5f82 100644
--- a/net-analyzer/gvmd/gvmd-8.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-8.0.1.ebuild
@@ -69,7 +69,6 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
"-DLOCALSTATEDIR=${EPREFIX}/var"
"-DSYSCONFDIR=${EPREFIX}/etc"
)
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-03-03 6:03 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2020-03-03 6:03 UTC (permalink / raw
To: gentoo-commits
commit: d0740b08c308886ad41fec5d7bce6126b478219a
Author: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Sun Mar 1 12:21:03 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=d0740b08
net-analyzer/gvmd: 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/gvmd/metadata.xml | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/net-analyzer/gvmd/metadata.xml b/net-analyzer/gvmd/metadata.xml
index 36ce32a69a9..1bb5d1b974f 100644
--- a/net-analyzer/gvmd/metadata.xml
+++ b/net-analyzer/gvmd/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="extras">Html docs support</flag>
</use>
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-03-26 14:01 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2020-03-26 14:01 UTC (permalink / raw
To: gentoo-commits
commit: 469f9499e5c5b2bdf0ef616984d101118de84bc4
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Wed Mar 25 22:49:48 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 14:00:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469f9499
net-analyzer/gvmd: add postgres[uuid] depend on 9.0.0
Closes: https://bugs.gentoo.org/714772
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/15120
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/gvmd/gvmd-9.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/gvmd/gvmd-9.0.0.ebuild b/net-analyzer/gvmd/gvmd-9.0.0.ebuild
index 58e83c51833..e0a0cce830e 100644
--- a/net-analyzer/gvmd/gvmd-9.0.0.ebuild
+++ b/net-analyzer/gvmd/gvmd-9.0.0.ebuild
@@ -18,7 +18,7 @@ IUSE="extras +postgres sqlite"
REQUIRED_USE="postgres !sqlite"
DEPEND="
- dev-db/postgresql:*
+ dev-db/postgresql:*[uuid]
dev-libs/libgcrypt:0=
dev-libs/libical
>=net-analyzer/gvm-libs-11.0.0
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: a7d8e0beff925301ff1c930ebfc51c81305c8a5c
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:44:21 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=a7d8e0be
net-analyzer/gvmd: Version bump to 9.0.1
Closes: https://bugs.gentoo.org/725902
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/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-9.0.1.ebuild | 113 ++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 040172ac1ef..e7b86b11a5b 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,2 +1,3 @@
DIST gvmd-8.0.1.tar.gz 1495311 BLAKE2B 17419f5fecf7cce07536a5e12f17a61a31d45add185e0e1635515834eca6abd8a6babeb89b8f879ff8cb90b60f3682a19a62403142f4901be3f932b8a44cac68 SHA512 5490b902ad42499657eca9031b396c70a82d3c523985601067e697758f2472d123c4e99b085b963e58888d99224fa2a441a140772c702d7cd60d6424b126bfc8
DIST gvmd-9.0.0.tar.gz 1425724 BLAKE2B f44c14a660f2ee9986e5873011233a423565acfdaea479ac6749998da997343a97dabec0355d618fd9032b65871737ba0407525b8d2b49e88aaa58523b633cae SHA512 99faf4b4a9e0baf7993769efb30ef39e09d76173416b44baa1b0849c7b68bd07cd9f82404832136a3e1b37769c7d5e77e5da54275ff75fffc2e6e6fa7a8b9dac
+DIST gvmd-9.0.1.tar.gz 1446748 BLAKE2B 7b7b4e8e4224e7a24964f39157bd0535fb4e6405b2813da7c827f4705c4b5df4d953783a3e21950c9196aa5878a09ce6eec7b4d906cc13730e508b0aa5d4be61 SHA512 4c4f0e1fdd2255be1a96967d61d9066d8860aecc5959f04c559b1a248bcc54d9cb75facd0156e223d674f038718f1e8ba0ee6b36cdc8ed88efe480acd1aa54cf
diff --git a/net-analyzer/gvmd/gvmd-9.0.1.ebuild b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
new file mode 100644
index 00000000000..05f2b3421db
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
@@ -0,0 +1,113 @@
+# 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 systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net/en/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras +postgres sqlite"
+# keep deprecated USE Flags for revdep of gvm
+REQUIRED_USE="postgres !sqlite"
+
+DEPEND="
+ dev-db/postgresql:*[uuid]
+ dev-libs/libgcrypt:0=
+ dev-libs/libical
+ >=net-analyzer/gvm-libs-11.0.1
+ net-libs/gnutls:=[tools]
+ extras? (
+ app-text/xmlstarlet
+ dev-texlive/texlive-latexextra )"
+
+RDEPEND="
+ ${DEPEND}
+ acct-user/gvm
+ net-analyzer/ospd-openvas"
+
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ extras? (
+ app-doc/doxygen[dot]
+ app-doc/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "$S"/CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-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
+
+ insinto /etc/gvm
+ doins -r "${FILESDIR}"/*sync*
+
+ insinto /etc/gvm/sysconfig
+ doins "${FILESDIR}/${PN}-daemon.conf"
+
+ exeinto /etc/gvm
+ doexe "${FILESDIR}"/gvmd-startpre.sh
+
+ fowners -R gvm:gvm /etc/gvm
+
+ newinitd "${FILESDIR}/${PN}.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ fowners -R gvm:gvm /var/lib/gvm
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-07-14 12:57 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 7a1dccd4deff5500b23a1bfcb0ef9dd3d8467033
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:45:16 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=7a1dccd4
net-analyzer/gvmd: 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/gvmd/Manifest | 1 -
net-analyzer/gvmd/gvmd-9.0.0.ebuild | 113 ------------------------------------
2 files changed, 114 deletions(-)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index e7b86b11a5b..04581ca8a8b 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,3 +1,2 @@
DIST gvmd-8.0.1.tar.gz 1495311 BLAKE2B 17419f5fecf7cce07536a5e12f17a61a31d45add185e0e1635515834eca6abd8a6babeb89b8f879ff8cb90b60f3682a19a62403142f4901be3f932b8a44cac68 SHA512 5490b902ad42499657eca9031b396c70a82d3c523985601067e697758f2472d123c4e99b085b963e58888d99224fa2a441a140772c702d7cd60d6424b126bfc8
-DIST gvmd-9.0.0.tar.gz 1425724 BLAKE2B f44c14a660f2ee9986e5873011233a423565acfdaea479ac6749998da997343a97dabec0355d618fd9032b65871737ba0407525b8d2b49e88aaa58523b633cae SHA512 99faf4b4a9e0baf7993769efb30ef39e09d76173416b44baa1b0849c7b68bd07cd9f82404832136a3e1b37769c7d5e77e5da54275ff75fffc2e6e6fa7a8b9dac
DIST gvmd-9.0.1.tar.gz 1446748 BLAKE2B 7b7b4e8e4224e7a24964f39157bd0535fb4e6405b2813da7c827f4705c4b5df4d953783a3e21950c9196aa5878a09ce6eec7b4d906cc13730e508b0aa5d4be61 SHA512 4c4f0e1fdd2255be1a96967d61d9066d8860aecc5959f04c559b1a248bcc54d9cb75facd0156e223d674f038718f1e8ba0ee6b36cdc8ed88efe480acd1aa54cf
diff --git a/net-analyzer/gvmd/gvmd-9.0.0.ebuild b/net-analyzer/gvmd/gvmd-9.0.0.ebuild
deleted file mode 100644
index e0a0cce830e..00000000000
--- a/net-analyzer/gvmd/gvmd-9.0.0.ebuild
+++ /dev/null
@@ -1,113 +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 systemd toolchain-funcs
-
-DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
-HOMEPAGE="https://www.greenbone.net/en/"
-SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="extras +postgres sqlite"
-# keep deprecated USE Flags for revdep of gvm
-REQUIRED_USE="postgres !sqlite"
-
-DEPEND="
- dev-db/postgresql:*[uuid]
- dev-libs/libgcrypt:0=
- dev-libs/libical
- >=net-analyzer/gvm-libs-11.0.0
- net-libs/gnutls:=[tools]
- extras? (
- app-text/xmlstarlet
- dev-texlive/texlive-latexextra )"
-
-RDEPEND="
- ${DEPEND}
- acct-user/gvm
- net-analyzer/ospd-openvas"
-
-BDEPEND="
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- extras? (
- app-doc/doxygen[dot]
- app-doc/xmltoman
- app-text/htmldoc
- dev-libs/libxslt
- )"
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
- sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die
- sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "$S"/CMakeLists.txt || die
- # QA-Fix | Remove !CLANG Doxygen warnings for 9.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"
- "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
- "-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
-
- insinto /etc/gvm
- doins -r "${FILESDIR}"/*sync*
-
- insinto /etc/gvm/sysconfig
- doins "${FILESDIR}/${PN}-daemon.conf"
-
- exeinto /etc/gvm
- doexe "${FILESDIR}"/gvmd-startpre.sh
-
- fowners -R gvm:gvm /etc/gvm
-
- newinitd "${FILESDIR}/${PN}.init" "${PN}"
- newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}.logrotate" "${PN}"
-
- systemd_dounit "${FILESDIR}/${PN}.service"
-
- # Set proper permissions on required files/directories
- keepdir /var/lib/gvm/gvmd
- fowners -R gvm:gvm /var/lib/gvm
-}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2020-07-15 8:06 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2020-07-15 8:06 UTC (permalink / raw
To: gentoo-commits
commit: 395b237139e87afd0b71b1030892aa094862736e
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Tue Jul 14 13:46:43 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 08:06:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395b2371
net-analyzer/gvmd: fix tests in 9.0.1
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/16698
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/gvmd/gvmd-9.0.1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-9.0.1.ebuild b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
index 05f2b3421db..837980d8e68 100644
--- a/net-analyzer/gvmd/gvmd-9.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
@@ -13,9 +13,10 @@ SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE="extras +postgres sqlite"
+IUSE="extras +postgres sqlite test"
# keep deprecated USE Flags for revdep of gvm
REQUIRED_USE="postgres !sqlite"
+RESTRICT="!test? ( test )"
DEPEND="
dev-db/postgresql:*[uuid]
@@ -41,7 +42,8 @@ BDEPEND="
app-doc/xmltoman
app-text/htmldoc
dev-libs/libxslt
- )"
+ )
+ test? ( dev-libs/cgreen )"
src_prepare() {
cmake_src_prepare
@@ -79,6 +81,9 @@ src_compile() {
cmake_build -C "${BUILD_DIR}" doc
cmake_build doc-full -C "${BUILD_DIR}" doc
fi
+ if use test; then
+ cmake_build tests
+ fi
cmake_build rebuild_cache
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2021-01-09 10:36 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-01-09 10:36 UTC (permalink / raw
To: gentoo-commits
commit: f24b2362ad717a7e368f58f33aab0470aee2343b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 09:54:37 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 9 10:36:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24b2362
net-analyzer/gvmd: fix trailing whitespace
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/gvmd/gvmd-9.0.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-9.0.1.ebuild b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
index b48b9a9102a..d22d159745d 100644
--- a/net-analyzer/gvmd/gvmd-9.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-9.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
@@ -46,7 +46,7 @@ BDEPEND="
test? ( dev-libs/cgreen )"
PATCHES=(
- # Replace deprecated glibc sys_siglist with strsignal
+ # Replace deprecated glibc sys_siglist with strsignal
"${FILESDIR}/${P}-glibc_siglist.patch"
)
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2021-03-22 13:36 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2021-03-22 13:36 UTC (permalink / raw
To: gentoo-commits
commit: 79cab7c0ed326be79d24e15689e3f38e77f9d1b4
Author: Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Sun Mar 21 20:51:28 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 13:33:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cab7c0
net-analyzer/gvmd: drop old useless useflag
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/19997
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/gvmd/gvmd-9.0.1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-9.0.1.ebuild b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
index d22d159745d..6ea48c70ccc 100644
--- a/net-analyzer/gvmd/gvmd-9.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
@@ -13,9 +13,7 @@ SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86"
-IUSE="extras +postgres sqlite test"
-# keep deprecated USE Flags for revdep of gvm
-REQUIRED_USE="postgres !sqlite"
+IUSE="extras test"
RESTRICT="!test? ( test )"
DEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2021-03-22 13:36 Joonas Niilola
0 siblings, 0 replies; 24+ messages in thread
From: Joonas Niilola @ 2021-03-22 13:36 UTC (permalink / raw
To: gentoo-commits
commit: 342d5634fd4b624a3195ec4d928ab48748a2b619
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 13:35:11 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 13:35:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342d5634
net-analyzer/gvmd: remove redundant S from src_prepare in 20.8.1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-analyzer/gvmd/gvmd-20.8.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-20.8.1.ebuild b/net-analyzer/gvmd/gvmd-20.8.1.ebuild
index 272afbb0fa7..545dc420d40 100644
--- a/net-analyzer/gvmd/gvmd-20.8.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-20.8.1.ebuild
@@ -48,8 +48,8 @@ BDEPEND="
src_prepare() {
cmake_src_prepare
# QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
- sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die
- sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "$S"/CMakeLists.txt || die
+ sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" CMakeLists.txt || die
# QA-Fix | Remove !CLANG Doxygen warnings for 9.0.0
if use extras; then
if ! tc-is-clang; then
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2021-04-12 22:50 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2021-04-12 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 732ec4e3f98cfc60822fb99603e5a798dcbe91ca
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 06:18:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 12 22:50:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732ec4e3
net-analyzer/gvmd: fix variable references
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/gvmd/gvmd-9.0.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-9.0.1.ebuild b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
index 6ea48c70ccc..b359f276a7b 100644
--- a/net-analyzer/gvmd/gvmd-9.0.1.ebuild
+++ b/net-analyzer/gvmd/gvmd-9.0.1.ebuild
@@ -51,8 +51,8 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
# QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
- sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die
- sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "$S"/CMakeLists.txt || die
+ sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "${S}"/doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "${S}"/CMakeLists.txt || die
# QA-Fix | Remove !CLANG Doxygen warnings for 9.0.0
if use extras; then
if ! tc-is-clang; then
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2022-05-02 11:16 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2022-05-02 11:16 UTC (permalink / raw
To: gentoo-commits
commit: a0e38592677563205784513849b031a828ad5fe6
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 09:26:15 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 2 11:16:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e38592
net-analyzer/gvmd: add 21.4.4
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-21.4.4.ebuild | 127 +++++++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index b5200b5bbfd3..f4c9e78b54dc 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,3 +1,4 @@
DIST gvm-report-formats-0.1.tar.gz 58962 BLAKE2B 45cb5a7b81b68524254947503921f871577b86c2d7696758b365205b5ed8e4516840f704d3bcb8da6925a536db8e01fb9f0d922a3a2233dd4d4fa21e4308dc1b SHA512 8ae128ca087b7d1ecd2b84cb43e67b8f920001699268b9ce70d1f703f1dac68d8905354f5a8203808982291fdeb80fb11569a0bb559df0263296c603c691b422
DIST gvmd-20.8.1.tar.gz 1024660 BLAKE2B c2981d73efe4bb32008c82ba9a017f58ade18efe00d85c1876a872ae9c6260e801697ef7c7bc9c0862e92043167ecd58d082b97c746308d983ffac7991146d83 SHA512 e946be6c67970fdb0e4e6fbb2ac9445576c280c3ac7503ff42aac2c079e817ee587a37477956917b576bafab3e7caa281da5befa6502b044562051ae976889b2
+DIST gvmd-21.4.4.tar.gz 1031202 BLAKE2B bbb1b2cfba31fafa3e44453b493e78f916ffb9a27c0072ba8f9655b6936d678417258133e87cd9b160b5d3768058f2f8ebb1a7523860c4965a4eadac2bfb5aeb SHA512 4bff2cafab6672d30cac03c306083c703a42b299020fa662165143ef604a00cad0f1ce7e144005f2c9acb4dd5e2dd61ac0542b088328e8428f91a830fbbe5eed
DIST gvmd-9.0.1.tar.gz 1446748 BLAKE2B 7b7b4e8e4224e7a24964f39157bd0535fb4e6405b2813da7c827f4705c4b5df4d953783a3e21950c9196aa5878a09ce6eec7b4d906cc13730e508b0aa5d4be61 SHA512 4c4f0e1fdd2255be1a96967d61d9066d8860aecc5959f04c559b1a248bcc54d9cb75facd0156e223d674f038718f1e8ba0ee6b36cdc8ed88efe480acd1aa54cf
diff --git a/net-analyzer/gvmd/gvmd-21.4.4.ebuild b/net-analyzer/gvmd/gvmd-21.4.4.ebuild
new file mode 100644
index 000000000000..ea78308c4ab3
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-21.4.4.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit cmake systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/gvmd/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/j-licht/gvmd_report_formats/archive/v0.1.tar.gz -> gvm-report-formats-0.1.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-group/gvm
+ acct-user/gvm
+ app-crypt/gpgme:1=
+ dev-db/postgresql:*[uuid]
+ dev-libs/glib:2
+ dev-libs/libgcrypt:0=
+ dev-libs/libical:=
+ >=net-analyzer/gvm-libs-${PV}
+ net-libs/gnutls:=[tools]
+ extras? (
+ app-text/xmlstarlet
+ dev-texlive/texlive-latexextra )"
+
+RDEPEND="
+ ${DEPEND}
+ net-analyzer/ospd-openvas"
+
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ extras? (
+ app-doc/doxygen[dot]
+ app-doc/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )
+ test? ( dev-libs/cgreen )"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-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
+ if use test; then
+ cmake_build tests
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use extras; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ #QA-Fix
+ #rm -r "${D}/usr/etc" || die
+
+ insinto /etc/gvm
+ doins -r "${FILESDIR}"/*sync*
+
+ insinto /etc/gvm/sysconfig
+ doins "${FILESDIR}/${PN}-daemon.conf"
+
+ exeinto /etc/gvm
+ doexe "${FILESDIR}"/gvmd-startpre.sh
+
+ fowners -R gvm:gvm /etc/gvm
+
+ newinitd "${FILESDIR}/${PN}.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotate" "${PN}"
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ fowners -R gvm:gvm /var/lib/gvm
+
+ #add report formats from old version for migration
+ insinto /usr/share/gvm/gvmd/
+ doins -r "${WORKDIR}/gvmd_report_formats-0.1/report_formats/"
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2022-05-08 17:02 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2022-05-08 17:02 UTC (permalink / raw
To: gentoo-commits
commit: 0763de80c3b751bba4c8b898f85cb95a645cca18
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun May 8 16:59:08 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 8 17:02:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0763de80
net-analyzer/gvmd: fix systemd service
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/{gvmd-21.4.5-r1.ebuild => gvmd-21.4.5-r2.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild b/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
similarity index 93%
rename from net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild
rename to net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
index 4c49deefa350..c1263553cba5 100644
--- a/net-analyzer/gvmd/gvmd-21.4.5-r1.ebuild
+++ b/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
@@ -66,6 +66,12 @@ src_prepare() {
# https://github.com/greenbone/gvmd/pull/1819
sed -i "/^EnvironmentFile/d" config/gvmd.service.in || die
+
+ # Upstream 3ebab6044818f1710b73c04e94fd9bea148c9853
+ sed -i \
+ -e 's/^RuntimeDirectory=gvm/RuntimeDirectory=gvmd/' \
+ -e 's/GVM_RUN_DIR/GVMD_RUN_DIR/' \
+ config/gvmd.service.in || die
}
src_configure() {
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2022-05-09 9:36 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2022-05-09 9:36 UTC (permalink / raw
To: gentoo-commits
commit: 82ca4a49e19d69a79906f6553c4c37ce2cf77409
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 09:34:20 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 9 09:36:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ca4a49
net-analyzer/gvmd: add XML-Twig dependency, do not install runtime dir
Also check not-prefix before calling fowners.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
...{gvmd-21.4.5-r2.ebuild => gvmd-21.4.5-r3.ebuild} | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild b/net-analyzer/gvmd/gvmd-21.4.5-r3.ebuild
similarity index 87%
rename from net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
rename to net-analyzer/gvmd/gvmd-21.4.5-r3.ebuild
index c1263553cba5..ea09acaeeeb5 100644
--- a/net-analyzer/gvmd/gvmd-21.4.5-r2.ebuild
+++ b/net-analyzer/gvmd/gvmd-21.4.5-r3.ebuild
@@ -24,12 +24,15 @@ DEPEND="
dev-libs/libical:=
>=net-analyzer/gvm-libs-21.4.4
net-libs/gnutls:=[tools]
- doc? (
+ doc? (
app-text/xmlstarlet
- dev-texlive/texlive-latexextra )
+ dev-texlive/texlive-latexextra
+ )
"
+# gvmd (optionally) uses xml_split from XML-Twig at runtime.
RDEPEND="
${DEPEND}
+ dev-perl/XML-Twig
net-analyzer/ospd-openvas
"
BDEPEND="
@@ -72,6 +75,9 @@ src_prepare() {
-e 's/^RuntimeDirectory=gvm/RuntimeDirectory=gvmd/' \
-e 's/GVM_RUN_DIR/GVMD_RUN_DIR/' \
config/gvmd.service.in || die
+
+ # https://github.com/greenbone/gvmd/pull/1824
+ sed -i '/^install (DIRECTORY DESTINATION ${GVMD_RUN_DIR})/d' CMakeLists.txt || die
}
src_configure() {
@@ -105,15 +111,16 @@ src_install() {
insinto /etc/gvm/sysconfig
doins "${FILESDIR}/${PN}-daemon.conf"
-
- fowners -R gvm:gvm /etc/gvm
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
newinitd "${FILESDIR}/${P}.init" "${PN}"
newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}"
# Set proper permissions on required files/directories
keepdir /var/lib/gvm/gvmd
- fowners -R gvm:gvm /var/lib/gvm
-
- rm -r "${D}/run" || die
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2022-05-09 14:42 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2022-05-09 14:42 UTC (permalink / raw
To: gentoo-commits
commit: e2e8c8a07c3e1f2dc4b60e2ad384c024ac4d672c
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 14:40:59 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 9 14:42:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e8c8a0
net-analyzer/gvmd: texlive and xmlstarlet are non-optional runtime deps
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.../gvmd/{gvmd-21.4.5-r4.ebuild => gvmd-21.4.5-r5.ebuild} | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-21.4.5-r4.ebuild b/net-analyzer/gvmd/gvmd-21.4.5-r5.ebuild
similarity index 93%
rename from net-analyzer/gvmd/gvmd-21.4.5-r4.ebuild
rename to net-analyzer/gvmd/gvmd-21.4.5-r5.ebuild
index 5b5e6ab83497..05dd1b3e920e 100644
--- a/net-analyzer/gvmd/gvmd-21.4.5-r4.ebuild
+++ b/net-analyzer/gvmd/gvmd-21.4.5-r5.ebuild
@@ -24,15 +24,14 @@ DEPEND="
dev-libs/libical:=
>=net-analyzer/gvm-libs-21.4.4
net-libs/gnutls:=[tools]
- doc? (
- app-text/xmlstarlet
- dev-texlive/texlive-latexextra
- )
"
-# gvmd (optionally) uses xml_split from XML-Twig at runtime.
+# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
+# and xmlstartlet are used for (PDF) report generator at runtime.
RDEPEND="
${DEPEND}
+ app-text/xmlstarlet
dev-perl/XML-Twig
+ dev-texlive/texlive-latexextra
net-analyzer/ospd-openvas
"
BDEPEND="
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2023-07-24 7:18 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2023-07-24 7:18 UTC (permalink / raw
To: gentoo-commits
commit: 9ddeca7d54bc01be9ea69c4b4bbfaed1ebbe8156
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Jul 20 20:22:55 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=9ddeca7d
net-analyzer/gvmd: add 22.5.5, drop 22.5.1
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31977
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 2 +-
net-analyzer/gvmd/{gvmd-22.5.1.ebuild => gvmd-22.5.5.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 39e788d9caa4..160ca61dd5ae 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,2 +1,2 @@
DIST gvmd-21.4.5.tar.gz 1041186 BLAKE2B 18edc375084a6c6445f12779935e34d20826d2390481cbcdc06cab8dea81ea9c6bddeda437b081137f858e860f725431d33d5654eae231e303e0dc5618a89c8a SHA512 5b22b9bfd58ae73fb973941c7a96027599ccc5b78d822eac9c840460cb75bf60a398519569daa04d5c4d935dbe3974335f87e2c1c5fa751b4cec1ea6e5f064ec
-DIST gvmd-22.5.1.tar.gz 1031083 BLAKE2B 8c999b86e049828aadbdafcf14aad98772f05f5be3bcd7bed2176fbfddf83042d8092e6cc56325db1b5edc1ba6e33a4b508e8de593b7c4962096911e3f464ade SHA512 483bda9d05b77db2047fe4ba8e37ac062baade55234573665ed46441ff3ea220a2485829a1357f5a60ea27e304c8906ff12db7a1d41917b09d9243b4a9e763d6
+DIST gvmd-22.5.5.tar.gz 1034891 BLAKE2B 86382768133d18be08d5536ad02e501affa9c3c70ed592bffa85d0d043b1dfdb6201efcf6cbe7561a987aa7975a17236e8cd6c9382a0ffe9e123d18b221932c2 SHA512 65813ff623e62c9c8b46870617cfeaed7bc4ccc54ce5b4423e0eb93b3e91fbdcf47fc47f71a182d0aa3305267e0bde4d06975d40691ec1199780c10e6d815cf0
diff --git a/net-analyzer/gvmd/gvmd-22.5.1.ebuild b/net-analyzer/gvmd/gvmd-22.5.5.ebuild
similarity index 100%
rename from net-analyzer/gvmd/gvmd-22.5.1.ebuild
rename to net-analyzer/gvmd/gvmd-22.5.5.ebuild
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2023-07-31 9:13 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2023-07-31 9:13 UTC (permalink / raw
To: gentoo-commits
commit: 6e7e3bcafe09eba31c00c9dca3c65cb30ff9ff46
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Jul 28 15:06:34 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 09:12:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7e3bca
net-analyzer/gvmd: add 22.6.0
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32084
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-22.6.0.ebuild | 129 +++++++++++++++++++++++++++++++++++
2 files changed, 130 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 160ca61dd5ae..3cccf7e33ac5 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,2 +1,3 @@
DIST gvmd-21.4.5.tar.gz 1041186 BLAKE2B 18edc375084a6c6445f12779935e34d20826d2390481cbcdc06cab8dea81ea9c6bddeda437b081137f858e860f725431d33d5654eae231e303e0dc5618a89c8a SHA512 5b22b9bfd58ae73fb973941c7a96027599ccc5b78d822eac9c840460cb75bf60a398519569daa04d5c4d935dbe3974335f87e2c1c5fa751b4cec1ea6e5f064ec
DIST gvmd-22.5.5.tar.gz 1034891 BLAKE2B 86382768133d18be08d5536ad02e501affa9c3c70ed592bffa85d0d043b1dfdb6201efcf6cbe7561a987aa7975a17236e8cd6c9382a0ffe9e123d18b221932c2 SHA512 65813ff623e62c9c8b46870617cfeaed7bc4ccc54ce5b4423e0eb93b3e91fbdcf47fc47f71a182d0aa3305267e0bde4d06975d40691ec1199780c10e6d815cf0
+DIST gvmd-22.6.0.tar.gz 1039082 BLAKE2B 0e6e53ce990090e212e035f2224bfa84c906f130dd5a33f5e57a53b3a5b82afac725db4412c5d0f3de0abc2fada5120845eaf3b93db18aa1137c948a14964594 SHA512 de6688dfd19b9bb779a963b3f8607818dad13da4024b7e0a0e80649cb11bbcf0a65bf1b72eaf5408ead2dabff2e806a0f7dd8472c6f314774b82fcd01fb37b37
diff --git a/net-analyzer/gvmd/gvmd-22.6.0.ebuild b/net-analyzer/gvmd/gvmd-22.6.0.ebuild
new file mode 100644
index 000000000000..22ce3ef705d4
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-22.6.0.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="AGPL-3+"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:1=
+ >=dev-db/postgresql-9.6:=[uuid]
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libical-1.0.0
+ >=net-analyzer/gvm-libs-20.08.0
+ >=net-libs/gnutls-3.2.15[tools]
+"
+# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
+# and xmlstartlet are used for (PDF) report generator at runtime.
+RDEPEND="
+ ${DEPEND}
+ app-text/xmlstarlet
+ dev-perl/XML-Twig
+ dev-texlive/texlive-latexextra
+ >=net-analyzer/ospd-openvas-22.4
+ >=dev-db/pg-gvm-22.4
+"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen[dot]
+ app-doc/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
+ "-DGVM_DEFAULT_DROP_USER=gvm"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ if use test; then
+ cmake_build tests
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use doc; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ insinto /etc/gvm/sysconfig
+ newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
+
+ dosbin "${FILESDIR}"/gvm-sync-all
+ systemd_dounit "${FILESDIR}"/gvm-sync-all.{service,timer}
+
+ systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
+ ${PN}.service
+}
+
+pkg_postinst() {
+ elog "If you are upgrading from a previous version, you need to update the database version."
+ elog "Please, create the running directory and give write permission to the database user"
+ elog "then run gvmd as the gvm user with --migrate option:"
+ elog "~# mkdir /run/gvmd"
+ elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
+ elog "~# sudo -u gvm gvmd --migrate"
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2023-11-21 8:01 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2023-11-21 8:01 UTC (permalink / raw
To: gentoo-commits
commit: df26a79e85d198e6acbeb8b41e9bd566f6cc44f9
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 07:54:03 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 08:00:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df26a79e
net-analyzer/gvmd: add =slot operator for libical and gnutls
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/gvmd-23.1.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/gvmd/gvmd-23.1.0.ebuild b/net-analyzer/gvmd/gvmd-23.1.0.ebuild
index 19e29eb08e9c..3478b5da213e 100644
--- a/net-analyzer/gvmd/gvmd-23.1.0.ebuild
+++ b/net-analyzer/gvmd/gvmd-23.1.0.ebuild
@@ -21,9 +21,9 @@ DEPEND="
dev-libs/libbsd
>=dev-db/postgresql-9.6:=[uuid]
>=dev-libs/glib-2.42:2
- >=dev-libs/libical-1.0.0
+ >=dev-libs/libical-1.0.0:=
>=net-analyzer/gvm-libs-22.7
- >=net-libs/gnutls-3.2.15[tools]
+ >=net-libs/gnutls-3.2.15:=[tools]
"
# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-02-28 20:50 Jakov Smolić
0 siblings, 0 replies; 24+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
To: gentoo-commits
commit: 0147a99462838b7cd93c03880fbbd7144718ff05
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:50:06 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:50:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0147a994
net-analyzer/gvmd: Stabilize 23.1.0 amd64, #925668
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/gvmd/gvmd-23.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/gvmd/gvmd-23.1.0.ebuild b/net-analyzer/gvmd/gvmd-23.1.0.ebuild
index dd9ed0e3ce9f..0730bd7ff8ed 100644
--- a/net-analyzer/gvmd/gvmd-23.1.0.ebuild
+++ b/net-analyzer/gvmd/gvmd-23.1.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="AGPL-3+"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-03-02 15:07 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2024-03-02 15:07 UTC (permalink / raw
To: gentoo-commits
commit: 1a7e4d8da93d50675d710c617a122a9ce5040ecc
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat Mar 2 07:50:14 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 15:06:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7e4d8d
net-analyzer/gvmd: add 23.4.0
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35596
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-23.4.0.ebuild | 128 +++++++++++++++++++++++++++++++++++
2 files changed, 129 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 7a42f0db917e..1c4a3025be84 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1 +1,2 @@
DIST gvmd-23.1.0.tar.gz 1050719 BLAKE2B 9ff3e679ac4c4ff0e4a5eb1ee9ed4c9d243a96b5c4d63934576ec86d70f15f6ff6dee839e29c0de50af3a829e141fa416ac993935f0a683ca135f68f17e1489a SHA512 77d08067a168065bb3b4fd10ba94c48a3207378c9b8c0be42a9570c390c92b985ebf94c53cbbe04f78c2a802de430d599593e1971bc7b93d3f0652bfe59022a4
+DIST gvmd-23.4.0.tar.gz 1064194 BLAKE2B a74ed75c69f3f793058133ec6aca93ddba34efc51267b20333916d7291484f1b1eefa5527f3bb34137584a290e4d7d150d799f9f9b0f1473dfa8c3b4d83f9cfb SHA512 0c5b0d933444d25253e234f387e9063ebbeb379d330cab9ca4eaaddc0effe6fbda312b8de51b5f9784141d149f83b6f0069d7e1f72674857b8d041ab9bff6dfd
diff --git a/net-analyzer/gvmd/gvmd-23.4.0.ebuild b/net-analyzer/gvmd/gvmd-23.4.0.ebuild
new file mode 100644
index 000000000000..f9f321120a6e
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-23.4.0.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="AGPL-3+"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:1=
+ dev-libs/libbsd
+ >=dev-db/postgresql-9.6:=[uuid]
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libical-1.0.0:=
+ >=net-analyzer/gvm-libs-22.8
+ >=net-libs/gnutls-3.2.15:=[tools]
+"
+
+# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
+# and xmlstartlet are used for (PDF) report generator at runtime.
+RDEPEND="
+ ${DEPEND}
+ app-text/xmlstarlet
+ dev-perl/XML-Twig
+ dev-texlive/texlive-latexextra
+ >=net-analyzer/ospd-openvas-22.4
+ >=dev-db/pg-gvm-22.4
+"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
+ "-DGVM_DEFAULT_DROP_USER=gvm"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ if use test; then
+ cmake_build tests
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use doc; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ insinto /etc/gvm/sysconfig
+ newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
+
+ systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
+ ${PN}.service
+}
+
+pkg_postinst() {
+ elog "If you are upgrading from a previous version, you need to update the database version."
+ elog "Please, create the running directory and give write permission to the database user"
+ elog "then run gvmd as the gvm user with --migrate option:"
+ elog "~# mkdir /run/gvmd"
+ elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
+ elog "~# sudo -u gvm gvmd --migrate"
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-04-03 17:38 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2024-04-03 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 92d2cee38046c9f27337c050f4f39889993f964c
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 06:17:28 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 17:34:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d2cee3
net-analyzer/gvmd: add 23.5.2
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35977
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-23.5.2.ebuild | 128 +++++++++++++++++++++++++++++++++++
2 files changed, 129 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 1c4a3025be84..c3c366b7f8c7 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,2 +1,3 @@
DIST gvmd-23.1.0.tar.gz 1050719 BLAKE2B 9ff3e679ac4c4ff0e4a5eb1ee9ed4c9d243a96b5c4d63934576ec86d70f15f6ff6dee839e29c0de50af3a829e141fa416ac993935f0a683ca135f68f17e1489a SHA512 77d08067a168065bb3b4fd10ba94c48a3207378c9b8c0be42a9570c390c92b985ebf94c53cbbe04f78c2a802de430d599593e1971bc7b93d3f0652bfe59022a4
DIST gvmd-23.4.0.tar.gz 1064194 BLAKE2B a74ed75c69f3f793058133ec6aca93ddba34efc51267b20333916d7291484f1b1eefa5527f3bb34137584a290e4d7d150d799f9f9b0f1473dfa8c3b4d83f9cfb SHA512 0c5b0d933444d25253e234f387e9063ebbeb379d330cab9ca4eaaddc0effe6fbda312b8de51b5f9784141d149f83b6f0069d7e1f72674857b8d041ab9bff6dfd
+DIST gvmd-23.5.2.tar.gz 1064064 BLAKE2B 84d2861f274a71b8a681cb1bfff01ee06f6bc9ab8ae0cb430e65b3f36e9f75076365efa9d5b5d6a5954d328fbc5e3aa6b942a4e1e875ca640ac814dbcc8d98be SHA512 4708fe0033d5244a988560ca9cbe8b0d5be0006690cc5c943eec3cd534329d776a556766a57257a07d40132fa5239455b9f71b4d0e9a5a4ba66d63436c2bc9f4
diff --git a/net-analyzer/gvmd/gvmd-23.5.2.ebuild b/net-analyzer/gvmd/gvmd-23.5.2.ebuild
new file mode 100644
index 000000000000..963a13a3b4ad
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-23.5.2.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="AGPL-3+"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:1=
+ dev-libs/libbsd
+ >=dev-db/postgresql-9.6:=[uuid]
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libical-1.0.0:=
+ >=net-analyzer/gvm-libs-22.9
+ >=net-libs/gnutls-3.2.15:=[tools]
+"
+
+# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
+# and xmlstartlet are used for (PDF) report generator at runtime.
+RDEPEND="
+ ${DEPEND}
+ app-text/xmlstarlet
+ dev-perl/XML-Twig
+ dev-texlive/texlive-latexextra
+ >=net-analyzer/ospd-openvas-22.4
+ >=dev-db/pg-gvm-22.4
+"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
+ "-DGVM_DEFAULT_DROP_USER=gvm"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ if use test; then
+ cmake_build tests
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use doc; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ insinto /etc/gvm/sysconfig
+ newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
+
+ systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
+ ${PN}.service
+}
+
+pkg_postinst() {
+ elog "If you are upgrading from a previous version, you need to update the database version."
+ elog "Please, create the running directory and give write permission to the database user"
+ elog "then run gvmd as the gvm user with --migrate option:"
+ elog "~# mkdir /run/gvmd"
+ elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
+ elog "~# sudo -u gvm gvmd --migrate"
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-06-06 6:56 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2024-06-06 6:56 UTC (permalink / raw
To: gentoo-commits
commit: cfbd06f4141d421b1541e88b1e868ec53ce6ca34
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Jun 6 05:37:01 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jun 6 06:55:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfbd06f4
net-analyzer/gvmd: add 23.6.2
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37047
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 1 +
net-analyzer/gvmd/gvmd-23.6.2.ebuild | 128 +++++++++++++++++++++++++++++++++++
2 files changed, 129 insertions(+)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index c3c366b7f8c7..229bbe8bb679 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,3 +1,4 @@
DIST gvmd-23.1.0.tar.gz 1050719 BLAKE2B 9ff3e679ac4c4ff0e4a5eb1ee9ed4c9d243a96b5c4d63934576ec86d70f15f6ff6dee839e29c0de50af3a829e141fa416ac993935f0a683ca135f68f17e1489a SHA512 77d08067a168065bb3b4fd10ba94c48a3207378c9b8c0be42a9570c390c92b985ebf94c53cbbe04f78c2a802de430d599593e1971bc7b93d3f0652bfe59022a4
DIST gvmd-23.4.0.tar.gz 1064194 BLAKE2B a74ed75c69f3f793058133ec6aca93ddba34efc51267b20333916d7291484f1b1eefa5527f3bb34137584a290e4d7d150d799f9f9b0f1473dfa8c3b4d83f9cfb SHA512 0c5b0d933444d25253e234f387e9063ebbeb379d330cab9ca4eaaddc0effe6fbda312b8de51b5f9784141d149f83b6f0069d7e1f72674857b8d041ab9bff6dfd
DIST gvmd-23.5.2.tar.gz 1064064 BLAKE2B 84d2861f274a71b8a681cb1bfff01ee06f6bc9ab8ae0cb430e65b3f36e9f75076365efa9d5b5d6a5954d328fbc5e3aa6b942a4e1e875ca640ac814dbcc8d98be SHA512 4708fe0033d5244a988560ca9cbe8b0d5be0006690cc5c943eec3cd534329d776a556766a57257a07d40132fa5239455b9f71b4d0e9a5a4ba66d63436c2bc9f4
+DIST gvmd-23.6.2.tar.gz 1065818 BLAKE2B 65b999c42628eec4816aea984ba1ab0383a9147ba04f934b21b5763db10dac2679cfab821520e69be42accdaad061fbb0692c9d6cd8f30db592d9466c3cdc351 SHA512 935af9a842d7b82a8467ccbb9edf1c9e8ea05c4f8a4e263c3692a2d8993209312af3d760943e32c77f8c12d2220771b9731b10dba59c89d2570682a3e363767d
diff --git a/net-analyzer/gvmd/gvmd-23.6.2.ebuild b/net-analyzer/gvmd/gvmd-23.6.2.ebuild
new file mode 100644
index 000000000000..cda404200d43
--- /dev/null
+++ b/net-analyzer/gvmd/gvmd-23.6.2.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd toolchain-funcs
+
+DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
+SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ acct-user/gvm
+ app-crypt/gpgme:1=
+ dev-libs/libbsd
+ >=dev-db/postgresql-9.6:=[uuid]
+ >=dev-libs/glib-2.42:2
+ >=dev-libs/libical-1.0.0:=
+ >=net-analyzer/gvm-libs-22.9
+ >=net-libs/gnutls-3.2.15:=[tools]
+"
+
+# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
+# and xmlstartlet are used for (PDF) report generator at runtime.
+RDEPEND="
+ ${DEPEND}
+ app-text/xmlstarlet
+ dev-perl/XML-Twig
+ dev-texlive/texlive-latexextra
+ >=net-analyzer/ospd-openvas-22.4
+ >=dev-db/pg-gvm-22.4
+"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ app-text/xmltoman
+ app-text/htmldoc
+ dev-libs/libxslt
+ )
+ test? ( dev-libs/cgreen )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
+ sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
+ sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
+ # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DLOCALSTATEDIR=${EPREFIX}/var"
+ "-DSYSCONFDIR=${EPREFIX}/etc"
+ "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
+ "-DSBINDIR=${EPREFIX}/usr/bin"
+ "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
+ "-DGVM_DEFAULT_DROP_USER=gvm"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc; then
+ cmake_build -C "${BUILD_DIR}" doc
+ cmake_build doc-full -C "${BUILD_DIR}" doc
+ fi
+ if use test; then
+ cmake_build tests
+ fi
+ cmake_build rebuild_cache
+}
+
+src_install() {
+ if use doc; then
+ local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
+ fi
+ cmake_src_install
+
+ insinto /etc/gvm/sysconfig
+ newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
+ if ! use prefix; then
+ fowners -R gvm:gvm /etc/gvm
+ fi
+
+ newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
+
+ # Set proper permissions on required files/directories
+ keepdir /var/lib/gvm/gvmd
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
+
+ systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
+ ${PN}.service
+}
+
+pkg_postinst() {
+ elog "If you are upgrading from a previous version, you need to update the database version."
+ elog "Please, create the running directory and give write permission to the database user"
+ elog "then run gvmd as the gvm user with --migrate option:"
+ elog "~# mkdir /run/gvmd"
+ elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
+ elog "~# sudo -u gvm gvmd --migrate"
+}
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-07-23 3:55 Sam James
0 siblings, 0 replies; 24+ messages in thread
From: Sam James @ 2024-07-23 3:55 UTC (permalink / raw
To: gentoo-commits
commit: e80de5c02ca51852e5d7d92408a5a73b99ad3aea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 03:54:33 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 03:54:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80de5c0
net-analyzer/gvmd: Stabilize 23.6.2 amd64, #936504
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/gvmd/gvmd-23.6.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/gvmd/gvmd-23.6.2.ebuild b/net-analyzer/gvmd/gvmd-23.6.2.ebuild
index cda404200d43..85facb7d6bcb 100644
--- a/net-analyzer/gvmd/gvmd-23.6.2.ebuild
+++ b/net-analyzer/gvmd/gvmd-23.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 24+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/
@ 2024-09-14 10:09 Florian Schmaus
0 siblings, 0 replies; 24+ messages in thread
From: Florian Schmaus @ 2024-09-14 10:09 UTC (permalink / raw
To: gentoo-commits
commit: e4789b0a735bbebafeb2f4628feb2c3719cf67c1
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Sep 6 04:54:31 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 09:56:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4789b0a
net-analyzer/gvmd: add 23.9.0, drop 23.1.0, 23.4.0, 23.5.2
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38475
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-analyzer/gvmd/Manifest | 4 +-
net-analyzer/gvmd/gvmd-23.1.0.ebuild | 128 ---------------------
net-analyzer/gvmd/gvmd-23.5.2.ebuild | 128 ---------------------
.../{gvmd-23.4.0.ebuild => gvmd-23.9.0.ebuild} | 5 +-
4 files changed, 4 insertions(+), 261 deletions(-)
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest
index 229bbe8bb679..4e5f9de70d16 100644
--- a/net-analyzer/gvmd/Manifest
+++ b/net-analyzer/gvmd/Manifest
@@ -1,4 +1,2 @@
-DIST gvmd-23.1.0.tar.gz 1050719 BLAKE2B 9ff3e679ac4c4ff0e4a5eb1ee9ed4c9d243a96b5c4d63934576ec86d70f15f6ff6dee839e29c0de50af3a829e141fa416ac993935f0a683ca135f68f17e1489a SHA512 77d08067a168065bb3b4fd10ba94c48a3207378c9b8c0be42a9570c390c92b985ebf94c53cbbe04f78c2a802de430d599593e1971bc7b93d3f0652bfe59022a4
-DIST gvmd-23.4.0.tar.gz 1064194 BLAKE2B a74ed75c69f3f793058133ec6aca93ddba34efc51267b20333916d7291484f1b1eefa5527f3bb34137584a290e4d7d150d799f9f9b0f1473dfa8c3b4d83f9cfb SHA512 0c5b0d933444d25253e234f387e9063ebbeb379d330cab9ca4eaaddc0effe6fbda312b8de51b5f9784141d149f83b6f0069d7e1f72674857b8d041ab9bff6dfd
-DIST gvmd-23.5.2.tar.gz 1064064 BLAKE2B 84d2861f274a71b8a681cb1bfff01ee06f6bc9ab8ae0cb430e65b3f36e9f75076365efa9d5b5d6a5954d328fbc5e3aa6b942a4e1e875ca640ac814dbcc8d98be SHA512 4708fe0033d5244a988560ca9cbe8b0d5be0006690cc5c943eec3cd534329d776a556766a57257a07d40132fa5239455b9f71b4d0e9a5a4ba66d63436c2bc9f4
DIST gvmd-23.6.2.tar.gz 1065818 BLAKE2B 65b999c42628eec4816aea984ba1ab0383a9147ba04f934b21b5763db10dac2679cfab821520e69be42accdaad061fbb0692c9d6cd8f30db592d9466c3cdc351 SHA512 935af9a842d7b82a8467ccbb9edf1c9e8ea05c4f8a4e263c3692a2d8993209312af3d760943e32c77f8c12d2220771b9731b10dba59c89d2570682a3e363767d
+DIST gvmd-23.9.0.tar.gz 1087527 BLAKE2B a65ebf9aec0f5a29ade63b4aadcecdbbe0e342642b30c426257ef4de0f901b40a1ceaf0586a6ced38d94f4e404913da1b8eb53d8704e6c4ffe5c9791c70be011 SHA512 07c72679ed62f05e001c40f20eda8c5eef7512176d4eba1371047c4f1a0371625f1e380e81e306f7f764f918658f8223c8209b19a1a271f129e0677862517971
diff --git a/net-analyzer/gvmd/gvmd-23.1.0.ebuild b/net-analyzer/gvmd/gvmd-23.1.0.ebuild
deleted file mode 100644
index 0730bd7ff8ed..000000000000
--- a/net-analyzer/gvmd/gvmd-23.1.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd toolchain-funcs
-
-DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
-SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="AGPL-3+"
-KEYWORDS="amd64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/gvm
- app-crypt/gpgme:1=
- dev-libs/libbsd
- >=dev-db/postgresql-9.6:=[uuid]
- >=dev-libs/glib-2.42:2
- >=dev-libs/libical-1.0.0:=
- >=net-analyzer/gvm-libs-22.7
- >=net-libs/gnutls-3.2.15:=[tools]
-"
-
-# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
-# and xmlstartlet are used for (PDF) report generator at runtime.
-RDEPEND="
- ${DEPEND}
- app-text/xmlstarlet
- dev-perl/XML-Twig
- dev-texlive/texlive-latexextra
- >=net-analyzer/ospd-openvas-22.4
- >=dev-db/pg-gvm-22.4
-"
-BDEPEND="
- app-alternatives/yacc
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/doxygen[dot]
- app-text/xmltoman
- app-text/htmldoc
- dev-libs/libxslt
- )
- test? ( dev-libs/cgreen )
-"
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
- sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
- sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
- # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
- "-DGVM_DEFAULT_DROP_USER=gvm"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use doc; then
- cmake_build -C "${BUILD_DIR}" doc
- cmake_build doc-full -C "${BUILD_DIR}" doc
- fi
- if use test; then
- cmake_build tests
- fi
- cmake_build rebuild_cache
-}
-
-src_install() {
- if use doc; then
- local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
- fi
- cmake_src_install
-
- insinto /etc/gvm/sysconfig
- newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm
- fi
-
- newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
- newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/lib/gvm/gvmd
- if ! use prefix; then
- fowners -R gvm:gvm /var/lib/gvm
- fi
-
- systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
- ${PN}.service
-}
-
-pkg_postinst() {
- elog "If you are upgrading from a previous version, you need to update the database version."
- elog "Please, create the running directory and give write permission to the database user"
- elog "then run gvmd as the gvm user with --migrate option:"
- elog "~# mkdir /run/gvmd"
- elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
- elog "~# sudo -u gvm gvmd --migrate"
-}
diff --git a/net-analyzer/gvmd/gvmd-23.5.2.ebuild b/net-analyzer/gvmd/gvmd-23.5.2.ebuild
deleted file mode 100644
index 963a13a3b4ad..000000000000
--- a/net-analyzer/gvmd/gvmd-23.5.2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd toolchain-funcs
-
-DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
-SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="AGPL-3+"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/gvm
- app-crypt/gpgme:1=
- dev-libs/libbsd
- >=dev-db/postgresql-9.6:=[uuid]
- >=dev-libs/glib-2.42:2
- >=dev-libs/libical-1.0.0:=
- >=net-analyzer/gvm-libs-22.9
- >=net-libs/gnutls-3.2.15:=[tools]
-"
-
-# gvmd (optionally) uses xml_split from XML-Twig at runtime. And texlive
-# and xmlstartlet are used for (PDF) report generator at runtime.
-RDEPEND="
- ${DEPEND}
- app-text/xmlstarlet
- dev-perl/XML-Twig
- dev-texlive/texlive-latexextra
- >=net-analyzer/ospd-openvas-22.4
- >=dev-db/pg-gvm-22.4
-"
-BDEPEND="
- app-alternatives/yacc
- app-alternatives/lex
- virtual/pkgconfig
- doc? (
- app-text/doxygen[dot]
- app-text/xmltoman
- app-text/htmldoc
- dev-libs/libxslt
- )
- test? ( dev-libs/cgreen )
-"
-
-src_prepare() {
- cmake_src_prepare
- # QA-Fix | Use correct FHS/Gentoo policy paths for 9.0.0
- sed -i -e "s*share/doc/gvm/html/*share/doc/${PF}/html/*g" doc/CMakeLists.txt || die
- sed -i -e "s*/doc/gvm/*/doc/${PF}/*g" CMakeLists.txt || die
- # QA-Fix | Remove !CLANG Doxygen warnings for 9.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
-}
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- "-DLIBDIR=${EPREFIX}/usr/$(get_libdir)"
- "-DSBINDIR=${EPREFIX}/usr/bin"
- "-DSYSTEMD_SERVICE_DIR=$(systemd_get_systemunitdir)"
- "-DGVM_DEFAULT_DROP_USER=gvm"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- if use doc; then
- cmake_build -C "${BUILD_DIR}" doc
- cmake_build doc-full -C "${BUILD_DIR}" doc
- fi
- if use test; then
- cmake_build tests
- fi
- cmake_build rebuild_cache
-}
-
-src_install() {
- if use doc; then
- local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
- fi
- cmake_src_install
-
- insinto /etc/gvm/sysconfig
- newins "${FILESDIR}/${PN}-daemon-22.conf" "${PN}-daemon.conf"
- if ! use prefix; then
- fowners -R gvm:gvm /etc/gvm
- fi
-
- newinitd "${FILESDIR}/${PN}-22.init" "${PN}"
- newconfd "${FILESDIR}/${PN}-daemon-22.conf" "${PN}"
-
- # Set proper permissions on required files/directories
- keepdir /var/lib/gvm/gvmd
- if ! use prefix; then
- fowners -R gvm:gvm /var/lib/gvm
- fi
-
- systemd_install_serviced "${FILESDIR}/gvmd.service.conf" \
- ${PN}.service
-}
-
-pkg_postinst() {
- elog "If you are upgrading from a previous version, you need to update the database version."
- elog "Please, create the running directory and give write permission to the database user"
- elog "then run gvmd as the gvm user with --migrate option:"
- elog "~# mkdir /run/gvmd"
- elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
- elog "~# sudo -u gvm gvmd --migrate"
-}
diff --git a/net-analyzer/gvmd/gvmd-23.4.0.ebuild b/net-analyzer/gvmd/gvmd-23.9.0.ebuild
similarity index 98%
rename from net-analyzer/gvmd/gvmd-23.4.0.ebuild
rename to net-analyzer/gvmd/gvmd-23.9.0.ebuild
index f9f321120a6e..f76b9fa25c3d 100644
--- a/net-analyzer/gvmd/gvmd-23.4.0.ebuild
+++ b/net-analyzer/gvmd/gvmd-23.9.0.ebuild
@@ -9,8 +9,8 @@ DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager"
HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvmd/"
SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
LICENSE="AGPL-3+"
+SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
@@ -20,9 +20,10 @@ DEPEND="
app-crypt/gpgme:1=
dev-libs/libbsd
>=dev-db/postgresql-9.6:=[uuid]
+ >=dev-libs/cJSON-1.7.14
>=dev-libs/glib-2.42:2
>=dev-libs/libical-1.0.0:=
- >=net-analyzer/gvm-libs-22.8
+ >=net-analyzer/gvm-libs-22.10
>=net-libs/gnutls-3.2.15:=[tools]
"
^ permalink raw reply related [flat|nested] 24+ messages in thread
end of thread, other threads:[~2024-09-14 10:09 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12 22:50 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvmd/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 10:09 Florian Schmaus
2024-07-23 3:55 Sam James
2024-06-06 6:56 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-03-02 15:07 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-11-21 8:01 Florian Schmaus
2023-07-31 9:13 Florian Schmaus
2023-07-24 7:18 Florian Schmaus
2022-05-09 14:42 Florian Schmaus
2022-05-09 9:36 Florian Schmaus
2022-05-08 17:02 Florian Schmaus
2022-05-02 11:16 Florian Schmaus
2021-03-22 13:36 Joonas Niilola
2021-03-22 13:36 Joonas Niilola
2021-01-09 10:36 Sam James
2020-07-15 8:06 Joonas Niilola
2020-07-14 12:57 Joonas Niilola
2020-07-14 12:57 Joonas Niilola
2020-03-26 14:01 Joonas Niilola
2020-03-03 6:03 Joonas Niilola
2020-02-08 17:06 David Seifert
2019-12-21 15:06 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox