From ed75b8866f205b8b432b743254908a88a589339a Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Wed, 18 May 2022 12:31:00 -0700 Subject: aide: Update 01.17.4 Precalculate buffer size in base64 functions (CVE-2021-45417) Signed-off-by: Armin Kuster (cherry picked from commit 5a5edebbb8b4b4f2e9725ee141cf09d18f75d81b) Signed-off-by: Armin Kuster --- recipes-ids/aide/aide_0.17.3.bb | 41 ----------------------------------------- recipes-ids/aide/aide_0.17.4.bb | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 recipes-ids/aide/aide_0.17.3.bb create mode 100644 recipes-ids/aide/aide_0.17.4.bb diff --git a/recipes-ids/aide/aide_0.17.3.bb b/recipes-ids/aide/aide_0.17.3.bb deleted file mode 100644 index fcab504..0000000 --- a/recipes-ids/aide/aide_0.17.3.bb +++ /dev/null @@ -1,41 +0,0 @@ -SUMMARY = "Advanced Intrusion Detection Environment" -HOMEPAGE = "https://aide.github.io" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -LICENSE = "GPL-2.0-only" - -DEPENDS = "bison-native libpcre" - -SRC_URI = "https://github.com/aide/aide/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ - file://aide.conf" - -SRC_URI[sha256sum] = "a2eb1883cafaad056fbe43ee1e8ae09fd36caa30a0bc8edfea5d47bd67c464f8" - -inherit autotools pkgconfig - -PACKAGECONFIG ??=" mhash zlib e2fsattrs \ - ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ - " -PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, libselinux" -PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib " -PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr" -PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl" -PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit" -PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt" -PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash" -PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs" - -do_install:append () { - install -d ${D}${libdir}/${PN}/logs - install -d ${D}${sysconfdir} - install ${WORKDIR}/aide.conf ${D}${sysconfdir}/ -} - -CONF_FILE = "${sysconfdir}/aide.conf" - -FILES:${PN} += "${libdir}/${PN} ${sysconfdir}/aide.conf" - -pkg_postinst_ontarget:${PN} () { - /usr/bin/aide -i -} -RDPENDS_${PN} = "bison, libpcre" diff --git a/recipes-ids/aide/aide_0.17.4.bb b/recipes-ids/aide/aide_0.17.4.bb new file mode 100644 index 0000000..6bc2bfe --- /dev/null +++ b/recipes-ids/aide/aide_0.17.4.bb @@ -0,0 +1,41 @@ +SUMMARY = "Advanced Intrusion Detection Environment" +HOMEPAGE = "https://aide.github.io" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +LICENSE = "GPL-2.0-only" + +DEPENDS = "bison-native libpcre" + +SRC_URI = "https://github.com/aide/aide/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://aide.conf" + +SRC_URI[sha256sum] = "c81505246f3ffc2e76036d43a77212ae82895b5881d9b9e25c1361b1a9b7a846" + +inherit autotools pkgconfig + +PACKAGECONFIG ??=" mhash zlib e2fsattrs \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ + " +PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, libselinux" +PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib " +PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr" +PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl" +PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit" +PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt" +PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash" +PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs" + +do_install:append () { + install -d ${D}${libdir}/${PN}/logs + install -d ${D}${sysconfdir} + install ${WORKDIR}/aide.conf ${D}${sysconfdir}/ +} + +CONF_FILE = "${sysconfdir}/aide.conf" + +FILES:${PN} += "${libdir}/${PN} ${sysconfdir}/aide.conf" + +pkg_postinst_ontarget:${PN} () { + /usr/bin/aide -i +} +RDPENDS_${PN} = "bison, libpcre" -- cgit v1.2.3-54-g00ecf