diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-09-29 18:39:15 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-09-29 18:39:15 +0000 |
commit | 7170f0832e4731e373dd629914f42f8b4b89fab9 (patch) | |
tree | 110bbb4cb9e2e01c07d99536ebbb6d490ac0caa5 /net-analyzer/openvas-scanner | |
parent | net-analyzer/openvas-libraries: Version Bump (diff) | |
download | gentoo-2-7170f0832e4731e373dd629914f42f8b4b89fab9.tar.gz gentoo-2-7170f0832e4731e373dd629914f42f8b4b89fab9.tar.bz2 gentoo-2-7170f0832e4731e373dd629914f42f8b4b89fab9.zip |
net-analyzer/openvas-scanner: Version Bump
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r-- | net-analyzer/openvas-scanner/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild | 64 |
2 files changed, 71 insertions, 1 deletions
diff --git a/net-analyzer/openvas-scanner/ChangeLog b/net-analyzer/openvas-scanner/ChangeLog index a447549cccd0..594bf1cc3493 100644 --- a/net-analyzer/openvas-scanner/ChangeLog +++ b/net-analyzer/openvas-scanner/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/openvas-scanner # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.8 2014/09/29 07:07:59 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/ChangeLog,v 1.9 2014/09/29 18:39:15 jlec Exp $ + +*openvas-scanner-5.0_beta2 (29 Sep 2014) + + 29 Sep 2014; Justin Lecher <jlec@gentoo.org> + +openvas-scanner-5.0_beta2.ebuild: + Version Bump 29 Sep 2014; Justin Lecher <jlec@gentoo.org> metadata.xml: Add myself as maintainer diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild new file mode 100644 index 000000000000..beae5af8f823 --- /dev/null +++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta2.ebuild,v 1.1 2014/09/29 18:39:15 jlec Exp $ + +EAPI=5 + +inherit cmake-utils systemd + +MY_PN=openvassd + +DESCRIPTION="A remote security scanner for Linux (openvas-scanner)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/1742/${P/_beta/+beta}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="" +IUSE="" + +RDEPEND=" + >=net-analyzer/openvas-libraries-8.0.0 + !net-analyzer/openvas-plugins + !net-analyzer/openvas-server" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/cmake" + +S="${WORKDIR}"/${P/_beta/+beta} + +PATCHES=( + "${FILESDIR}"/${PN}-4.0.3-bsdsource.patch + "${FILESDIR}"/${PN}-4.0.3-mkcertclient.patch + "${FILESDIR}"/${PN}-4.0.3-rulesdir.patch + ) + +src_configure() { + local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc ChangeLog CHANGES README + + newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} + + insinto /etc/openvas + doins "${FILESDIR}"/${MY_PN}.conf "${FILESDIR}"/${MY_PN}-daemon.conf + newconfd "${FILESDIR}"/${MY_PN}-daemon.conf ${MY_PN} + + insinto /etc/logrotate.d + doins "${FILESDIR}"/${MY_PN}.logrotate + + dodoc "${FILESDIR}"/${MY_PN}.logrotate + + systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf + systemd_dounit "${FILESDIR}"/${MY_PN}.service +} + +pkg_postinst() { + elog "To use ${MY_PN}, you first need to:" + elog "1. Call 'openvas-nvt-sync' to download/update plugins" + elog "2. Call 'openvas-mkcert' to generate a server certificate" +} |