From 2cdb05951deef1fd15032e54dba6df0d53128887 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 28 Jul 2024 20:39:10 +0300 Subject: [PATCH 1/7] dev-python/pyside6: Stabilize 6.7.2 arm64, #936832 Signed-off-by: Arthur Zamarin --- dev-python/pyside6/pyside6-6.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyside6/pyside6-6.7.2.ebuild b/dev-python/pyside6/pyside6-6.7.2.ebuild index 4d557821ecae4..6496055c40cff 100644 --- a/dev-python/pyside6/pyside6-6.7.2.ebuild +++ b/dev-python/pyside6/pyside6-6.7.2.ebuild @@ -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 From 060df1255abbc22d6026a9e80d7e05f0adc6713f Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 28 Jul 2024 20:39:10 +0300 Subject: [PATCH 2/7] dev-python/pyside6-tools: Stabilize 6.7.2 arm64, #936832 Signed-off-by: Arthur Zamarin --- dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild index 6f478d781c10e..4005f218570de 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild @@ -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. From 07285851f5f20f55f3570b379a5d04d213bdca3a Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 28 Jul 2024 20:39:11 +0300 Subject: [PATCH 3/7] dev-python/shiboken6: Stabilize 6.7.2 arm64, #936832 Signed-off-by: Arthur Zamarin --- dev-python/shiboken6/shiboken6-6.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild b/dev-python/shiboken6/shiboken6-6.7.2.ebuild index 20795abc25d10..aa0074264df0b 100644 --- a/dev-python/shiboken6/shiboken6-6.7.2.ebuild +++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild @@ -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}" From 7eddfd1f9b69da3a97fb5b6b3781a6a31feaa59a Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 27 Jul 2024 12:12:24 +0200 Subject: [PATCH 4/7] java-utils-2.eclass: select java-config binary, prefer java-config over java-config-2 This prepares the eclass for the transition from /usr/bin/java-config-2 to /usr/bin/java-config. Starting with dev-java/java-config-2.3.3, the java-config utility is installed as java-config and the java-config-2 compatibility symlink will only be installed if the 'compat' USE flag is enabled (currently the default). Signed-off-by: Florian Schmaus --- eclass/java-utils-2.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 8a062f2ad87e1..559342068cc01 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -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 From 9566373b00852e21cdd88b338684ad4a074f4e00 Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Sat, 27 Jul 2024 16:04:13 +0200 Subject: [PATCH 5/7] net-analyzer/boreas: new package, add 22.5.0 Signed-off-by: Giuseppe Foti Signed-off-by: Florian Schmaus --- net-analyzer/boreas/Manifest | 1 + net-analyzer/boreas/boreas-22.5.0.ebuild | 45 +++++++++++++++++++ ...-leading-withespaces-ldflags-libpcap.patch | 14 ++++++ net-analyzer/boreas/metadata.xml | 20 +++++++++ profiles/features/musl/package.mask | 1 + 5 files changed, 81 insertions(+) create mode 100644 net-analyzer/boreas/Manifest create mode 100644 net-analyzer/boreas/boreas-22.5.0.ebuild create mode 100644 net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch create mode 100644 net-analyzer/boreas/metadata.xml diff --git a/net-analyzer/boreas/Manifest b/net-analyzer/boreas/Manifest new file mode 100644 index 0000000000000..54b0c2bce386e --- /dev/null +++ b/net-analyzer/boreas/Manifest @@ -0,0 +1 @@ +DIST boreas-22.5.0.tar.gz 128205 BLAKE2B eea2c1bc488c4d54cd678d081846b76789de225daffcd4157ff7b33e6286fcbf7cf6e7961cbfa53f8d849f50da2c12e0c97e44439861c4cb7d79eb8f047a36bc SHA512 46b4982b20e02826296da56415fac0ddfa2703e9154c46352a6140eedf62c57eb14a4d7423c6f2d6e38eef764b36e975aa03cd38987a1664978092dcaddbe7fc 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 0000000000000..fa6b7b370f6df --- /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 +} diff --git a/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch b/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch new file mode 100644 index 0000000000000..9196531765fe7 --- /dev/null +++ b/net-analyzer/boreas/files/boreas-22.5.0-fix-leading-withespaces-ldflags-libpcap.patch @@ -0,0 +1,14 @@ +Fixes leading withespaces in LDFLAGS for libpcap +From: Giuseppe Foti +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) diff --git a/net-analyzer/boreas/metadata.xml b/net-analyzer/boreas/metadata.xml new file mode 100644 index 0000000000000..4ef252b3f88b9 --- /dev/null +++ b/net-analyzer/boreas/metadata.xml @@ -0,0 +1,20 @@ + + + + + foti.giuseppe@gmail.com + Giuseppe Foti + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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. + + + greenbone/boreas + + diff --git a/profiles/features/musl/package.mask b/profiles/features/musl/package.mask index c906a8c9b5c0e..a31c6934656d3 100644 --- a/profiles/features/musl/package.mask +++ b/profiles/features/musl/package.mask @@ -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 (2022-09-23) # Musl does not implement rresvport function, bugs #713810 and #713376. From f8c0f04ba96e7a4af031a8a1fd2345a68d42650e Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Sat, 27 Jul 2024 16:17:23 +0200 Subject: [PATCH 6/7] net-analyzer/gvm: Add optfeature for boreas scanning tool Signed-off-by: Giuseppe Foti Closes: https://github.com/gentoo/gentoo/pull/37745 Signed-off-by: Florian Schmaus --- net-analyzer/gvm/gvm-22.4-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net-analyzer/gvm/gvm-22.4-r1.ebuild b/net-analyzer/gvm/gvm-22.4-r1.ebuild index 1fce1de5e626e..f6cb62c19a7c7 100644 --- a/net-analyzer/gvm/gvm-22.4-r1.ebuild +++ b/net-analyzer/gvm/gvm-22.4-r1.ebuild @@ -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 } From c0dc509133ef4e5ce167a3399dd91493d47fa0d3 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 28 Jul 2024 19:37:48 +0200 Subject: [PATCH 7/7] net-analyzer/boreas: set missing RDEPEND Signed-off-by: Florian Schmaus --- net-analyzer/boreas/boreas-22.5.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-analyzer/boreas/boreas-22.5.0.ebuild b/net-analyzer/boreas/boreas-22.5.0.ebuild index fa6b7b370f6df..98af841fb49b8 100644 --- a/net-analyzer/boreas/boreas-22.5.0.ebuild +++ b/net-analyzer/boreas/boreas-22.5.0.ebuild @@ -20,6 +20,7 @@ DEPEND=" >=net-analyzer/gvm-libs-22.4.1 net-libs/libpcap " +RDEPEND="${DEPEND}" BDEPEND=" doc? (