mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
40 lines
1.3 KiB
BlitzBasic
40 lines
1.3 KiB
BlitzBasic
SUMMARY = "snort3"
|
|
DESCRIPTION = "snort3 - a free lightweight network intrusion detection system for UNIX and Windows."
|
|
HOMEPAGE = "http://www.snort.org/"
|
|
SECTION = "net"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
|
|
|
|
DEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind luajit zlib"
|
|
|
|
SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master;tag=${PV} \
|
|
file://0001-cmake-Check-for-HP-libunwind.patch \
|
|
file://0001-cmake-Pass-noline-flag-to-flex.patch \
|
|
file://0001-Fix-build-on-c23.patch \
|
|
"
|
|
|
|
SRCREV = "892f9f3b04d604797851d60e89d6cfe640a047cd"
|
|
|
|
PACKAGES =+ "${PN}-scripts"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
do_install:append() {
|
|
sed -i "s#${RECIPE_SYSROOT_NATIVE}##g; s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc
|
|
}
|
|
|
|
FILES:${PN} += "${libdir}/snort/daq/*.so"
|
|
|
|
FILES:${PN}-scripts = "${bindir}/appid_detector_builder.sh"
|
|
|
|
RDEPENDS:${PN}-scripts += "bash"
|
|
|
|
# mips64/ppc/ppc64/riscv64/riscv32 is not supported in this release
|
|
COMPATIBLE_HOST:mipsarchn32 = "null"
|
|
COMPATIBLE_HOST:mipsarchn64 = "null"
|
|
COMPATIBLE_HOST:powerpc = "null"
|
|
COMPATIBLE_HOST:powerpc64 = "null"
|
|
COMPATIBLE_HOST:powerpc64le = "null"
|
|
COMPATIBLE_HOST:riscv64 = "null"
|
|
COMPATIBLE_HOST:riscv32 = "null"
|