Skip to contentSkip to conversation

connectivity: add pcapplusplus recipe

PATCH Superseded Clément Péron 1 participant 2 messages Oct 27, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connectivity: add pcapplusplus recipe

Add PcapPlusPlus 23.09 recipe.

---
 .../pcapplusplus/pcapplusplus_23.09.bb        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb
meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb new file +19 -0
new file mode 100644
index 000000000..90f18b7aa
@@ -0,0 +1,19 @@
+SUMMARY = "A multiplatform C++ library for capturing, parsing and crafting of network packets"
+HOMEPAGE = "https://pcapplusplus.github.io/"
+BUGTRACKER = "https://github.com/seladb/PcapPlusPlus/issues"
+SECTION = "libs/network"
+LICENSE = "Unlicense"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
+
+DEPENDS = "libpcap"
+
+SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master"
+SRCREV = "4cf8ed44f9dd145f874dc1dd747dfefcfcab75be"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "shared"
+PACKAGECONFIG[zstd] = "-DLIGHT_PCAPNG_ZSTD=ON,-DLIGHT_PCAPNG_ZSTD=OFF,zstd"
+PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF"
Signature · 1 line
2.42.0
#1 lore raw

Hi,

Quoted 37 lines · Clément Péron

Add PcapPlusPlus 23.09 recipe.

---
 .../pcapplusplus/pcapplusplus_23.09.bb        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/pcapplusplus/

pcapplusplus_23.09.bb

(quoted diff) +0 -0

pcapplusplus_23.09.bb b/meta-oe/recipes-connectivity/pcapplusplus/ pcapplusplus_23.09.bb
new file mode 100644
index 000000000..90f18b7aa

meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb new file +1 -0
@@ -0,0 +1,19 @@
+SUMMARY = "A multiplatform C++ library for capturing, parsing and

crafting of network packets"

meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb new file +9 -0
+HOMEPAGE = "https://pcapplusplus.github.io/"
+BUGTRACKER = "https://github.com/seladb/PcapPlusPlus/issues"
+SECTION = "libs/network"
+LICENSE = "Unlicense"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
+
+DEPENDS = "libpcap"
+
+SRC_URI = "git://

github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master"

meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb new file +8 -0
+SRCREV = "4cf8ed44f9dd145f874dc1dd747dfefcfcab75be"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "shared"
+PACKAGECONFIG[zstd] =
Quoted 2 lines

"-DLIGHT_PCAPNG_ZSTD=ON,-DLIGHT_PCAPNG_ZSTD=OFF,zstd" +PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF

I will send a v2 to also disable Tests and Examples binaries in the package

Regards

Quoted 3 lines

2.42.0