2010-10-23 15:55:14 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "unarj";
|
2016-05-03 03:00:25 +01:00
|
|
|
version = "2.65";
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2010-10-23 15:55:14 +01:00
|
|
|
src = fetchurl {
|
2016-05-03 03:00:25 +01:00
|
|
|
sha256 = "0r027z7a0azrd5k885xvwhrxicpd0ah57jzmaqlypxha2qjw7p6p";
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://src.fedoraproject.org/repo/pkgs/unarj/${pname}-${version}.tar.gz/c6fe45db1741f97155c7def322aa74aa/${pname}-${version}.tar.gz";
|
2010-10-23 15:55:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2010-10-23 15:55:14 +01:00
|
|
|
sed -i -e s,/usr/local/bin,$out/bin, Makefile
|
|
|
|
'';
|
|
|
|
|
2016-05-08 02:29:25 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-10-23 15:55:14 +01:00
|
|
|
description = "Unarchiver of ARJ files";
|
2016-05-08 02:29:25 +01:00
|
|
|
license = licenses.free;
|
|
|
|
# Vulnerable to CVE-2015-0557 & possibly CVE-2015-0556, CVE-2015-2782:
|
|
|
|
broken = true;
|
2010-10-23 15:55:14 +01:00
|
|
|
};
|
|
|
|
}
|