diff options
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-5.27.10.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-plasma/plasma-firewall/Manifest b/kde-plasma/plasma-firewall/Manifest index b6ee4e913e75..7fd68b7a99cb 100644 --- a/kde-plasma/plasma-firewall/Manifest +++ b/kde-plasma/plasma-firewall/Manifest @@ -1,3 +1,5 @@ +DIST plasma-firewall-5.27.10.tar.xz 363288 BLAKE2B abebad4476e270ec5da39a4a8791382fe287d058e0e8bd2fe381204300cf41213adaa8125ca1c585d457ab969beadcd6122119798ae6c8bda0ad6660d2d14217 SHA512 350d44e26b6a9100b3f6ac9022b2e653f2ff55ec62f8efbef7b747eac006d8a0eb7182f8161a587cafadc07d5126fc0ea439e0624e578911ddba718fc99856d4 DIST plasma-firewall-5.27.9.tar.xz 363280 BLAKE2B 519e9e21aba5d779733320d4a1ab4b71a71c2b6a032c4274f99b84a8e22329b912b67f492b2cc6782ae5a185a578247ae7d5a9364a2ab3e527b0ce7400a8addb SHA512 e58f27f4823f5c01d1f447018c43cc36bdbe8055f3cade667539a09e12dc4e73b9051f104a0a5e904846ae1dabc611006276eba68462fd19d7769f5d79803734 +EBUILD plasma-firewall-5.27.10.ebuild 1646 BLAKE2B fdb8b07240a9531a42ba6c305897e2552f88101b0f19144dbfe8eec0cabc3e91b8a9c28e75c49013c69dc95bed814cd2b20b30a7907056ec55c2571dd5dce938 SHA512 aad8e0271083868a7fbc707df88a703c6b20365c917c6ef3e0274c447fc9086ffb02548bae31207c537bcea3eadadff6f2e70ad4410bcf4f5f80b84a288420d1 EBUILD plasma-firewall-5.27.9.ebuild 1643 BLAKE2B c0ffa1a2a83efcabb822e134c2345b7724008a8db469bb34c9f6935413074eb8cdb8888dc3f405d28afad1ccb824fbea4baa3b88872c322dac62b428c37b55c8 SHA512 278934719e1cc87524e27c3daede4d440cf406aeb734a99ffa92345e93c61f9aee152485363187244f22ab63effc496bcca493ec2872e9a2dbed9172d091ab53 MISC metadata.xml 481 BLAKE2B dccce364cb3100483c9d5932a250f05575badc6c66a0868a706817c3da4be16fabfdc584fea5d6fe45284da282b2123b1b7985e7813264d27a0338dcb76428ec SHA512 f3925caf241daf159b2b19ea70c4a177f023487ba3fef866e7fc529563b045664debaafb0a9978d05882b69457d9dada314c3109803eaf2e8bb244ac5f9b8f3d diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.27.10.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-5.27.10.ebuild new file mode 100644 index 000000000000..147513260d19 --- /dev/null +++ b/kde-plasma/plasma-firewall/plasma-firewall-5.27.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +PYTHON_COMPAT=( python3_{10..12} ) +KFMIN=5.106.0 +QTMIN=5.15.9 +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="5" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="firewalld +ufw" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( firewalld ufw )" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kauth-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + firewalld? ( net-firewall/firewalld ) + ufw? ( net-firewall/ufw ) +" +BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5" + +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 +} |