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
This commit is contained in:
Zero_Chaos 2010-07-21 04:34:27 +00:00
parent d040533a60
commit 74adb4f874
2 changed files with 43 additions and 0 deletions

View file

@ -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

View file

@ -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
}