Xorg Security Updates: CVE-2023-43785 (#8732)

This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2023-10-04 00:58:24 -04:00
committed by GitHub
parent f0ca0da156
commit 72fe3f94d8
5 changed files with 34 additions and 90 deletions

View File

@@ -1,25 +1,25 @@
require 'package'
require 'buildsystems/autotools'
class Libx11 < Package
class Libx11 < Autotools
description 'C interface to the X window system'
homepage 'https://x.org'
version '1.8.4'
version '1.8.7'
license 'X11'
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/xorg/lib/libx11.git'
git_hashtag "libX11-#{version}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.4_armv7l/libx11-1.8.4-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.4_armv7l/libx11-1.8.4-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.4_i686/libx11-1.8.4-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.4_x86_64/libx11-1.8.4-chromeos-x86_64.tar.zst'
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.7_armv7l/libx11-1.8.7-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.7_armv7l/libx11-1.8.7-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.7_i686/libx11-1.8.7-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libx11/1.8.7_x86_64/libx11-1.8.7-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '68489f184757df334f516f130f0bc304e1652577ea645d17ee545e98627ba3ce',
armv7l: '68489f184757df334f516f130f0bc304e1652577ea645d17ee545e98627ba3ce',
i686: '8c5de7d7bc568a66ae1f52f9c0beda5f53ddd8b31b5ae9ec80574ce6b189e808',
x86_64: '70456b24c640dea2012d0ca1b278a18f4fd8dfa6d664b54562552ce1b52c7ef4'
aarch64: 'a5e7b10f0a4931a057e6583e254a58abf3230bab91f39d5b64fd027d1d102639',
armv7l: 'a5e7b10f0a4931a057e6583e254a58abf3230bab91f39d5b64fd027d1d102639',
i686: '1df504e7da745c5165cc4db258fff8c5719a98aeef403d950f84febb48cd462f',
x86_64: 'c089d6bf6eb3715240f02aacb87064f85aa2c03448dc9e34c18495f62ccd5e9a'
})
depends_on 'glibc' # R
@@ -29,17 +29,6 @@ class Libx11 < Package
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
depends_on 'libxtrans' => :build
depends_on 'llvm16_lib' => :build
depends_on 'llvm17_lib' => :build
depends_on 'xorg_proto' => :build
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system 'filefix'
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end