From 45dd28671e42b83b06eeb4d2fd2bc810f5e41990 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 18 Nov 2015 16:31:59 +0100 Subject: net-analyzer/openvas-manager: Version Bump Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher --- net-analyzer/openvas-manager/Manifest | 1 + .../openvas-manager/openvas-manager-6.0.6.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/openvas-manager/Manifest b/net-analyzer/openvas-manager/Manifest index 1f9121a88b06..eee24ee67f9d 100644 --- a/net-analyzer/openvas-manager/Manifest +++ b/net-analyzer/openvas-manager/Manifest @@ -3,3 +3,4 @@ DIST openvas-manager-5.0.11.tar.gz 1744359 SHA256 4d5b93c34b0767d838828f810d6617 DIST openvas-manager-6.0.3.tar.gz 1914785 SHA256 cdad83b6745ac77657c569b6196559cdeb71a95a8d63e3c54ae30e0ce26c79c6 SHA512 53f671b21c91fb621244498974d97e2682dcdd19d6da1ace5d150a5ec5dd9553df93484b723890fde5e673063739c5cc081c4ecad25bcdb1cbee2352c8442b76 WHIRLPOOL 9d58fee8a67ba1c87931e43d3b294194dc4ee50c6a1756cdec835dcd8c2dd2663262a197cc45e769f1842b6fa991a274eb67974f1510af9521a98834797c0ce2 DIST openvas-manager-6.0.4.tar.gz 1920546 SHA256 12e77da14ec1a12865f001aade603042911346b59f9fef0404c69f25560d7224 SHA512 81c946aac6bb9de5802d71b75668c4cc3f15e9d43779ee55af7b1b469e23268b9ad3678324a355bee2bbbd5fabd7f4c78452e2e8ea567d59e0d0f41889e9ff9f WHIRLPOOL a905c962edb629f2640386069950ae04e2c906aadb77eeec0ef034843671480e901cfb13e9958bf051889d9b512ea937336ded61d02298aa82ca0796e65fbbca DIST openvas-manager-6.0.5.tar.gz 1926160 SHA256 93cc47ed2722505e9a58b747a4587ed2161e2b586fe44b6d4da38d52813047c1 SHA512 ef76ba837c624e0d254aa4e9be4e1b95a9d40f6c2c6344b0487f7da61c5183a7a4b882cccce5e2ea473c9bf84525d68f46bd010ef751576da818acd749b38f44 WHIRLPOOL 4c8b4ce117fe4ede9063ed472b84099fc48f2d6b10ee96177aa2edb788604ead3ea723743804416288d5eed986cb8c789033f91bdc2e7f992b4f8cc84f046afc +DIST openvas-manager-6.0.6.tar.gz 1928570 SHA256 4a9b1d3c4235e6ecc531544bda572cc9910d2a52b01115bb8bc0436177664cc4 SHA512 4c4ae0ac35d6fc6820b47da6e5e6aae1b4d14c771791b7ae2e35123d8117319f05c7619de665b96de9d92fb59e417311656d3460dff992d3ce4db217731c5900 WHIRLPOOL 482f5159192cb5f7e52764d1fb5f44b6f9b7c31dd35f187aced333cedb2297a302fd3f6ddb45c383d36743167cf63b03ef7a900c50d0425938da51b214ab388c diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild new file mode 100644 index 000000000000..c860d16a9166 --- /dev/null +++ b/net-analyzer/openvas-manager/openvas-manager-6.0.6.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils systemd + +MY_PN=openvasmd + +DL_ID=2195 + +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.5 + >=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 +} -- cgit v1.2.3-65-gdbad