git: 7783dde8566e - main - net/freerdp: update to 2.7.0 [maintainer]

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 26 Apr 2022 18:59:49 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7783dde8566e63fe91508b61dced7e54c721cbaa

commit 7783dde8566e63fe91508b61dced7e54c721cbaa
Author:     VVD <vvd@unislabs.com>
AuthorDate: 2022-04-26 18:55:38 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-04-26 18:59:07 +0000

    net/freerdp: update to 2.7.0 [maintainer]
    
    https://github.com/FreeRDP/FreeRDP/blob/2.7.0/ChangeLog
    Noteworthy changes:
        Backported OpenSSL3 gateway support (#7822)
        Backported various NTLM fixes
        Backported WINPR_ASSERT to ease future backports
    
    Fixed issues:
        Backported #6786: Use /network:auto by default
        Backported #7714: Workaround for broken surface frame marker
        Backported #7733: Support 10bit X11 color (BGRX32 only)
        Backported #7745: GFX progressive double free
        Backported #7808: Disable websockets with /gt:rpc
        Backported #7815: RAIL expect LOGON_MSG_SESSION_CONTINUE
    
    PR:             263490
    
    MFH:            2022Q2
---
 net/freerdp/Makefile  | 18 ++----------------
 net/freerdp/distinfo  |  8 +++-----
 net/freerdp/pkg-plist |  1 +
 3 files changed, 6 insertions(+), 21 deletions(-)

diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index 8db505b97eca..baedb3c8786e 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -1,12 +1,12 @@
 # Created by: Alexander Logvinov <avl@FreeBSD.org>
 
 PORTNAME=	freerdp
-DISTVERSION=	2.6.1
+DISTVERSION=	2.7.0
 CATEGORIES=	net comms
 MASTER_SITES=	https://pub.freerdp.com/releases/ \
 		https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/
 
-PATCH_SITES=	https://github.com/FreeRDP/FreeRDP/commit/
+#PATCH_SITES=	https://github.com/FreeRDP/FreeRDP/commit/
 
 MAINTAINER=	vvd@unislabs.com
 COMMENT=	Free implementation of Remote Desktop Protocol
@@ -144,20 +144,6 @@ X11_USES=		xorg
 X11_USE=		xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv
 
 post-patch:
-	@${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \
-		${WRKSRC}/CMakeLists.txt
-	@${REINPLACE_CMD} -e 's/Linux/Linux|FreeBSD/' \
-		${WRKSRC}/winpr/CMakeLists.txt
-	@${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \
-		${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h
-	@${RM} ${WRKSRC}/cmake/FindOpenSSL.cmake
-	@${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/cmake|$${CMAKE_INSTALL_PREFIX}/share/cmake/Modules|' \
-		${WRKSRC}/client/CMakeLists.txt \
-		${WRKSRC}/winpr/CMakeLists.txt \
-		${WRKSRC}/uwac/CMakeLists.txt \
-		${WRKSRC}/server/CMakeLists.txt \
-		${WRKSRC}/server/shadow/CMakeLists.txt \
-		${WRKSRC}/libfreerdp/CMakeLists.txt
 	@${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \
 		${WRKSRC}/cmake/FindGSM.cmake \
 		${WRKSRC}/libfreerdp/codec/dsp.c
diff --git a/net/freerdp/distinfo b/net/freerdp/distinfo
index bb513ad446e5..5b6e3b4d20fd 100644
--- a/net/freerdp/distinfo
+++ b/net/freerdp/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1650775969
-SHA256 (freerdp-2.6.1.tar.gz) = e4b3b93d102bc03164f592d26d7a06d6de648bf78b1e3dcbd8d62941431c1f28
-SIZE (freerdp-2.6.1.tar.gz) = 7270692
-SHA256 (b0768032196b.patch) = daf81c2c8ba7359a4ddd969dff87e0643c2cc50a74fa7dd9ebbf6d1fed761674
-SIZE (b0768032196b.patch) = 1181
+TIMESTAMP = 1650933949
+SHA256 (freerdp-2.7.0.tar.gz) = 89000728b6e66ac37db018d6dc5f0981b530fd550ab748877ff42892dd0c166b
+SIZE (freerdp-2.7.0.tar.gz) = 7274512
diff --git a/net/freerdp/pkg-plist b/net/freerdp/pkg-plist
index a0c6b2a2163d..9c7f14f6a8f7 100644
--- a/net/freerdp/pkg-plist
+++ b/net/freerdp/pkg-plist
@@ -146,6 +146,7 @@ include/freerdp2/freerdp/window.h
 %%WAYLAND%%include/uwac0/uwac/uwac-tools.h
 %%WAYLAND%%include/uwac0/uwac/uwac.h
 include/winpr2/winpr/asn1.h
+include/winpr2/winpr/assert.h
 include/winpr2/winpr/bcrypt.h
 include/winpr2/winpr/bitstream.h
 include/winpr2/winpr/clipboard.h