| 23 |
23 |
S="${WORKDIR}/${P/_/}"
|
| 24 |
24 |
|
| 25 |
25 |
if [[ ${PV} != *_rc* ]] ; then
|
| 26 |
|
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc64 ~riscv x86"
|
|
26 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~x86"
|
| 27 |
27 |
fi
|
| 28 |
28 |
fi
|
| 29 |
29 |
|
| ... | ... | |
| 119 |
119 |
|
| 120 |
120 |
PATCHES=(
|
| 121 |
121 |
"${FILESDIR}/4.4.6-lto.patch"
|
| 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 |
122 |
)
|
| 126 |
123 |
|
| 127 |
124 |
python_check_deps() {
|
| ... | ... | |
| 306 |
303 |
if use gui ; then
|
| 307 |
304 |
local s
|
| 308 |
305 |
|
| 309 |
|
for s in 16 32 48 64 128 256 512 1024 ; do
|
|
306 |
for s in 16 32 48 64 256 ; do
|
| 310 |
307 |
insinto /usr/share/icons/hicolor/${s}x${s}/apps
|
| 311 |
308 |
newins resources/icons/wsicon${s}.png wireshark.png
|
| 312 |
309 |
done
|
| 313 |
310 |
|
| 314 |
311 |
for s in 16 24 32 48 64 128 256 ; do
|
| 315 |
312 |
insinto /usr/share/icons/hicolor/${s}x${s}/mimetypes
|
| 316 |
|
newins resources/icons//WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
|
|
313 |
newins resources/icons/WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
|
| 317 |
314 |
done
|
| 318 |
315 |
fi
|
| 319 |
316 |
|
| ... | ... | |
| 337 |
334 |
ewarn "NOTE: To capture traffic with wireshark as normal user you have to"
|
| 338 |
335 |
ewarn "add yourself to the pcap group. This security measure ensures"
|
| 339 |
336 |
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 |
337 |
}
|