how to build a deb package of v0.9.19 for Ubuntu 22.04? #2340
-
Currently Ubuntu 22.04 use xrdp v0.9.17 (0.9.17-2ubuntu2). Unfortunately, this version seems to have a bug that causes "error loading libvnc.so specified in xrdp.ini", which is fixed in v0.9.18. There appears to be a critical security fix in v0.9.19. As such, I like to build v0.9.19 for Ubuntu 22.04. does anybody know what is the best way to build such a deb package, which hopefully is a drop-in replacement of current v0.9.17 package. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
We don't build packages here, so I'm unable to advise you on the best way to go about this. I can give you some pointers however. The source for the xrdp deb package for Ubuntu and Debian are stored here:- https://salsa.debian.org/debian-remote-team/xrdp Their current version on 0.9.19. If you clone that repo you should be able to use the deb build tool of your choice to build packages from it. There's information on the Debian Wiki about backporting private packages:- https://wiki.debian.org/SimpleBackportCreation that mentions changing the version number of your private backport so that when you update to a version of Ubuntu/Debian with the real 0.9.19, that's what you get. Hope that's useful. |
Beta Was this translation helpful? Give feedback.
-
Below is the script to build the right version I was looking for.
|
Beta Was this translation helpful? Give feedback.
-
It appears adding "dpkg-source --before-build ." before "debian/rules build" in my script solves the problem. |
Beta Was this translation helpful? Give feedback.
We don't build packages here, so I'm unable to advise you on the best way to go about this. I can give you some pointers however.
The source for the xrdp deb package for Ubuntu and Debian are stored here:-
https://salsa.debian.org/debian-remote-team/xrdp
Their current version on 0.9.19.
If you clone that repo you should be able to use the deb build tool of your choice to build packages from it.
There's information on the Debian Wiki about backporting private packages:-
https://wiki.debian.org/SimpleBackportCreation
that mentions changing the version number of your private backport so that when you update to a version of Ubuntu/Debian with the real 0.9.19, that's what you get.
Hope that's …