Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/, net-analyzer/wireshark/files/
Date: Tue, 07 Dec 2021 07:13:19
Message-Id: 1638861175.86721c622f6e75874b3dc83b0133f5973b5ba84b.sam@gentoo
1 commit: 86721c622f6e75874b3dc83b0133f5973b5ba84b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 07:12:47 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 07:12:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86721c62
7
8 net-analyzer/wireshark: fix USE=-tshark build for 3.6.0
9
10 Bug: https://bugs.gentoo.org/823720
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/wireshark-3.6.0-fix-no-tshark.patch | 32 ++++++++++++++++++++++
14 net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild | 1 +
15 2 files changed, 33 insertions(+)
16
17 diff --git a/net-analyzer/wireshark/files/wireshark-3.6.0-fix-no-tshark.patch b/net-analyzer/wireshark/files/wireshark-3.6.0-fix-no-tshark.patch
18 new file mode 100644
19 index 000000000000..dd497c51391c
20 --- /dev/null
21 +++ b/net-analyzer/wireshark/files/wireshark-3.6.0-fix-no-tshark.patch
22 @@ -0,0 +1,32 @@
23 +https://gitlab.com/wireshark/wireshark/-/commit/411df7ca34027d87fe6ecc06a07c816a401c4cb5
24 +https://gitlab.com/wireshark/wireshark/-/issues/17766
25 +https://bugs.gentoo.org/823720
26 +
27 +From: Gerald Combs <gerald@×××××××××.org>
28 +Date: Mon, 6 Dec 2021 19:01:10 -0800
29 +Subject: [PATCH] CMake: Remove the update_tools_help target.
30 +
31 +Remove the update_tools_help target. Despite the comment, the weekly
32 +update job doesn't use it, we don't have targets for our other update
33 +scripts, and it currently causes issues if BUILD_tshark is disabled.
34 +Fixes #17766.
35 +--- a/docbook/CMakeLists.txt
36 ++++ b/docbook/CMakeLists.txt
37 +@@ -33,16 +33,6 @@ set(COMMON_GRAPHICS
38 +
39 + set(GUIDE_INSTALL_DIRS)
40 +
41 +-# This is automatically updated each week. You probably don't need to run it
42 +-# or depend on it.
43 +-add_custom_target(update_tools_help
44 +- COMMAND ${CMAKE_COMMAND} -E env PYTHONIOENCODING=UTF-8
45 +- ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/update-tools-help.py
46 +- --program-path $<TARGET_FILE_DIR:tshark>
47 +- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
48 +-)
49 +-set_docbook_target_properties(update_tools_help)
50 +-
51 + set(WSUG_TITLE "Wireshark User's Guide")
52 +
53 + set(WSUG_FILES
54 +GitLab
55
56 diff --git a/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild b/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
57 index 3b3d7769e8ea..cd262a13d500 100644
58 --- a/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
59 +++ b/net-analyzer/wireshark/wireshark-3.6.0-r1.ebuild
60 @@ -97,6 +97,7 @@ RDEPEND="${RDEPEND}
61 PATCHES=(
62 "${FILESDIR}"/${PN}-2.6.0-redhat.patch
63 "${FILESDIR}"/${PN}-3.4.2-cmake-lua-version.patch
64 + "${FILESDIR}"/${PN}-3.6.0-fix-no-tshark.patch
65 )
66
67 pkg_setup() {