aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 21:58:56 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 21:59:27 +0200
commit72b52affbb847a20fa0abae96e78fec980d71b67 (patch)
treef5a2553b12ec16220a375d958ec70654eec610ed
parent77fca6897facf95c58f4f3bcb87df19b562fc0c5 (diff)
downloadRWA.Support.SessionService-72b52affbb847a20fa0abae96e78fec980d71b67.tar.gz
RWA.Support.SessionService-72b52affbb847a20fa0abae96e78fec980d71b67.tar.bz2
RWA.Support.SessionService-72b52affbb847a20fa0abae96e78fec980d71b67.zip
debian/: Initial draft for creating DEB packages.
-rw-r--r--debian/changelog6
-rw-r--r--debian/control33
-rw-r--r--debian/copyright33
-rw-r--r--debian/docs1
-rw-r--r--debian/install3
-rw-r--r--debian/patches/2001_installation-target-paths.patch11
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/settings.toml1
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch2
12 files changed, 110 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cca7484
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+remote-support-session-service (0.0.1-0) unstable; urgency=medium
+
+ * Upstream-provided Debian package for remote-support-session-service.
+ See upstream ChangeLog for recent changes.
+
+ -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Thu, 17 Sep 2020 21:21:33 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..78a6d4d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: remote-support-session-service
+Section: x11
+Priority: optional
+Maintainer: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ python3,
+Standards-Version: 4.5.0
+Homepage: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service
+Vcs-Git: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service.git
+Vcs-Browser: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service/
+
+Package: remote-support-session-service
+Architecture: any
+Depends: ${misc:Depends},
+ python3,
+ python3-flask,
+ python3-requests,
+ python3-port-for,
+ python3-websockify,
+ python3-dbus,
+ python3-gi,
+ python3-psutil,
+ python3-dynaconf,
+ x11vnc,
+ wget,
+Description: DBus service connecting the Remote Support Desktop App with the Remote Web App
+ Remote Web App is a web-based desktop support tool that shares desktop
+ sessions to people provinding IT support.
+ .
+ This service controls sharing of the local desktop to the remote web app site. It provides
+ a bi-directional communication channel between the Remote Web App support site and the
+ locally running Remote Support Desktop UI application.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8c19498
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Remote Support Session Service
+Upstream-Contact: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Source: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service
+
+Files: *
+Copyright: 2020, Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
+ 2020, Jonathen Weth <mail@jonathanweth.de>
+ 2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the
+ Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..92cacd2
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst \ No newline at end of file
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..2047eb9
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+*.py /usr/lib/remote-support-session-service/
+debian/settings.toml etc/remote-support-session-service/
+org.ArcticaProject.RWA.service usr/share/dbus-1/services/
diff --git a/debian/patches/2001_installation-target-paths.patch b/debian/patches/2001_installation-target-paths.patch
new file mode 100644
index 0000000..a946a3f
--- /dev/null
+++ b/debian/patches/2001_installation-target-paths.patch
@@ -0,0 +1,11 @@
+Description: No /opt installation paths in Debian packages.
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+--- a/org.ArcticaProject.RWA.service
++++ b/org.ArcticaProject.RWA.service
+@@ -25,4 +25,4 @@
+
+ [D-BUS Service]
+ Name=org.ArcticaProject.RWA
+-Exec=/opt/rwa-session-service/service.py -o
++Exec=/usr/lib/remote-support-session-service/service.py -o
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..953a5b1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001_installation-target-paths.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fc27a22
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+%:
+ dh $@ --with python3
+
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=..
diff --git a/debian/settings.toml b/debian/settings.toml
new file mode 100644
index 0000000..a8a711d
--- /dev/null
+++ b/debian/settings.toml
@@ -0,0 +1 @@
+api_url = "http://127.0.0.1" \ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..9f8e9b6
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0 \ No newline at end of file
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8782fe0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-session-service/issues
+Bug-Submit: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-session-service/issues/new
+Repository: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-session-service
+Repository-Browse: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-session-service
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bb97cb8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-session-service/tags .*/remote-support-session-service-(\d\S+)\.tar\.gz