summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/xrdp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/xrdp')
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch7
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch12
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch9
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch9
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb (renamed from meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb)7
5 files changed, 19 insertions, 25 deletions
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
index 05803266cb..926ad93bbe 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
@@ -1,7 +1,7 @@
1From d705b1d666cb8713d86ea6fb2fc45c424128285a Mon Sep 17 00:00:00 2001 1From abdfa0fddeceab843ab6eabe31c7763c8719642b Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com> 2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Fri, 1 Dec 2017 10:24:50 +0900 3Date: Fri, 1 Dec 2017 10:24:50 +0900
4Subject: [PATCH] Added req_distinguished_name in /etc/xrdp/openssl.conf, 4Subject: [PATCH] Added req_distinguished_name in /etc/xrdp/openssl.conf,
5 otherwise, cert.pem can't be created. 5 otherwise, cert.pem can't be created.
6 6
7Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> 7Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
@@ -30,6 +30,3 @@ index 09db6c2..f077d72 100644
30 30
31 [v3_ca] 31 [v3_ca]
32 # Extensions for a typical CA - PKIX recommendation. 32 # Extensions for a typical CA - PKIX recommendation.
33--
341.8.4.2
35
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
index e8b4ffa6bf..1bb84001f3 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
@@ -1,3 +1,6 @@
1From 2fa575c3171688ceb0dc867a52628046b3f60d91 Mon Sep 17 00:00:00 2001
2From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
3Date: Tue, 12 Dec 2017 22:36:50 +0800
1Subject: [PATCH] Fix the make error 4Subject: [PATCH] Fix the make error
2 5
3Fix the compile error: 6Fix the compile error:
@@ -11,10 +14,10 @@ Upstream-Status: Pending
11 1 file changed, 2 insertions(+), 2 deletions(-) 14 1 file changed, 2 insertions(+), 2 deletions(-)
12 15
13diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am 16diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am
14index a259ef3..d5505b2 100644 17index 71d0f76..f41751b 100644
15--- a/xrdp/Makefile.am 18--- a/xrdp/Makefile.am
16+++ b/xrdp/Makefile.am 19+++ b/xrdp/Makefile.am
17@@ -23,7 +23,7 @@ endif 20@@ -21,7 +21,7 @@ XRDP_EXTRA_LIBS =
18 if XRDP_RFXCODEC 21 if XRDP_RFXCODEC
19 AM_CPPFLAGS += -DXRDP_RFXCODEC 22 AM_CPPFLAGS += -DXRDP_RFXCODEC
20 AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include 23 AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include
@@ -23,7 +26,7 @@ index a259ef3..d5505b2 100644
23 endif 26 endif
24 27
25 if XRDP_PIXMAN 28 if XRDP_PIXMAN
26@@ -35,7 +35,7 @@ endif 29@@ -33,7 +33,7 @@ endif
27 if XRDP_PAINTER 30 if XRDP_PAINTER
28 AM_CPPFLAGS += -DXRDP_PAINTER 31 AM_CPPFLAGS += -DXRDP_PAINTER
29 AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include 32 AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include
@@ -32,6 +35,3 @@ index a259ef3..d5505b2 100644
32 endif 35 endif
33 36
34 sbin_PROGRAMS = \ 37 sbin_PROGRAMS = \
35--
362.7.4
37
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
index ea3eb11f0a..01449e2a5f 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
@@ -1,4 +1,4 @@
1From 5958db649855bfb2ada7c0ed22a00f839b9a1161 Mon Sep 17 00:00:00 2001 1From 71e8fd272a4609cf3b6a0802cee82e2861a1fa0c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 12 Mar 2021 21:40:35 -0800 3Date: Fri, 12 Mar 2021 21:40:35 -0800
4Subject: [PATCH] arch: Define NO_NEED_ALIGN on ppc64 4Subject: [PATCH] arch: Define NO_NEED_ALIGN on ppc64
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/common/arch.h b/common/arch.h 12diff --git a/common/arch.h b/common/arch.h
13index 617feb5e..6edb39db 100644 13index ec0aa05..f574656 100644
14--- a/common/arch.h 14--- a/common/arch.h
15+++ b/common/arch.h 15+++ b/common/arch.h
16@@ -85,7 +85,7 @@ typedef int bool_t; 16@@ -86,7 +86,7 @@ typedef int bool_t;
17 #define NEED_ALIGN 17 #define NEED_ALIGN
18 #elif defined(__x86__) || defined(__x86_64__) || \ 18 #elif defined(__x86__) || defined(__x86_64__) || \
19 defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \ 19 defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \
@@ -22,6 +22,3 @@ index 617feb5e..6edb39db 100644
22 defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \ 22 defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \
23 defined(__s390__) || defined (__s390x__) || \ 23 defined(__s390__) || defined (__s390x__) || \
24 defined(__riscv) 24 defined(__riscv)
25--
262.31.1
27
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
index 77a394d556..2559ab7b31 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
@@ -1,4 +1,4 @@
1From 492f74dbea1d9a15fbc3e870e78ab52e7fc5583b Mon Sep 17 00:00:00 2001 1From 23638d0ec23c2658a4e98321c20a4a2ac9294fb2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Aug 2022 20:19:32 -0700 3Date: Wed, 31 Aug 2022 20:19:32 -0700
4Subject: [PATCH] mark count with unused attribute 4Subject: [PATCH] mark count with unused attribute
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c 16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
17index 4452d998..b818bff3 100644 17index d66310b..eeb5921 100644
18--- a/sesman/chansrv/chansrv.c 18--- a/sesman/chansrv/chansrv.c
19+++ b/sesman/chansrv/chansrv.c 19+++ b/sesman/chansrv/chansrv.c
20@@ -195,7 +195,7 @@ check_timeout(void) 20@@ -195,7 +195,7 @@ check_timeout(void)
@@ -24,8 +24,5 @@ index 4452d998..b818bff3 100644
24- int count; 24- int count;
25+ int count __attribute__((unused)); 25+ int count __attribute__((unused));
26 tui32 now; 26 tui32 now;
27 27 UNUSED_VAR(count);
28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:"); 28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:");
29--
302.37.3
31
diff --git a/meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb b/meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb
index b839a68294..a60c125d06 100644
--- a/meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb
+++ b/meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb
@@ -18,7 +18,10 @@ SRC_URI = "https://github.com/neutrinolabs/${BPN}/releases/download/v${PV}/${BPN
18 file://0001-mark-count-with-unused-attribute.patch \ 18 file://0001-mark-count-with-unused-attribute.patch \
19 " 19 "
20 20
21SRC_URI[sha256sum] = "94017d30e475c6d7a24f651e16791551862ae46f82d8de62385e63393f5f93d0" 21SRC_URI[sha256sum] = "db693401da95b71b4d4e4c99aeb569a546dbdbde343f6d3302b0c47653277abb"
22
23UPSTREAM_CHECK_URI = "https://github.com/neutrinolabs/xrdp/releases"
24UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
22 25
23CFLAGS += " -Wno-deprecated-declarations" 26CFLAGS += " -Wno-deprecated-declarations"
24 27
@@ -66,7 +69,7 @@ do_install:append() {
66 install -d ${D}${sysconfdir}/sysconfig/xrdp 69 install -d ${D}${sysconfdir}/sysconfig/xrdp
67 install -m 0644 ${S}/instfiles/*.ini ${D}${sysconfdir}/xrdp/ 70 install -m 0644 ${S}/instfiles/*.ini ${D}${sysconfdir}/xrdp/
68 install -m 0644 ${S}/keygen/openssl.conf ${D}${sysconfdir}/xrdp/ 71 install -m 0644 ${S}/keygen/openssl.conf ${D}${sysconfdir}/xrdp/
69 install -m 0644 ${WORKDIR}/xrdp.sysconfig ${D}${sysconfdir}/sysconfig/xrdp/ 72 install -m 0644 ${UNPACKDIR}/xrdp.sysconfig ${D}${sysconfdir}/sysconfig/xrdp/
70 chown xrdp:xrdp ${D}${sysconfdir}/xrdp 73 chown xrdp:xrdp ${D}${sysconfdir}/xrdp
71} 74}
72 75