diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-02-14 18:57:15 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-02-14 18:57:15 +0000 |
commit | ffbdd6fe3a3d541524c3642e47b1cde6af168c93 (patch) | |
tree | 3fa43d36e886ef91b89a7d3ded9cad9a32f7d1ec /net/xrdp | |
parent | d0400a0b76de12e66941fac287394edb9a9ae712 (diff) | |
download | ports-ffbdd6fe3a3d541524c3642e47b1cde6af168c93.tar.gz ports-ffbdd6fe3a3d541524c3642e47b1cde6af168c93.zip |
Notes
Diffstat (limited to 'net/xrdp')
-rw-r--r-- | net/xrdp/Makefile | 15 | ||||
-rw-r--r-- | net/xrdp/files/extra-patch-x11rdp_xrdp.ini | 74 | ||||
-rw-r--r-- | net/xrdp/files/patch-xrdp_xrdp.ini | 11 |
3 files changed, 96 insertions, 4 deletions
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile index 277e7c4c8fdd..2f0a15509a6b 100644 --- a/net/xrdp/Makefile +++ b/net/xrdp/Makefile @@ -3,7 +3,7 @@ PORTNAME= xrdp PORTVERSION= 0.6.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= GH @@ -29,18 +29,20 @@ GH_TAGNAME= ${GH_COMMIT} CONFIGURE_ARGS= --localstatedir=/var LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -CONFLICTS= xrdp-devel-[0-9]* +CONFLICTS_INSTALL= xrdp-devel-[0-9]* x11rdp-devel-[0-9]* OPTIONS_DEFINE= DEBUG -OPTIONS_DEFAULT= JP106 TIGERVNC -OPTIONS_GROUP= KEYMAP +OPTIONS_DEFAULT= JP106 X11RDP +OPTIONS_GROUP= KEYMAP XSERVER OPTIONS_GROUP_KEYMAP= JP106 +OPTIONS_GROUP_XSERVER= X11RDP OPTIONS_RADIO= XVNC OPTIONS_RADIO_XVNC= REALVNC TIGERVNC TIGHTVNC TRIDIAVNC REALVNC_DESC= Use RealVNC TIGERVNC_DESC= Use TigerVNC (recommended) TIGHTVNC_DESC= Use TightVNC TRIDIAVNC_DESC= Use TridiaVNC +X11RDP_DESC= Use X11rdp (most recommended) JP106_DESC= Install Japanese JP106 keymap .include <bsd.port.options.mk> @@ -58,6 +60,11 @@ RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tightvnc .if ${PORT_OPTIONS:MTRIDIAVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tridiavnc .endif +# X11rdp +.if ${PORT_OPTIONS:MX11RDP} || exists(${LOCALBASE}/bin/X11rdp) +RUN_DEPENDS+= X11rdp:${PORTSDIR}/x11-servers/x11rdp +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-x11rdp_xrdp.ini +.endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-xrdpdebug diff --git a/net/xrdp/files/extra-patch-x11rdp_xrdp.ini b/net/xrdp/files/extra-patch-x11rdp_xrdp.ini new file mode 100644 index 000000000000..f6a2663976dc --- /dev/null +++ b/net/xrdp/files/extra-patch-x11rdp_xrdp.ini @@ -0,0 +1,74 @@ +--- xrdp/xrdp.ini.orig 2013-02-01 14:36:13.909344583 +0000 ++++ xrdp/xrdp.ini 2013-02-01 14:41:12.679342721 +0000 +@@ -17,6 +17,15 @@ + #background=626c72 + + [xrdp1] ++name=sesman-X11rdp ++lib=libxup.so ++username=ask ++password=ask ++ip=127.0.0.1 ++port=-1 ++xserverbpp=24 ++ ++[xrdp2] + name=sesman-Xvnc + lib=libvnc.so + username=ask +@@ -24,7 +33,7 @@ + ip=127.0.0.1 + port=-1 + +-[xrdp2] ++[xrdp3] + name=console + lib=libvnc.so + ip=127.0.0.1 +@@ -32,7 +41,7 @@ + username=na + password=ask + +-[xrdp3] ++[xrdp4] + name=vnc-any + lib=libvnc.so + ip=ask +@@ -40,7 +49,7 @@ + username=na + password=ask + +-[xrdp4] ++[xrdp5] + name=sesman-any + lib=libvnc.so + ip=ask +@@ -48,13 +57,13 @@ + username=ask + password=ask + +-[xrdp5] ++[xrdp6] + name=rdp-any + lib=librdp.so + ip=ask + port=ask3389 + +-[xrdp6] ++[xrdp7] + name=freerdp-any + lib=libxrdpfreerdp1.so + ip=ask +@@ -62,11 +71,4 @@ + username=ask + password=ask + +-[xrdp7] +-name=sesman-X11rdp +-lib=libxup.so +-username=ask +-password=ask +-ip=127.0.0.1 +-port=-1 +-xserverbpp=24 ++ diff --git a/net/xrdp/files/patch-xrdp_xrdp.ini b/net/xrdp/files/patch-xrdp_xrdp.ini new file mode 100644 index 000000000000..1bd4e8372dc2 --- /dev/null +++ b/net/xrdp/files/patch-xrdp_xrdp.ini @@ -0,0 +1,11 @@ +--- xrdp/xrdp.ini.orig 2013-09-12 21:36:02.000000000 +0000 ++++ xrdp/xrdp.ini 2013-12-19 07:05:11.089270612 +0000 +@@ -3,7 +3,7 @@ + bitmap_cache=yes + bitmap_compression=yes + port=3389 +-crypt_level=low ++crypt_level=high + channel_code=1 + max_bpp=24 + #black=000000 |