summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-05-09 13:44:44 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-05-09 14:07:16 +0200
commit5589f7f841a34f443d806f00e4fdca2ef2a15f05 (patch)
tree73e2ebc5c0758a9648237cbcffa2426c7f68a1ed
parentnet-analyzer/openvas-scanner: drop USE cron, minor fixes (diff)
downloadgentoo-5589f7f841a34f443d806f00e4fdca2ef2a15f05.tar.gz
gentoo-5589f7f841a34f443d806f00e4fdca2ef2a15f05.tar.bz2
gentoo-5589f7f841a34f443d806f00e4fdca2ef2a15f05.zip
net-analyzer/gvm-libs: fixes, ebuild style
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--net-analyzer/gvm-libs/gvm-libs-21.4.4-r2.ebuild (renamed from net-analyzer/gvm-libs/gvm-libs-21.4.4-r1.ebuild)21
1 files changed, 10 insertions, 11 deletions
diff --git a/net-analyzer/gvm-libs/gvm-libs-21.4.4-r1.ebuild b/net-analyzer/gvm-libs/gvm-libs-21.4.4-r2.ebuild
index 54c52a6248a7..e2705199abaa 100644
--- a/net-analyzer/gvm-libs/gvm-libs-21.4.4-r1.ebuild
+++ b/net-analyzer/gvm-libs/gvm-libs-21.4.4-r2.ebuild
@@ -3,11 +3,10 @@
EAPI=8
-CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake toolchain-funcs
-DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries"
-HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/gvm-libs/"
+DESCRIPTION="Greenbone Vulnerability Management (GVM) libraries, previously named openvas-libraries"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-libs/"
SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
@@ -17,7 +16,6 @@ IUSE="doc ldap test radius"
RESTRICT="!test? ( test )"
DEPEND="
- acct-group/gvm
acct-user/gvm
app-crypt/gpgme:=
dev-libs/glib:2
@@ -33,11 +31,9 @@ DEPEND="
sys-libs/libxcrypt:=
sys-libs/zlib
ldap? ( net-nds/openldap:= )
- radius? ( net-dialup/freeradius-client )"
-
-RDEPEND="
- ${DEPEND}"
-
+ radius? ( net-dialup/freeradius-client )
+"
+RDEPEND="${DEPEND}"
BDEPEND="
dev-vcs/git
sys-devel/bison
@@ -50,7 +46,8 @@ BDEPEND="
dev-perl/CGI
dev-perl/SQL-Translator
)
- test? ( dev-libs/cgreen )"
+ test? ( dev-libs/cgreen )
+"
PATCHES=(
"${FILESDIR}"/${PN}-20.8.1-disable-automagic-dep.patch
@@ -111,5 +108,7 @@ src_install() {
# Set proper permissions on required files/directories
keepdir /var/lib/gvm
- fowners -R gvm:gvm /var/lib/gvm
+ if ! use prefix; then
+ fowners -R gvm:gvm /var/lib/gvm
+ fi
}