From 12351cdd2159c927eae909a35563300486d4c63e Mon Sep 17 00:00:00 2001 From: Randy MacLeod Date: Mon, 28 Jan 2019 13:24:00 -0500 Subject: [PATCH] libvncserver: Update to latest commit post 0.9.12 Update to latest git HEAD rather than just 0.9.12 since that includes a fix for CVE-2018-15127. Support for lzo in addition to a bundled minilzo was added upstream so add a PACKAGECONFIG[lzo] and add it to the default config. Signed-off-by: Randy MacLeod Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb index b493f7f01e..627b031098 100644 --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb @@ -9,6 +9,7 @@ PACKAGECONFIG ??= " \ gcrypt \ gnutls \ jpeg \ + lzo \ png \ ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \ sdl \ @@ -17,6 +18,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" +PACKAGECONFIG[lzo] = ",-DWITH_LZO=OFF,lzo" PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" @@ -26,6 +28,7 @@ PACKAGECONFIG[zlib] = ",,zlib" inherit cmake SRC_URI = "git://github.com/LibVNC/libvncserver" -SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" +SRCREV = "c0a23857a5c42b45b6d22ccf7218becd1fa69402" + S = "${WORKDIR}/git"