diff mbox series

[bug#62624] gnu: libexif: Update to 0.6.24. [fixes CVE-2020-0198, CVE-2020-0452]

Message ID 4cb6ec46f0f4d337c66a5f96d86487c39d2cb1b7.1680458090.git.mirai@makinata.eu
State New
Headers show
Series [bug#62624] gnu: libexif: Update to 0.6.24. [fixes CVE-2020-0198, CVE-2020-0452] | expand

Commit Message

Bruno Victal April 2, 2023, 5:55 p.m. UTC
* gnu/packages/photo.scm (libexif): Update to 0.6.24.
[source]: Switch to git checkout.
[native-inputs]: Add autoconf, automake, gettext-minimal and libtool.
---
 gnu/packages/photo.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Comments

Ludovic Courtès April 6, 2023, 3:42 p.m. UTC | #1
Hi,

Bruno Victal <mirai@makinata.eu> skribis:

> * gnu/packages/photo.scm (libexif): Update to 0.6.24.
> [source]: Switch to git checkout.
> [native-inputs]: Add autoconf, automake, gettext-minimal and libtool.

Applied, thanks!
diff mbox series

Patch

diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 80fc963363..8df1034487 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -211,18 +211,19 @@  (define-public libraw
 (define-public libexif
   (package
     (name "libexif")
-    (version "0.6.22")
+    (version "0.6.24")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/libexif/libexif/releases"
-                    "/download/libexif-"
-                    (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
-                    "-release/libexif-" version ".tar.xz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libexif/libexif.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0mhcad5zab7fsn120rd585h8ncwkq904nzzrq8vcd72hzk4g2j2h"))))
+                "0zi5vvb0khlzc6xyfayk6mjx5lgkrj8r7s8lfv4j7wkcgndjga0j"))))
     (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf automake gettext-minimal libtool))
     (home-page "https://libexif.github.io/")
     (synopsis "Read and manipulate EXIF data in digital photographs")
     (description