From 72b52affbb847a20fa0abae96e78fec980d71b67 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 17 Sep 2020 21:58:56 +0200 Subject: debian/: Initial draft for creating DEB packages. --- debian/changelog | 6 ++++ debian/control | 33 ++++++++++++++++++++++ debian/copyright | 33 ++++++++++++++++++++++ debian/docs | 1 + debian/install | 3 ++ .../patches/2001_installation-target-paths.patch | 11 ++++++++ debian/patches/series | 1 + debian/rules | 13 +++++++++ debian/settings.toml | 1 + debian/source/format | 1 + debian/upstream/metadata | 5 ++++ debian/watch | 2 ++ 12 files changed, 110 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/install create mode 100644 debian/patches/2001_installation-target-paths.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/settings.toml create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch (limited to 'debian') 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 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 +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 +Source: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service + +Files: * +Copyright: 2020, Daniel Teichmann + 2020, Jonathen Weth + 2020, Mike Gabriel +License: GPL-2+ + +Files: debian/* +Copyright: 2020, Mike Gabriel +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 + +--- 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 -- cgit v1.2.3