mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: a2ps: Build reproducibly.
* gnu/packages/pretty-print.scm (a2ps)[source](modules, snippet): New fields.
This commit is contained in:
parent
44fa0dbec7
commit
cba988ed85
1 changed files with 17 additions and 11 deletions
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||||
|
;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -43,14 +44,19 @@ (define-public a2ps
|
||||||
(package
|
(package
|
||||||
(name "a2ps")
|
(name "a2ps")
|
||||||
(version "4.14")
|
(version "4.14")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/a2ps/a2ps-"
|
(uri (string-append "mirror://gnu/a2ps/a2ps-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk"))
|
"195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Remove timestamp from the installed 'README' file.
|
||||||
|
'(substitute* "etc/README.in"
|
||||||
|
(("@date@")
|
||||||
|
"1st of some month, sometime after 1970")))
|
||||||
(patches (search-patches
|
(patches (search-patches
|
||||||
"a2ps-CVE-2001-1593.patch"
|
"a2ps-CVE-2001-1593.patch"
|
||||||
"a2ps-CVE-2014-0466.patch"))))
|
"a2ps-CVE-2014-0466.patch"))))
|
||||||
|
|
Loading…
Reference in a new issue