public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/, net-analyzer/wireshark/files/
Date: Mon, 30 Jan 2023 07:17:20 +0000 (UTC)	[thread overview]
Message-ID: <1675062983.e1dbc04410cba085c3587626744c8790d015da0a.flow@gentoo> (raw)

commit:     e1dbc04410cba085c3587626744c8790d015da0a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 07:09:46 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 07:16:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1dbc044

net-analyzer/wireshark: convert ewarn to readme.gentoo

As discussed with sam, the note about the pcap group does not really fit
into the 'warning' category. It also causes noise since it is printed
with every emerge of wireshark. So instead we use the readme.gentoo-r1
eclass now.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/wireshark/files/README.gentoo    | 3 +++
 net-analyzer/wireshark/wireshark-4.0.3.ebuild | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/wireshark/files/README.gentoo b/net-analyzer/wireshark/files/README.gentoo
new file mode 100644
index 000000000000..a26d2c4dcb76
--- /dev/null
+++ b/net-analyzer/wireshark/files/README.gentoo
@@ -0,0 +1,3 @@
+NOTE: To capture traffic with wireshark as normal user you have to
+add yourself to the pcap group. This security measure ensures
+that only trusted users are allowed to sniff your traffic.

diff --git a/net-analyzer/wireshark/wireshark-4.0.3.ebuild b/net-analyzer/wireshark/wireshark-4.0.3.ebuild
index 38a3ce5e8814..ab3fdea34f32 100644
--- a/net-analyzer/wireshark/wireshark-4.0.3.ebuild
+++ b/net-analyzer/wireshark/wireshark-4.0.3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 LUA_COMPAT=( lua5-{1..2} )
 PYTHON_COMPAT=( python3_{9..10} )
 
-inherit fcaps flag-o-matic lua-single python-any-r1 qmake-utils xdg cmake
+inherit fcaps flag-o-matic readme.gentoo-r1 lua-single python-any-r1 qmake-utils xdg cmake
 
 DESCRIPTION="A network protocol analyzer formerly known as ethereal"
 HOMEPAGE="https://www.wireshark.org/"
@@ -292,6 +292,8 @@ src_install() {
 	if [[ -d "${ED}"/usr/share/appdata ]] ; then
 		rm -r "${ED}"/usr/share/appdata || die
 	fi
+
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
@@ -306,7 +308,5 @@ pkg_postinst() {
 			"${EROOT}"/usr/bin/dumpcap
 	fi
 
-	ewarn "NOTE: To capture traffic with wireshark as normal user you have to"
-	ewarn "add yourself to the pcap group. This security measure ensures"
-	ewarn "that only trusted users are allowed to sniff your traffic."
+	readme.gentoo_print_elog
 }


             reply	other threads:[~2023-01-30  7:17 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30  7:17 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-01 16:48 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/, net-analyzer/wireshark/files/ Andreas Sturmlechner
2024-10-11  2:27 Sam James
2024-06-01  1:27 Sam James
2022-02-20  6:31 Sam James
2021-12-07  7:13 Sam James
2021-03-04  4:58 Sam James
2020-11-16  6:10 Sam James
2020-01-17 12:29 Jeroen Roovers
2019-01-09 12:14 Jeroen Roovers
2018-12-13 14:21 Jeroen Roovers
2018-07-24  8:57 Jeroen Roovers
2018-07-19 12:07 Jeroen Roovers
2018-06-03 11:06 Jeroen Roovers
2018-06-03 10:51 Jeroen Roovers
2018-05-04 18:01 Jeroen Roovers
2018-05-02 18:37 Jeroen Roovers
2018-01-16  9:56 Jeroen Roovers
2017-11-27  7:52 Jeroen Roovers
2016-06-30 19:24 Jeroen Roovers
2016-01-20  6:06 Jeroen Roovers
2015-12-24 12:50 Jeroen Roovers
2015-11-12  7:42 Jeroen Roovers

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=1675062983.e1dbc04410cba085c3587626744c8790d015da0a.flow@gentoo \
    --to=flow@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