1SUMMARY = "snort3" 2DESCRIPTION = "snort3 - a free lightweight network intrusion detection system for UNIX and Windows." 3HOMEPAGE = "http://www.snort.org/" 4SECTION = "net" 5LICENSE = "GPL-2.0-only" 6LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5" 7 8DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind luajit zlib" 9 10SRC_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" 13SRCREV = "e7312efd840d66a52a2019abe1db7cc89ca0f39a" 14 15S = "${WORKDIR}/git" 16 17PACKAGES =+ "${PN}-scripts" 18 19inherit cmake pkgconfig 20 21do_install:append() { 22 sed -i "s#${RECIPE_SYSROOT_NATIVE}##g; s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc 23} 24 25FILES:${PN} += "${libdir}/snort/daq/*.so" 26 27FILES:${PN}-scripts = "${bindir}/appid_detector_builder.sh" 28 29RDEPENDS:${PN}-scripts += "bash" 30 31# mips64/ppc/ppc64/riscv64/riscv32 is not supported in this release 32COMPATIBLE_HOST:mipsarchn32 = "null" 33COMPATIBLE_HOST:mipsarchn64 = "null" 34COMPATIBLE_HOST:powerpc = "null" 35COMPATIBLE_HOST:powerpc64 = "null" 36COMPATIBLE_HOST:powerpc64le = "null" 37COMPATIBLE_HOST:riscv64 = "null" 38COMPATIBLE_HOST:riscv32 = "null" 39