diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb')
-rw-r--r-- | meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb b/meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb new file mode 100644 index 0000000000..e9169a050f --- /dev/null +++ b/meta-networking/recipes-connectivity/snort/snort3_3.7.1.0.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "snort3" | ||
2 | DESCRIPTION = "snort3 - a free lightweight network intrusion detection system for UNIX and Windows." | ||
3 | HOMEPAGE = "http://www.snort.org/" | ||
4 | SECTION = "net" | ||
5 | LICENSE = "GPL-2.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5" | ||
7 | |||
8 | DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind luajit zlib" | ||
9 | |||
10 | SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \ | ||
11 | file://0001-cmake-Check-for-HP-libunwind.patch \ | ||
12 | file://0001-cmake-Pass-noline-flag-to-flex.patch \ | ||
13 | file://0001-Fix-build-with-gcc-15.patch" | ||
14 | |||
15 | SRCREV = "6a11279883a8584e06ad9ab2df162c639961cd61" | ||
16 | |||
17 | |||
18 | PACKAGES =+ "${PN}-scripts" | ||
19 | |||
20 | inherit cmake pkgconfig | ||
21 | |||
22 | do_install:append() { | ||
23 | sed -i "s#${RECIPE_SYSROOT_NATIVE}##g; s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc | ||
24 | } | ||
25 | |||
26 | FILES:${PN} += "${libdir}/snort/daq/*.so" | ||
27 | |||
28 | FILES:${PN}-scripts = "${bindir}/appid_detector_builder.sh" | ||
29 | |||
30 | RDEPENDS:${PN}-scripts += "bash" | ||
31 | |||
32 | # mips64/ppc/ppc64/riscv64/riscv32 is not supported in this release | ||
33 | COMPATIBLE_HOST:mipsarchn32 = "null" | ||
34 | COMPATIBLE_HOST:mipsarchn64 = "null" | ||
35 | COMPATIBLE_HOST:powerpc = "null" | ||
36 | COMPATIBLE_HOST:powerpc64 = "null" | ||
37 | COMPATIBLE_HOST:powerpc64le = "null" | ||
38 | COMPATIBLE_HOST:riscv64 = "null" | ||
39 | COMPATIBLE_HOST:riscv32 = "null" | ||