diff options
author | 2011-10-09 17:21:05 +0000 | |
---|---|---|
committer | 2011-10-09 17:21:05 +0000 | |
commit | 01ad3e31075b7ced3f17dc928abdce3882854f0d (patch) | |
tree | b7523bafa1a4a398781ed5af2b168e8aefe481fa /net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild | |
parent | initial commit of openvas-scanner, part of openvas 4 (diff) | |
download | historical-01ad3e31075b7ced3f17dc928abdce3882854f0d.tar.gz historical-01ad3e31075b7ced3f17dc928abdce3882854f0d.tar.bz2 historical-01ad3e31075b7ced3f17dc928abdce3882854f0d.zip |
initial commit of openvas-administrator, part of openvas-4.
Package-Manager: portage-2.1.10.24/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild')
-rw-r--r-- | net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild b/net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild new file mode 100644 index 000000000000..29a14dac4c7f --- /dev/null +++ b/net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild,v 1.1 2011/10/09 17:21:05 hanno Exp $ + +EAPI=4 + +inherit cmake-utils + +DESCRIPTION="A remote security scanner for Linux (openvas-administrator)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/853/${P}.tar.gz" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=net-analyzer/openvas-libraries-4" +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/cmake" + +# Workaround for upstream bug, it doesn't like out-of-tree builds. +CMAKE_BUILD_DIR="${S}" + +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}"/openvasad +} + +pkg_postinst() { + elog "You need to create an admin user for openvasad to work:" + elog "openvasad -c 'add_user' -n [username] -r Admin" +} |