summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/freerdp
Commit message (Collapse)AuthorAgeFilesLines
* freerdp3: upgrade 3.23.0 -> 3.24.0Gyorgy Sarvari48 hours1-1/+3
| | | | | | | | | | | | | | | | | | Contains many bugfixes and CVE fixes: https://github.com/FreeRDP/FreeRDP/releases/tag/3.24.0 Added build option to use internal rc4 and md4 ciphers: this is due to a recent change in oe-core. OpenSSL's legacy ciphers (like RC4 and MD4) are now disabled by default (with 'legacy' PACKAGECONFIG), however FreeRDP3 relies on them. To ensure that the required ciphers are available, build the recipe with this ciphers' internal implementations instead of expecting OpenSSL to support them. Ptests passed successfully. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.22.0 -> 3.23.0Gyorgy Sarvari3 days1-1/+1
| | | | | | | | | Contains many CVE and bugfixes. Changelog: https://github.com/FreeRDP/FreeRDP/releases/tag/3.23.0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2026-23532Gyorgy Sarvari2026-02-242-0/+50
| | | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-23532 The related Github advisory[1] contains a detailed analysis about the vulnerability. Pick the patch that describes the same issue in its description. [1]: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-fq8c-87hj-7gvr Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2026-23530Gyorgy Sarvari2026-02-242-0/+29
| | | | | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-23530 The related Github advisory[1] contains an amalysis of the vulenrability, describing the issue and the root cause also. Backported the commit that implemented the solution described in the advisory. [1]: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-r4hv-852m-fq7p Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: ignore CVE-2026-22853Gyorgy Sarvari2026-02-241-0/+1
| | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-22853 The vulnerable feature was introduced in v3.9.0[1], the recipe version is not affected. Ignore this CVE. [1]: https://github.com/FreeRDP/FreeRDP/commit/a4bd5ba8863c0959501d4604159042a311dae85a Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2026-22852Gyorgy Sarvari2026-02-242-0/+28
| | | | | | | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-22852 The related github advisory[1] comes with an analysis of the vulnerability, including pointing to the vulnerable code snippet. Backported the commit that touched the mentioned code part in the fixed version, and is in line with the description of the issue. Ptests passed successfully. [1]: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9chc-g79v-4qq4 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2026-22855Gyorgy Sarvari2026-02-102-0/+84
| | | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-22855 The related Github advisory[1] describes the problem along with analyzing where the vulnerability is in the codebase. I looked up the commit that recently performed the changes from the analysis, and backported it. [1]: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rwp3-g84r-6mx9 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2026-22854Gyorgy Sarvari2026-02-102-0/+30
| | | | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2026-22854 Backport the patch that is referenced by the relevant Github advisory[1]. [1]: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-47vj-g3c3-3rmf Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.20.2 -> 3.22.0Gyorgy Sarvari2026-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ptests passed successfully. Dropped manpages PACKAGECONFIG: when it is enabled, it requires an executable that is compiled from the project's source, but since it is cross-compiled, it is not usable. The cmakefile also started to explicitly disable generating this tool when cross-compiling is enabled. Since this recipe has no native counterpart, and the manpages can't be generated in this state, this option was removed. Changes: 3.22.0: - Complete overhaul of SDL client - Introduction of new WINPR_ATTR_NODISCARD macro wrapping compiler or C language version specific [[nodiscard]] attributes - Addition of WINPR_ATTR_NODISCARD to (some) public API functions so usage errors are producing warnings now - Add some more stringify functions for logging - CVE fixes: CVE-2026-23948, CVE-2026-24682, CVE-2026-24683, CVE-2026-24676, CVE-2026-24677, CVE-2026-24678, CVE-2026-24684, CVE-2026-24679, CVE-2026-24681, CVE-2026-24675, CVE-2026-24491, CVE-2026-24680 - [core,info] fix missing NULL check - [gateway,tsg] fix TSG_PACKET_RESPONSE parsing - Allow querying auth identity with kerberos when running as a server - Sspi krb heimdal - Tsg fix idleTimeout parsing - [channels,smartcard] revert 649f7de - [crypto] deprecate er and der modules - [channels,rdpei] lock full update, not only parts - [winpr,platform] add WINPR_ATTR_NODISCARD macro - Wlog cleanup - new stringify functions & touch API defines - Add support for querying SECPKG_ATTR_PACKAGE_INFO to NTLM and Kerberos - [channels,video] measure times in ns - [utils] Nodiscard - Error handling fixes - [channels,drdynvc] check pointer before reset - Winpr api def - [winpr,platform] drop C23 [[nodiscard]] - [gdi] add additional checks for a valid rdpGdi - Sdl3 high dpiv2 - peer: Disconnect if Logon() returned FALSE - [channels,rdpecam] fix PROPERTY_DESCRIPTION parsing - [channel,rdpsnd] only clean up thread before free - [channels,rdpei] add RDPINPUT_CONTACT_FLAG_UP 3.21.0: - CVE fixes: CVE-2026-23530, CVE-2026-23531, CVE-2026-23532, CVE-2026-23533, CVE-2026-23534, CVE-2026-23732, CVE-2026-23883, CVE-2026-23884 - [client,sdl] fix monitor resolution - [codec,progressive] fix progressive_rfx_upgrade_block - Krb cache fix - Rdpdr improved checks - Codec advanced length checks - Glyph fix length checks - Wlog printf format string checks - [warnings,format] fix format string warnings - Double free fixes - [clang-tidy] clean up code warnings Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: ignore CVE-2025-68118Gyorgy Sarvari2026-01-301-0/+1
| | | | | | | | | | Details: https://nvd.nist.gov/vuln/detail/CVE-2025-68118 The vulnerability is specific to the usage of Microsoft specific sprintf implementation. Because of this, ignore this vulnerability. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: add ptest supportGyorgy Sarvari2026-01-222-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | The test suite takes about 50s to execute. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2026-01-22T12:58 BEGIN: /usr/lib/freerdp/ptest PASS: TestClient TestClientRdpFile PASS: TestClient TestClientChannels PASS: TestClient TestClientCmdLine [...many lines...] PASS: TestWtsApi TestWtsApiSessionNotification PASS: TestWtsApi TestWtsApiShutdownSystem PASS: TestWtsApi TestWtsApiWaitSystemEvent DURATION: 48 END: /usr/lib/freerdp/ptest 2026-01-22T12:59 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.20.0 -> 3.20.2Gyorgy Sarvari2026-01-201-1/+1
| | | | | | | | | | | | | | Contains fixes for the following vulnerabilities: CVE-2026-22851, CVE-2026-22852, CVE-2026-22853, CVE-2026-22854, CVE-2026-22855, CVE-2026-22856, CVE-2026-22857, CVE-2026-22858, CVE-2026-22859 Changelogs: https://www.freerdp.com/2026/01/14/3_20_1-release https://www.freerdp.com/2026/01/14/3_20_2-release Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: add ptest supportGyorgy Sarvari2025-12-242-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | The execution takes under 10s. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-23T11:36 BEGIN: /usr/lib/freerdp3/ptest PASS: TestSynchInit PASS: TestSynchEvent PASS: TestSynchMutex [...many lines...] PASS: TestClientRdpFile PASS: TestClientChannels PASS: TestClientCmdLine DURATION: 7 END: /usr/lib/freerdp3/ptest 2025-12-23T11:37 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.19.0 -> 3.20.0Gyorgy Sarvari2025-12-241-1/+1
| | | | | | | | | | | | | | Contains fix for CVE-2025-68118 Changelog: 3.20.0: Mingw fixes [crypto,certificate_data] add some hostname sanitation [client,common]: Fix loading of rdpsnd channel [client,sdl] set touch and pen hints Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.19.0 -> 3.19.1Wang Mingyu2025-12-211-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: =========== - [core,transport] improve SSL error logging - [utils,helpers] fix freerdp_settings_get_legacy_config_path - From stdin and sdl-creds improve - [crypto,certificate] sanitize hostnames - [channels,drdynvc] propagate error in dynamic channel - [CMake] make Mbed-TLS and LibreSSL experimental - Json fix - rdpecam: send sample only if it's available - [channels,rdpecam] allow MJPEG frame skip and direct passthrough - [winpr,utils] explicit NULL checks in jansson WINPR_JSON_ParseWithLength - [packaging,flatpak] remove xprop Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.18.0 -> 3.19.0Wang Mingyu2025-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============= * [ci] add git-archive ignore list * [client,common] fix retry counter * [cmake] fix aarch64 neon detection * Fix response body existence check when using RDP Gateway * fix line clipping issue * Clip coord fix * [core,input] Add debug log to keyboard state sync * Update command line usage for gateway option * [codec,ffmpeg] 8.0 dropped AV_PROFILE_AAC_MAIN * [channels,audin] fix pulse memory leak * [channels,drive] Small performance improvements in drive channel * [winpr,utils] fix command line error logging * [common,test] Adjust AVC and H264 expectations. * drdynvc: implement compressed packet * [channels,rdpecam] improve log messages * Fix remote credential guard channel loading * Fix inverted ifdef * [core,nego] disable all enabled modes except the one requested * rdpear: handle basic NTLM commands and fix server-side * [smartcardlogon] Fix off-by-one error in 'smartcard_hw_enumerateCerts' * rdpecam: fix camera sample grabbing Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.17.2 -> 3.18.0Wang Mingyu2025-11-181-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: fix configure warning about image scalingMarc Ferland2025-10-291-0/+1
| | | | | | | | | | | Adding WITH_CAIRO=ON to fix this warning: CMake Warning at libfreerdp/CMakeLists.txt:193 (message): -DWITH_SWSCALE=OFF and -DWITH_CAIRO=OFF, compiling without image scaling support! Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: fix typo WITH_ADD --> WITH_AADMarc Ferland2025-10-291-1/+1
| | | | | | | | The WITH_ADD option does not exist. What was probably meant is WITH_AAD (Azure AD auth). Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: upgrade 3.17.1 -> 3.17.2Marc Ferland2025-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: Armin Novak (20): [winpr,pool] limit threadpool to 16 threads by default [codec] use default threadpool [winpr,path] fix missing length check [proxy,channels] better NULL checks [codec,yuv] wrap step calculation [winpr,sspi] log mechanisms not valid [client,sdl] improve clipboard logging [proxy,modules] generate pkg-config files for modules [proxy,modules] fix entry point for dyn-channel-dump [CMake,winpr] add pkg-config dependencies [cmake] static build: populate private [core,gateway] automatically accept ARM redirection [scripts,android] update openh264 to v2.6.0 [scripts,android] update to cJSON v1.7.19 [scripts,android] update ffmpeg to v7.1.2 [scripts,android] update openssl to v3.5.3 [android] build without deprecated symbols [client,android] update gradle to 8.13 changelog release-3.17.2 David Fort (2): settings: remove duplicate setting of GatewayAvdScope rdpecam: add some new callbacks to the HAL Pavlo Myroniuk (1): fix(winpr): pin cert labels; Simon Nivault (1): Fix quote parsing akallabeth (28): dev cycle 3.17.2-dev0 [cmake] fix library naming [winpr,file] fix TestFileFindFirstFile [ci,mac] cmake installed by local/pinned [channels,drive] tolerate drive_file_set_disposition_information [winpr,platform] add macro to disable deprecations [winpr,path] fix big endian issues with path [CMake,libfreerdp] add pkg-config dependencies [CMake,client] add pkg-config dependencies [proxy,modules] extend dynamic module loader [winpr,threadpool] default minimum thread count [core,peer] only set TCP_NODELAY on SOCK_STREAM sockets [core,tcp] unify setting of TCP_NODELAY [server,proxy] eliminate unused variable [server,proxy] check file exists before library load [codec,planar] fix encoder regression [winpr,thread] add unit test case [codec,planar] unit test compare encoded data [client,sdl] explicitly handle KMOD_NONE [client,sdl] update manpage [client,sdl] add SDL3 names to SDL_KeyModMask [core,aad] set FREERDP_ERROR_CONNECT_ACCESS_DENIED [core,settings] do not check for NULL [clients] add checks from #11804 to all clients [client,x11] fix rails/desktop switch [client,x11] stringify x11 error handler call [client,x11] fix rails to desktop mode switch [client,x11] disable output during rail/desktop switch Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: depend on virtual/libopencl1 instead of opencl-icd-loaderDmitry Baryshkov2025-09-171-1/+1
| | | | | | | | Make the package depend on the OpenCL virtual package rather than the exact implementation. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: Upgrade to 3.17.1Khem Raj2025-09-171-3/+10
| | | | | | | | | * Package proxy-plugins into their own package * Add missing dependency on json-c * While new plugins have solib prefix .so are still packaged for compatibility Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: add bindir to SYSROOT_DIRSMarc Ferland2025-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required in order to build krdp (KDE's remote desktop integration). The do_configure task for krdp expects both 'winpr-makecert3' and 'winpr-hash3' to be present, failure to do so results in: | CMake Error at /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake:98 (message): | The imported target "winpr-makecert" references the file | | "/path/to/krdp/6.4.4/recipe-sysroot/usr/bin/winpr-makecert3" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "/path/to/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake" | | but not all the files it references. | | Call Stack (most recent call first): | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRConfig.cmake:44 (include) | /path/to/krdp/6.4.4/recipe-sysroot-native/usr/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/FreeRDP3/FreeRDPConfig.cmake:2 (find_dependency) | CMakeLists.txt:45 (find_package) | | | -- Configuring incomplete, errors occurred! Signed-off-by: Marc Ferland <marc.ferland@sonatest.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: Allow to build with CMake 4+Moritz Haase2025-07-151-0/+1
| | | | | | | | | | | The 2.x branch of freerdp is in maintenance mode and upstream has ruled out changes to officially support builds with CMake 4+ (see [0]). Thus, apply the 'minimum policy version' override. [0]: https://github.com/FreeRDP/FreeRDP/issues/11707 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-252-2/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: move alsa to packageconfigAndrej Valek2025-06-051-3/+3
| | | | | | | | This will allow to disable alsa which pulls the audio stuff even if it could be disabled. Signed-off-by: Andrej Valek <andrej.v@skyrain.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: use gnu17 to allow building with gcc-15Martin Jansa2025-04-291-0/+4
| | | | | | | | | | | | | | It was fixed in freerdp3 with https://github.com/FreeRDP/FreeRDP/pull/10553 but it doesn't apply easily in freerdp2, use gnu17 to avoid: http://errors.yoctoproject.org/Errors/Details/852862/ TOPDIR/tmp/work/core2-64-oe-linux/freerdp/2.11.7/build/channels/client/tables.c:124:25: error: initialization of 'UINT (*)(void)' {aka 'unsigned int (*)(void)'} from incompatible pointer type 'UINT (*)(void *)' {aka 'unsigned int (*)(void *)'} [-Wincompatible-pointer-types] 124 | { "libusb", "", libusb_freerdp_urbdrc_client_subsystem_entry }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: set CVE_PRODUCTPeter Marko2025-03-201-0/+2
| | | | | | | | | CPE does not contain mnajor version number, so set VE product to just freerdp. Without this there are no (fixed) CVEs in reports. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: mark CVE-2024-32662 as fixedPeter Marko2025-03-201-0/+2
| | | | | | | | 2.x is not affected, bug was introduced in 3.0.0. See e.g. https://security-tracker.debian.org/tracker/CVE-2024-32662 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: patch CVE-2024-32661Peter Marko2025-03-202-0/+28
| | | | | | | | | | | Pick commit [1] as mentioned in [2] or [3]. [1] https://github.com/FreeRDP/FreeRDP/commit/71e463e31b4d69f4022d36bfc814592f56600793 [2] https://nvd.nist.gov/vuln/detail/CVE-2024-32661 [3] https://security-tracker.debian.org/tracker/CVE-2024-32661 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: fix build with gcc-14Martin Jansa2024-05-192-1/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | * bump SRCREV to get more gcc-14 fixes already merged upstream: $ git log --oneline 2.11.7..origin/stable-2.0 efa899d3d (HEAD -> stable-2.0, origin/stable-2.0) Merge pull request #10172 from AlessandroBono/wip/abono/incompatible-pointer 7894a7dfc redirection: Fix incompatible pointer type f3ed1f1ac redirection: Fix incompatible pointer type 4f411197d info: Fix incompatible pointer type a383740a2 next-dev-2.11.8-dev * fixes: http://errors.yoctoproject.org/Errors/Details/766906/ freerdp/2.11.2/git/libfreerdp/core/redirection.c:91:31: error: passing argument 1 of 'redirection_free_data' from incompatible pointer type [-Wincompatible-pointer-types] freerdp/2.11.2/git/libfreerdp/core/redirection.c:112:31: error: assignment to 'BYTE **' {aka 'unsigned char **'} from incompatible pointer type 'char **' [-Wincompatible-pointer-types] freerdp/2.11.2/git/libfreerdp/core/redirection.c:139:38: error: passing argument 1 of 'redirection_copy_data' from incompatible pointer type [-Wincompatible-pointer-types] freerdp/2.11.2/git/libfreerdp/core/info.c:88:39: error: initialization of 'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] and backport one commit from master to fix: git/channels/ainput/server/ainput_main.c:225:83: error: passing argument 3 of 'WTSVirtualChannelQuery' from incompatible pointer type [-Wincompatible-pointer-types] git/channels/ainput/server/ainput_main.c:419:36: error: passing argument 1 of 'ainput_server_context_free' from incompatible pointer type [-Wincompatible-pointer-types] git/channels/ainput/server/ainput_main.c:542:100: error: passing argument 3 of 'WTSVirtualChannelQuery' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: Upgrade to 3.5.1 releaseKhem Raj2024-05-121-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: Upgrade to 2.11.7Khem Raj2024-05-122-1/+29
| | | | | | Partially backport a fix to build with gcc-14 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: disable shadow without x11Martin Jansa2024-03-221-1/+1
| | | | | | | | | | | | | | | | | | * add -DWITH_SHADOW=OFF to avoid build failure without x11 in DISTRO_FEATURES: CMake Error at TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB) Call Stack (most recent call first): TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindX11.cmake:665 (find_package_handle_standard_args) server/shadow/X11/CMakeLists.txt:1 (find_package) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp3: add recipeMarkus Volk2024-03-201-0/+61
| | | | | | | freerdp3 is required to build gnome-remote-desktop-46.0 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: provide cmake integrationAndreas Cord-Landwehr2024-01-192-1/+46
| | | | | | | | Do not delete the cmake config and target files to allow easy integration with cmake based libraries/applications. Signed-off-by: Andreas Cord-Landwehr <cordlandwehr@kde.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.11.1 -> 2.11.2Wang Mingyu2023-10-231-1/+1
| | | | | | | | | | Changelog: =========== Backported #9378: backported wArrayList (optional) copy on insert Backported #9360: backported certificate algorithm detection Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.11.0 -> 2.11.1Wang Mingyu2023-09-201-1/+1
| | | | | | | | Changelog: * Backported #9356: Fix issues with order updates Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.10.0 -> 2.11.0Wang Mingyu2023-09-112-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Fix-const-qualifier-error.patch added to fix error with clang Changelog: =========== Noteworthy changes: * Various input validation fixes * Added various CMake options #9317 * LibreSSL build fixes #8709 Fixed issues: * Backported #9233: Big endian support * Backported #9099: Mouse grabbing support * Backported #6851: wayland scrolling fix * Backported #8690: Update h264 to use new FFMPEG API * Backported #7306: early bail from update_read_window_state_order breaks protocol * Backported #8903: rdpecam/server: Remove wrong assertion * Backported #8994: bounds checks for gdi/gfx rectangles * Backported #9023: enforce rdpdr client side state checks * Backported #6331: deactivate mouse grabbing by default * Cherry-pick out of #9172: channels/cliprdr: Fix writing incorrect PDU type for unlock PDUs Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: Fix reference to TMPDIR in libfreerdp2.soKhem Raj2023-05-251-0/+4
| | | | | | | Fixes File /usr/lib/libwinpr2.so.2.10.0 in package libfreerdp contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: set PROXY_PLUGINDIRMarkus Volk2023-04-081-0/+1
| | | | | | | This avoids buildpath in freerdp-proxy binary Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.9.0 -> 2.10.0Wang Mingyu2023-03-092-36/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Fix-incompatible-function-pointer-types.patch removed since it's included in 2.10.0 Changelog: =========== Notewhorth changes: ------------------- * Fix android build scripts, use CMake from SDK * Fix connection negotiation with mstsc/msrdc #8426 * [ntlm]: use rfc5929 binding hash algorithm #8430 * [channels,printer] Fixed reference counting #8433 * Fix uwac pixman #8439 * Fix Rdp security #8457 * [client,x11] Detect key autorepeat #8522 * [build] add channel path to RPATH #8551 * Fix build with BUILTIN_CHANNELS=OFF #8560 * revert changes so that the osmajortype/osminortype is not overwritten #8571 * [uwac] do not use iso C functions #8604 * [winpr,sam] fix inalid NULL arguments #8605 * Fix incompatible function pointer types #8625 Fixed issues: ------------- * Backported #8581: Ignore data PDUs for DVCs that were not opened successfully * Backported #8498: [channel,urbdrc] fix type of usb hotplug callback * Backported #8537: Extended info enforce limits * Backported #8611: [core] add missing redirection fields Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: Fix incompatible function pointer typeKhem Raj2023-01-212-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: build the rdp serverMarkus Volk2023-01-151-1/+2
| | | | | | | gnome-remote-desktop requires the freerdp server as a build dependency Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.8.1 -> 2.9.0Wang Mingyu2022-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Notewhorth changes: ------------------- Backported #8252: Support sending server redirection PDU Backported #8406: Ensure X11 client cursor is never smaller 1x1 Backported #8403: Fixed multiple client side input validation issues (CVE-2022-39316, CVE-2022-39317, CVE-2022-39318, CVE-2022-39319, CVE-2022-39320, CVE-2022-41877, CVE-2022-39347) Backported #7282: Proxy server now discards input events sent before activation was received Backported #8324: Internal replacements for md4, md5 and hmac-md5 For the time being the RDP protocol requires these outdated hash algorithms. So any distribution that wants to ship a working FreeRDP should check the options WITH_INTERNAL_MD4 (and depending on OpenSSL deprecation status WITH_INTERNAL_MD5) Fixed issues: -------------- Backported #8341: Null checks in winpr_Digest_Free Backported #8335: Missing NULL return in winpr_Digest_New Backported #8192: Support for audin version 2 microphone channel Backported #7282: Discard input events before activation (Fixes #8374) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.8.0 -> 2.8.1Wang Mingyu2022-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ Notewhorth changes: Fixed CVE-2022-39282 Fixed CVE-2022-39283 Added missing commit for backported #8041: Remove ALAW/ULAW codecs from linux backends (unreliable) Added hash checks for android build script dependencies Fixed issues: #8190: Fix build break with newer FFMPEG versions #8234: Updated flatpak with build script #8210: Better execinfo support check for android #7708: Header now defines DumpThreadHandles #8176: Check fullscreen state and not setting #8236: Send resize on window state change #7611: Audin macOS monterey fix #8291: Android build script update Fix length checks and initialization in the deprecated (disabled per default) tsmf channel Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.7.0 -> 2.8.0wangmy2022-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Noteworthy changes: ------------------- Backported API to get peer accepted channel option flags Backported API to get peer accepted channel names Backported Stream_CheckAndLogRequiredLength Backported #7954: Add server side handling for [MS-RDPET] Backported #8010: Add server side handling for [MS-RDPECAM] Backported #8041: Remove ALAW/ULAW codecs from linux backends (unreliable) Backported #8051: Relieve CLIPRDR filename restriction when connecting to non-MS Windows servers Backported #8048: TLS version control Backported #7987: Add a new command line arg to enforce tls1.2 Fixed issues: -------------- Fixed #7837: Prevent out of bound reads for FFMPEG Backported #7859 and #7861: Unwind support for backtrace generation Backported #7440: wlfreerdp appid Backported #7832: RAIL window restore Backported #7833: Refactored WinPR thread locking Backported #7893: Mac rdpsnd memory leak fixes Backported #7895: Mac audin memory leak fixes Backported #7898: Automatic android versioning Backported #7916: GFX 10.7 capability support Backported #7949: Server RDPSND API improvements Backported #7957: Server DVC API improvements Backported #7760: Fixed osMinorType values Backported #8013: Add missing osMajorType values Backported #8076: Fix wrong usage of subband diffing flag (tile artifact fix) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.6.1 -> 2.7.0wangmy2022-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* freerdp: upgrade 2.6.0 -> 2.6.1Wang Mingyu2022-03-171-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========= Noteworthy changes: ------------------ Decreased logging verbosity, now freerdp is much less verbose by default Fixed issues: -------------- Backported freerdp_abort_connect during freerdp_connect fix (#7700) Backported improved version dection see docs/version_detection.md for details Backported various rdpsnd fixes (#7695) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>