2021-07-24 21:07:43 +02:00
|
|
|
{ lib, stdenv, gettext, fetchurl, fetchpatch }:
|
2014-07-22 23:46:58 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lrzsz-0.12.20";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://ohse.de/uwe/releases/${name}.tar.gz";
|
|
|
|
sha256 = "1wcgfa9fsigf1gri74gq0pa7pyajk12m4z69x7ci9c6x9fqkd2y2";
|
|
|
|
};
|
|
|
|
|
2021-07-24 21:07:43 +02:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "CVE-2018-10195.patch";
|
|
|
|
url = "https://bugzilla.redhat.com/attachment.cgi?id=79507";
|
|
|
|
sha256 = "0jlh8w0cjaz6k56f0h3a0h4wgc51axmrdn3mdspk7apjfzqcvx3c";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
|
2016-04-06 10:54:48 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2014-07-22 23:46:58 +02:00
|
|
|
configureFlags = [ "--program-transform-name=s/^l//" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://ohse.de/uwe/software/lrzsz.html";
|
2014-07-22 23:46:58 +02:00
|
|
|
description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|