Improved UI deb package generation

This is highly experimental and not Debian compliant.
We'll keep improving it over time.
This commit is contained in:
Gustavo Iñiguez Goia 2020-02-18 23:30:56 +01:00
parent d46d50a58d
commit 9529830010
4 changed files with 19 additions and 13 deletions

View file

@ -1 +1 @@
7
9

View file

@ -1,14 +1,20 @@
Package: python3-opensnitch-ui
Source: opensnitch-ui
Architecture: all
Maintainer: Gustavo Iñiguez Goia <gooffy1@gmail.com>
Depends: python3:any, python3-setuptools, python3-six, python3-pyqt5, python3-pyqt5.qtsql, python3-pyinotify, python3-pip, whiptail | dialog
Section: net
Uploaders:
Gustavo Iniguez Goya <gooffy@gmail.com>,
Priority: optional
Homepage: https://github.com/gustavo-iniguez-goya/opensnitch
Build-Depends: python3-setuptools, python3-all, debhelper (>= 7.4.3), dh-python
Standards-Version: 3.9.1
Package: python3-opensnitch-ui
Architecture: all
Section: net
Depends:
python3:any, python3-setuptools, python3-six, python3-pyqt5, python3-pyqt5.qtsql, python3-pyinotify, python3-pip, whiptail | dialog
Description: GUI for the opensnitch application firewall
opensnitch-ui is a GUI for opensnitch
opensnitch-ui is a GUI for opensnitch written in Python.
It allows the user to view live outgoing connections, as well as search
to make connections.
.

View file

@ -17,11 +17,11 @@ done
DIALOG=$(which whiptail || which dialog)
$DIALOG --yesno "OpenSnitch GUI needs to install 3 more packages from
pypi using pip3: unicode_slugify, grpcio and protobuf.\n\nDo you want to install them
pypi using pip3: unicode_slugify, grpcio-tools and protobuf.\n\nDo you want to install them
now?" 15 60
if [ $? -eq 0 ]; then
echo "Installing grpcio..."
pip3 install grpcio || echo "Unable to install grpcio, try it manually."
echo "Installing grpcio-tools..."
pip3 install grpcio-tools || echo "Unable to install grpcio, try it manually."
echo
echo "Installing protobuf..."
pip3 install protobuf || echo "Unable to install protobuf, try it manually."

View file

@ -11,9 +11,9 @@ do
done
echo
echo " If you don't need them anymore, remember to uninstall unicode_slugify, grcpio and protobuf:"
echo " If you don't need them anymore, remember to uninstall unicode_slugify, grcpio-tools and protobuf:"
echo
echo " pip3 uninstall unicode_slugify"
echo " pip3 uninstall grcpio"
echo " pip3 uninstall grcpio-tools"
echo " pip3 uninstall protobuf"
echo