Initial commit, gui for openvas.
authorHanno Boeck <hanno@gentoo.org>
Sun, 9 Oct 2011 17:33:38 +0000 (17:33 +0000)
committerHanno Boeck <hanno@gentoo.org>
Sun, 9 Oct 2011 17:33:38 +0000 (17:33 +0000)
Package-Manager: portage-2.1.10.24/cvs/Linux x86_64

net-analyzer/greenbone-security-desktop/ChangeLog [new file with mode: 0644]
net-analyzer/greenbone-security-desktop/greenbone-security-desktop-1.2.0.ebuild [new file with mode: 0644]
net-analyzer/greenbone-security-desktop/metadata.xml [new file with mode: 0644]

diff --git a/net-analyzer/greenbone-security-desktop/ChangeLog b/net-analyzer/greenbone-security-desktop/ChangeLog
new file mode 100644 (file)
index 0000000..58bcb2a
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/greenbone-security-desktop
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-desktop/ChangeLog,v 1.1 2011/10/09 17:33:38 hanno Exp $
+
+*greenbone-security-desktop-1.2.0 (09 Oct 2011)
+
+  09 Oct 2011; Hanno Boeck <hanno@gentoo.org>
+  +greenbone-security-desktop-1.2.0.ebuild, +metadata.xml:
+  Initial commit, GUI for openvas.
+
diff --git a/net-analyzer/greenbone-security-desktop/greenbone-security-desktop-1.2.0.ebuild b/net-analyzer/greenbone-security-desktop/greenbone-security-desktop-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..22be3e2
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-desktop/greenbone-security-desktop-1.2.0.ebuild,v 1.1 2011/10/09 17:33:38 hanno Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+DESCRIPTION="GUI application for openvas"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/861/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=net-analyzer/openvas-libraries-4
+       x11-libs/qt-gui"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig
+       dev-util/cmake"
+
+S="${WORKDIR}/gsd-${PV}"
+
+src_prepare() {
+       # else it'll need doxygen even without building docs
+       sed -i 's/FATAL_ERROR/WARNING/' doc/CMakeLists.txt || die
+}
+
+src_configure() {
+       local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc"
+       cmake-utils_src_configure
+}
+
+src_install() {
+       cmake-utils_src_install
+       dodoc ChangeLog CHANGES README TODO || die "dodoc failed"
+}
diff --git a/net-analyzer/greenbone-security-desktop/metadata.xml b/net-analyzer/greenbone-security-desktop/metadata.xml
new file mode 100644 (file)
index 0000000..8cb5484
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>