commit: 23ff40571d79e28be4b77c56acd536f8cf925d3f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 16:56:27 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 18:42:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ff4057
kde-plasma/plasma-firewall: 6.3.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma-firewall/Manifest | 1 +
.../plasma-firewall/plasma-firewall-6.3.1.ebuild | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/kde-plasma/plasma-firewall/Manifest
b/kde-plasma/plasma-firewall/Manifest
index f3df79f55ad3..f2f8488201f5 100644
--- a/kde-plasma/plasma-firewall/Manifest
+++ b/kde-plasma/plasma-firewall/Manifest
@@ -1,2 +1,3 @@
DIST plasma-firewall-6.2.5.tar.xz 375988 BLAKE2B
20662364af172d7832bf914a39d94008e58383af5071fc605015da52936a34e82f15ab466e87538e5b53a889de0f66559568a9e3b4d384ff0160241dcb797aad
SHA512
4655764d4644dc09d98e3408574a9ffda333211dbd7b939cb4280976f456c7fcc69913a765aaa6bb1c381e64c3e3d0d2155f092f8701c81a483655f32463344a
DIST plasma-firewall-6.3.0.tar.xz 381760 BLAKE2B
0393021936081f7d1adc5d18f4bf4cc9c2c3596e965523eb8be53ad534722da9f5a02d2b0f9bee65af44f58f709c05c93b681637f44e6248cb020a43d9c84726
SHA512
d55aea1d0ffe30542d60569bb64c101cd9e404bbf126ff7643ae9187fe5dbed65d20e2680d01bc172b7474126df3c965afa4c9811142a7ca7c27c0e7a860d276
+DIST plasma-firewall-6.3.1.tar.xz 382452 BLAKE2B
765176a90b9da770080bbc9f2befd40484e7ff5eb8b23e2d8f1ce17ff8ae8520f8a2a2a4d5ab9cfdc8d2b478da31445a964a0cd58f7fbedffe6636b1c3c2937a
SHA512
d38f53c09455099df33a065a3ff54c205ec1f31692758b595a3c8523c2ec0c80f1f0aec7d3df7b86f2583599d1b94ed313ece941e4d136bc7bb61790230c9dca
diff --git a/kde-plasma/plasma-firewall/plasma-firewall-6.3.1.ebuild
b/kde-plasma/plasma-firewall/plasma-firewall-6.3.1.ebuild
new file mode 100644
index 000000000000..effc0e519cdc
--- /dev/null
+++ b/kde-plasma/plasma-firewall/plasma-firewall-6.3.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+PYTHON_COMPAT=( python3_{10..13} )
+KFMIN=6.10.0
+QTMIN=6.8.1
+inherit ecm plasma.kde.org python-single-r1 xdg
+
+DESCRIPTION="Plasma frontend for Firewalld or UFW"
+HOMEPAGE="https://invent.kde.org/network/plasma-firewall"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="firewalld +ufw"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( firewalld ufw )"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,xml]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-frameworks/kauth-${KFMIN}:6
+ >=kde-frameworks/kcmutils-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ firewalld? ( net-firewall/firewalld )
+ ufw? ( net-firewall/ufw )
+"
+BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
+
+src_prepare() {
+ ecm_src_prepare
+ # this kind of cmake magic doesn't work for us at all.
+ sed -e "1 s:^.*$:\#\!/usr/bin/env ${EPYTHON}:" \
+ -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_FIREWALLD_BACKEND=$(usex firewalld)
+ -DBUILD_UFW_BACKEND=$(usex ufw)
+ )
+ ecm_src_configure
+}
+
+pkg_postinst () {
+ xdg_pkg_postinst
+
+ if ! has_version sys-apps/systemd; then
+ ewarn "${PN} is not functional without sys-apps/systemd at this
point."
+ ewarn "See also: https://bugs.gentoo.org/778527"
+ fi
+}