summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 22:32:48 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 22:32:48 -0500
commit12a8731a7c5693233e261ece6bc2eb7cb14962de (patch)
tree3fdc6618a64d9635fc0d212606f87a2484499329 /pcr
parente4300bec0504ba738541f4db5466904bcc9702fd (diff)
xrdp-0.8.0-3: rebuild
Diffstat (limited to 'pcr')
-rw-r--r--pcr/xrdp/PKGBUILD19
-rw-r--r--pcr/xrdp/xrdp-sesman.service15
-rw-r--r--pcr/xrdp/xrdp.service14
3 files changed, 39 insertions, 9 deletions
diff --git a/pcr/xrdp/PKGBUILD b/pcr/xrdp/PKGBUILD
index 9884314c0..52c54f8a9 100644
--- a/pcr/xrdp/PKGBUILD
+++ b/pcr/xrdp/PKGBUILD
@@ -1,15 +1,16 @@
-# Maintainer: Brian Bidulock <bidulock@openss7.org>
-# Contributo: Jianhui Z <jianhui@outlook.com>
-# Contributo: Tau Tsao <realturner at gmail.com>
-# Contributor: Tomasz Zok <tomasz.zok [at] gmail.com>
-# Contributor: techryda <techryda at silentdome dot com>
-# Contributor: Mathias R. <pu154r@overlinux.org>
+# 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.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="An open source remote desktop protocol (RDP) server"
url="http://xrdp.sourceforge.net/"
-arch=('i686' 'x86_64' 'armv6h')
+arch=('i686' 'x86_64')
license=('Apache')
depends=('tigervnc' 'libjpeg-turbo' 'libxrandr' 'libpulse' 'fuse')
backup=('etc/xrdp/sesman.ini' 'etc/xrdp/xrdp.ini')
@@ -40,7 +41,7 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
- --with-systemdsystemdunitdir=/usr/lib/systemd/system \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
--enable-jpeg \
--enable-simplesound \
--enable-fuse \
diff --git a/pcr/xrdp/xrdp-sesman.service b/pcr/xrdp/xrdp-sesman.service
new file mode 100644
index 000000000..8222069b9
--- /dev/null
+++ b/pcr/xrdp/xrdp-sesman.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=xrdp session manager
+After=syslog.target network.target
+StopWhenUnneeded=true
+
+[Service]
+Type=forking
+PIDFile=/var/run/xrdp-sesman.pid
+EnvironmentFile=/etc/xrdp/xrdp.ini
+ExecStart=/usr/bin/xrdp-sesman $SESMAN_OPTIONS
+ExecStop=/usr/bin/xrdp-sesman $SESMAN_OPTIONS --kill
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/pcr/xrdp/xrdp.service b/pcr/xrdp/xrdp.service
new file mode 100644
index 000000000..269dff87b
--- /dev/null
+++ b/pcr/xrdp/xrdp.service
@@ -0,0 +1,14 @@
+[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