aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mit-krb5.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-11-08 23:05:11 -0500
committerMark H Weaver <mhw@netris.org>2015-11-13 12:42:47 -0500
commitff45a00e798350676ca7a4cf1cac349cc0b4c1f6 (patch)
tree516c980bab196807f9e1dc97a88db273796a62d4 /gnu/packages/mit-krb5.scm
parent4d53c29e6ca0fb432e92c298f9537c688fbbc10e (diff)
downloadguix-ff45a00e798350676ca7a4cf1cac349cc0b4c1f6.tar
guix-ff45a00e798350676ca7a4cf1cac349cc0b4c1f6.tar.gz
gnu: mit-krb5: Add fixes for CVE-2015-{2695,2696,2697,2698}.
* gnu/packages/patches/mit-krb5-CVE-2015-2695-pt1.patch, gnu/packages/patches/mit-krb5-CVE-2015-2695-pt2.patch, gnu/packages/patches/mit-krb5-CVE-2015-2696.patch, gnu/packages/patches/mit-krb5-CVE-2015-2697.patch, gnu/packages/patches/mit-krb5-CVE-2015-2698-pt1.patch, gnu/packages/patches/mit-krb5-CVE-2015-2698-pt2.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/mit-krb5.scm (mit-krb5)[native-inputs]: Add patches.
Diffstat (limited to 'gnu/packages/mit-krb5.scm')
-rw-r--r--gnu/packages/mit-krb5.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/mit-krb5.scm b/gnu/packages/mit-krb5.scm
index 76d8b2473e..16bef8d97d 100644
--- a/gnu/packages/mit-krb5.scm
+++ b/gnu/packages/mit-krb5.scm
@@ -42,7 +42,19 @@
(build-system gnu-build-system)
(native-inputs
`(("bison" ,bison)
- ("perl" ,perl)))
+ ("perl" ,perl)
+
+ ;; Include the patches as native-inputs.
+ ,@(map (lambda (label)
+ (let ((input-name (string-append "patch/" label))
+ (file-name (string-append name "-" label ".patch")))
+ `(,input-name ,(search-patch file-name))))
+ '("CVE-2015-2695-pt1"
+ "CVE-2015-2695-pt2"
+ "CVE-2015-2696"
+ "CVE-2015-2697"
+ "CVE-2015-2698-pt1"
+ "CVE-2015-2698-pt2"))))
(arguments
`(#:modules ((ice-9 ftw)
(ice-9 match)