svn commit: r495571 - in head/net/xrdp: . files
Koichiro Iwao
meta at FreeBSD.org
Wed Mar 13 09:13:57 UTC 2019
Author: meta
Date: Wed Mar 13 09:13:55 2019
New Revision: 495571
URL: https://svnweb.freebsd.org/changeset/ports/495571
Log:
net/xrdp: install better example of startwm.sh
PR: 235271
Reported by: ykla <yklaxds at gmail.com>
Sponsored by: HAW International, Inc.
Added:
head/net/xrdp/files/startwm.sh (contents, props changed)
Modified:
head/net/xrdp/Makefile
Modified: head/net/xrdp/Makefile
==============================================================================
--- head/net/xrdp/Makefile Wed Mar 13 09:04:54 2019 (r495570)
+++ head/net/xrdp/Makefile Wed Mar 13 09:13:55 2019 (r495571)
@@ -17,7 +17,8 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:devel/nasm
-RUN_DEPENDS= ${LOCALBASE}/lib/xorg/modules/libxorgxrdp.so:x11-drivers/xorgxrdp \
+RUN_DEPENDS= xterm:x11/xterm \
+ ${LOCALBASE}/lib/xorg/modules/libxorgxrdp.so:x11-drivers/xorgxrdp \
${LOCALBASE}/lib/pulse-12.2/modules/module-xrdp-sink.so:audio/pulseaudio-module-xrdp
USES= autoreconf:build jpeg localbase libtool pkgconfig ssl
@@ -66,6 +67,9 @@ post-extract:
pre-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./bootstrap
+
+post-install:
+ @${INSTALL_SCRIPT} ${FILESDIR}/startwm.sh ${STAGEDIR}${ETCDIR}/startwm.sh
post-stage:
@${RM} ${STAGEDIR}${PREFIX}/etc/xrdp/rsakeys.ini
Added: head/net/xrdp/files/startwm.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/xrdp/files/startwm.sh Wed Mar 13 09:13:55 2019 (r495571)
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# This script is an example. Edit this to suit your needs.
+# If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this.
+
+#### set environment variables here if you want
+# export LANG=en_US.UTF-8
+
+#### start desktop environment
+# exec gnome-session
+# exec mate-session
+# exec start-lumina-desktop
+# exec startkde
+# exec startxfce4
+exec xterm
More information about the svn-ports-all
mailing list