| 12 |
12 |
HOMEPAGE="https://www.wireshark.org/"
|
| 13 |
13 |
|
| 14 |
14 |
if [[ ${PV} == *9999* ]] ; then
|
| 15 |
|
EGIT_REPO_URI="https://gitlab.com/wireshark/wireshark"
|
|
15 |
EGIT_REPO_URI="https://gitlab.com/wireshark/wireshark.git"
|
| 16 |
16 |
inherit git-r3
|
| 17 |
17 |
else
|
| 18 |
18 |
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/wireshark.asc
|
| ... | ... | |
| 120 |
120 |
PATCHES=(
|
| 121 |
121 |
"${FILESDIR}/4.4.6-lto.patch"
|
| 122 |
122 |
"${FILESDIR}/4.6.2-gnutls-pkcs11.patch"
|
| 123 |
|
"${FILESDIR}/4.6.5-disable-sidebar.patch"
|
| 124 |
|
"${FILESDIR}/4.6.5-remove-unused-variable.patch"
|
| 125 |
123 |
)
|
| 126 |
124 |
|
| 127 |
125 |
python_check_deps() {
|
| ... | ... | |
| 313 |
311 |
|
| 314 |
312 |
for s in 16 24 32 48 64 128 256 ; do
|
| 315 |
313 |
insinto /usr/share/icons/hicolor/${s}x${s}/mimetypes
|
| 316 |
|
newins resources/icons//WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
|
|
314 |
newins resources/icons/WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
|
| 317 |
315 |
done
|
| 318 |
316 |
fi
|
| 319 |
317 |
|
| ... | ... | |
| 337 |
335 |
ewarn "NOTE: To capture traffic with wireshark as normal user you have to"
|
| 338 |
336 |
ewarn "add yourself to the pcap group. This security measure ensures"
|
| 339 |
337 |
ewarn "that only trusted users are allowed to sniff your traffic."
|
| 340 |
|
|
| 341 |
|
if use gui; then
|
| 342 |
|
einfo "Since version 4.6.5 Wireshark's Welcome page shows a sidebar"
|
| 343 |
|
einfo "with links to documentation, ads, sponsors and various other"
|
| 344 |
|
einfo "community resources. This feature was merged prematurely and"
|
| 345 |
|
einfo "cannot (yet) be disabled in Preferences, so we decided to disable"
|
| 346 |
|
einfo "it by default. If you already started 4.6.5 and see the sidebar,"
|
| 347 |
|
einfo "you can edit the gui.welcome_page.sidebar.* keys in the"
|
| 348 |
|
einfo "recent_common file located in ~/.wireshark (old location)"
|
| 349 |
|
einfo "or ~/.config/wireshark (new location)."
|
| 350 |
|
einfo "Make sure that Wireshark is not running when editing the file."
|
| 351 |
|
fi
|
| 352 |
338 |
}
|