1 |
commit: 5589f7f841a34f443d806f00e4fdca2ef2a15f05 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 11:44:44 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 12:07:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5589f7f8 |
7 |
|
8 |
net-analyzer/gvm-libs: fixes, ebuild style |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
...s-21.4.4-r1.ebuild => gvm-libs-21.4.4-r2.ebuild} | 21 ++++++++++----------- |
13 |
1 file changed, 10 insertions(+), 11 deletions(-) |
14 |
|
15 |
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 |
16 |
similarity index 86% |
17 |
rename from net-analyzer/gvm-libs/gvm-libs-21.4.4-r1.ebuild |
18 |
rename to net-analyzer/gvm-libs/gvm-libs-21.4.4-r2.ebuild |
19 |
index 54c52a6248a7..e2705199abaa 100644 |
20 |
--- a/net-analyzer/gvm-libs/gvm-libs-21.4.4-r1.ebuild |
21 |
+++ b/net-analyzer/gvm-libs/gvm-libs-21.4.4-r2.ebuild |
22 |
@@ -3,11 +3,10 @@ |
23 |
|
24 |
EAPI=8 |
25 |
|
26 |
-CMAKE_MAKEFILE_GENERATOR="emake" |
27 |
inherit cmake toolchain-funcs |
28 |
|
29 |
-DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries" |
30 |
-HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/gvm-libs/" |
31 |
+DESCRIPTION="Greenbone Vulnerability Management (GVM) libraries, previously named openvas-libraries" |
32 |
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-libs/" |
33 |
SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
|
35 |
LICENSE="GPL-2+" |
36 |
@@ -17,7 +16,6 @@ IUSE="doc ldap test radius" |
37 |
RESTRICT="!test? ( test )" |
38 |
|
39 |
DEPEND=" |
40 |
- acct-group/gvm |
41 |
acct-user/gvm |
42 |
app-crypt/gpgme:= |
43 |
dev-libs/glib:2 |
44 |
@@ -33,11 +31,9 @@ DEPEND=" |
45 |
sys-libs/libxcrypt:= |
46 |
sys-libs/zlib |
47 |
ldap? ( net-nds/openldap:= ) |
48 |
- radius? ( net-dialup/freeradius-client )" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- ${DEPEND}" |
52 |
- |
53 |
+ radius? ( net-dialup/freeradius-client ) |
54 |
+" |
55 |
+RDEPEND="${DEPEND}" |
56 |
BDEPEND=" |
57 |
dev-vcs/git |
58 |
sys-devel/bison |
59 |
@@ -50,7 +46,8 @@ BDEPEND=" |
60 |
dev-perl/CGI |
61 |
dev-perl/SQL-Translator |
62 |
) |
63 |
- test? ( dev-libs/cgreen )" |
64 |
+ test? ( dev-libs/cgreen ) |
65 |
+" |
66 |
|
67 |
PATCHES=( |
68 |
"${FILESDIR}"/${PN}-20.8.1-disable-automagic-dep.patch |
69 |
@@ -111,5 +108,7 @@ src_install() { |
70 |
|
71 |
# Set proper permissions on required files/directories |
72 |
keepdir /var/lib/gvm |
73 |
- fowners -R gvm:gvm /var/lib/gvm |
74 |
+ if ! use prefix; then |
75 |
+ fowners -R gvm:gvm /var/lib/gvm |
76 |
+ fi |
77 |
} |