summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-01 00:43:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-01 00:43:06 +0100
commit6a66475292c5b70e8e308b6fba4024d1e9a79414 (patch)
tree2375c588fb21fb219b1013ff262b69c84dd6e8ed /net-analyzer/openvas-scanner
parentnet-analyzer/openvas-manager: EAPI-7 bump (diff)
downloadgentoo-6a66475292c5b70e8e308b6fba4024d1e9a79414.tar.gz
gentoo-6a66475292c5b70e8e308b6fba4024d1e9a79414.tar.bz2
gentoo-6a66475292c5b70e8e308b6fba4024d1e9a79414.zip
net-analyzer/openvas-scanner: 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-scanner')
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild28
1 files changed, 15 insertions, 13 deletions
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
index 4d550d82f4f0..ac7d2ea314e2 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0.4-r1.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=openvassd
+EAPI=7
DL_ID=2129
+MY_PN=openvassd
+inherit cmake-utils systemd
DESCRIPTION="A remote security scanner for Linux (OpenVAS-scanner)"
HOMEPAGE="http://www.openvas.org/"
@@ -15,18 +13,22 @@ 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="
+DEPEND="
app-crypt/gpgme
>=dev-libs/glib-2.16:2
dev-libs/libgcrypt:0
>=net-analyzer/openvas-libraries-8.0.2
+"
+RDEPEND="${DEPEND}
!net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ !net-analyzer/openvas-server
+"
+BDEPEND="
+ virtual/pkgconfig
+"
S="${WORKDIR}"/${P/_beta/+beta}
@@ -34,13 +36,13 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch
"${FILESDIR}"/${PN}-4.0.3-rulesdir.patch
"${FILESDIR}"/${PN}-4.0.3-run.patch
- )
+)
src_prepare() {
+ cmake-utils_src_prepare
sed \
-e '/^install.*OPENVAS_CACHE_DIR.*/d' \
-i CMakeLists.txt || die
- cmake-utils_src_prepare
}
src_configure() {