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