Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-manager/
Date: Mon, 31 Dec 2018 23:43:41
Message-Id: 1546299571.6ea3585e5940025b64c872bbef791f758204c461.asturm@gentoo
1 commit: 6ea3585e5940025b64c872bbef791f758204c461
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 31 23:39:31 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 31 23:39:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea3585e
7
8 net-analyzer/openvas-manager: 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-manager-6.0.6-r2.ebuild | 34 ++++++++++++----------
14 1 file changed, 18 insertions(+), 16 deletions(-)
15
16 diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
17 index d852593f565..64a15155311 100644
18 --- a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
19 +++ b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.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=openvasmd
30 +EAPI=7
31
32 DL_ID=2195
33 +MY_PN=openvasmd
34 +inherit cmake-utils systemd
35
36 DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
37 HOMEPAGE="http://www.openvas.org/"
38 @@ -15,35 +13,39 @@ 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 - >=net-analyzer/openvas-libraries-8.0.5
48 - >=dev-db/sqlite-3
49 +DEPEND="
50 dev-db/redis
51 - !net-analyzer/openvas-administrator"
52 -DEPEND="${RDEPEND}
53 - virtual/pkgconfig"
54 + >=dev-db/sqlite-3
55 + >=net-analyzer/openvas-libraries-8.0.5
56 +"
57 +RDEPEND="${DEPEND}
58 + !net-analyzer/openvas-administrator
59 +"
60 +BDEPEND="
61 + virtual/pkgconfig
62 +"
63
64 S="${WORKDIR}"/${P}
65
66 PATCHES=(
67 "${FILESDIR}"/${PN}-6.0.1-bsdsource.patch
68 - )
69 +)
70
71 src_prepare() {
72 + cmake-utils_src_prepare
73 sed \
74 -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
75 -i CMakeLists.txt || die
76 - cmake-utils_src_prepare
77 }
78
79 src_configure() {
80 local mycmakeargs=(
81 -DLOCALSTATEDIR="${EPREFIX}/var"
82 -DSYSCONFDIR="${EPREFIX}/etc"
83 - )
84 + )
85 cmake-utils_src_configure
86 }