2011-11-10 19:06:02 +00:00
|
|
|
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg, coreutils }:
|
2008-02-22 03:06:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-09 16:44:49 +00:00
|
|
|
name = "x11vnc-0.9.13";
|
2010-07-29 19:55:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libvncserver/${name}.tar.gz";
|
2011-11-09 16:44:49 +00:00
|
|
|
sha256 = "0fzib5xb1vbs8kdprr4z94v0fshj2c5hhaz69llaarwnc8p9z0pn";
|
2010-07-29 19:55:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ xorg.libXfixes xorg.fixesproto openssl xorg.libXdamage
|
|
|
|
xorg.damageproto zlib xorg.libX11 xorg.xproto libjpeg
|
|
|
|
xorg.libXtst xorg.libXinerama xorg.xineramaproto xorg.libXrandr
|
|
|
|
xorg.randrproto xorg.libXext xorg.xextproto xorg.inputproto
|
|
|
|
xorg.recordproto xorg.libXi xorg.libXrender xorg.renderproto
|
|
|
|
];
|
|
|
|
|
2010-12-06 18:01:46 +00:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--mandir=$out/share/man"
|
2011-11-10 19:06:02 +00:00
|
|
|
|
|
|
|
substituteInPlace x11vnc/unixpw.c \
|
|
|
|
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
|
|
|
|
--replace '"/bin/true"' '"${coreutils}/bin/true"'
|
2010-12-06 18:01:46 +00:00
|
|
|
'';
|
|
|
|
|
2008-02-22 03:06:12 +00:00
|
|
|
meta = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "A VNC server connected to a real X11 screen";
|
2010-07-29 19:55:16 +01:00
|
|
|
homepage = http://www.karlrunge.com/x11vnc/;
|
2008-02-22 03:06:12 +00:00
|
|
|
};
|
|
|
|
}
|