unrtf: 0.21.9 -> 0.21.10

This commit is contained in:
Thomas Gerbet 2021-01-26 20:32:48 +01:00 committed by tomberek
parent 8efa14a5cb
commit 7393cb9fe4

View file

@ -1,22 +1,14 @@
{ lib, stdenv, fetchurl, fetchpatch, autoconf, automake, libiconv }:
{ lib, stdenv, fetchurl, autoconf, automake, libiconv }:
stdenv.mkDerivation rec {
pname = "unrtf";
version = "0.21.9";
version = "0.21.10";
src = fetchurl {
url = "https://www.gnu.org/software/unrtf/${pname}-${version}.tar.gz";
sha256 = "1pcdzf2h1prn393dkvg93v80vh38q0v817xnbwrlwxbdz4k7i8r2";
url = "https://ftp.gnu.org/gnu/${pname}/${pname}-${version}.tar.gz";
sha256 = "1bil6z4niydz9gqm2j861dkxmqnpc8m7hvidsjbzz7x63whj17xl";
};
patches = [
(fetchpatch {
name = "CVE-2016-10091-0001-convert.c-Use-safe-buffer-size-and-snprintf.patch";
url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=849705;filename=0001-convert.c-Use-safe-buffer-size-and-snprintf.patch;msg=20";
sha256 = "0s0fjvm3zdm9967sijlipfrwjs0h23n2n8fa6f40xxp8y5qq5a0b";
})
];
nativeBuildInputs = [ autoconf automake ];
buildInputs = [ libiconv ];