From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9712815812D for ; Wed, 01 Jan 2025 21:05:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 854EEE05AC; Wed, 01 Jan 2025 21:05:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69265E05AC for ; Wed, 01 Jan 2025 21:05:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8504E335D77 for ; Wed, 01 Jan 2025 21:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0905AED for ; Wed, 01 Jan 2025 21:05:23 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1735765443.da8c21196c5c92409fd10a5a80944e851a1406b6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-firewall/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/plasma-firewall/Manifest kde-plasma/plasma-firewall/plasma-firewall-6.2.5.ebuild X-VCS-Directories: kde-plasma/plasma-firewall/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: da8c21196c5c92409fd10a5a80944e851a1406b6 X-VCS-Branch: master Date: Wed, 01 Jan 2025 21:05:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2adffff0-f07b-4acf-9621-384a0cd6b02b X-Archives-Hash: 815e4aec07c18a8679e91b05bfff9e26 commit: da8c21196c5c92409fd10a5a80944e851a1406b6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 1 19:30:33 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jan 1 21:04:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8c2119 kde-plasma/plasma-firewall: 6.2.5 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-firewall/Manifest | 1 + .../plasma-firewall/plasma-firewall-6.2.5.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest index 3ff1a43dabb1..58318e29ff86 100644 --- a/kde-plasma/plasma-firewall/Manifest +++ b/kde-plasma/plasma-firewall/Manifest @@ -1 +1,2 @@ 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 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 +}