Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-07-28 17:48:54 +00:00
10 changed files with 94 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside-tools"
LICENSE="GPL-2"
SLOT="6/${PV}"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Minimal supported version of Qt.

View File

@@ -39,7 +39,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside6"
# x11extras (for X)
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )"
SLOT="6/${PV}"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
IUSE="
3d bluetooth charts +concurrent +dbus designer gles2-only +gui help location
multimedia +network network-auth nfc positioning +opengl pdfium positioning

View File

@@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6"
# arbitrarily relicensed. (TODO)
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
SLOT="6/${PV}"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
IUSE="+docstrings numpy test vulkan"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

View File

@@ -2723,7 +2723,13 @@ java-pkg_build-vm-from-handle() {
fi
for vm in ${JAVA_PKG_WANT_BUILD_VM}; do
if java-config-2 --select-vm=${vm} 2>/dev/null; then
local java_config
for java_config in java-config{,-2}; do
type -p ${java_config} >/dev/null && break
done
[[ -z ${java_config} ]] && die "No java-config binary in PATH"
if ${java_config} --select-vm=${vm} 2>/dev/null; then
echo ${vm}
return 0
fi

View File

@@ -0,0 +1 @@
DIST boreas-22.5.0.tar.gz 128205 BLAKE2B eea2c1bc488c4d54cd678d081846b76789de225daffcd4157ff7b33e6286fcbf7cf6e7961cbfa53f8d849f50da2c12e0c97e44439861c4cb7d79eb8f047a36bc SHA512 46b4982b20e02826296da56415fac0ddfa2703e9154c46352a6140eedf62c57eb14a4d7423c6f2d6e38eef764b36e975aa03cd38987a1664978092dcaddbe7fc

View File

@@ -0,0 +1,46 @@
# 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
"
RDEPEND="${DEPEND}"
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
}

View File

@@ -0,0 +1,14 @@
Fixes leading withespaces in LDFLAGS for libpcap
From: Giuseppe Foti <foti.giuseppe@gmail.com>
Upstream PR: https://github.com/greenbone/boreas/pull/66
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -32,6 +32,7 @@ if (PCAP_CONFIG)
execute_process (COMMAND pcap-config --libs
OUTPUT_VARIABLE PCAP_LDFLAGS
OUTPUT_STRIP_TRAILING_WHITESPACE)
+ string(STRIP ${PCAP_LDFLAGS} PCAP_LDFLAGS)
execute_process (COMMAND pcap-config --cflags
OUTPUT_VARIABLE PCAP_CFLAGS
OUTPUT_STRIP_TRAILING_WHITESPACE)

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>foti.giuseppe@gmail.com</email>
<name>Giuseppe Foti</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
Boreas is a command line tool to scan for alive hosts. It supports IPv4 and IPv6 address ranges and allows to exclude certain addresses from a range.
The alive ping tests support ICMP, TCP-ACK, TCP-SYN and ARP and any combination.
For TCP ping an individual port list can be applied.
</longdescription>
<upstream>
<remote-id type="github">greenbone/boreas</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -8,8 +8,8 @@ inherit optfeature systemd
DESCRIPTION="Greenbone Vulnerability Management, previously named OpenVAS"
HOMEPAGE="https://www.greenbone.net"
SLOT="0"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="cli doc +gsa ldap ospd snmp radius"
@@ -37,4 +37,5 @@ pkg_postinst() {
optfeature "IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan
optfeature "port scanner" net-analyzer/nmap
optfeature "create results from local security checks" net-analyzer/notus-scanner
optfeature "command line tool to scan for alive hosts" net-analyzer/boreas
}

View File

@@ -132,6 +132,7 @@ sys-apps/noexec
dev-db/pg-gvm
net-analyzer/notus-scanner
net-analyzer/greenbone-feed-sync
net-analyzer/boreas
# Petr Vaněk <arkamar@atlas.cz> (2022-09-23)
# Musl does not implement rresvport function, bugs #713810 and #713376.