diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-02 06:31:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-02 06:31:11 +0000 |
commit | ff733bfb4d0bd82175e03255004faef8721b53ea (patch) | |
tree | c1061dbb981bc9e61d4f31b6610569711c7b482f /kde-plasma/plasma-firewall | |
parent | c4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (diff) |
gentoo auto-resync : 02:01:2025 - 06:31:11
Diffstat (limited to 'kde-plasma/plasma-firewall')
-rw-r--r-- | kde-plasma/plasma-firewall/Manifest | 2 | ||||
-rw-r--r-- | kde-plasma/plasma-firewall/plasma-firewall-6.2.5.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest index d46fcac091d2..85f7bc379552 100644 --- a/kde-plasma/plasma-firewall/Manifest +++ b/kde-plasma/plasma-firewall/Manifest @@ -1,3 +1,5 @@ DIST plasma-firewall-6.2.4.tar.xz 376368 BLAKE2B c2cbc6d003fb5f92b55a78fc506d9c34a8dcb3f698f6d6c052e42cfd9319161bff1d11fd5233e38912b4766d15467c4adaf138b3439f646e07c2f1712b0c90b3 SHA512 5ee2a1b8fe108c285dd6bf594d19c6a174534f83c43f7ee15507f01d381c42f522685ceb847e02ee6b8cf4d2e82b404bad50701434002fc043f0e2af08a4adc9 +DIST plasma-firewall-6.2.5.tar.xz 375988 BLAKE2B 20662364af172d7832bf914a39d94008e58383af5071fc605015da52936a34e82f15ab466e87538e5b53a889de0f66559568a9e3b4d384ff0160241dcb797aad SHA512 4655764d4644dc09d98e3408574a9ffda333211dbd7b939cb4280976f456c7fcc69913a765aaa6bb1c381e64c3e3d0d2155f092f8701c81a483655f32463344a EBUILD plasma-firewall-6.2.4.ebuild 1491 BLAKE2B a4b767da2bb66caafa1d90ae5c901899f98b82a72a5c829430009e2e6da84d442907d11f83515da271edd3488ddde3138fa3a99c72837bc976b123da7feceded SHA512 dfdb791f6fbdbd6cd6c5575d28f6598550e1af4f343db77e4cb7767f1d16f2f485b0b0601caedea51bf51d70bf33683af45e02062fe6bb2f347f39992462184e +EBUILD plasma-firewall-6.2.5.ebuild 1493 BLAKE2B c0511b7f8468631fedb26f975de53d9ba9c876a50684a9d667d1df86b70466451f3f5ef472a873466efddb6d81034dfe3b596acf1ceb52902d12611ee5495a30 SHA512 03d7b1fabfb2f5eee51314bf8de972074389b81cd7571d215e2d820f0771676e732a4e0d9f31a13a34a8c199863516679a46907eff69e8ab2d8b0663926257b6 MISC metadata.xml 548 BLAKE2B 7211efdf7e92cafddfb6a1a51a9165a3c529c019ec357b4c9b331e612ae1495d0b42f7dd9d4fdc9339b0e71672bd3fe2693c4e7189e184964b6e9ff78a68a567 SHA512 8d013ad2d6bda1cd624247715944542b6621bfcb80c452e4dc7fc27b5dc7a8b13a7863b3c4d0dac107e0e207bb901f0befd0518674e5b82a0d2607612ef9dba3 diff --git a/kde-plasma/plasma-firewall/plasma-firewall-6.2.5.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-6.2.5.ebuild new file mode 100644 index 000000000000..22591e410f2d --- /dev/null +++ b/kde-plasma/plasma-firewall/plasma-firewall-6.2.5.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.6.0 +QTMIN=6.7.2 +inherit ecm plasma.kde.org python-single-r1 + +DESCRIPTION="Plasma frontend for Firewalld or UFW" +HOMEPAGE="https://invent.kde.org/network/plasma-firewall" + +LICENSE="GPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~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 () { + ecm_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 +} |