diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2018-10-16 09:18:47 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-15 22:59:56 -0700 |
commit | dd2f7c15ac260bcad18aae6e3d3344507cb0daa7 (patch) | |
tree | 8405fd70af637cad2895854e791925c251121bd2 /meta-networking/recipes-support/wireshark | |
parent | 7eb7a22f9cf7f864c6c1d21170f50df2a216c3be (diff) | |
download | meta-openembedded-dd2f7c15ac260bcad18aae6e3d3344507cb0daa7.tar.gz |
wireshark: update to 2.6.4
* Update SRC_URI
In https://1.as.dl.wireshark.org/src/, it only keep the latest
release. Switch to https://1.as.dl.wireshark.org/src/all-versions/
to make sure the old release can be found.
* Drop patch fix-fatal-no-names-found-git-error.patch
Actually this piece of code should not be invoked when build from
tarball. But in previous releases the code will be performed when
building native package if host with rpmbuild and git installed, which
will cause a configure error. This issue has been fixed in 2.6.4:
commit 4fbc017e80d6d11f8c26cad12d883fd6da9d3504
CMake: Fix build from tarball under certain conditions
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/wireshark')
-rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark/fix-fatal-no-names-found-git-error.patch | 23 | ||||
-rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_2.6.4.bb (renamed from meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb) | 7 |
2 files changed, 3 insertions, 27 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark/fix-fatal-no-names-found-git-error.patch b/meta-networking/recipes-support/wireshark/wireshark/fix-fatal-no-names-found-git-error.patch deleted file mode 100644 index 80119e3fd..000000000 --- a/meta-networking/recipes-support/wireshark/wireshark/fix-fatal-no-names-found-git-error.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | fixes | ||
2 | |||
3 | | fatal: No names found, cannot describe anything. | ||
4 | | CMake Error at CMakeLists.txt:3086 (string): | ||
5 | | string begin index: 1 is out of range 0 - 0 | ||
6 | |||
7 | Use always to circumvent the issue if git tag is not present | ||
8 | |||
9 | Upstream-status: Pending | ||
10 | |||
11 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | ||
12 | --- | ||
13 | --- wireshark-2.6.1/CMakeLists.txt 2018-08-08 18:18:05.388318652 -0700 | ||
14 | +++ wireshark-2.6.1/CMakeLists-fix.txt 2018-08-08 18:22:27.829670496 -0700 | ||
15 | @@ -3078,7 +3078,7 @@ | ||
16 | endif() | ||
17 | |||
18 | execute_process( | ||
19 | - COMMAND git describe --abbrev=8 --match v[1-9]* | ||
20 | + COMMAND git describe --always --abbrev=8 --match v[1-9]* | ||
21 | OUTPUT_VARIABLE _git_description | ||
22 | OUTPUT_STRIP_TRAILING_WHITESPACE | ||
23 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb b/meta-networking/recipes-support/wireshark/wireshark_2.6.4.bb index 5be7d4f18..595502e76 100644 --- a/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb +++ b/meta-networking/recipes-support/wireshark/wireshark_2.6.4.bb | |||
@@ -8,15 +8,14 @@ DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bi | |||
8 | 8 | ||
9 | DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native " | 9 | DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native " |
10 | 10 | ||
11 | SRC_URI = "https://1.as.dl.wireshark.org/src/${BP}.tar.xz \ | 11 | SRC_URI = "https://1.as.dl.wireshark.org/src/all-versions/${BP}.tar.xz \ |
12 | file://0001-Add-libm-to-link-for-fmod-API.patch \ | 12 | file://0001-Add-libm-to-link-for-fmod-API.patch \ |
13 | file://fix-fatal-no-names-found-git-error.patch \ | ||
14 | " | 13 | " |
15 | 14 | ||
16 | UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" | 15 | UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" |
17 | 16 | ||
18 | SRC_URI[md5sum] = "086d235509717190d06554b2ab870209" | 17 | SRC_URI[md5sum] = "8aa7b8c8ce0b6ce4256a081493819d6f" |
19 | SRC_URI[sha256sum] = "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094" | 18 | SRC_URI[sha256sum] = "a06b007e6343f148b8b93443b2fcfc9bb3204311cd268565d54d1b71660bc861" |
20 | 19 | ||
21 | PE = "1" | 20 | PE = "1" |
22 | 21 | ||