summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-08-30 10:26:38 +0200
committerJeroen Roovers <jer@gentoo.org>2017-08-30 10:27:02 +0200
commita5f44d0c5c70918eaad08ea0e25160d9656c5959 (patch)
tree77a2b33dbd9df99848e21b651b0fe54c63c512fb
parentmedia-video/gnome-video-effects: keyword ~arm64 (diff)
downloadgentoo-a5f44d0c5c70918eaad08ea0e25160d9656c5959.tar.gz
gentoo-a5f44d0c5c70918eaad08ea0e25160d9656c5959.tar.bz2
gentoo-a5f44d0c5c70918eaad08ea0e25160d9656c5959.zip
net-analyzer/wireshark: Update shared MIME info database (bug #629346).
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild (renamed from net-analyzer/wireshark/wireshark-2.4.1.ebuild)8
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild8
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
index 91c6cd5751a2..d5f333a962b2 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 7d9cd1a57a7d..0cc1e226403c 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
+}