diff options
author | Giuseppe Foti <foti.giuseppe@gmail.com> | 2024-07-27 16:04:13 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-07-28 19:39:58 +0200 |
commit | 9566373b00852e21cdd88b338684ad4a074f4e00 (patch) | |
tree | 4dc633a92d0c1646f0657ecb9ffe65bf0e4a0e06 /net-analyzer/boreas/boreas-22.5.0.ebuild | |
parent | java-utils-2.eclass: select java-config binary, prefer java-config over java-... (diff) | |
download | gentoo-9566373b00852e21cdd88b338684ad4a074f4e00.tar.gz gentoo-9566373b00852e21cdd88b338684ad4a074f4e00.tar.bz2 gentoo-9566373b00852e21cdd88b338684ad4a074f4e00.zip |
net-analyzer/boreas: new package, add 22.5.0
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/boreas/boreas-22.5.0.ebuild')
-rw-r--r-- | net-analyzer/boreas/boreas-22.5.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-analyzer/boreas/boreas-22.5.0.ebuild b/net-analyzer/boreas/boreas-22.5.0.ebuild new file mode 100644 index 000000000000..fa6b7b370f6d --- /dev/null +++ b/net-analyzer/boreas/boreas-22.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Greenbone Scanner for alive hosts" +HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/boreas" +SRC_URI="https://github.com/greenbone/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.42:2 + >=net-analyzer/gvm-libs-22.4.1 + net-libs/libpcap +" + +BDEPEND=" + doc? ( + app-text/doxygen + app-text/xmltoman + ) + test? ( dev-libs/cgreen ) +" + +PATCHES=( + # Fix cmake error https://cmake.org/cmake/help/latest/policy/CMP0004.html + # PR upstream: https://github.com/greenbone/boreas/pull/66 + "${FILESDIR}"/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch +) + +src_configure() { + local mycmakeargs=( + "-DLOCALSTATEDIR=${EPREFIX}/var" + "-DSYSCONFDIR=${EPREFIX}/etc" + "-DBINDIR=${EPREFIX}/usr/bin" + ) + cmake_src_configure +} |