public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
Date: Mon, 16 Aug 2021 06:33:19 +0000 (UTC)	[thread overview]
Message-ID: <1629095592.32ea62c0acb3a955d00c7fb2b1931776accca940.juippis@gentoo> (raw)

commit:     32ea62c0acb3a955d00c7fb2b1931776accca940
Author:     Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Mon Aug 16 06:02:05 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 06:33:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ea62c0

net-firewall/ufw: warn about possible conflicts

Warn about applications that may interfere with ufw.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-firewall/ufw/ufw-0.36.ebuild | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild
index ca3e55bb0fe..0da5a40cfa5 100644
--- a/net-firewall/ufw/ufw-0.36.ebuild
+++ b/net-firewall/ufw/ufw-0.36.ebuild
@@ -166,6 +166,27 @@ pkg_postinst() {
 	local print_check_req_warn
 	print_check_req_warn=false
 
+	local found=()
+	local apps=("${CATEGORY}/arno-iptables-firewall"
+		    "${CATEGORY}/ferm"
+		    "${CATEGORY}/firehol"
+		    "${CATEGORY}/firewalld"
+		    "${CATEGORY}/ipkungfu")
+
+	for exe in "${apps[@]}"
+	do
+		if has_version ''"${exe}"''; then
+			found+=( "${exe}" )
+		fi
+	done
+
+	if [ -n "$found" ]; then
+		echo
+		ewarn "WARNING: Detected other firewall applications:"
+		ewarn "${found[@]}"
+		ewarn "If enabled, these applications may interfere with ufw!"
+	fi
+
 	if [[ -z "${REPLACING_VERSIONS}" ]]; then
 		echo
 		elog "To enable ufw, add it to boot sequence and activate it:"


             reply	other threads:[~2021-08-16 20:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  6:33 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-08  7:59 [gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/ Sam James
2024-06-04  7:13 Sam James
2024-06-02  4:57 Sam James
2022-12-18 11:30 Sam James
2022-07-24 16:49 Florian Schmaus
2022-07-02 15:53 Sam James
2022-07-01  9:02 Florian Schmaus
2022-07-01  9:02 Florian Schmaus
2022-02-18  2:44 Sam James
2021-09-09 23:56 Sam James
2021-08-18  0:35 Yixun Lan
2021-08-16  6:33 Joonas Niilola
2021-05-25 16:05 Michał Górny
2021-05-25 16:05 Michał Górny
2021-02-22  7:14 Sam James
2021-02-22  7:12 Sam James
2020-07-01  6:39 Joonas Niilola
2020-07-01  6:39 Joonas Niilola
2019-08-13 16:53 Joonas Niilola
2019-08-13 10:32 Agostino Sarubbo
2019-08-13 10:30 Agostino Sarubbo
2019-08-12  8:02 Agostino Sarubbo
2019-08-11 21:30 Thomas Deutschmann
2019-08-11 11:20 David Seifert
2019-08-10  9:04 Sergei Trofimovich
2019-08-07  8:01 Sergei Trofimovich
2019-03-31 16:39 Patrice Clement
2019-01-31  7:25 Sergei Trofimovich
2017-09-12 23:02 Matt Turner
2017-09-12 23:02 Matt Turner
2017-08-05  9:59 Michael Palimaka
2017-07-15 17:25 Tobias Klausmann
2017-07-15  9:00 Sergei Trofimovich
2017-05-11 22:41 Michael Orlitzky
2017-04-08  8:25 Amy Liffey
2017-03-10 16:01 Manuel Rüger
2016-08-11  6:35 Patrice Clement
2016-06-19  2:16 Göktürk Yüksek
2016-03-14  4:31 Jason Zaman
2015-10-17 22:30 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629095592.32ea62c0acb3a955d00c7fb2b1931776accca940.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox