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
Created attachment 310841 [details] updated ebuild
Created attachment 310843 [details, diff] patch to turn off -Werror
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.
Also, the ebuild should use src_prepare() to apply the patch, and not src_unpack().
*** This bug has been marked as a duplicate of bug 402387 ***