1 |
commit: 906297c4d4e9a655cea3bbe54cadbbee5661f3f9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 31 23:35:43 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 31 23:35:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=906297c4 |
7 |
|
8 |
net-analyzer/openvas-libraries: EAPI-7 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../openvas-libraries-8.0.5.ebuild | 26 ++++++++++++---------- |
14 |
1 file changed, 14 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/openvas-libraries/openvas-libraries-8.0.5.ebuild b/net-analyzer/openvas-libraries/openvas-libraries-8.0.5.ebuild |
17 |
index e279652477f..988e909151b 100644 |
18 |
--- a/net-analyzer/openvas-libraries/openvas-libraries-8.0.5.ebuild |
19 |
+++ b/net-analyzer/openvas-libraries/openvas-libraries-8.0.5.ebuild |
20 |
@@ -1,11 +1,10 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit cmake-utils |
28 |
+EAPI=7 |
29 |
|
30 |
DL_ID=2191 |
31 |
+inherit cmake-utils |
32 |
|
33 |
DESCRIPTION="A remote security scanner for Linux (openvas-libraries)" |
34 |
HOMEPAGE="http://www.openvas.org/" |
35 |
@@ -16,23 +15,26 @@ LICENSE="GPL-2" |
36 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
37 |
IUSE="ldap" |
38 |
|
39 |
-RDEPEND=" |
40 |
+DEPEND=" |
41 |
app-crypt/gpgme |
42 |
>=dev-libs/glib-2.16 |
43 |
>=dev-libs/hiredis-0.10.1 |
44 |
dev-libs/libgcrypt:0 |
45 |
dev-libs/libksba |
46 |
- !net-analyzer/openvas-libnasl |
47 |
+ net-analyzer/net-snmp |
48 |
net-libs/gnutls |
49 |
net-libs/libpcap |
50 |
>=net-libs/libssh-0.5.0 |
51 |
- net-analyzer/net-snmp |
52 |
- ldap? ( net-nds/openldap )" |
53 |
-DEPEND="${RDEPEND} |
54 |
+ ldap? ( net-nds/openldap ) |
55 |
+" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ !net-analyzer/openvas-libnasl |
58 |
+" |
59 |
+BDEPEND=" |
60 |
sys-devel/bison |
61 |
sys-devel/flex |
62 |
virtual/pkgconfig |
63 |
- " |
64 |
+" |
65 |
|
66 |
S="${WORKDIR}"/${P} |
67 |
|
68 |
@@ -42,13 +44,13 @@ PATCHES=( |
69 |
"${FILESDIR}"/${PN}-7.0.4-libssh.patch |
70 |
"${FILESDIR}"/${PN}-8.0.1-include.patch |
71 |
"${FILESDIR}"/${P}-underlinking.patch |
72 |
- ) |
73 |
+) |
74 |
|
75 |
src_prepare() { |
76 |
+ cmake-utils_src_prepare |
77 |
sed \ |
78 |
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
79 |
-i CMakeLists.txt || die |
80 |
- cmake-utils_src_prepare |
81 |
} |
82 |
|
83 |
src_configure() { |