Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414691 - net-analyzer/openvas-manager-3.0.1 version bump
Summary: net-analyzer/openvas-manager-3.0.1 version bump
Status: RESOLVED DUPLICATE of bug 402385
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-05-05 08:21 UTC by Blu3
Modified: 2012-08-12 14:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to turn off -Werror (openvas-manager-3.0.1-turn-off-Werror.patch,695 bytes, patch)
2012-05-05 08:21 UTC, Blu3
Details | Diff
ebuild with -Werror patch included (openvas-manager-3.0.1.ebuild,1.16 KB, patch)
2012-05-05 08:21 UTC, Blu3
Details | Diff
ebuild with -Werror patch included (openvas-manager-3.0.1.ebuild,1.22 KB, text/plain)
2012-05-05 09:27 UTC, Blu3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2012-05-05 08:21:07 UTC
Created attachment 310831 [details, diff]
patch to turn off -Werror

update to current version

1. update src link; SRC_URI="http://wald.intevation.org/frs/download.php/1104/${P}.tar.gz"

2. create patch to turn off -Werror

3. alter ebuild to include patch

4. compiles and installs correctly
Comment 1 Blu3 2012-05-05 08:21:59 UTC
Created attachment 310833 [details, diff]
ebuild with -Werror patch included

ebuild with -Werror patch included
Comment 2 Blu3 2012-05-05 09:27:21 UTC
Created attachment 310849 [details]
ebuild with -Werror patch included

instructions are insufficient, openvassd must be started before the manager --rebuild can happen
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-05 16:23:14 UTC
Comment on attachment 310849 [details]
ebuild with -Werror patch included

--- openvas-manager-2.0.4.ebuild        2012-05-05 18:22:13.000000000 +0200
+++ -   2012-05-05 18:23:03.384301063 +0200
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-2.0.4.ebuild,v 1.2 2012/05/04 06:08:10 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-2.0.4.ebuild,v 1.1 2011/10/09 17:22:54 hanno Exp $
 
 EAPI=4
 
@@ -8,7 +8,7 @@
 
 DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
 HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/871/${P}.tar.gz"
+SRC_URI="http://wald.intevation.org/frs/download.php/1104/${P}.tar.gz"
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~x86"
@@ -17,9 +17,15 @@
 RDEPEND=">=net-analyzer/openvas-libraries-4
        >=dev-db/sqlite-3"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig
+       dev-util/pkgconfig
        dev-util/cmake"
 
+src_unpack() {
+    unpack ${A}
+    cd "${S}"
+    epatch "${FILESDIR}/${P}-turn-off-Werror.patch"
+}
+
 src_configure() {
        local mycmakeargs="-DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc"
        cmake-utils_src_configure
@@ -34,5 +40,6 @@
 pkg_postinst() {
        elog "To allow openvasmd to work, you need to"
        elog "1. create a client certificate with openvas-mkcert-client -n om -i"
-       elog "2. create an openvasmd database with openvasmd --rebuild"
+    elog "2. start openvassd with /etc/init.d/openvassd start"
+       elog "3. [re]create an openvasmd database with openvasmd --rebuild"
 }
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-12 14:14:54 UTC

*** This bug has been marked as a duplicate of bug 402385 ***