From 7bc78425cde3ab4bb29cdff428abc44bf97e6571 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 17 Feb 2020 17:05:31 +0100 Subject: [PATCH] add user to plugdev group, fix some lintian issues --- debian/control | 4 ++-- debian/postinst | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 5c37fb8..1cdf780 100644 --- a/debian/control +++ b/debian/control @@ -3,11 +3,11 @@ Maintainer: Jakob Ketterl Section: hamradio Priority: optional Standards-Version: 4.2.0 -Build-Depends: debhelper (>= 10), dh-python, python3 (>= 3.5), dh-systemd (>= 1.5) +Build-Depends: debhelper (>= 10), dh-python, python3 (>= 3.5) Package: openwebrx Architecture: all -Depends: adduser, python3 (>= 3.5), python3-pkg-resources, csdr (>= 0.14), netcat, owrx-connector (>= 0.1), ${python3:Depends} +Depends: adduser, python3 (>= 3.5), python3-pkg-resources, csdr (>= 0.14), netcat, owrx-connector (>= 0.1), ${python3:Depends}, ${misc:Depends} Recommends: digiham (>= 0.3), dsd (>= 1.7), sox, direwolf (>= 1.4), wsjtx Description: multi-user web sdr Open source, multi-user SDR receiver with a web interface \ No newline at end of file diff --git a/debian/postinst b/debian/postinst index 0cd9fc0..9a4b5e7 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,7 @@ #!/bin/bash set -euxo pipefail -adduser --system --group --no-create-home --home /nonexistant openwebrx \ No newline at end of file +adduser --system --group --no-create-home --home /nonexistant openwebrx +usermod -aG plugdev openwebrx + +#DEBHELPER# \ No newline at end of file