2014-03-29 18:36:38 +01:00
|
|
|
{ stdenv, fetchurl, perl, texinfo }:
|
2010-01-20 12:09:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-18 15:12:19 +01:00
|
|
|
name = "libtasn1-4.10";
|
2008-05-20 16:25:09 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-20 12:09:04 +01:00
|
|
|
url = "mirror://gnu/libtasn1/${name}.tar.gz";
|
2017-01-19 12:43:05 +01:00
|
|
|
sha256 = "00jsix5hny0g768zv4hk78dib7w0qmk5fbizf4jj37r51nd4s6k8";
|
2008-05-20 16:25:09 +02:00
|
|
|
};
|
|
|
|
|
2017-05-25 00:43:21 +02:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
name = "CVE-2017-6891.patch";
|
|
|
|
url = "https://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=patch;h=5520704d075802df25ce4ffccc010ba1641bd484";
|
|
|
|
sha256 = "000r6wb87zkx8yhzkf1c3h7p5akwhjw51cv8f1yjnplrqqrr7h2k";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-09-01 11:07:23 +02:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-07 22:24:10 +02:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2014-03-29 18:36:38 +01:00
|
|
|
buildInputs = [ perl texinfo ];
|
|
|
|
|
2010-04-13 10:56:04 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-01-11 23:47:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-20 12:09:04 +01:00
|
|
|
homepage = http://www.gnu.org/software/libtasn1/;
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "An ASN.1 library";
|
2017-01-11 23:47:54 +01:00
|
|
|
longDescription = ''
|
|
|
|
Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some
|
|
|
|
other packages. The goal of this implementation is to be highly
|
|
|
|
portable, and only require an ANSI C89 platform.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
platforms = platforms.all;
|
2008-05-20 16:25:09 +02:00
|
|
|
};
|
|
|
|
}
|