jhead: apply CVE-2016-3822 fix

Closes #12475.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
master
Dominyk Tiller 2017-04-15 18:55:31 +01:00 committed by ilovezfs
parent 9c855a2bf5
commit 7f7da4ed63
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@ class Jhead < Formula
homepage "http://www.sentex.net/~mwandel/jhead/"
url "http://www.sentex.net/~mwandel/jhead/jhead-3.00.tar.gz"
sha256 "88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e"
revision 1
bottle do
cellar :any_skip_relocation
@ -20,6 +21,13 @@ class Jhead < Formula
# upstream decides to incorporate it.
patch :DATA
patch do
url "https://mirrors.ocf.berkeley.edu/debian/pool/main/j/jhead/jhead_3.00-4.debian.tar.xz"
mirror "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/j/jhead/jhead_3.00-4.debian.tar.xz"
sha256 "d2553bb7e7e47c33fa1136841e4b5bfbad6b92edce1dcad639ab5d74ace606aa"
apply "patches/31_CVE-2016-3822"
end
def install
system "make", "install", "PREFIX=#{prefix}"
end