Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414695 - net-analyzer/openvas-administrator-1.2.0 version bump
Summary: net-analyzer/openvas-administrator-1.2.0 version bump
Status: RESOLVED DUPLICATE of bug 402387
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:51 UTC by Blu3
Modified: 2012-08-12 14:12 UTC (History)
0 users

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


Attachments
updated ebuild (openvas-administrator-1.2.0.ebuild,1.18 KB, text/plain)
2012-05-05 08:51 UTC, Blu3
Details
patch to turn off -Werror (openvas-administrator-1.2.0-turn-off-Werror.patch,569 bytes, patch)
2012-05-05 08:52 UTC, Blu3
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2012-05-05 08:51:32 UTC
update to current version

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

2. package now requires doxygen, add to DEPEND

3. update RDEPEND to openvas-libraries-5

4. add patch to disable -Werror

5. compile and install is successful
Comment 1 Blu3 2012-05-05 08:51:55 UTC
Created attachment 310841 [details]
updated ebuild
Comment 2 Blu3 2012-05-05 08:52:16 UTC
Created attachment 310843 [details, diff]
patch to turn off -Werror
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-05 16:27:28 UTC
Comment on attachment 310841 [details]
updated ebuild

--- openvas-administrator-1.1.1.ebuild  2012-05-05 18:25:46.000000000 +0200
+++ -   2012-05-05 18:26:47.049423883 +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-administrator/openvas-administrator-1.1.1.ebuild,v 1.2 2012/05/04 06:08:09 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-administrator/openvas-administrator-1.1.1.ebuild,v 1.1 2011/10/09 17:21:05 hanno Exp $
 
 EAPI=4
 
@@ -8,20 +8,27 @@
 
 DESCRIPTION="A remote security scanner for Linux (openvas-administrator)"
 HOMEPAGE="http://www.openvas.org/"
-SRC_URI="http://wald.intevation.org/frs/download.php/853/${P}.tar.gz"
+SRC_URI="http://wald.intevation.org/frs/download.php/1065/${P}.tar.gz"
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
-RDEPEND=">=net-analyzer/openvas-libraries-4"
+RDEPEND=">=net-analyzer/openvas-libraries-5"
 DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       dev-util/cmake"
+       dev-util/pkgconfig
+       dev-util/cmake
+       app-doc/doxygen"
 
 # Workaround for upstream bug, it doesn't like out-of-tree builds.
 CMAKE_BUILD_DIR="${S}"
 
+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


Note that there was an intermediate change from dev-util/pkgconfig to virtual/pkgconfig.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-05 16:28:14 UTC
Also, the ebuild should use src_prepare() to apply the patch, and not src_unpack().
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-12 14:12:44 UTC

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