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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E6681382C5 for ; Sun, 9 May 2021 12:17:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCE02E0849; Sun, 9 May 2021 12:17:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C53D8E0849 for ; Sun, 9 May 2021 12:17:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47952340FA8 for ; Sun, 9 May 2021 12:17:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1540374F for ; Sun, 9 May 2021 12:17:48 +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: <1620561122.9ee1529db2cfe395c122c9675476784e32893a55.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-firewall/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild X-VCS-Directories: kde-plasma/plasma-firewall/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 9ee1529db2cfe395c122c9675476784e32893a55 X-VCS-Branch: master Date: Sun, 9 May 2021 12:17:48 +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: d6628ea6-8f78-4eb4-a144-80d62ae3842d X-Archives-Hash: 3acd9aaa3d6811aae6f5f441de70ac4f commit: 9ee1529db2cfe395c122c9675476784e32893a55 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 9 11:52:02 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 9 11:52:02 2021 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9ee1529d kde-plasma/plasma-firewall: Replace systemd RDEPEND w/ postinst ewarn For administrative reasons we can't have a package pulling in systemd, this would render it essentially unsupported. Instead make clear that it will not work properly. Whoever wants to install/play around with it on openrc can now do so with that roadblock removed. Bug: https://bugs.gentoo.org/778527 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild index 6541d6c6bf..525e35fc9c 100644 --- a/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild +++ b/kde-plasma/plasma-firewall/plasma-firewall-9999.ebuild @@ -35,7 +35,6 @@ DEPEND=" " RDEPEND="${DEPEND} ${PYTHON_DEPS} - sys-apps/systemd || ( net-firewall/firewalld net-firewall/ufw @@ -48,3 +47,12 @@ src_prepare() { sed -e "1 s:^.*$:\#\!/usr/bin/env python3.8:" \ -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die } + +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 +}