summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-01 00:39:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-01 00:39:31 +0100
commit6ea3585e5940025b64c872bbef791f758204c461 (patch)
treea2be122dc6673b57ee25656143b02ebb902ca72b /net-analyzer/openvas-manager
parentnet-analyzer/openvas-libraries: EAPI-7 bump (diff)
downloadgentoo-6ea3585e5940025b64c872bbef791f758204c461.tar.gz
gentoo-6ea3585e5940025b64c872bbef791f758204c461.tar.bz2
gentoo-6ea3585e5940025b64c872bbef791f758204c461.zip
net-analyzer/openvas-manager: EAPI-7 bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-analyzer/openvas-manager')
-rw-r--r--net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild34
1 files changed, 18 insertions, 16 deletions
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
index d852593f5651..64a151553116 100644
--- a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
+++ b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvasmd
+EAPI=7
DL_ID=2195
+MY_PN=openvasmd
+inherit cmake-utils systemd
DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
HOMEPAGE="http://www.openvas.org/"
@@ -15,35 +13,39 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE=""
-RDEPEND="
- >=net-analyzer/openvas-libraries-8.0.5
- >=dev-db/sqlite-3
+DEPEND="
dev-db/redis
- !net-analyzer/openvas-administrator"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ >=dev-db/sqlite-3
+ >=net-analyzer/openvas-libraries-8.0.5
+"
+RDEPEND="${DEPEND}
+ !net-analyzer/openvas-administrator
+"
+BDEPEND="
+ virtual/pkgconfig
+"
S="${WORKDIR}"/${P}
PATCHES=(
"${FILESDIR}"/${PN}-6.0.1-bsdsource.patch
- )
+)
src_prepare() {
+ cmake-utils_src_prepare
sed \
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \
-i CMakeLists.txt || die
- cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DLOCALSTATEDIR="${EPREFIX}/var"
-DSYSCONFDIR="${EPREFIX}/etc"
- )
+ )
cmake-utils_src_configure
}