Files
meta-security/recipes-ids/suricata/libhtp_0.5.45.bb
Hitendra Prajapati e2c44c8b5d libhtp: fix CVE-2024-45797
Upstream-Status: Backport from 0d550de551

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 6b50c7c29e)
2024-12-08 13:18:38 -05:00

30 lines
647 B
BlitzBasic

SUMMARY = "LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces."
require suricata.inc
LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=2;md5=596ab7963a1a0e5198e5a1c4aa621843"
SRC_URI = "git://github.com/OISF/libhtp.git;protocol=https;branch=0.5.x \
file://CVE-2024-45797.patch \
"
SRCREV = "8bdfe7b9d04e5e948c8fbaa7472e14d884cc00af"
DEPENDS = "zlib"
inherit autotools-brokensep pkgconfig
CFLAGS += "-D_DEFAULT_SOURCE"
#S = "${UNPACKDIR}/suricata-${VER}/${BPN}"
S = "${UNPACKDIR}/git"
do_configure () {
cd ${S}
./autogen.sh
oe_runconf
}
RDEPENDS:${PN} += "zlib"