From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 2CFAB15800A for ; Tue, 11 Feb 2025 17:59:45 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 1752F34315D for ; Tue, 11 Feb 2025 17:59:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2EEF2110471; Tue, 11 Feb 2025 17:59:40 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 26B3C110471 for ; Tue, 11 Feb 2025 17:59:40 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB32734309B for ; Tue, 11 Feb 2025 17:59:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6140527F8 for ; Tue, 11 Feb 2025 17:59:38 +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: <1739296713.e83e1493c129c1da7e561cbe333697aae7aa2457.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.3.0.ebuild X-VCS-Directories: kde-plasma/plasma-firewall/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e83e1493c129c1da7e561cbe333697aae7aa2457 X-VCS-Branch: master Date: Tue, 11 Feb 2025 17:59:38 +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: fea4df8a-0d84-4fc3-b092-afe7b35f33c1 X-Archives-Hash: 8d38c0f5c7afae3cbb6c019863cdf677 commit: e83e1493c129c1da7e561cbe333697aae7aa2457 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Feb 10 23:31:24 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 11 17:58:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83e1493 kde-plasma/plasma-firewall: 6.3.0 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-firewall/Manifest | 1 + .../plasma-firewall/plasma-firewall-6.3.0.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest index 04aff8d11639..f3df79f55ad3 100644 --- a/kde-plasma/plasma-firewall/Manifest +++ b/kde-plasma/plasma-firewall/Manifest @@ -1 +1,2 @@ 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 diff --git a/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.ebuild new file mode 100644 index 000000000000..effc0e519cdc --- /dev/null +++ b/kde-plasma/plasma-firewall/plasma-firewall-6.3.0.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 +}