summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-10-22 08:19:17 +0000
committerJustin Lecher <jlec@gentoo.org>2014-10-22 08:19:17 +0000
commitfb99855692d7ba2dd686677a80a71d961bf51f74 (patch)
tree249b119c7cad704e3f504e9043f65df75de47c0c
parentnet-analyzer/openvas-cli: Update to latest beta; drop old (diff)
downloadgentoo-2-fb99855692d7ba2dd686677a80a71d961bf51f74.tar.gz
gentoo-2-fb99855692d7ba2dd686677a80a71d961bf51f74.tar.bz2
gentoo-2-fb99855692d7ba2dd686677a80a71d961bf51f74.zip
net-analyzer/greenbone-security-assistant: Update to latest beta; drop old
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
-rw-r--r--net-analyzer/greenbone-security-assistant/ChangeLog11
-rw-r--r--net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild37
-rw-r--r--net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild16
-rw-r--r--net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild38
-rw-r--r--net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild63
5 files changed, 79 insertions, 86 deletions
diff --git a/net-analyzer/greenbone-security-assistant/ChangeLog b/net-analyzer/greenbone-security-assistant/ChangeLog
index 062b1f9c4ddd..fc09086bef7f 100644
--- a/net-analyzer/greenbone-security-assistant/ChangeLog
+++ b/net-analyzer/greenbone-security-assistant/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-analyzer/greenbone-security-assistant
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.10 2014/10/01 11:13:53 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/ChangeLog,v 1.11 2014/10/22 08:19:17 jlec Exp $
+
+*greenbone-security-assistant-6.0_beta3 (22 Oct 2014)
+
+ 22 Oct 2014; Justin Lecher <jlec@gentoo.org>
+ -greenbone-security-assistant-5.0.1.ebuild,
+ -greenbone-security-assistant-5.0.3.ebuild,
+ greenbone-security-assistant-5.0.3-r1.ebuild,
+ +greenbone-security-assistant-6.0_beta3.ebuild:
+ Update to latest beta; drop old
01 Oct 2014; Justin Lecher <jlec@gentoo.org> files/gsad.init:
Fix service dependency
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild
deleted file mode 100644
index 357daeb400b5..000000000000
--- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.1.ebuild,v 1.1 2014/06/19 13:38:01 hanno Exp $
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="Greenbone Security Assistant for openvas"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/1675/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-RDEPEND=">=net-analyzer/openvas-libraries-7.0.2
- dev-libs/libxslt
- net-libs/libmicrohttpd[messages]"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS="ChangeLog CHANGES README"
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- doinitd "${FILESDIR}"/gsad
-}
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild
index 4cbff6cfa8e5..be150a978e59 100644
--- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild
+++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v 1.1 2014/10/01 09:33:11 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3-r1.ebuild,v 1.2 2014/10/22 08:19:17 jlec Exp $
EAPI=5
@@ -8,9 +8,11 @@ inherit cmake-utils systemd
MY_PN=gsad
+DL_ID=1734
+
DESCRIPTION="Greenbone Security Assistant for openvas"
HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz"
+SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
@@ -37,8 +39,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
+ -DLOCALSTATEDIR="${EPREFIX}/var"
+ -DSYSCONFDIR="${EPREFIX}/etc"
)
cmake-utils_src_configure
}
@@ -57,9 +59,3 @@ src_install() {
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"
-}
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild
deleted file mode 100644
index 22d414543ba4..000000000000
--- a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-5.0.3.ebuild,v 1.1 2014/09/28 18:23:34 jlec Exp $
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="Greenbone Security Assistant for openvas"
-HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/1734/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-RDEPEND="
- >=net-analyzer/openvas-libraries-7.0.4
- dev-libs/libxslt
- net-libs/libmicrohttpd[messages]"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS="ChangeLog CHANGES README"
-
-src_configure() {
- local mycmakeargs=(
- "-DLOCALSTATEDIR=${EPREFIX}/var"
- "-DSYSCONFDIR=${EPREFIX}/etc"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- doinitd "${FILESDIR}"/gsad
-}
diff --git a/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild
new file mode 100644
index 000000000000..bb5a287cd726
--- /dev/null
+++ b/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/greenbone-security-assistant/greenbone-security-assistant-6.0_beta3.ebuild,v 1.1 2014/10/22 08:19:17 jlec Exp $
+
+EAPI=5
+
+inherit cmake-utils systemd
+
+MY_PN=gsad
+
+DL_ID=1775
+
+DESCRIPTION="Greenbone Security Assistant for openvas"
+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+ BSD MIT"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ >=net-analyzer/openvas-libraries-8.0_beta3
+ dev-libs/libxslt
+ net-libs/libmicrohttpd[messages]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0.3-run.patch
+ )
+
+S="${WORKDIR}"/${P/_beta/+beta}
+
+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
+}