diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2021-07-01 23:58:35 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2021-07-01 23:58:35 -0500 |
commit | ae01bc218ab47ed97f4c483ba2b58ba5dc556285 (patch) | |
tree | aeb4543c79ae8ec3bee81022f1c19012c50e64b3 /pcr/xrdp | |
parent | 9783f8f5a2bd3bd5ed479b3826428e93ae5d5211 (diff) | |
download | abslibre-ae01bc218ab47ed97f4c483ba2b58ba5dc556285.tar.gz abslibre-ae01bc218ab47ed97f4c483ba2b58ba5dc556285.tar.bz2 abslibre-ae01bc218ab47ed97f4c483ba2b58ba5dc556285.zip |
Removing xrdp
Diffstat (limited to 'pcr/xrdp')
-rw-r--r-- | pcr/xrdp/PKGBUILD | 52 | ||||
-rw-r--r-- | pcr/xrdp/arch-config.diff | 71 | ||||
-rw-r--r-- | pcr/xrdp/xrdp-sesman.service | 14 | ||||
-rw-r--r-- | pcr/xrdp/xrdp.install | 15 | ||||
-rw-r--r-- | pcr/xrdp/xrdp.service | 14 |
5 files changed, 0 insertions, 166 deletions
diff --git a/pcr/xrdp/PKGBUILD b/pcr/xrdp/PKGBUILD deleted file mode 100644 index 1da4186db..000000000 --- a/pcr/xrdp/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer (Arch): Brian Bidulock <bidulock@openss7.org> -# Contributo (Arch): Jianhui Z <jianhui@outlook.com> -# Contributo (Arch): Tau Tsao <realturner at gmail.com> -# Contributor (Arch): Tomasz Zok <tomasz.zok [at] gmail.com> -# Contributor (Arch): techryda <techryda at silentdome dot com> -# Contributor (Arch): Mathias R. <pu154r@overlinux.org> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -pkgname=xrdp -pkgver=0.9.1 -pkgrel=5 -pkgdesc="An open source remote desktop protocol (RDP) server" -url="https://github.com/neutrinolabs/xrdp" -arch=('i686' 'x86_64' 'armv7h') -license=('Apache') -makedepends=('nasm') -depends=('tigervnc' 'libxrandr' 'lame' 'opus' 'fuse') -backup=('etc/xrdp/sesman.ini' 'etc/xrdp/xrdp.ini') -install="${pkgname}.install" -source=("https://github.com/neutrinolabs/xrdp/releases/download/v${pkgver}/xrdp-${pkgver}.tar.gz" - "arch-config.diff") -md5sums=('111a3a3b7ea01eb62b08c698ab8f8bff' - 'b41c3d596a582d00e83cd55c756e9ee4') - -prepare() { - cd "${pkgname}-${pkgver}" - patch -Np2 -b -z .orig <../arch-config.diff - ./bootstrap -} - -build() { - cd "${pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --sbindir=/usr/bin \ - --with-systemdsystemunitdir=/usr/lib/systemd/system \ - --enable-jpeg \ - --enable-tjpeg \ - --enable-fuse \ - --enable-opus \ - --enable-rfxcodec \ - --enable-mp3lame \ - --enable-pixman - make V=0 -} - -package() { - cd "${pkgname}-${pkgver}" - make DESTDIR="$pkgdir" install - rm -f "$pkgdir"/etc/xrdp/rsakeys.ini - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING -} diff --git a/pcr/xrdp/arch-config.diff b/pcr/xrdp/arch-config.diff deleted file mode 100644 index d67e16e77..000000000 --- a/pcr/xrdp/arch-config.diff +++ /dev/null @@ -1,71 +0,0 @@ -diff -up src/xrdp-0.9.1/instfiles/xrdp.service.orig src/xrdp-0.9.1/instfiles/xrdp.service ---- src/xrdp-0.9.1/instfiles/xrdp.service.orig 2016-12-22 10:02:47.000000000 -0700 -+++ src/xrdp-0.9.1/instfiles/xrdp.service 2017-01-07 00:55:16.000000000 -0700 -@@ -6,10 +6,8 @@ After=syslog.target network.target xrdp- - [Service] - Type=forking - PIDFile=/var/run/xrdp.pid --EnvironmentFile=-/etc/sysconfig/xrdp --EnvironmentFile=-/etc/default/xrdp --ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill -+ExecStart=/usr/bin/xrdp -+ExecStop=/usr/bin/xrdp --kill - - [Install] - WantedBy=multi-user.target -diff -up src/xrdp-0.9.1/instfiles/xrdp-sesman.service.orig src/xrdp-0.9.1/instfiles/xrdp-sesman.service ---- src/xrdp-0.9.1/instfiles/xrdp-sesman.service.orig 2016-12-22 10:02:47.000000000 -0700 -+++ src/xrdp-0.9.1/instfiles/xrdp-sesman.service 2017-01-07 00:55:54.000000000 -0700 -@@ -2,15 +2,13 @@ - Description=xrdp session manager - After=syslog.target network.target - StopWhenUnneeded=true --BindTo=xrdp.service -+BindsTo=xrdp.service - - [Service] - Type=forking - PIDFile=/var/run/xrdp-sesman.pid --EnvironmentFile=-/etc/sysconfig/xrdp --EnvironmentFile=-/etc/default/xrdp --ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill -+ExecStart=/usr/bin/xrdp-sesman -+ExecStop=/usr/bin/xrdp-sesman --kill - - [Install] - WantedBy=multi-user.target -diff -up src/xrdp-0.9.1/instfiles/xrdp.sh.orig src/xrdp-0.9.1/instfiles/xrdp.sh ---- src/xrdp-0.9.1/instfiles/xrdp.sh.orig 2016-12-22 09:56:24.000000000 -0700 -+++ src/xrdp-0.9.1/instfiles/xrdp.sh 2017-01-07 00:55:16.000000000 -0700 -@@ -17,7 +17,7 @@ - # Description: starts xrdp - ### END INIT INFO - --SBINDIR=/usr/local/sbin -+SBINDIR=/usr/bin - LOG=/dev/null - CFGDIR=/etc/xrdp - -diff -up src/xrdp-0.9.1/sesman/startwm.sh.orig src/xrdp-0.9.1/sesman/startwm.sh ---- src/xrdp-0.9.1/sesman/startwm.sh.orig 2016-12-22 10:02:47.000000000 -0700 -+++ src/xrdp-0.9.1/sesman/startwm.sh 2017-01-07 00:55:16.000000000 -0700 -@@ -8,6 +8,17 @@ wm_start() - export LANG LANGUAGE - fi - -+ # arch user -+ if [ -r ~/.xinitrc ]; then -+ . ~/.xinitrc -+ exit 0 -+ fi -+ # arch -+ if [ -r /etc/X11/xinit/xinitrc ]; then -+ . /etc/X11/xinit/xinitrc -+ exit 0 -+ fi -+ - # debian - if [ -r /etc/X11/Xsession ]; then - . /etc/X11/Xsession diff --git a/pcr/xrdp/xrdp-sesman.service b/pcr/xrdp/xrdp-sesman.service deleted file mode 100644 index c33376ecc..000000000 --- a/pcr/xrdp/xrdp-sesman.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=xrdp session manager -After=syslog.target network.target -StopWhenUnneeded=true - -[Service] -Type=forking -PIDFile=/var/run/xrdp-sesman.pid -ExecStart=/usr/bin/xrdp-sesman -ExecStop=/usr/bin/xrdp-sesman --kill - -[Install] -WantedBy=multi-user.target - diff --git a/pcr/xrdp/xrdp.install b/pcr/xrdp/xrdp.install deleted file mode 100644 index e25056582..000000000 --- a/pcr/xrdp/xrdp.install +++ /dev/null @@ -1,15 +0,0 @@ -post_upgrade() { - if [ ! -e /etc/xrdp/rsakeys.ini ]; then - xrdp-keygen xrdp /etc/xrdp/rsakeys.ini - fi -} - -post_install() { - post_upgrade -} - -pre_remove() { - if [ -f /etc/xrdp/rsakeys.ini ]; then - rm /etc/xrdp/rsakeys.ini - fi -} diff --git a/pcr/xrdp/xrdp.service b/pcr/xrdp/xrdp.service deleted file mode 100644 index 269dff87b..000000000 --- a/pcr/xrdp/xrdp.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=xrdp daemon -Requires=xrdp-sesman.service -After=syslog.target network.target xrdp-sesman.service - -[Service] -Type=forking -PIDFile=/var/run/xrdp.pid -EnvironmentFile=/etc/xrdp/xrdp.ini -ExecStart=/usr/bin/xrdp $XRDP_OPTIONS -ExecStop=/usr/bin/xrdp $XRDP_OPTIONS --kill - -[Install] -WantedBy=multi-user.target |