From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-969781-garchives=archives.gentoo.org@lists.gentoo.org> 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 D7DA41396D0 for <garchives@archives.gentoo.org>; Wed, 30 Aug 2017 08:27:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 041FC1FC015; Wed, 30 Aug 2017 08:27:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 C61D81FC015 for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2017 08:27:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 32F2533BE2E for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2017 08:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A124087AA for <gentoo-commits@lists.gentoo.org>; Wed, 30 Aug 2017 08:27:03 +0000 (UTC) From: "Jeroen Roovers" <jer@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org> Message-ID: <1504081622.a5f44d0c5c70918eaad08ea0e25160d9656c5959.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild net-analyzer/wireshark/wireshark-2.4.1.ebuild net-analyzer/wireshark/wireshark-99999999.ebuild X-VCS-Directories: net-analyzer/wireshark/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: a5f44d0c5c70918eaad08ea0e25160d9656c5959 X-VCS-Branch: master Date: Wed, 30 Aug 2017 08:27:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 595fc0cc-b6a2-4aab-84a2-b915134b56f1 X-Archives-Hash: 812fcfd8f92317045ad15278477b0b29 commit: a5f44d0c5c70918eaad08ea0e25160d9656c5959 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Wed Aug 30 08:26:38 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Wed Aug 30 08:27:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f44d0c net-analyzer/wireshark: Update shared MIME info database (bug #629346). Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../{wireshark-2.4.1.ebuild => wireshark-2.4.1-r1.ebuild} | 8 +++++++- net-analyzer/wireshark/wireshark-99999999.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/net-analyzer/wireshark/wireshark-2.4.1.ebuild b/net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild similarity index 98% rename from net-analyzer/wireshark/wireshark-2.4.1.ebuild rename to net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild index 91c6cd5751a..d5f333a962b 100644 --- a/net-analyzer/wireshark/wireshark-2.4.1.ebuild +++ b/net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools eutils fcaps flag-o-matic multilib qmake-utils user +inherit autotools eutils fcaps flag-o-matic multilib qmake-utils user xdg-utils DESCRIPTION="A network protocol analyzer formerly known as ethereal" HOMEPAGE="https://www.wireshark.org/" @@ -264,6 +264,8 @@ src_install() { } pkg_postinst() { + xdg_mimeinfo_database_update + # Add group for users allowed to sniff. enewgroup wireshark @@ -277,3 +279,7 @@ pkg_postinst() { ewarn "add yourself to the wireshark group. This security measure ensures" ewarn "that only trusted users are allowed to sniff your traffic." } + +pkg_postrm() { + xdg_mimeinfo_database_update +} diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild index 7d9cd1a57a7..0cc1e226403 100644 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild +++ b/net-analyzer/wireshark/wireshark-99999999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools eutils fcaps flag-o-matic git-r3 multilib qmake-utils user +inherit autotools eutils fcaps flag-o-matic git-r3 multilib qmake-utils user xdg-utils DESCRIPTION="A network protocol analyzer formerly known as ethereal" HOMEPAGE="https://www.wireshark.org/" @@ -268,6 +268,8 @@ src_install() { } pkg_postinst() { + xdg_mimeinfo_database_update + # Add group for users allowed to sniff. enewgroup wireshark @@ -281,3 +283,7 @@ pkg_postinst() { ewarn "add yourself to the wireshark group. This security measure ensures" ewarn "that only trusted users are allowed to sniff your traffic." } + +pkg_postrm() { + xdg_mimeinfo_database_update +}