summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-05-19 08:56:44 +0000
committerJustin Lecher <jlec@gentoo.org>2015-05-19 08:56:44 +0000
commitfae4e62da567c8304feceee069edf8f33c90faeb (patch)
tree1c2ee4f40637f2b933f9afe167fca96bdc7e2133 /net-analyzer
parentVersion Bump (diff)
downloadgentoo-2-fae4e62da567c8304feceee069edf8f33c90faeb.tar.gz
gentoo-2-fae4e62da567c8304feceee069edf8f33c90faeb.tar.bz2
gentoo-2-fae4e62da567c8304feceee069edf8f33c90faeb.zip
Version Bump
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/openvas-manager/ChangeLog9
-rw-r--r--net-analyzer/openvas-manager/openvas-manager-5.0.10.ebuild62
-rw-r--r--net-analyzer/openvas-manager/openvas-manager-6.0.3.ebuild62
3 files changed, 132 insertions, 1 deletions
diff --git a/net-analyzer/openvas-manager/ChangeLog b/net-analyzer/openvas-manager/ChangeLog
index dee998e7eb6a..5a1a564b776a 100644
--- a/net-analyzer/openvas-manager/ChangeLog
+++ b/net-analyzer/openvas-manager/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/openvas-manager
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.22 2015/04/07 14:28:26 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.23 2015/05/19 08:56:44 jlec Exp $
+
+*openvas-manager-5.0.10 (19 May 2015)
+*openvas-manager-6.0.3 (19 May 2015)
+
+ 19 May 2015; Justin Lecher <jlec@gentoo.org> +openvas-manager-5.0.10.ebuild,
+ +openvas-manager-6.0.3.ebuild:
+ Version Bump
*openvas-manager-6.0.1 (06 Apr 2015)
diff --git a/net-analyzer/openvas-manager/openvas-manager-5.0.10.ebuild b/net-analyzer/openvas-manager/openvas-manager-5.0.10.ebuild
new file mode 100644
index 000000000000..bc9d0c435d9f
--- /dev/null
+++ b/net-analyzer/openvas-manager/openvas-manager-5.0.10.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-5.0.10.ebuild,v 1.1 2015/05/19 08:56:44 jlec Exp $
+
+EAPI=5
+
+inherit cmake-utils systemd
+
+MY_PN=openvasmd
+
+DL_ID=2035
+
+DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=net-analyzer/openvas-libraries-7.0.10
+ >=dev-db/sqlite-3
+ !net-analyzer/openvas-administrator"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0.4-gpgerror.patch
+ "${FILESDIR}"/${PN}-5.0.4-bsdsource.patch
+ "${FILESDIR}"/${PN}-5.0.4-run.patch
+ )
+
+src_prepare() {
+ sed \
+ -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
+ -i CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLOCALSTATEDIR="${EPREFIX}/var"
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto /etc/openvas/
+ doins "${FILESDIR}"/${MY_PN}-daemon.conf
+ dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+}
diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.3.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.3.ebuild
new file mode 100644
index 000000000000..489dd443e1b0
--- /dev/null
+++ b/net-analyzer/openvas-manager/openvas-manager-6.0.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-6.0.3.ebuild,v 1.1 2015/05/19 08:56:44 jlec Exp $
+
+EAPI=5
+
+inherit cmake-utils systemd
+
+MY_PN=openvasmd
+
+DL_ID=2075
+
+DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=net-analyzer/openvas-libraries-8.0.3
+ >=dev-db/sqlite-3
+ !net-analyzer/openvas-administrator"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}"/${P}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.0.1-bsdsource.patch
+ )
+
+src_prepare() {
+ sed \
+ -e '/^install.*OPENVAS_CACHE_DIR.*/d' \
+ -i CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLOCALSTATEDIR="${EPREFIX}/var"
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto /etc/openvas/
+ doins "${FILESDIR}"/${MY_PN}-daemon.conf
+ dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN}
+
+ newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+}