1 |
commit: a5f44d0c5c70918eaad08ea0e25160d9656c5959 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 30 08:26:38 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 30 08:27:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f44d0c |
7 |
|
8 |
net-analyzer/wireshark: Update shared MIME info database (bug #629346). |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
.../{wireshark-2.4.1.ebuild => wireshark-2.4.1-r1.ebuild} | 8 +++++++- |
13 |
net-analyzer/wireshark/wireshark-99999999.ebuild | 8 +++++++- |
14 |
2 files changed, 14 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/wireshark/wireshark-2.4.1.ebuild b/net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild |
17 |
similarity index 98% |
18 |
rename from net-analyzer/wireshark/wireshark-2.4.1.ebuild |
19 |
rename to net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild |
20 |
index 91c6cd5751a..d5f333a962b 100644 |
21 |
--- a/net-analyzer/wireshark/wireshark-2.4.1.ebuild |
22 |
+++ b/net-analyzer/wireshark/wireshark-2.4.1-r1.ebuild |
23 |
@@ -2,7 +2,7 @@ |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
-inherit autotools eutils fcaps flag-o-matic multilib qmake-utils user |
28 |
+inherit autotools eutils fcaps flag-o-matic multilib qmake-utils user xdg-utils |
29 |
|
30 |
DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
31 |
HOMEPAGE="https://www.wireshark.org/" |
32 |
@@ -264,6 +264,8 @@ src_install() { |
33 |
} |
34 |
|
35 |
pkg_postinst() { |
36 |
+ xdg_mimeinfo_database_update |
37 |
+ |
38 |
# Add group for users allowed to sniff. |
39 |
enewgroup wireshark |
40 |
|
41 |
@@ -277,3 +279,7 @@ pkg_postinst() { |
42 |
ewarn "add yourself to the wireshark group. This security measure ensures" |
43 |
ewarn "that only trusted users are allowed to sniff your traffic." |
44 |
} |
45 |
+ |
46 |
+pkg_postrm() { |
47 |
+ xdg_mimeinfo_database_update |
48 |
+} |
49 |
|
50 |
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild |
51 |
index 7d9cd1a57a7..0cc1e226403 100644 |
52 |
--- a/net-analyzer/wireshark/wireshark-99999999.ebuild |
53 |
+++ b/net-analyzer/wireshark/wireshark-99999999.ebuild |
54 |
@@ -2,7 +2,7 @@ |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
|
57 |
EAPI=6 |
58 |
-inherit autotools eutils fcaps flag-o-matic git-r3 multilib qmake-utils user |
59 |
+inherit autotools eutils fcaps flag-o-matic git-r3 multilib qmake-utils user xdg-utils |
60 |
|
61 |
DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
62 |
HOMEPAGE="https://www.wireshark.org/" |
63 |
@@ -268,6 +268,8 @@ src_install() { |
64 |
} |
65 |
|
66 |
pkg_postinst() { |
67 |
+ xdg_mimeinfo_database_update |
68 |
+ |
69 |
# Add group for users allowed to sniff. |
70 |
enewgroup wireshark |
71 |
|
72 |
@@ -281,3 +283,7 @@ pkg_postinst() { |
73 |
ewarn "add yourself to the wireshark group. This security measure ensures" |
74 |
ewarn "that only trusted users are allowed to sniff your traffic." |
75 |
} |
76 |
+ |
77 |
+pkg_postrm() { |
78 |
+ xdg_mimeinfo_database_update |
79 |
+} |