diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-02-03 09:08:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-02-03 09:08:44 +0000 |
commit | aa49c7d01781a5ae03e7d570f76e644ca3fa98d2 (patch) | |
tree | 9254758bb0f441f2fe1ba7b0652764ea991e3890 /net-analyzer/openvas-manager | |
parent | net-analyzer/openvas-scanner: Version Bump (diff) | |
download | gentoo-2-aa49c7d01781a5ae03e7d570f76e644ca3fa98d2.tar.gz gentoo-2-aa49c7d01781a5ae03e7d570f76e644ca3fa98d2.tar.bz2 gentoo-2-aa49c7d01781a5ae03e7d570f76e644ca3fa98d2.zip |
net-analyzer/openvas-manager: Version BUmp
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-analyzer/openvas-manager')
5 files changed, 153 insertions, 3 deletions
diff --git a/net-analyzer/openvas-manager/ChangeLog b/net-analyzer/openvas-manager/ChangeLog index 66436ee34f89..e6cd8d0a4774 100644 --- a/net-analyzer/openvas-manager/ChangeLog +++ b/net-analyzer/openvas-manager/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-analyzer/openvas-manager -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.16 2014/12/01 16:44:28 jlec Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/ChangeLog,v 1.17 2015/02/03 09:08:44 jlec Exp $ + +*openvas-manager-6.0_beta5 (03 Feb 2015) +*openvas-manager-5.0.8 (03 Feb 2015) + + 03 Feb 2015; Justin Lecher <jlec@gentoo.org> +openvas-manager-5.0.8.ebuild, + +openvas-manager-6.0_beta5.ebuild, + files/openvas-manager-5.0.4-bsdsource.patch, + +files/openvas-manager-6.0_beta5-bsdsource.patch: + Version BUmp *openvas-manager-6.0_beta4 (01 Dec 2014) *openvas-manager-5.0.7 (01 Dec 2014) diff --git a/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-bsdsource.patch b/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-bsdsource.patch index fac892c8d542..f6db4e2ddaa2 100644 --- a/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-bsdsource.patch +++ b/net-analyzer/openvas-manager/files/openvas-manager-5.0.4-bsdsource.patch @@ -1,6 +1,6 @@ diff -ru openvas-manager-5.0.1/CMakeLists.txt openvas-manager-5.0.1.bsdsource/CMakeLists.txt --- openvas-manager-5.0.1/CMakeLists.txt 2014-05-09 15:28:54.000000000 +0200 -+++ openvas-manager-5.0.1.bsdsource/CMakeLists.txt 2014-05-26 23:11:41.845214141 +0200 ++++ openvas-manager-5.0.1/CMakeLists.txt 2014-05-26 23:11:41.845214141 +0200 @@ -252,7 +252,7 @@ set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") diff --git a/net-analyzer/openvas-manager/files/openvas-manager-6.0_beta5-bsdsource.patch b/net-analyzer/openvas-manager/files/openvas-manager-6.0_beta5-bsdsource.patch new file mode 100644 index 000000000000..011880979141 --- /dev/null +++ b/net-analyzer/openvas-manager/files/openvas-manager-6.0_beta5-bsdsource.patch @@ -0,0 +1,16 @@ + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4eb89a0..7ccfc5a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -338,7 +338,7 @@ configure_file (tools/openvas-migrate-to-postgres.in tools/openvas-migrate-to-po + set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") + + set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror") +-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") ++set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -D_DEFAULT_SOURCE -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64") + + add_subdirectory (src) + diff --git a/net-analyzer/openvas-manager/openvas-manager-5.0.8.ebuild b/net-analyzer/openvas-manager/openvas-manager-5.0.8.ebuild new file mode 100644 index 000000000000..d97038d8e66a --- /dev/null +++ b/net-analyzer/openvas-manager/openvas-manager-5.0.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-5.0.8.ebuild,v 1.1 2015/02/03 09:08:44 jlec Exp $ + +EAPI=5 + +inherit cmake-utils systemd + +MY_PN=openvasmd + +DL_ID=1911 + +DESCRIPTION="A remote security scanner for Linux (openvas-manager)" +HOMEPAGE="http://www.openvas.org/" +SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="" + +RDEPEND=" + ~net-analyzer/openvas-libraries-7.0.6 + >=dev-db/sqlite-3 + !net-analyzer/openvas-administrator" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.4-gpgerror.patch + "${FILESDIR}"/${PN}-5.0.4-bsdsource.patch + "${FILESDIR}"/${PN}-5.0.4-run.patch + ) + +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 + + insinto /etc/openvas/ + doins "${FILESDIR}"/${MY_PN}-daemon.conf + dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN} + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} + + newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} + systemd_dounit "${FILESDIR}"/${MY_PN}.service +} diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0_beta5.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0_beta5.ebuild new file mode 100644 index 000000000000..364ecc900eed --- /dev/null +++ b/net-analyzer/openvas-manager/openvas-manager-6.0_beta5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-manager/openvas-manager-6.0_beta5.ebuild,v 1.1 2015/02/03 09:08:44 jlec Exp $ + +EAPI=5 + +inherit cmake-utils systemd + +MY_PN=openvasmd + +DL_ID=1874 + +DESCRIPTION="A remote security scanner for Linux (openvas-manager)" +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" +KEYWORDS="" +IUSE="" + +RDEPEND=" + ~net-analyzer/openvas-libraries-8_beta4 + >=dev-db/sqlite-3 + !net-analyzer/openvas-administrator" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}"/${P/_beta/+beta} + +PATCHES=( + "${FILESDIR}"/${PN}-5.0.4-gpgerror.patch + "${FILESDIR}"/${P}-bsdsource.patch + ) + +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 + + insinto /etc/openvas/ + doins "${FILESDIR}"/${MY_PN}-daemon.conf + dosym ../openvas/${MY_PN}-daemon.conf /etc/conf.d/${PN} + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${MY_PN}.logrotate ${MY_PN} + + newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN} + systemd_dounit "${FILESDIR}"/${MY_PN}.service +} |