Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#
|
||||
Wireshark - Notes
|
||||
|
||||
URL: http://www.wireshark.org/
|
||||
User Guide: http://www.wireshark.org/docs/wsug_html_chunked/
|
||||
Secruity advisories: http://www.wireshark.org/security/
|
||||
|
||||
Wireshark is slowly moving away from gtk and towards QT as their graphical stack.
|
||||
Currently gtk is supported with this release and I plan on integrating QT.
|
||||
|
||||
|
||||
|
||||
Adding the wireshark to your build
|
||||
========================================
|
||||
|
||||
via local.conf
|
||||
IMAGE_INSTALL:append = " wireshark"
|
||||
|
||||
Adding the wireshark to your graphical build
|
||||
========================================
|
||||
via local.conf
|
||||
IMAGE_INSTALL:append = " wireshark"
|
||||
|
||||
and one of:
|
||||
|
||||
EXTRA_IMAGE_FEATURES += "x11-base"
|
||||
|
||||
or use the "core-image-x11"
|
||||
|
||||
|
||||
Maintenance
|
||||
-----------
|
||||
|
||||
Send patches, comments or questions to openembedded-devel@lists.openembedded.org
|
||||
|
||||
When sending single patches, please use something like:
|
||||
|
||||
git send-email -1 -M \
|
||||
--to openembedded-devel@lists.openembedded.org \
|
||||
--cc akuster@mvista.com \
|
||||
--subject-prefix=meta-networking][PATCH
|
||||
|
||||
Maintainer: Armin Kuster <akuster@mvista.com>
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 802d3cafa888b36aa72007d48232a010dbb0231d Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Wed, 27 Dec 2023 16:57:28 +0100
|
||||
Subject: [PATCH] UseLemon.cmake: do not use lemon data from the host
|
||||
|
||||
We use native lemon, and not the host one, so
|
||||
the data should be taken from the source tree as well.
|
||||
|
||||
Upstream-Status: Inappropriate [cross-specific]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
cmake/modules/UseLemon.cmake | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake
|
||||
index fa4034e..83a7ca3 100644
|
||||
--- a/cmake/modules/UseLemon.cmake
|
||||
+++ b/cmake/modules/UseLemon.cmake
|
||||
@@ -13,11 +13,12 @@ if(LEMON_EXECUTABLE)
|
||||
${_out}.out
|
||||
COMMAND ${LEMON_EXECUTABLE}
|
||||
-l
|
||||
- -T/usr/share/lemon/lempar.c
|
||||
+ -T${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c
|
||||
-d.
|
||||
${_in}
|
||||
DEPENDS
|
||||
${_in}
|
||||
+ ${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c
|
||||
)
|
||||
endmacro()
|
||||
add_custom_target(lemon)
|
||||
@@ -0,0 +1,28 @@
|
||||
From d9c4cdad0c48becab491ea4e80e5cd81f7d1dc97 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
Date: Thu, 26 Nov 2020 05:38:31 -0800
|
||||
Subject: [PATCH] wireshark-src: improve reproducibility
|
||||
|
||||
Cut absolute path for filename in generated code
|
||||
comments.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
|
||||
---
|
||||
tools/ncp2222.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/ncp2222.py b/tools/ncp2222.py
|
||||
index f14d0c5..05073b9 100755
|
||||
--- a/tools/ncp2222.py
|
||||
+++ b/tools/ncp2222.py
|
||||
@@ -5891,7 +5891,7 @@ def produce_code():
|
||||
|
||||
print("/*")
|
||||
print(" * Do not modify this file. Changes will be overwritten.")
|
||||
- print(" * Generated automatically from %s" % (sys.argv[0]))
|
||||
+ print(" * Generated automatically from %s" % (os.path.basename(sys.argv[0])))
|
||||
print(" */\n")
|
||||
|
||||
print("""
|
||||
@@ -0,0 +1,44 @@
|
||||
From e4e88c2f55286cf24af230b265d0e059363baa6c Mon Sep 17 00:00:00 2001
|
||||
From: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
Date: Thu, 26 Nov 2020 12:00:43 -0800
|
||||
Subject: [PATCH] flex: Remove #line directives
|
||||
|
||||
Append --noline option to flex to not
|
||||
generate #line directives with absolute file patch.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
|
||||
---
|
||||
cmake/modules/FindLEX.cmake | 18 +++++++++++++-----
|
||||
1 file changed, 13 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake
|
||||
index 20caa09..174f452 100644
|
||||
--- a/cmake/modules/FindLEX.cmake
|
||||
+++ b/cmake/modules/FindLEX.cmake
|
||||
@@ -32,11 +32,19 @@ MACRO(ADD_LEX_FILES _source _generated)
|
||||
SET(_outc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.c)
|
||||
SET(_outh ${CMAKE_CURRENT_BINARY_DIR}/${_basename}_lex.h)
|
||||
|
||||
- ADD_CUSTOM_COMMAND(
|
||||
- OUTPUT ${_outc} ${_outh}
|
||||
- COMMAND ${LEX_EXECUTABLE} $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:--debug> -o${_outc} --header-file=${_outh} ${_in}
|
||||
- DEPENDS ${_in}
|
||||
- )
|
||||
+ IF (DEFINED ENV{SOURCE_DATE_EPOCH})
|
||||
+ ADD_CUSTOM_COMMAND(
|
||||
+ OUTPUT ${_outc} ${_outh}
|
||||
+ COMMAND ${LEX_EXECUTABLE} $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:--debug> --noline -o${_outc} --header-file=${_outh} ${_in}
|
||||
+ DEPENDS ${_in}
|
||||
+ )
|
||||
+ ELSE ()
|
||||
+ ADD_CUSTOM_COMMAND(
|
||||
+ OUTPUT ${_outc} ${_outh}
|
||||
+ COMMAND ${LEX_EXECUTABLE} $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:--debug> -o${_outc} --header-file=${_outh} ${_in}
|
||||
+ DEPENDS ${_in}
|
||||
+ )
|
||||
+ ENDIF ()
|
||||
LIST(APPEND ${_source} ${_in})
|
||||
LIST(APPEND ${_generated} ${_outc})
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
@@ -0,0 +1,35 @@
|
||||
From 94b951c0cccf67b66749cc87c473e63fa5207e83 Mon Sep 17 00:00:00 2001
|
||||
From: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
Date: Wed, 27 Jan 2021 06:47:13 -0800
|
||||
Subject: [PATCH] lemon: Remove #line directives
|
||||
|
||||
In case of reproducible build remove #line
|
||||
directives with extra option '-l'.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
|
||||
|
||||
---
|
||||
cmake/modules/UseLemon.cmake | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/cmake/modules/UseLemon.cmake b/cmake/modules/UseLemon.cmake
|
||||
index e419de1..fa4034e 100644
|
||||
--- a/cmake/modules/UseLemon.cmake
|
||||
+++ b/cmake/modules/UseLemon.cmake
|
||||
@@ -12,6 +12,7 @@ if(LEMON_EXECUTABLE)
|
||||
${_out}.h
|
||||
${_out}.out
|
||||
COMMAND ${LEMON_EXECUTABLE}
|
||||
+ -l
|
||||
-T/usr/share/lemon/lempar.c
|
||||
-d.
|
||||
${_in}
|
||||
@@ -30,6 +31,7 @@ else()
|
||||
${_out}.h
|
||||
${_out}.out
|
||||
COMMAND $<TARGET_FILE:lemon>
|
||||
+ -l
|
||||
-T${CMAKE_SOURCE_DIR}/tools/lemon/lempar.c
|
||||
-d.
|
||||
${_in}
|
||||
@@ -0,0 +1,99 @@
|
||||
DESCRIPTION = "wireshark - a popular network protocol analyzer"
|
||||
HOMEPAGE = "http://www.wireshark.org"
|
||||
SECTION = "net"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce"
|
||||
|
||||
DEPENDS = "pcre2 expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bison-native c-ares speexdsp"
|
||||
|
||||
DEPENDS:append:class-target = " wireshark-native chrpath-replacement-native "
|
||||
|
||||
SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz \
|
||||
file://0001-wireshark-src-improve-reproducibility.patch \
|
||||
file://0002-flex-Remove-line-directives.patch \
|
||||
file://0004-lemon-Remove-line-directives.patch \
|
||||
file://0001-UseLemon.cmake-do-not-use-lemon-data-from-the-host.patch \
|
||||
"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src/all-versions"
|
||||
|
||||
SRC_URI[sha256sum] = "6ed51da5f6638aba609be8d1d64a7a85312749a49261146c391fea391a3e5f06"
|
||||
|
||||
PE = "1"
|
||||
|
||||
inherit cmake pkgconfig python3native python3targetconfig perlnative upstream-version-is-even mime mime-xdg
|
||||
|
||||
PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
|
||||
|
||||
PACKAGECONFIG:class-native = "libpcap gnutls ssl libssh"
|
||||
|
||||
PACKAGECONFIG[libcap] = "-DENABLE_CAP=ON,-DENABLE_CAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON, libcap"
|
||||
PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON , libpcap"
|
||||
PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi"
|
||||
PACKAGECONFIG[libnl] = ",,libnl"
|
||||
PACKAGECONFIG[portaudio] = "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19"
|
||||
PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls"
|
||||
PACKAGECONFIG[ssl] = ",,openssl"
|
||||
PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5"
|
||||
PACKAGECONFIG[lua] = "-DENABLE_LUA=ON,-DENABLE_LUA=OFF, lua"
|
||||
PACKAGECONFIG[zlib] = "-DENABLE_ZLIB=ON,-DENABLE_ZLIB=OFF, zlib"
|
||||
PACKAGECONFIG[geoip] = ",, geoip"
|
||||
PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
|
||||
PACKAGECONFIG[sbc] = "-DENABLE_SBC=ON,-DENABLE_SBC=OFF, sbc"
|
||||
PACKAGECONFIG[libssh] = "-DENABLE_LIBSSH=ON,-DENABLE_LIBSSH=OFF, libssh2"
|
||||
PACKAGECONFIG[lz4] = "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF, lz4"
|
||||
PACKAGECONFIG[zstd] = "-DENABLE_STTD=ON,-DENABLE_ZSTD=OFF, zstd"
|
||||
PACKAGECONFIG[nghttp2] = "-DENABLE_NGHTTP2=ON,-DENABLE_NGHTTP2=OFF, nghttp2"
|
||||
|
||||
# these next two options require addional layers
|
||||
PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON -DBUILD_wireshark=ON, -DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qttools-native qtmultimedia qtsvg"
|
||||
|
||||
inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)}
|
||||
|
||||
EXTRA_OECMAKE += "-DENABLE_NETLINK=ON \
|
||||
-DBUILD_mmdbresolve=OFF \
|
||||
-DBUILD_randpktdump=OFF \
|
||||
-DBUILD_androiddump=OFF \
|
||||
-DBUILD_dcerpcidl2wrs=OFF \
|
||||
-DM_INCLUDE_DIR=${includedir} \
|
||||
-DM_LIBRARY=${libdir} \
|
||||
"
|
||||
CFLAGS:append = " -lm"
|
||||
|
||||
do_compile:append:class-target() {
|
||||
# Fix TMPDIR, these are in the comments section
|
||||
sed -i -e "s:** source file.*::g" ${B}/wiretap/ascend_parser.c
|
||||
sed -i -e "s:** source file.*::g" ${B}/wiretap/candump_parser.c
|
||||
sed -i -e "s:** source file.*::g" ${B}/wiretap/busmaster_parser.c
|
||||
sed -i -e "s:** source file.*::g" ${B}/epan/protobuf_lang_parser.c
|
||||
sed -i -e "s:** source file.*::g" ${B}/epan/dtd_grammar.c
|
||||
sed -i -e "s:** source file.*::g" ${B}/epan/dfilter/grammar.c
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
install -d ${D}${bindir}
|
||||
for f in lemon
|
||||
do
|
||||
install -m 0755 ${B}/run/$f ${D}${bindir}
|
||||
done
|
||||
}
|
||||
|
||||
do_install:append:class-target() {
|
||||
for f in `find ${D}${libdir} ${D}${bindir} -type f -executable`
|
||||
do
|
||||
chrpath --delete $f
|
||||
done
|
||||
|
||||
# We don't need the cmake files installed
|
||||
rm -fr ${D}${usrlib}/${BPN}/cmake
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN += "tshark"
|
||||
|
||||
FILES:tshark = "${bindir}/tshark ${mandir}/man1/tshark.*"
|
||||
|
||||
FILES:${PN} += "${datadir}*"
|
||||
|
||||
RDEPENDS:tshark = "wireshark"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user