summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--net/Makefile1
-rw-r--r--net/remmina-plugin-rdp/Makefile17
-rw-r--r--net/remmina-plugins/Makefile14
-rw-r--r--net/remmina-plugins/bsd.plugin.mk7
-rw-r--r--net/remmina-plugins/distinfo4
6 files changed, 37 insertions, 7 deletions
diff --git a/MOVED b/MOVED
index dc970ea63df4..598ed61ab4b7 100644
--- a/MOVED
+++ b/MOVED
@@ -8051,7 +8051,6 @@ graphics/pinta||2015-12-30|Has expired: Broken for more than 6 months
games/kanatest||2015-12-30|Has expired: Broken for more than 6 months
editors/bless||2015-12-30|Has expired: Broken for more than 6 months
security/burpsuite||2015-12-30|Has expired: Broken for more than 6 months
-net/remmina-plugin-rdp||2015-12-30|Has expired: Broken for more than 6 months
dns/bind10|dns/bundy|2015-12-31|Has expired: Is not developed any more, use dns/bundy
lang/perl5.16||2015-12-31|Has expired: Unsupported, please upgrade to a more recent version of Perl
devel/py-distutils-extra|devel/py-python-distutils-extra|2015-12-31|Renamed to match upstream naming
diff --git a/net/Makefile b/net/Makefile
index de9946ae57ff..05f3e3b53686 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1098,6 +1098,7 @@
SUBDIR += remmina
SUBDIR += remmina-plugin-gnome
SUBDIR += remmina-plugin-nx
+ SUBDIR += remmina-plugin-rdp
SUBDIR += remmina-plugin-telepathy
SUBDIR += remmina-plugin-vnc
SUBDIR += remmina-plugin-xdmcp
diff --git a/net/remmina-plugin-rdp/Makefile b/net/remmina-plugin-rdp/Makefile
new file mode 100644
index 000000000000..e0283bd816b7
--- /dev/null
+++ b/net/remmina-plugin-rdp/Makefile
@@ -0,0 +1,17 @@
+# Created by: Alexander Logvinov <avl@FreeBSD.org>
+# $FreeBSD$
+
+PKGNAMESUFFIX= -rdp
+
+COMMENT= Remmina plugin for RDP protocol
+
+LIB_DEPENDS= libfreerdp.so:net/freerdp
+
+USE_GNOME+= cairo
+USE_XORG+= ice sm x11 xext
+
+MASTERDIR= ${.CURDIR}/../remmina-plugins
+
+PLIST_SUB+= ICONS="" SSH=""
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/remmina-plugins/Makefile b/net/remmina-plugins/Makefile
index 3ac6d60aa379..b583711b809a 100644
--- a/net/remmina-plugins/Makefile
+++ b/net/remmina-plugins/Makefile
@@ -4,11 +4,17 @@
PORTNAME?= remmina-plugins
DISTVERSIONPREFIX=v
DISTVERSION= 1.2.0-rcgit.16
+PORTREVISION= 1
CATEGORIES= net gnome
+PATCH_SITES= https://github.com/FreeRDP/Remmina/commit/
+PATCHFILES= 9b783595bd7fbfc39d1194d28110519c49dcaecc.patch:-p1
+
MAINTAINER?= woodsb02@FreeBSD.org
COMMENT?= Remmina plugin system
+LICENSE?= GPLv2+
+
USE_GITHUB= yes
GH_ACCOUNT= FreeRDP
GH_PROJECT= Remmina
@@ -19,9 +25,10 @@ GH_PROJECT= Remmina
USES= metaport
-OPTIONS_DEFINE= KEYRING NX TELEP VNC XDMCP
-OPTIONS_DEFAULT= KEYRING TELEP VNC XDMCP
+OPTIONS_DEFINE= KEYRING NX RDP TELEP VNC XDMCP
+OPTIONS_DEFAULT= KEYRING RDP TELEP VNC XDMCP
KEYRING_DESC= GNOME Keyring plugin
+RDP_DESC= Remote Desktop Protocol plugin
VNC_DESC= VNC protocol plugin
XDMCP_DESC= XDMCP protocol plugin
TELEP_DESC= Telepathy protocol plugin
@@ -29,10 +36,13 @@ NX_DESC= NX protocol plugin
KEYRING_RUN_DEPENDS= remmina-plugin-gnome>=0:net/remmina-plugin-gnome
NX_RUN_DEPENDS= remmina-plugin-nx>=0:net/remmina-plugin-nx
+RDP_RUN_DEPENDS= remmina-plugin-rdp>=0:net/remmina-plugin-rdp
TELEP_RUN_DEPENDS= remmina-plugin-telepathy>=0:net/remmina-plugin-telepathy
VNC_RUN_DEPENDS= remmina-plugin-vnc>=0:net/remmina-plugin-vnc
XDMCP_RUN_DEPENDS= remmina-plugin-xdmcp>=0:net/remmina-plugin-xdmcp
+do-patch:
+
.include <bsd.port.mk>
.endif
diff --git a/net/remmina-plugins/bsd.plugin.mk b/net/remmina-plugins/bsd.plugin.mk
index 2eec6d9671fc..7ea8482c38ed 100644
--- a/net/remmina-plugins/bsd.plugin.mk
+++ b/net/remmina-plugins/bsd.plugin.mk
@@ -37,9 +37,6 @@ post-patch:
# Do not build remmina core program
${REINPLACE_CMD} -e 's|add_subdirectory(remmina)||' ${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e 's|find_suggested_package(AVAHI)||' ${WRKSRC}/CMakeLists.txt
-# Do not build broken freerdp plugin
- ${REINPLACE_CMD} -e 's|find_suggested_package(FREERDP)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
- ${REINPLACE_CMD} -e 's|add_subdirectory(rdp)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
# Which plugins to build
.if ${PKGNAMESUFFIX:S,-,,} != "nx"
${REINPLACE_CMD} -e 's|find_suggested_package(LIBSSH)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
@@ -49,6 +46,10 @@ post-patch:
.if ${PKGNAMESUFFIX:S,-,,} != "gnome"
${REINPLACE_CMD} -e 's|add_subdirectory(remmina-plugins-gnome)||' ${WRKSRC}/CMakeLists.txt
.endif
+.if ${PKGNAMESUFFIX:S,-,,} != "rdp"
+ ${REINPLACE_CMD} -e 's|find_suggested_package(FREERDP)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|add_subdirectory(rdp)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
+.endif
.if ${PKGNAMESUFFIX:S,-,,} != "vnc"
${REINPLACE_CMD} -e 's|find_suggested_package(GCRYPT)||' ${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e' s|find_required_package(LIBVNCSERVER)||' ${WRKSRC}/remmina-plugins/CMakeLists.txt
diff --git a/net/remmina-plugins/distinfo b/net/remmina-plugins/distinfo
index 66acde6f4dc2..d75baa530e3e 100644
--- a/net/remmina-plugins/distinfo
+++ b/net/remmina-plugins/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1478177235
+TIMESTAMP = 1482223169
SHA256 (FreeRDP-Remmina-v1.2.0-rcgit.16_GH0.tar.gz) = edb347f9e4d0a2e682f7ffd22caa364b477653a1aca31d1c1922a86d81df4995
SIZE (FreeRDP-Remmina-v1.2.0-rcgit.16_GH0.tar.gz) = 1008438
+SHA256 (9b783595bd7fbfc39d1194d28110519c49dcaecc.patch) = 2f6234f3be140fc17fc88da09cca06a0ff5364b123f7ee560c1daa17a3a00e53
+SIZE (9b783595bd7fbfc39d1194d28110519c49dcaecc.patch) = 58905