Commit adb5e40d authored by Casey Strouse's avatar Casey Strouse

Update libgd from 2.2.4 to 2.2.5

This is a security release addressing CVE-2017-6362 and CVE-2017-7890. This is a
recommended update.

Tested on XE500C13-K01US.
parent 2ce9d8f2
...@@ -3,21 +3,13 @@ require 'package' ...@@ -3,21 +3,13 @@ require 'package'
class Libgd < Package class Libgd < Package
description 'GD is an open source code library for the dynamic creation of images by programmers.' description 'GD is an open source code library for the dynamic creation of images by programmers.'
homepage 'https://libgd.github.io/' homepage 'https://libgd.github.io/'
version '2.2.4' version '2.2.5'
source_url 'https://github.com/libgd/libgd/archive/gd-2.2.4.tar.gz' source_url 'https://github.com/libgd/libgd/archive/gd-2.2.5.tar.gz'
source_sha256 'afdd50db677648cb9335b2dda10dd3a6700d97feb21fe802e6ee0f7065acd8c4' source_sha256 '199874fdb006de0911819234104ffa84338e98e82fefbac042a58a3f8272a7df'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.2.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.2.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.2.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgd-2.2.4-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd28375946c7a8a12d8f2d9b95b654336436b0a462e1e5527beb123f559ce1fd0',
armv7l: 'd28375946c7a8a12d8f2d9b95b654336436b0a462e1e5527beb123f559ce1fd0',
i686: 'c72309f2dba9663e7d43966d0cf2ac1bcc11202f9bcd5d3a316951dd9273e3e1',
x86_64: '3615bfbd264818ab623a1ade0fd28339e7ba31ca08c803bcd85040945e219256',
}) })
depends_on 'cmake' depends_on 'cmake'
...@@ -26,7 +18,7 @@ class Libgd < Package ...@@ -26,7 +18,7 @@ class Libgd < Package
def self.build def self.build
FileUtils.mkdir('build') FileUtils.mkdir('build')
FileUtils.cd('build') do FileUtils.cd('build') do
system "cmake -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_INSTALL_PREFIX=/usr/local .." system "cmake -DCMAKE_INCLUDE_PATH=#{CREW_PREFIX}/include -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} .."
system "make" system "make"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment