View | Details | Raw Unified | Return to bug 170308
Collapse All | Expand All

(-)./Makefile (-5 / +6 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	xrdp
8
PORTNAME=	xrdp
9
PORTVERSION=	0.6.0.20110117
9
PORTVERSION=	0.6.0.20110117
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://www.club.kyutech.ac.jp/~meta/distfiles/ \
12
MASTER_SITES=	http://www.club.kyutech.ac.jp/~meta/distfiles/ \
13
		http://key2.jp/~meta/distfiles/
13
		http://key2.jp/~meta/distfiles/
Lines 35-50 Link Here
35
35
36
USE_LDCONFIG=	${PREFIX}/lib/xrdp
36
USE_LDCONFIG=	${PREFIX}/lib/xrdp
37
37
38
OPTIONS=	DEBUG "Build with debugging symbols" off \
38
OPTIONS_DEFINE=	DEBUG JP106
39
		JP106 "Install Japanese JP106 Keymap" on
39
OPTIONS_DEFAULT=	JP106
40
40
41
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
42
42
43
.if defined(WITH_DEBUG)
43
.if ${PORT_OPTIONS:MDEBUG}
44
CFLAGS+=	-DXRDP_DEBUG
44
CFLAGS+=	-DXRDP_DEBUG
45
.endif
45
.endif
46
46
47
.if defined(WITH_JP106)
47
.if ${PORT_OPTIONS:MJP106}
48
JP106_DESC=	Install Japanese JP106 keymap
48
PATCHFILES+=	patch-instfiles__Makefile.am \
49
PATCHFILES+=	patch-instfiles__Makefile.am \
49
	patch-instfiles__km-0411.ini \
50
	patch-instfiles__km-0411.ini \
50
	patch-instfiles__km-e0010411.ini \
51
	patch-instfiles__km-e0010411.ini \
(-)./files/pkg-message.in (-1 lines)
Lines 6-12 Link Here
6
in /etc/rc.conf:
6
in /etc/rc.conf:
7
7
8
xrdp_enable="YES"
8
xrdp_enable="YES"
9
xrdpsesman_enable="YES"
10
9
11
Do not forget to edit the configuration files in "%%PREFIX%%/etc/xrdp"
10
Do not forget to edit the configuration files in "%%PREFIX%%/etc/xrdp"
12
and the "%%PREFIX%%/etc/xrdp/startwm.sh" script.
11
and the "%%PREFIX%%/etc/xrdp/startwm.sh" script.
(-)./files/xrdp.in (-7 lines)
Lines 16-28 Link Here
16
load_rc_config "$name"
16
load_rc_config "$name"
17
: ${xrdp_enable="NO"}
17
: ${xrdp_enable="NO"}
18
18
19
# Enable/disable dependent daemon.
20
if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
21
	: ${sesman_enable="YES"}
22
else
23
	: ${sesman_enable="NO"}
24
fi
25
26
# Commands.
19
# Commands.
27
extra_commands="reload status"
20
extra_commands="reload status"
28
start_cmd="xrdp_cmd"
21
start_cmd="xrdp_cmd"
(-)./pkg-plist (+1 lines)
Lines 1-3 Link Here
1
@stopdaemon xrdp
1
bin/xrdp-genkeymap
2
bin/xrdp-genkeymap
2
bin/xrdp-keygen
3
bin/xrdp-keygen
3
bin/xrdp-sesadmin
4
bin/xrdp-sesadmin

Return to bug 170308