From 0f34228e4f34e11572592321e5339179c34d15dc Mon Sep 17 00:00:00 2001 From: Hanno Böck Date: Fri, 13 Mar 2009 19:29:30 +0000 Subject: openvas-server: fix paths (Portage version: 2.2_rc25/cvs/Linux x86_64) --- net-analyzer/openvas-server/ChangeLog | 8 ++++- .../openvas-server/openvas-server-2.0.1-r1.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild (limited to 'net-analyzer/openvas-server') diff --git a/net-analyzer/openvas-server/ChangeLog b/net-analyzer/openvas-server/ChangeLog index 19dd78c80f81..69aefb567cbd 100644 --- a/net-analyzer/openvas-server/ChangeLog +++ b/net-analyzer/openvas-server/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/openvas-server # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/ChangeLog,v 1.8 2009/03/08 19:38:37 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/ChangeLog,v 1.9 2009/03/13 19:29:30 hanno Exp $ + +*openvas-server-2.0.1-r1 (13 Mar 2009) + + 13 Mar 2009; Hanno Boeck + +openvas-server-2.0.1-r1.ebuild: + Fix paths, resolves #262013. *openvas-server-2.0.1 (08 Mar 2009) diff --git a/net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild b/net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild new file mode 100644 index 000000000000..3c8d65ee7bb3 --- /dev/null +++ b/net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild,v 1.1 2009/03/13 19:29:30 hanno Exp $ + +DESCRIPTION="A remote security scanner for Linux (openvas-server)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/562/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tcpd gtk debug prelude" + +DEPEND=">=net-analyzer/openvas-libnasl-2.0.1 + tcpd? ( sys-apps/tcp-wrappers ) + gtk? ( =x11-libs/gtk+-2* ) + prelude? ( dev-libs/libprelude )" +RDEPEND="${DEPEND}" + +src_compile() { + econf --localstatedir=/var \ + $(use_enable tcpd tcpwrappers) \ + $(use_enable debug) \ + $(use_enable gtk) \ + || die "configure failed" + emake || die "emake failed" +} + +src_install() { + einstall localstatedir="${D}"/var || die "install failed" + + dodoc TODO CHANGES || die + dodoc doc/*.txt || die + + doinitd "${FILESDIR}"/openvasd || die "doinitd failed" + keepdir /var/lib/openvas/logs + keepdir /var/lib/openvas/users +} -- cgit v1.2.3-65-gdbad