summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-14 18:55:15 +0000
committerJustin Lecher <jlec@gentoo.org>2015-02-14 18:55:15 +0000
commitfbb3f2d198070677775de0a55ff788eeff1b9463 (patch)
treea38120a03a383585c58d208bde763d01aeb4cc0a /net-analyzer
parentVersion Bump (diff)
downloadgentoo-2-fbb3f2d198070677775de0a55ff788eeff1b9463.tar.gz
gentoo-2-fbb3f2d198070677775de0a55ff788eeff1b9463.tar.bz2
gentoo-2-fbb3f2d198070677775de0a55ff788eeff1b9463.zip
Version Bump
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/openvas-scanner/ChangeLog5
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/net-analyzer/openvas-scanner/ChangeLog b/net-analyzer/openvas-scanner/ChangeLog
index 74992cd71dbd..5678c43ed215 100644
--- a/net-analyzer/openvas-scanner/ChangeLog
+++ b/net-analyzer/openvas-scanner/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/openvas-scanner
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.20 2015/02/14 18:41:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.21 2015/02/14 18:55:15 jlec Exp $
+
+ 14 Feb 2015; Justin Lecher <jlec@gentoo.org> openvas-scanner-5.0_beta6.ebuild:
+ Version Bump
*openvas-scanner-5.0_beta6 (14 Feb 2015)
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild
index 562d1fe7c8dc..54939422d159 100644
--- a/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild
+++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild,v 1.1 2015/02/14 18:41:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild,v 1.2 2015/02/14 18:55:15 jlec Exp $
EAPI=5
@@ -17,14 +17,20 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t
SLOT="0"
LICENSE="GPL-2"
KEYWORDS=""
-IUSE=""
+IUSE="postgres sqlite"
+
+REQUIRED_USE="^^ ( postgres sqlite )"
RDEPEND="
+ app-crypt/gpgme
>=dev-libs/glib-2.16:2
dev-libs/libgcrypt:0
>=net-analyzer/openvas-libraries-8_beta6
!net-analyzer/openvas-plugins
- !net-analyzer/openvas-server"
+ !net-analyzer/openvas-server
+ postgres? ( dev-db/postgresql )
+ sqlite? ( dev-db/sqlite:3 )
+ "
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -47,6 +53,7 @@ src_configure() {
local mycmakeargs=(
"-DLOCALSTATEDIR=${EPREFIX}/var"
"-DSYSCONFDIR=${EPREFIX}/etc"
+ $(usex postgres "-DBACKEND=POSTGRESQL" "-DBACKEND=SQLITE3")
)
cmake-utils_src_configure
}