aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-10-06 09:25:46 +0800
committerswills <swills@FreeBSD.org>2012-10-06 09:25:46 +0800
commitef9a07ec06a8ff904757077c37a770403243be7d (patch)
tree7e78ef144fc187a4b4b942d1e311fa8bf5aa6cb1 /net
parent827cfd2225b2b335f008a4d0975b8c29be6ab370 (diff)
downloadfreebsd-ports-gnome-ef9a07ec06a8ff904757077c37a770403243be7d.tar.gz
freebsd-ports-gnome-ef9a07ec06a8ff904757077c37a770403243be7d.tar.zst
freebsd-ports-gnome-ef9a07ec06a8ff904757077c37a770403243be7d.zip
- Update to 0.6.0 latest stable release
- Add GATEWAY option (do not install net/vnc as backend) - Fix debug build's configure option PR: ports/172306 Submitted by: Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/xrdp/Makefile18
-rw-r--r--net/xrdp/distinfo4
-rw-r--r--net/xrdp/pkg-plist1
3 files changed, 14 insertions, 9 deletions
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index 0dacc9627c91..8d9515c03efe 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= xrdp
-PORTVERSION= 0.6.0.20110117
-PORTREVISION= 3
+PORTVERSION= 0.6.0
+PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= http://www.club.kyutech.ac.jp/~meta/distfiles/ \
- http://key2.jp/~meta/distfiles/
-DISTNAME= ${PORTNAME}-${PORTVERSION}cvs
+MASTER_SITES= SF/xrdp/xrdp/${PORTVERSION}
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
DIST_SUBDIR?= ${PORTNAME}
PATCH_SITES= http://www.club.kyutech.ac.jp/~meta/patches/xrdp/0.6.0/ \
@@ -31,17 +30,18 @@ USE_RC_SUBR= xrdp
CONFIGURE_ARGS= --localstatedir=/var
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
-RUN_DEPENDS+= Xvnc:${PORTSDIR}/net/vnc
USE_LDCONFIG= ${PREFIX}/lib/xrdp
-OPTIONS_DEFINE= DEBUG JP106
+OPTIONS_DEFINE= DEBUG GATEWAY JP106
OPTIONS_DEFAULT= JP106
+GATEWAY_DESC= Install xrdp as RDP gateway (no VNC backend)
JP106_DESC= Install Japanese JP106 keymap
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+= --enable-xrdpdebug
CFLAGS+= -DXRDP_DEBUG
.endif
@@ -56,6 +56,10 @@ PLIST_SUB+= JP106=""
PLIST_SUB+= JP106="@comment "
.endif
+.if !${PORT_OPTIONS:MGATEWAY}
+RUN_DEPENDS+= Xvnc:${PORTSDIR}/net/vnc
+.endif
+
MAN5= sesman.ini.5 xrdp.ini.5
MAN8= xrdp-sesman.8 xrdp-sesrun.8 xrdp.8
diff --git a/net/xrdp/distinfo b/net/xrdp/distinfo
index a08439ea98c1..5697fe78cdc6 100644
--- a/net/xrdp/distinfo
+++ b/net/xrdp/distinfo
@@ -1,5 +1,5 @@
-SHA256 (xrdp/xrdp-0.6.0.20110117cvs.tar.gz) = 06ad5b8afa4841aaa25ef06c7374ae881bd678b8ab5d6230ce0b9f6a463cfa98
-SIZE (xrdp/xrdp-0.6.0.20110117cvs.tar.gz) = 1998298
+SHA256 (xrdp/xrdp-v0.6.0.tar.gz) = 8b20fe56d935252981d73ac3b70b9b1654a83939824d9962beebb1586e429690
+SIZE (xrdp/xrdp-v0.6.0.tar.gz) = 322104
SHA256 (xrdp/patch-instfiles__Makefile.am) = 92e8a1768b63f508bc5b37cdc5723d1e03875af7fbdf064aa86a6b40b1bd2f07
SIZE (xrdp/patch-instfiles__Makefile.am) = 710
SHA256 (xrdp/patch-instfiles__km-0411.ini) = 58bcb7f063db4fcde9230be3013d46226b8af5c0060b7faf00250a51aa7da4fd
diff --git a/net/xrdp/pkg-plist b/net/xrdp/pkg-plist
index b45ef6ab6f19..389771974fcb 100644
--- a/net/xrdp/pkg-plist
+++ b/net/xrdp/pkg-plist
@@ -1,4 +1,5 @@
@stopdaemon xrdp
+bin/xrdp-dis
bin/xrdp-genkeymap
bin/xrdp-keygen
bin/xrdp-sesadmin