1*edff4923SAndrew GeisslerSUMMARY = "snort3"
2*edff4923SAndrew GeisslerDESCRIPTION = "snort3 - a free lightweight network intrusion detection system for UNIX and Windows."
3*edff4923SAndrew GeisslerHOMEPAGE = "http://www.snort.org/"
4*edff4923SAndrew GeisslerSECTION = "net"
5*edff4923SAndrew GeisslerLICENSE = "GPL-2.0-only"
6*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=78fa8ef966b48fbf9095e13cc92377c5"
7*edff4923SAndrew Geissler
8*edff4923SAndrew GeisslerDEPENDS = "flex-native hwloc libdaq libdnet libpcap libpcre libtirpc libunwind luajit zlib"
9*edff4923SAndrew Geissler
10*edff4923SAndrew GeisslerSRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \
11*edff4923SAndrew Geissler           file://0001-cmake-Check-for-HP-libunwind.patch \
12*edff4923SAndrew Geissler           file://0001-cmake-Pass-noline-flag-to-flex.patch"
13*edff4923SAndrew GeisslerSRCREV = "e7312efd840d66a52a2019abe1db7cc89ca0f39a"
14*edff4923SAndrew Geissler
15*edff4923SAndrew GeisslerS = "${WORKDIR}/git"
16*edff4923SAndrew Geissler
17*edff4923SAndrew GeisslerPACKAGES =+ "${PN}-scripts"
18*edff4923SAndrew Geissler
19*edff4923SAndrew Geisslerinherit cmake pkgconfig
20*edff4923SAndrew Geissler
21*edff4923SAndrew Geisslerdo_install:append() {
22*edff4923SAndrew Geissler    sed -i "s#${RECIPE_SYSROOT_NATIVE}##g; s#${RECIPE_SYSROOT}##g" ${D}${libdir}/pkgconfig/snort.pc
23*edff4923SAndrew Geissler}
24*edff4923SAndrew Geissler
25*edff4923SAndrew GeisslerFILES:${PN} += "${libdir}/snort/daq/*.so"
26*edff4923SAndrew Geissler
27*edff4923SAndrew GeisslerFILES:${PN}-scripts = "${bindir}/appid_detector_builder.sh"
28*edff4923SAndrew Geissler
29*edff4923SAndrew GeisslerRDEPENDS:${PN}-scripts += "bash"
30*edff4923SAndrew Geissler
31*edff4923SAndrew Geissler# mips64/ppc/ppc64/riscv64/riscv32 is not supported in this release
32*edff4923SAndrew GeisslerCOMPATIBLE_HOST:mipsarchn32 = "null"
33*edff4923SAndrew GeisslerCOMPATIBLE_HOST:mipsarchn64 = "null"
34*edff4923SAndrew GeisslerCOMPATIBLE_HOST:powerpc = "null"
35*edff4923SAndrew GeisslerCOMPATIBLE_HOST:powerpc64 = "null"
36*edff4923SAndrew GeisslerCOMPATIBLE_HOST:powerpc64le = "null"
37*edff4923SAndrew GeisslerCOMPATIBLE_HOST:riscv64 = "null"
38*edff4923SAndrew GeisslerCOMPATIBLE_HOST:riscv32 = "null"
39