2015-01-01 23:49:20 +00:00
|
|
|
{ stdenv, fetchurl, imake, zlib, jdk, libX11, libXt, libXmu
|
2018-07-21 01:44:44 +01:00
|
|
|
, libXaw, libXext, libXpm, openjpeg, openssl, tk, perl }:
|
2013-09-09 20:13:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ssvnc-${version}";
|
2014-01-21 11:47:58 +00:00
|
|
|
version = "1.0.29";
|
2013-09-09 20:13:10 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ssvnc/${name}.src.tar.gz";
|
|
|
|
sha256 = "74df32eb8eaa68b07c9693a232ebe42154617c7f3cbe1d4e68d3fe7c557d618d";
|
|
|
|
};
|
|
|
|
|
2015-01-01 23:49:20 +00:00
|
|
|
buildInputs = [ imake zlib jdk libX11 libXt libXmu libXaw libXext libXpm openjpeg openssl ];
|
2013-09-09 20:13:10 +01:00
|
|
|
|
2018-11-28 20:22:10 +00:00
|
|
|
dontUseImakeConfigure = true;
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
2013-09-09 20:13:10 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-25 20:06:54 +00:00
|
|
|
|
2014-01-21 11:47:58 +00:00
|
|
|
postInstall = ''
|
|
|
|
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/lib/ssvnc/util/ssvnc.tcl
|
2016-02-10 09:48:51 +00:00
|
|
|
sed -i -e 's|/usr/bin/perl|${perl}/bin/perl|' $out/lib/ssvnc/util/ss_vncviewer
|
2014-01-21 11:47:58 +00:00
|
|
|
'';
|
|
|
|
|
2013-09-09 20:13:10 +01:00
|
|
|
meta = {
|
|
|
|
description = "VNC viewer that adds encryption security to VNC connections";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.karlrunge.com/x11vnc/ssvnc.html;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-09-09 20:13:10 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|