Deleted xorg-xrdp and xrdp from PNBLACKLIST and upgraded them.
cover Deleted xorg-xrdp and xrdp from PNBLACKLIST and upgraded them.
- xorg-xrdp: By the suggestion from upstream(https://github.com/neutrinolabs/xrdp/issues/2121), fixed build error of xrdp with openssl3.So, deleted xorg-xrdp and xrdp from PNBLACKLIST.
- Upgraded xorg-xrdp and xrdp to the last version.
Lei Maohui (2):
xrdp: Fixed build error with openssl 3.0 and upgraded from 0.9.17 to
0.9.18.
xorg-xrdp: Upgraded from 0.2.5 to 0.2.18.
.../{xorgxrdp_0.2.5.bb => xorgxrdp_0.2.18.bb} | 8 +++----
.../xrdp/{xrdp_0.9.17.bb => xrdp_0.9.18.bb} | 24 +++++++------------
2 files changed, 12 insertions(+), 20 deletions(-)
rename meta-oe/recipes-support/xorg-xrdp/{xorgxrdp_0.2.5.bb => xorgxrdp_0.2.18.bb} (62%)
rename meta-oe/recipes-support/xrdp/{xrdp_0.9.17.bb => xrdp_0.9.18.bb} (82%)Signature · 1 line
2.25.1
PATCH 1/2 xrdp: Fixed build error with openssl 3.0 and upgraded from 0.9.17 to 0.9.18.
- Fixed build error with openssl 3.0 according to the suggestion of upsream. Please reference to https://github.com/neutrinolabs/xrdp/issues/2121.
- Upgraded from 0.9.17 to 0.9.18.
- git repository of xrdp has recursive sources, so, reference to Fedora, modified SRC_URI to a tarball download URL of github.
---
.../xrdp/{xrdp_0.9.17.bb => xrdp_0.9.18.bb} | 24 +++++++------------
1 file changed, 9 insertions(+), 15 deletions(-)
rename meta-oe/recipes-support/xrdp/{xrdp_0.9.17.bb => xrdp_0.9.18.bb} (82%)meta-oe/recipes-support/xrdp/xrdp_0.9.18.bb renamed from meta-oe/recipes-support/xrdp/xrdp_0.9.17.bb +9 -15
@@ -6,19 +6,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=72cfbe4e7bd33a0a1de9630c91195c21 \ inherit features_check autotools pkgconfig useradd systemd -DEPENDS = "openssl virtual/libx11 libxfixes libxrandr libpam nasm-native" +DEPENDS = "openssl virtual/libx11 libxfixes libxrandr libpam nasm-native imlib2 pixman libsm" REQUIRED_DISTRO_FEATURES = "x11 pam" -SRC_URI = "git://github.com/neutrinolabs/xrdp.git;branch=devel;protocol=https \ +SRC_URI = "https://github.com/neutrinolabs/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ file://xrdp.sysconfig \ file://0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch \ file://0001-Fix-the-compile-error.patch \ file://0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch \ " -SRCREV = "58088324956d94fd2eb5e7694a318cccec6990f1" -S = "${WORKDIR}/git" +SRC_URI[sha256sum] = "c5eea0af055fac90c632e44fb667f1a25c55de2e34b37127e4cb0aabaef90a0f" + +CFLAGS += " -Wno-deprecated-declarations" PACKAGECONFIG ??= "" PACKAGECONFIG[fuse] = " --enable-fuse, --disable-fuse, fuse"
@@ -36,7 +37,9 @@ FILES:${PN}-dev += "${libdir}/xrdp/libcommon.so \ ${libdir}/xrdp/libscp.so \ ${libdir}/xrdp/libxrdpapi.so " -EXTRA_OECONF = "--enable-pam-config=suse" +EXTRA_OECONF = "--enable-pam-config=suse --enable-fuse \ + --enable-pixman --enable-painter --enable-vsock \ + --enable-ipv6 --with-imlib2 --with-socketdir=${localstatedir}/run/${PN}" do_configure:prepend() { cd ${S}
@@ -48,12 +51,7 @@ do_compile:prepend() { sed -i 's/(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am/(MAKE) $(AM_MAKEFLAGS) install-exec-am/g' ${S}/keygen/Makefile.in } - do_install:append() { - install -d ${D}${sysconfdir} - install -d ${D}${sysconfdir}/xrdp - install -d ${D}${sysconfdir}/xrdp/pam.d - install -d ${D}${sysconfdir}/sysconfig/xrdp # deal with systemd unit files install -d ${D}${systemd_unitdir}/system
@@ -63,11 +61,8 @@ do_install:append() { sed -i -e 's,@sysconfdir@,${sysconfdir},g' ${D}${systemd_unitdir}/system/xrdp.service ${D}${systemd_unitdir}/system/xrdp-sesman.service sed -i -e 's,@sbindir@,${sbindir},g' ${D}${systemd_unitdir}/system/xrdp.service ${D}${systemd_unitdir}/system/xrdp-sesman.service + install -d ${D}${sysconfdir}/sysconfig/xrdp install -m 0644 ${S}/instfiles/*.ini ${D}${sysconfdir}/xrdp/ - install -m 0644 ${S}/sesman/sesman.ini.in ${D}${sysconfdir}/xrdp/ - install -m 0644 ${S}/sesman/startwm.sh ${D}${sysconfdir}/xrdp/ - install -m 0644 ${S}/xrdp/xrdp.ini.in ${D}${sysconfdir}/xrdp/ - install -m 0644 ${S}/xrdp/xrdp_keyboard.ini ${D}${sysconfdir}/xrdp/ install -m 0644 ${S}/keygen/openssl.conf ${D}${sysconfdir}/xrdp/ install -m 0644 ${WORKDIR}/xrdp.sysconfig ${D}${sysconfdir}/sysconfig/xrdp/ chown xrdp:xrdp ${D}${sysconfdir}/xrdp
@@ -92,4 +87,3 @@ pkg_postinst:${PN}() { fi fi } -PNBLACKLIST[xrdp] ?= "Needs porting to openssl 3.x"
Signature · 1 line
2.25.1
PATCH 2/2 xorg-xrdp: Upgraded from 0.2.5 to 0.2.18.
In reply to Lei Maohui- Upgraded 0.2.5 to 0.2.18
- Deleted xorg-xrdp from PNBLACKLIST, because build error with openssl 3.0 of xrdp has beed fixed.
---
.../xorg-xrdp/{xorgxrdp_0.2.5.bb => xorgxrdp_0.2.18.bb} | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
rename meta-oe/recipes-support/xorg-xrdp/{xorgxrdp_0.2.5.bb => xorgxrdp_0.2.18.bb} (62%)meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.18.bb renamed from meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb +3 -5
@@ -10,16 +10,14 @@ DEPENDS = "virtual/libx11 xserver-xorg xrdp nasm-native" inherit features_check REQUIRED_DISTRO_FEATURES = "x11 pam" -SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git;branch=master;protocol=https" +SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git;branch=devel;protocol=https" -SRCREV = "c122544f184d4031bbae1ad80fbab554c34a9427" +SRCREV = "752b7659773a11ca6d4600645547c06fdb8a23d9" -PV = "0.2.5" +PV = "0.2.18" S = "${WORKDIR}/git" FILES:${PN} += "${libdir}/xorg/modules/*" INSANE_SKIP:${PN} += "xorg-driver-abi" - -PNBLACKLIST[xorgxrdp] ?= "Depends on xrdp which needs porting to openssl 3.x"
Signature · 1 line
2.25.1