summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2013-07-01 10:20:37 +0000
committerHanno Böck <hanno@gentoo.org>2013-07-01 10:20:37 +0000
commitd9c4401e79b1abd88188eace3b22bf297df3fc8f (patch)
tree6db11209b78cae0e7cc118b94b48cbe65d89c893 /net-analyzer
parentopenvas-libraries: Bump, EAPI 5 port, remove old workarounds. (diff)
downloadgentoo-2-d9c4401e79b1abd88188eace3b22bf297df3fc8f.tar.gz
gentoo-2-d9c4401e79b1abd88188eace3b22bf297df3fc8f.tar.bz2
gentoo-2-d9c4401e79b1abd88188eace3b22bf297df3fc8f.zip
openvas-scanner: Bump, EAPI 5 port, remove old workarounds.
(Portage version: 2.1.12.11/cvs/Linux x86_64, signed Manifest commit with key 0xA5880072BBB51E42)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/openvas-scanner/ChangeLog9
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-3.4.0.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/net-analyzer/openvas-scanner/ChangeLog b/net-analyzer/openvas-scanner/ChangeLog
index c3bef0b6b779..b646d445d198 100644
--- a/net-analyzer/openvas-scanner/ChangeLog
+++ b/net-analyzer/openvas-scanner/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/openvas-scanner
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.2 2012/05/04 06:08:11 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.3 2013/07/01 10:20:37 hanno Exp $
+
+*openvas-scanner-3.4.0 (01 Jul 2013)
+
+ 01 Jul 2013; Hanno Boeck <hanno@gentoo.org> +openvas-scanner-3.4.0.ebuild:
+ Bump, EAPI 5 port, remove old workarounds.
04 May 2012; Jeff Horelick <jdhore@gentoo.org> openvas-scanner-3.2.4.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-3.4.0.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-3.4.0.ebuild
new file mode 100644
index 000000000000..9f60cb02484e
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-3.4.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-3.4.0.ebuild,v 1.1 2013/07/01 10:20:37 hanno Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A remote security scanner for Linux (openvas-scanner)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/1307/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=net-analyzer/openvas-libraries-6.0.0
+ !net-analyzer/openvas-plugins
+ !net-analyzer/openvas-server"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/cmake"
+
+src_configure() {
+ local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc ChangeLog CHANGES README || die "dodoc failed"
+ doinitd "${FILESDIR}"/openvassd || die
+}
+
+pkg_postinst() {
+ elog "To use openvassd, you first need to:"
+ elog "1. Call 'openvas-nvt-sync' to download/update plugins"
+ elog "2. Call 'openvas-mkcert' to generate a server certificate"
+ elog "3. Call 'openvas-adduser' to create a user"
+}