2014-03-29 18:36:38 +01:00
|
|
|
{ stdenv, fetchurl, perl, texinfo }:
|
2010-01-20 12:09:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-01 09:18:07 +02:00
|
|
|
name = "libtasn1-4.12";
|
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-08-01 09:18:07 +02:00
|
|
|
sha256 = "0ls7jdq3y5fnrwg0pzhq11m21r8pshac2705bczz6mqjc8pdllv7";
|
2008-05-20 16:25:09 +02:00
|
|
|
};
|
|
|
|
|
2017-05-25 00:43:21 +02:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
2017-11-01 12:17:44 +01:00
|
|
|
name = "CVE-2017-10790.patch";
|
2017-08-01 09:18:07 +02:00
|
|
|
url = "https://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=patch;h=d8d805e1f2e6799bb2dff4871a8598dc83088a39";
|
|
|
|
sha256 = "1v5w0dazp9qc2v7pc8b6g7s4dz5ak10hzrn35hx66q76yzrrzp7i";
|
2017-05-25 00:43:21 +02:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-09-01 11:07:23 +02:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-07 22:24:10 +02:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2017-10-18 05:35:31 +02:00
|
|
|
nativeBuildInputs = [ texinfo ];
|
|
|
|
buildInputs = [ perl ];
|
2014-03-29 18:36:38 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|