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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8F8B15800F for ; Mon, 30 Jan 2023 07:17:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 112FEE0917; Mon, 30 Jan 2023 07:17:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E9214E0917 for ; Mon, 30 Jan 2023 07:17:23 +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 2DA99335D4B for ; Mon, 30 Jan 2023 07:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D74F6771 for ; Mon, 30 Jan 2023 07:17:20 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1675062983.e1dbc04410cba085c3587626744c8790d015da0a.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/, net-analyzer/wireshark/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/wireshark/files/README.gentoo net-analyzer/wireshark/wireshark-4.0.3.ebuild X-VCS-Directories: net-analyzer/wireshark/files/ net-analyzer/wireshark/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: e1dbc04410cba085c3587626744c8790d015da0a X-VCS-Branch: master Date: Mon, 30 Jan 2023 07:17:20 +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: 72078894-5c23-4536-8f36-317ab8c643da X-Archives-Hash: d7ac5a02a73a1ee31423b6cf1c8f2f46 commit: e1dbc04410cba085c3587626744c8790d015da0a Author: Florian Schmaus gentoo org> AuthorDate: Mon Jan 30 07:09:46 2023 +0000 Commit: Florian Schmaus gentoo 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 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 }