From 74adb4f8741f70c2636fd41e158040012fb550f2 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Wed, 21 Jul 2010 04:34:27 +0000 Subject: [PATCH] gsa: added greenbone-security-assistant the web front end for nessus. this ends the work and begins the ranting at the openvas team to fix all the errors I found in their build system --- .../greenbone-security-assistant/Manifest | 2 + ...enbone-security-assistant-1.0.0_rc1.ebuild | 41 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 net-analyzer/greenbone-security-assistant/Manifest create mode 100644 net-analyzer/greenbone-security-assistant/greenbone-security-assistant-1.0.0_rc1.ebuild diff --git a/net-analyzer/greenbone-security-assistant/Manifest b/net-analyzer/greenbone-security-assistant/Manifest new file mode 100644 index 000000000..fb122fd27 --- /dev/null +++ b/net-analyzer/greenbone-security-assistant/Manifest @@ -0,0 +1,2 @@ +DIST greenbone-security-assistant-1.0.0.rc1.tar.gz 325918 RMD160 ddf5c4ee0dafe8c08b9afdf2d220fe0e244d2c86 SHA1 930cec1bbc18c08306a313ec959b6a1d38a81f75 SHA256 d602193e6e0b81c2bddbc15e0cefc1f3f1c3b0d8a02a3a5c0e01cf28df3351f2 +EBUILD greenbone-security-assistant-1.0.0_rc1.ebuild 1161 RMD160 a26117694abcda8446050edfd73977fde64a7f69 SHA1 f1868004d812cba49058bec967094a9840108f7b SHA256 92391febc871c4cfa88079f1e0f9bcdf1168bc996cd35383ac14098253e129f8 diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-1.0.0_rc1.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-1.0.0_rc1.ebuild new file mode 100644 index 000000000..1d4f905f3 --- /dev/null +++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-1.0.0_rc1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit versionator eutils + +MY_P=${P/_rc/.rc} + +DESCRIPTION="A remote security scanner for Linux (openvas-libraries)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/756/${MY_P}.tar.gz" +EAPI="2" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="dev-util/cmake + net-libs/gnutls + >=net-libs/libmicrohttpd-0.4.2 + >=net-analyzer/openvas-libraries-3.0.0" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { +# sed -i 's|cmake|cmake -DCMAKE_BUILD_TYPE=RELEASE|g' Makefile || die + #remove -Werror so it doesn't error for fun + #sed -i s/'add_definitions (-Werror)'//g src/CMakeLists.txt || die "Failed to remove -Werror" + #remove fatal error from build system when unneeded doxygen is missing + sed -i s/'message (FATAL_ERROR "Doxygen is required to build the HTML docs.")'//g doc/CMakeLists.txt + cmake -DCMAKE_INSTALL_PREFIX=/usr +} + +src_install() { + DESTDIR="${D}" emake install || die "failed to install" +# find "${D}" -name '*.la' -delete + dodoc ChangeLog CHANGES || die +}