summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-18 16:40:28 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-18 16:41:37 +0100
commitd2f233579d95138b201d0db70888b05e835ba44b (patch)
tree410e192ebedff70262edbed85fcee6ce4d833e33 /net-analyzer/greenbone-security-assistant
parentnet-analyzer/openvas-cli: Version Bump (diff)
downloadgentoo-d2f233579d95138b201d0db70888b05e835ba44b.tar.gz
gentoo-d2f233579d95138b201d0db70888b05e835ba44b.tar.bz2
gentoo-d2f233579d95138b201d0db70888b05e835ba44b.zip
net-analyzer/greenbone-security-assistant: Version Bump
Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'net-analyzer/greenbone-security-assistant')
-rw-r--r--net-analyzer/greenbone-security-assistant/Manifest1
-rw-r--r--net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.6.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/greenbone-security-assistant/Manifest b/net-analyzer/greenbone-security-assistant/Manifest
index d774c3601770..820ac72fb6ce 100644
--- a/net-analyzer/greenbone-security-assistant/Manifest
+++ b/net-analyzer/greenbone-security-assistant/Manifest
@@ -3,3 +3,4 @@ DIST greenbone-security-assistant-5.0.8.tar.gz 1053542 SHA256 d718e74413fca6a632
DIST greenbone-security-assistant-6.0.3.tar.gz 1219593 SHA256 731f490186f917dcbacc52157e2906e66be69a20c6e69dc179d23b828413c0f3 SHA512 fde8edc5c925040f5713f257939882a9a682ea0378106f61bdd62ae3e81cc2a8e2be57f0fb7449aec5b80680e22b7d58a512f7e88dc332d206297e38cd7c18e2 WHIRLPOOL d5cb2a89a802df05a130a026fb4feb30b7ba09c7bad7e071684035b275c4a8c289f599ee9eef3f8c9e467d2ecf2044dec2b19212da4c983bc4183ee3eec018a4
DIST greenbone-security-assistant-6.0.4.tar.gz 1504792 SHA256 94e9bfe4e109b5c5112974a38c077e41f28fc349237be99d969da34935151d0f SHA512 1f9f04eceb88d703a43a727dffc31077a5a6272f62075e62d63f63064e87bb2f9ac0a65b8097158953d2bb06e580b6fe3c74a672a7a1193da908fad4dd008c1e WHIRLPOOL 2cf4dbba53e77e086d7c5668dcb1b5ff529fbf89a56ecfaf2188db5a5cc76ca226bd008b0b59f5f5c69ca8869f60f85087c92bf9290708c26f8656fbaccbfc4d
DIST greenbone-security-assistant-6.0.5.tar.gz 1464649 SHA256 7ef5f5a1963401cdd03a048e39408e319338e3e31cb2e830d759543f372c8417 SHA512 4b11d79bf4366c93d093297fcf662655c0fe8bfc404350250e94bc009a014de3387334e9bf64dc521007185733ff80799ae1cd895a4c82a169222778d83445cf WHIRLPOOL 86c6dd86149ad28e675b53fde9df4aa9f05476486e13a74bf667e58cd1c7cad146ffa7dded5d5076d4a07251a3fb2da166a37938cdd1138d318192f1bcf547ed
+DIST greenbone-security-assistant-6.0.6.tar.gz 1469343 SHA256 3df98355dc599b2efe24f1d3d1ca4f04b1380eb8996e3814f60b9a56fcc153fb SHA512 68eac5a41206d8c1bb43e84129987c7dd8ab922743c8f40f261ddcf49a1ac6245b17cac859af0d1cdc6061e3156170c88ec5b258ea8ed8a3828513ed8ef64af3 WHIRLPOOL 0d219cd83ecbf00907facbd4153d768d2aacbcd305831e01aaf66740ecae4bf5e798b651f782fa1ef39396fe0faac78976095992d302afcd77b3e676d920bf9f
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.6.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.6.ebuild
new file mode 100644
index 000000000000..98b293537790
--- /dev/null
+++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0.6.ebuild
@@ -0,0 +1,64 @@
+# 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=gsad
+
+DL_ID=2200
+
+DESCRIPTION="Greenbone Security Assistant for openvas"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+ BSD MIT"
+KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/libgcrypt:0
+ dev-libs/libxslt
+ >=net-analyzer/openvas-libraries-8.0.3
+ net-libs/libmicrohttpd[messages]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0.3-run.patch
+ )
+
+S="${WORKDIR}"/${P}
+
+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
+ newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
+
+ insinto /etc/openvas
+ doins "${FILESDIR}"/${MY_PN}-daemon.conf
+ dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN}
+
+ insinto /etc/logrotate.d
+ doins "${FILESDIR}"/${MY_PN}.logrotate
+
+ systemd_newtmpfilesd "${FILESDIR}"/${MY_PN}.tmpfiles.d ${MY_PN}.conf
+ systemd_dounit "${FILESDIR}"/${MY_PN}.service
+}