1 |
commit: 6a66475292c5b70e8e308b6fba4024d1e9a79414 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 31 23:43:06 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 31 23:43:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a664752 |
7 |
|
8 |
net-analyzer/openvas-scanner: 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-scanner-5.0.4-r1.ebuild | 28 ++++++++++++---------- |
14 |
1 file changed, 15 insertions(+), 13 deletions(-) |
15 |
|
16 |
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 |
17 |
index 4d550d82f4f..ac7d2ea314e 100644 |
18 |
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild |
19 |
+++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild |
20 |
@@ -1,13 +1,11 @@ |
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 systemd |
28 |
- |
29 |
-MY_PN=openvassd |
30 |
+EAPI=7 |
31 |
|
32 |
DL_ID=2129 |
33 |
+MY_PN=openvassd |
34 |
+inherit cmake-utils systemd |
35 |
|
36 |
DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)" |
37 |
HOMEPAGE="http://www.openvas.org/" |
38 |
@@ -15,18 +13,22 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t |
39 |
|
40 |
SLOT="0" |
41 |
LICENSE="GPL-2" |
42 |
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86" |
43 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
44 |
IUSE="" |
45 |
|
46 |
-RDEPEND=" |
47 |
+DEPEND=" |
48 |
app-crypt/gpgme |
49 |
>=dev-libs/glib-2.16:2 |
50 |
dev-libs/libgcrypt:0 |
51 |
>=net-analyzer/openvas-libraries-8.0.2 |
52 |
+" |
53 |
+RDEPEND="${DEPEND} |
54 |
!net-analyzer/openvas-plugins |
55 |
- !net-analyzer/openvas-server" |
56 |
-DEPEND="${RDEPEND} |
57 |
- virtual/pkgconfig" |
58 |
+ !net-analyzer/openvas-server |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ virtual/pkgconfig |
62 |
+" |
63 |
|
64 |
S="${WORKDIR}"/${P/_beta/+beta} |
65 |
|
66 |
@@ -34,13 +36,13 @@ PATCHES=( |
67 |
"${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch |
68 |
"${FILESDIR}"/${PN}-4.0.3-rulesdir.patch |
69 |
"${FILESDIR}"/${PN}-4.0.3-run.patch |
70 |
- ) |
71 |
+) |
72 |
|
73 |
src_prepare() { |
74 |
+ cmake-utils_src_prepare |
75 |
sed \ |
76 |
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \ |
77 |
-i CMakeLists.txt || die |
78 |
- cmake-utils_src_prepare |
79 |
} |
80 |
|
81 |
src_configure() { |